.converter-section {
  max-width: 1100px;
  margin: 2rem auto 4rem;
  padding: 0 1.25rem;
}
.tool-hero {
  text-align: center;
  margin-bottom: 2rem;
}
.tool-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}
.tool-hero h1 span {
  background: linear-gradient(135deg, #4f39f6 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tool-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}
.converter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
}
.converter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
@media (max-width: 768px) {
  .converter-grid {
    grid-template-columns: 1fr;
  }
}
.pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.pane-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}
.pane-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}
.converter-textarea {
  width: 100%;
  height: 220px;
  padding: 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 1.1rem;
  line-height: 1.6;
  resize: vertical;
  background: var(--surface-alt);
  color: var(--text-main);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.converter-textarea:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(79, 57, 246, 0.15);
}
.btn-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-primary-custom {
  background: linear-gradient(135deg, #4f39f6 0%, #7c3aed 100%);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary-custom:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary-custom {
  background: var(--surface-alt);
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary-custom:hover {
  background: #f1f5f9;
  border-color: var(--text-muted);
}
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}
.info-box h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}
.info-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.info-box p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.info-box ol, .info-box ul {
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
