/* css/ngo-registration.css - NGO Registration Wizard Page */

/* ============================================
   ROOT VARIABLES & BASE STYLES
   ============================================ */

:root {
  /* Colors */
  --primary: #ff6b35;
  --primary-dark: #e55a2b;
  --primary-light: #ff8c5a;
  --secondary: #2c3e50;
  --success: #48bb78;
  --warning: #ed8936;
  --error: #f56565;
  --info: #4299e1;

  /* Text Colors */
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-tertiary: #718096;
  --text-light: #a0aec0;

  /* Background Colors */
  --background: #FFF9F5;
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Page Back Bar */
.page-back-bar {
  background: var(--surface);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0.5rem 0;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.back-link:hover {
  color: var(--primary);
  background-color: var(--background);
}

/* ============================================
   HERO SECTION (compact for registration)
   ============================================ */

.hero-section {
  background: linear-gradient(135deg, #FF6B35 0%, #FF9E71 50%, #FFB347 100%);
  padding: 2.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInDown 0.8s ease-out;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   FORM CONTAINER
   ============================================ */

.form-container {
  padding: 2rem 0 3rem;
  min-height: calc(100vh - 200px);
}

/* ============================================
   WIZARD PROGRESS
   ============================================ */

.wizard-progress {
  display: block;
  padding: 0 1rem;
  margin-bottom: 1.5rem;
}

.wizard-progress-bar {
  width: 100%;
  max-width: 600px;
  height: 6px;
  background: rgba(0,0,0,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto 1rem;
}

.wizard-progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.4s ease;
  width: 25%;
}

.wizard-steps-indicator {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.wizard-steps-indicator::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(0,0,0,0.1);
  z-index: 0;
}

.wizard-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 1;
}

.wizard-step-dot.active,
.wizard-step-dot.completed {
  opacity: 1;
}

.wizard-step-dot span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid rgba(0,0,0,0.12);
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.wizard-step-dot.active span {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.wizard-step-dot.completed span {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.wizard-step-dot small {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-align: center;
  font-weight: 500;
}

.wizard-step-dot.active small {
  color: var(--primary);
  font-weight: 600;
}

.wizard-step-dot.completed small {
  color: var(--success);
}

/* ============================================
   WIZARD STEPS
   ============================================ */

.wizard-step {
  display: none;
  animation: wizardFadeIn 0.3s ease;
}

.wizard-step.active {
  display: block;
}

@keyframes wizardFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-step.shake {
  animation: wizardShake 0.5s ease;
}

@keyframes wizardShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* ============================================
   WIZARD NAVIGATION
   ============================================ */

.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 800px;
  margin: 2rem auto 0;
  padding: 1.25rem 2.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.wizard-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.wizard-prev {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid rgba(0,0,0,0.15);
}

.wizard-prev:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.wizard-prev:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.wizard-next {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.wizard-next:hover {
  background: var(--primary-dark);
}

.wizard-next:disabled {
  background: var(--text-tertiary);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.wizard-next.wizard-submit {
  background: var(--success);
  box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
}

.wizard-next.wizard-submit:hover {
  background: #38a169;
}

.wizard-nav-info {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ============================================
   FORM CARD
   ============================================ */

.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

/* ============================================
   FORM SECTIONS
   ============================================ */

.form-section {
  margin-bottom: 2rem;
}

.form-section:last-child {
  margin-bottom: 0;
}

.form-section h2 {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-section h2 i {
  font-size: 1.1rem;
}

/* ============================================
   FORM GROUPS
   ============================================ */

.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group.half {
  flex: 1;
  min-width: 0;
}

.form-label {
  display: inline;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.required {
  color: var(--error);
  margin-left: 0.25rem;
  font-weight: 600;
}

/* ============================================
   FORM INPUTS
   ============================================ */

.form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-md);
  font-size: 1rem;
  background-color: var(--surface);
  transition: var(--transition);
  font-family: inherit;
  margin-top: 0.5rem;
  display: block;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--surface);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-input::placeholder {
  color: var(--text-tertiary);
}

.form-input.error {
  border-color: var(--error);
  background-color: rgba(245, 101, 101, 0.05);
}

.form-input.valid {
  border-color: var(--success);
  background-color: rgba(72, 187, 120, 0.05);
}

/* Textarea */
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-md);
  font-size: 1rem;
  resize: vertical;
  min-height: 120px;
  background-color: var(--surface);
  transition: var(--transition);
  font-family: inherit;
  margin-top: 0.5rem;
  display: block;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--surface);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-textarea.error {
  border-color: var(--error);
  background-color: rgba(245, 101, 101, 0.05);
}

/* Select */
.form-select {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-md);
  font-size: 1rem;
  background-color: var(--surface);
  transition: var(--transition);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  font-family: inherit;
  margin-top: 0.5rem;
  display: block;
}

.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-select.error {
  border-color: var(--error);
  background-color: rgba(245, 101, 101, 0.05);
}

/* ============================================
   CHARACTER COUNTER
   ============================================ */

.character-counter {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
}

.character-counter.warning {
  color: var(--warning);
}

.character-counter.error {
  color: var(--error);
}

/* ============================================
   ERROR MESSAGES
   ============================================ */

.error-message {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.error-message i {
  font-size: 1rem;
}

/* ============================================
   CHECKBOX GROUP
   ============================================ */

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.checkbox-item:hover {
  border-color: var(--primary-light);
  background: rgba(255, 107, 53, 0.02);
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.checkbox-item label {
  font-weight: 400;
  margin-bottom: 0;
  cursor: pointer;
  font-size: 0.9rem;
}

/* ============================================
   RADIO GROUP
   ============================================ */

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.radio-item:hover {
  border-color: var(--primary-light);
  background: rgba(255, 107, 53, 0.02);
}

.radio-item input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.radio-item label {
  font-weight: 400;
  margin-bottom: 0;
  cursor: pointer;
  font-size: 0.9rem;
}

/* ============================================
   LOGO UPLOAD
   ============================================ */

.upload-hint {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 0.75rem;
}

.logo-upload-area {
  border: 2px dashed var(--primary-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  background: var(--surface);
  cursor: pointer;
  position: relative;
}

.logo-upload-area:hover {
  border-color: var(--primary);
  background: rgba(255, 107, 53, 0.02);
}

.logo-upload-area.drag-over {
  border-color: var(--primary);
  background: rgba(255, 107, 53, 0.05);
  transform: scale(1.01);
}

.upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.upload-icon {
  font-size: 2.5rem;
  color: var(--primary-light);
}

.upload-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.logo-preview {
  position: relative;
  display: inline-block;
}

.logo-preview img {
  max-width: 150px;
  max-height: 150px;
  border-radius: var(--radius-md);
  object-fit: contain;
  border: 2px solid var(--primary-light);
}

.remove-logo-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--error);
  color: white;
  border: 2px solid white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.remove-logo-btn:hover {
  background: #e53e3e;
  transform: scale(1.1);
}

/* ============================================
   INFO BOX
   ============================================ */

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(66, 153, 225, 0.08);
  border-left: 3px solid var(--info);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.info-box i {
  color: var(--info);
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.info-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* ============================================
   DRAFT RESTORE BANNER
   ============================================ */

.draft-restore-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(246, 173, 85, 0.08);
  border-left: 3px solid var(--warning);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.5s ease-out;
}

.draft-restore-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--warning);
  white-space: nowrap;
}

.draft-restore-text i {
  margin-right: 0.35rem;
}

.draft-restore-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.draft-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: inherit;
}

.draft-btn.restore {
  background: var(--warning);
  color: white;
}

.draft-btn.restore:hover {
  background: #e0952a;
}

.draft-btn.discard {
  background: transparent;
  color: var(--text-tertiary);
  border: 1.5px solid rgba(0,0,0,0.12);
}

.draft-btn.discard:hover {
  color: var(--error);
  border-color: var(--error);
}

/* ============================================
   SUCCESS PANEL
   ============================================ */

.success-panel .form-card {
  padding: 3rem 2rem;
}

.success-icon {
  font-size: 4rem;
  color: var(--success);
  margin-bottom: 1rem;
}

.success-panel h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.success-panel p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.success-panel .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.success-panel .btn-primary {
  background: var(--primary);
  color: white;
}

.success-panel .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */

.toast {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--success);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateX(100%);
  transition: var(--transition);
  max-width: 300px;
}

.toast.show {
  display: block;
  transform: translateX(0);
}

.toast.error {
  background: var(--error);
}

.toast.warning {
  background: var(--warning);
}

/* ============================================
   LOADING OVERLAY
   ============================================ */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
}

.loading-spinner {
  text-align: center;
  color: var(--primary);
}

.loading-spinner i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.loading-spinner p {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   UTILITY
   ============================================ */

.hidden {
  display: none !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* ---- Tablet: 1024px ---- */
@media (max-width: 1024px) {
  .hero-section {
    padding: 2rem 0;
  }
}

/* ---- Mobile: 768px ---- */
@media (max-width: 768px) {
  /* Prevent double-tap zoom */
  * {
    touch-action: manipulation;
  }

  html {
    overscroll-behavior: none;
  }

  /* Prevent iOS auto-zoom on inputs */
  .form-input,
  .form-textarea,
  .form-select,
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .container {
    padding: 0 1rem;
  }

  /* Compact hero */
  .hero-section { padding: 1.5rem 0; }
  .hero-subtitle { font-size: 0.9rem; }

  /* Compact form */
  .form-container { padding: 1rem 0 5rem 0; }
  .form-card { padding: 1.25rem; margin-bottom: 0; }
  .form-group { margin-bottom: 1.25rem; }

  /* Stack form rows */
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  /* Compact draft banner */
  .draft-restore-banner { padding: 0.5rem 0.75rem; margin-bottom: 1rem; gap: 0.5rem; }
  .draft-restore-text { font-size: 0.8rem; }
  .draft-btn { padding: 0.35rem 0.6rem; font-size: 0.72rem; }

  /* Compact radio group */
  .radio-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Checkbox grid single column */
  .checkbox-group {
    grid-template-columns: 1fr;
  }

  /* Upload area */
  .logo-upload-area { padding: 1.5rem 1rem; }
  .upload-icon { font-size: 2rem; }

  /* Wizard elements */
  .wizard-progress { padding: 0 0.5rem; margin-bottom: 1rem; }
  .wizard-progress-bar { height: 4px; margin-bottom: 0.75rem; }
  .wizard-steps-indicator { gap: 0.25rem; }
  .wizard-steps-indicator::before { top: 13px; }
  .wizard-step-dot { gap: 0.2rem; }
  .wizard-step-dot span { width: 26px; height: 26px; font-size: 0.75rem; border: none; background: rgba(0,0,0,0.1); }
  .wizard-step-dot.active span { background: var(--primary); border: none; box-shadow: none; }
  .wizard-step-dot.completed span { background: var(--success); border: none; }
  .wizard-step-dot small { font-size: 0.6rem; }

  /* Fixed bottom navigation */
  .wizard-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    margin: 0;
    padding: 0.6rem 1rem;
    padding-bottom: calc(0.6rem + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    max-width: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0,0,0,0.06);
  }

  .wizard-nav-btn { padding: 0.6rem 1.2rem; font-size: 0.85rem; gap: 0.4rem; }
  .wizard-nav-info { font-size: 0.75rem; }

  /* Compact textareas */
  .form-textarea { min-height: 80px; }

  /* Toast adjustments */
  .toast {
    bottom: 4.5rem;
    top: auto;
    right: 0.75rem;
    left: 0.75rem;
    max-width: none;
    transform: translateY(100%);
  }

  .toast.show {
    display: block;
    transform: translateY(0);
  }
}

/* ---- Extra compact: 480px ---- */
@media (max-width: 480px) {
  .form-container { padding: 0.75rem 0 4.5rem 0; }
  .form-card { padding: 1rem; }
  .form-group { margin-bottom: 1rem; }
  .hero-section { padding: 1.25rem 0; }
  .hero-subtitle { display: none; }
  .container { padding: 0 0.75rem; }

  .wizard-step-dot span { width: 22px; height: 22px; font-size: 0.65rem; }
  .wizard-step-dot small { font-size: 0.55rem; }

  .wizard-nav { padding: 0.5rem 0.75rem; }
  .wizard-nav-btn { padding: 0.5rem 1rem; font-size: 0.8rem; }

  /* Draft banner stack */
  .draft-restore-banner { flex-direction: column; align-items: flex-start; }
  .draft-restore-actions { width: 100%; }
  .draft-btn { flex: 1; justify-content: center; }
}

/* ---- Ultra-small: 320px ---- */
@media (max-width: 320px) {
  .container { padding: 0 0.5rem; }
  .form-card { padding: 0.75rem; }
  .form-group { margin-bottom: 0.8rem; }
  .hero-section { padding: 1rem 0; }

  .form-label { font-size: 0.85rem; }
  .form-input, .form-textarea { padding: 0.75rem; }
  .form-textarea { min-height: 60px; }

  .wizard-step-dot span { width: 18px; height: 18px; font-size: 0.55rem; }
  .wizard-step-dot small { font-size: 0.48rem; }
  .wizard-progress-bar { height: 3px; margin-bottom: 0.5rem; }
  .wizard-nav { padding: 0.4rem 0.5rem; }
  .wizard-nav-btn { padding: 0.4rem 0.75rem; font-size: 0.75rem; }
  .wizard-nav-info { font-size: 0.65rem; }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .wizard-nav,
  .wizard-progress,
  .draft-restore-banner,
  .toast,
  .loading-overlay {
    display: none !important;
  }

  .form-card {
    box-shadow: none;
    border: 1px solid var(--border);
  }

  .wizard-step {
    display: block !important;
  }
}
