/* ===== CONVERTER PREMIUM STYLES ===== */
.converter-page {
  padding: 60px 0 100px;
}

.converter-header {
  text-align: center;
  margin-bottom: 60px;
}

.converter-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.converter-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== UPLOAD CARD ===== */
.converter-box {
  max-width: 700px;
  margin: 0 auto 60px;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: 32px;
  padding: 12px;
  box-shadow: var(--shadow-premium);
}

.drop-zone {
  border: 2px dashed var(--border-glass);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.02);
}

.drop-zone:hover, .drop-zone.drag-over {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.05);
}

.drop-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 20px var(--accent-glow));
}

.drop-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.drop-sub {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.drop-browse {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}

/* ===== PROGRESS & DONE ===== */
.progress-panel, .done-panel, .error-panel {
  padding: 60px 40px;
  text-align: center;
}

.progress-status {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.progress-bar-wrap {
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  width: 0%;
  border-radius: 100px;
  transition: width 0.4s ease;
  box-shadow: 0 0 20px var(--accent-glow);
}

.done-icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 24px;
  display: block;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* ===== FILE INFO ===== */
.file-preview {
  padding: 32px;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  margin-bottom: 32px;
}

.file-type-badge {
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.file-details { flex: 1; text-align: left; }
.file-name { font-weight: 600; margin-bottom: 4px; display: block; }
.file-size { font-size: 0.85rem; color: var(--text-dim); }

.file-remove {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

/* ===== INFO SECTION ===== */
.converter-info {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-surface);
  border-radius: 24px;
  border: 1px solid var(--border-glass);
}

.converter-info h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.converter-info p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.converter-info ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.converter-info li::before {
  content: '✓';
  color: #10b981;
  font-weight: 900;
}
