* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 20px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1rem;
  opacity: 0.9;
}

.container h2{
  font-size: 24px;
  margin-bottom: 15px;
}

.tool-section {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
}

.upload-box {
  flex: 1;
  border: 2px dashed #bdc3c7;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.upload-box:hover {
  border-color: #3498db;
  background-color: #f0f7fd;
}

.upload-box.active {
  border-color: #2ecc71;
  background-color: #e8f5e9;
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.upload-text {
  margin-bottom: 20px;
  font-size: 18px;
  color: #34495e;
}

.file-info {
  margin-top: 15px;
  font-size: 14px;
  color: #7f8c8d;
}

.paste-box {
  flex: 1;
}
.paste-box h3{
  font-size: 18px;
  margin-bottom: 15px;
}
.paste-area {
  width: 100%;
  height: 265px;
  max-height: 265px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
  outline: none;
}

.button-group {
  display: flex;
  gap: 25px;
}

.btn {
  padding: 12px 42px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background-color: #3498db;
  color: white;
}

.btn-primary:hover {
  background-color: #2980b9;
}

.btn-secondary {
  background-color: #95a5a6;
  color: white;
}

.btn-secondary:hover {
  background-color: #7f8c8d;
}

.btn-success {
  background-color: #2ecc71;
  color: white;
}

.btn-success:hover {
  background-color: #27ae60;
}

.btn:disabled {
  background-color: #bdc3c7;
  cursor: not-allowed;
}

.options-panel {
  padding: 20px;
  background-color: #fff;
  border-radius: 15px;
  margin-bottom: 25px;
}

.options-title {
  font-size: 18px;
  margin-bottom: 15px;
}

.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 20px;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.option-item input[type="radio"]{
  width: 20px;
  height: 20px;
}
.option-item input[type="text"]{
  width: 120px;
  padding: 0 10px;
  height: 36px;
  line-height: 36px;
  outline: none;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.features {
  margin-bottom: 25px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 15px;
  display: block;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2c3e50;
}

.feature-desc {
  color: #7f8c8d;
  font-size: 14px;
}
.how-to-use {
  margin-bottom: 25px;
}
.how-to-use h3{
  font-size: 18px;
  margin-top: 15px;
}
.how-to-use p{
  font-size: 15px;
  margin-top: 10px;
}
footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  color: #7f8c8d;
  font-size: 14px;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
  max-width: 80%;
  text-align: center;
}

.notice.show {
  opacity: 1;
}

.notice.success {
  background-color: #2ecc71;
}

.notice.error {
  background-color: #e74c3c;
}

.notice.warning {
  background-color: #f39c12;
}
