/* ==========================================================================
   School Admission System - Black & White Professional Minimalist Design
   High-Density, Compact Vertical Rhythm, Executive Academic Aesthetics
   ========================================================================== */

:root {
  --primary: #09090b;          /* Pitch Solid Onyx */
  --primary-hover: #18181b;    /* Graphite Dark */
  --primary-light: #f4f4f5;    /* Crisp Zinc Tint */
  --primary-border: #e4e4e7;   /* Minimalist Border Accent */
  --primary-glow: rgba(9, 9, 11, 0.08);
  --secondary: #18181b;        /* Charcoal Dark */
  --text-main: #09090b;        /* High-Contrast Black */
  --text-muted: #52525b;       /* Muted Zinc Text */
  --text-light: #71717a;
  --bg-page: #f8fafc;          /* Clean Neutral Gray Page */
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --border-color: #d4d4d8;     /* Clean Subtle Border */
  --border-hover: #71717a;
  --border-focus: #09090b;
  --danger: #dc2626;
  --danger-light: #fef2f2;
  --danger-border: #fecaca;
  --success: #16a34a;
  --success-hover: #15803d;
  --success-light: #f0fdf4;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 8px -1px rgba(0, 0, 0, 0.05), 0 1px 3px -1px rgba(0, 0, 0, 0.03);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* Kill legacy CodeIgniter/default.css overrides */
h1, h2, h3, h4, h5, h6 {
  background: none !important;
  padding-left: 0 !important;
  margin: 0;
  font-family: inherit;
}

/* ==========================================================================
   Header & Institutional Branding (Compact)
   ========================================================================== */

.app-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e4e4e7;
  padding: 6px 18px;
}

.app-topbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.app-helpline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.app-helpline-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--primary-border);
}

.app-user-action a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--primary);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.app-user-action a:hover {
  background: var(--primary-hover);
}

/* Compact Banner */
.app-banner {
  background: #ffffff;
  padding: 12px 18px 10px;
  text-align: center;
  border-bottom: 1px solid #e4e4e7;
}

.app-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.app-logo {
  width: 46px;
  height: auto;
  flex-shrink: 0;
}

.app-banner-text {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.app-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.app-institution-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #09090b;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.app-institution-subtitle {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
}

.app-form-badge {
  display: inline-block;
  background: #09090b;
  color: #ffffff;
  padding: 2.5px 9px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .app-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .app-banner-text {
    text-align: center;
    align-items: center;
  }
  .app-title-group {
    justify-content: center;
  }
}

/* ==========================================================================
   Main Form Container & Layout
   ========================================================================== */

.admission-container {
  max-width: 1120px;
  margin: 14px auto 36px;
  padding: 0 16px;
}

@media (max-width: 768px) {
  .admission-container {
    margin: 10px auto 24px;
    padding: 0 10px;
  }
}

.admission-alert {
  padding: 10px 14px;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admission-alert-error {
  background-color: var(--danger-light);
  border: 1px solid var(--danger-border);
  color: var(--danger);
}

.admission-alert-info {
  background-color: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
}

/* ==========================================================================
   Multi-Step Wizard Progress Stepper (Compact Segmented Bar)
   ========================================================================== */

.stepper-wrapper {
  margin-bottom: 14px;
}

.stepper-desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background: #ffffff;
  padding: 10px 20px;
  border: 1px solid #e4e4e7;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stepper-track-bg {
  position: absolute;
  top: 23px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: #e4e4e7;
  z-index: 1;
}

.stepper-track-fill {
  position: absolute;
  top: 23px;
  left: 50px;
  height: 2px;
  background: #09090b;
  z-index: 2;
  transition: width 0.3s ease;
}

.stepper-desktop .stepper-item {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background: transparent;
}

.stepper-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #d4d4d8;
  color: #71717a;
  font-weight: 700;
  font-size: 11.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.step-icon-check {
  display: none;
}

.stepper-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4px;
  text-align: center;
}

.stepper-step-count {
  display: none;
}

.stepper-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #71717a;
  white-space: nowrap;
}

/* Active Step State */
.stepper-item.active .stepper-circle {
  background: #09090b;
  border-color: #09090b;
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.12);
}

.stepper-item.active .stepper-title {
  color: #09090b;
  font-weight: 700;
}

/* Completed Step State */
.stepper-item.completed .stepper-circle {
  background: #18181b;
  border-color: #18181b;
  color: #ffffff;
}

.stepper-item.completed .step-icon-num {
  display: none;
}

.stepper-item.completed .step-icon-check {
  display: block;
}

.stepper-item.completed .stepper-title {
  color: #27272a;
}

/* Mobile Stepper Card */
.stepper-mobile {
  display: none;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .stepper-desktop {
    display: none !important;
  }
  .stepper-mobile {
    display: block !important;
  }
}

.mobile-stepper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.mobile-step-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #09090b;
  background: #f4f4f5;
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid #e4e4e7;
}

.mobile-step-percent {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.mobile-step-heading {
  margin-bottom: 8px;
}

.mobile-step-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #09090b;
}

.mobile-progress-track {
  height: 4px;
  background: #f4f4f5;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}

.mobile-progress-bar {
  height: 100%;
  background: #09090b;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.mobile-step-dots {
  display: flex;
  gap: 6px;
}

.mobile-dot {
  flex: 1;
  height: 28px;
  border-radius: 4px;
  border: 1px solid #d4d4d8;
  background: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
}

.mobile-dot.active {
  background: #09090b;
  border-color: #09090b;
  color: #ffffff;
}

.mobile-dot.completed {
  background: #f4f4f5;
  border-color: #18181b;
  color: #18181b;
}

/* ==========================================================================
   Form Card & Step View (Compact Vertical Rhythm)
   ========================================================================== */

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fadeIn 0.2s ease-in-out;
}

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

.form-card {
  background: var(--bg-card);
  border: 1px solid #e4e4e7;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 18px 24px;
}

@media (max-width: 768px) {
  .form-card {
    padding: 14px 12px;
  }
}

.card-header {
  border-bottom: 1px solid #f4f4f5;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #09090b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  line-height: 1.25;
}

.card-title-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #09090b;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.card-subtitle {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
  padding-left: 36px;
}

@media (max-width: 768px) {
  .card-subtitle {
    padding-left: 0;
  }
}

/* ==========================================================================
   Dense Grid System
   ========================================================================== */

.form-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px 14px;
  margin-bottom: 10px;
}

.form-col-12 { grid-column: span 12; }
.form-col-8  { grid-column: span 8; }
.form-col-6  { grid-column: span 6; }
.form-col-5  { grid-column: span 5; }
.form-col-4  { grid-column: span 4; }
.form-col-3  { grid-column: span 3; }
.form-col-2  { grid-column: span 2; }

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }
  .form-col-12, .form-col-8, .form-col-6, .form-col-5, .form-col-4, .form-col-3, .form-col-2 {
    grid-column: span 1 / -1 !important;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 4px;
  line-height: 1.2;
}

.form-label .req {
  color: var(--danger);
  font-size: 13px;
  font-weight: 800;
}

.form-label .helper {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: auto;
}

/* ==========================================================================
   Inputs & Controls (36px Compact Height, 13px Font)
   ========================================================================== */

.admission-form input.form-control,
.admission-form select.form-control,
.form-control {
  width: 100% !important;
  height: 36px !important;
  padding: 0 10px !important;
  font-size: 13px !important;
  font-family: inherit !important;
  font-weight: 500 !important;
  color: #09090b !important;
  background-color: #ffffff !important;
  border: 1px solid #d4d4d8 !important;
  border-radius: var(--radius-md) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
  outline: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.admission-form textarea.form-control,
textarea.form-control {
  width: 100% !important;
  height: auto !important;
  min-height: 64px !important;
  padding: 8px 10px !important;
  font-size: 13px !important;
  border-radius: var(--radius-md) !important;
  line-height: 1.4 !important;
}

.admission-form input.form-control:hover,
.admission-form select.form-control:hover,
.form-control:hover {
  border-color: #71717a !important;
}

.admission-form input.form-control:focus,
.admission-form select.form-control:focus,
.admission-form textarea.form-control:focus,
.form-control:focus {
  border-color: #09090b !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 2px rgba(9, 9, 11, 0.12) !important;
}

.admission-form input.form-control::placeholder,
.form-control::placeholder {
  color: #a1a1aa !important;
  font-weight: 400 !important;
  font-size: 12.5px !important;
}

/* Custom Select Dropdown with Subtle SVG Chevron */
.admission-form select.form-control,
select.form-control {
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2352525b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 14px 14px !important;
  padding-right: 30px !important;
}

.form-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Radio & Checkbox Compact Options */
.modern-option-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 36px;
}

.modern-option-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid #d4d4d8;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 600;
  color: #18181b;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.modern-option-label:hover {
  border-color: #71717a;
  background: #f4f4f5;
}

.modern-option-label input[type="radio"],
.modern-option-label input[type="checkbox"] {
  width: 14px !important;
  height: 14px !important;
  accent-color: #09090b !important;
  cursor: pointer;
  margin: 0 !important;
}

/* ==========================================================================
   Subsections & Copy Action Chips (Clean Monochrome)
   ========================================================================== */

.subsection-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #09090b;
  border-bottom: 1px solid #e4e4e7;
  padding-bottom: 6px;
  margin-top: 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.copy-chips-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  color: #09090b;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.copy-pill:hover {
  background: #e4e4e7;
  border-color: #d4d4d8;
}

.copy-pill input[type="checkbox"] {
  width: 13px !important;
  height: 13px !important;
  accent-color: #09090b;
  cursor: pointer;
  margin: 0 !important;
}

/* ==========================================================================
   Buttons (38px Compact Height, Crisp Black & White)
   ========================================================================== */

.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #e4e4e7;
  gap: 12px;
}

@media (max-width: 768px) {
  .step-actions {
    flex-direction: column-reverse;
    gap: 8px;
  }
  .step-actions .btn-modern {
    width: 100% !important;
  }
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  user-select: none;
}

.btn-modern-primary {
  background: #09090b;
  color: #ffffff !important;
  border-color: #09090b;
}

.btn-modern-primary:hover {
  background: #27272a;
  border-color: #27272a;
}

.btn-modern-secondary {
  background: #ffffff;
  color: #09090b;
  border-color: #d4d4d8;
}

.btn-modern-secondary:hover {
  background: #f4f4f5;
  border-color: #a1a1aa;
}

.btn-modern-success {
  background: #09090b;
  color: #ffffff !important;
  border-color: #09090b;
}

.btn-modern-success:hover {
  background: #27272a;
}

/* ==========================================================================
   Photo Upload Section (Compact)
   ========================================================================== */

.upload-box-large {
  border: 1.5px dashed #a1a1aa;
  border-radius: var(--radius-md);
  background: #f8fafc;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.upload-box-large:hover {
  border-color: #09090b;
  background: #f4f4f5;
}

.upload-preview-frame {
  width: 120px;
  height: 140px;
  border: 1px solid #d4d4d8;
  border-radius: 4px;
  background: #ffffff;
  overflow: hidden;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-upload-prominent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #09090b;
  color: #ffffff;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-upload-prominent:hover {
  background: #27272a;
}

.upload-specs-tag {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Post Office dynamic select */
.present_post select,
.permanent_post select,
.guardian_post select {
  width: 100% !important;
  height: 36px !important;
  padding: 0 10px !important;
  font-size: 13px !important;
  font-family: inherit !important;
  font-weight: 500 !important;
  color: #09090b !important;
  background-color: #ffffff !important;
  border: 1px solid #d4d4d8 !important;
  border-radius: var(--radius-md) !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2352525b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 14px 14px !important;
  padding-right: 30px !important;
  box-sizing: border-box !important;
}

.present_post select:focus,
.permanent_post select:focus,
.guardian_post select:focus {
  border-color: #09090b !important;
  box-shadow: 0 0 0 2px rgba(9, 9, 11, 0.12) !important;
}

/* ==========================================================================
   Select2 Black & White Professional Override (36px Compact Height)
   ========================================================================== */

.select2-container--default .select2-selection--single {
  height: 36px !important;
  border: 1px solid #d4d4d8 !important;
  border-radius: var(--radius-md) !important;
  background-color: #ffffff !important;
  outline: none !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px !important;
  padding-left: 10px !important;
  padding-right: 28px !important;
  color: #09090b !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 34px !important;
  right: 6px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #52525b transparent transparent transparent !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #09090b transparent !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: #09090b !important;
  box-shadow: 0 0 0 2px rgba(9, 9, 11, 0.12) !important;
}

.select2-dropdown {
  border: 1px solid #09090b !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1) !important;
  font-size: 12.5px !important;
  background: #ffffff !important;
  z-index: 99999 !important;
}

.select2-search--dropdown .select2-search__field {
  border: 1px solid #d4d4d8 !important;
  border-radius: 4px !important;
  padding: 5px 8px !important;
  font-size: 12.5px !important;
  outline: none !important;
}

.select2-search--dropdown .select2-search__field:focus {
  border-color: #09090b !important;
}

.select2-results__option {
  padding: 6px 10px !important;
  font-size: 12.5px !important;
  color: #09090b !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #09090b !important;
  color: #ffffff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #f4f4f5 !important;
  color: #09090b !important;
  font-weight: 700 !important;
}

/* Custom Tag Indicator in Select2 */
.select2-results__option .select2-tag-new {
  display: inline-block;
  background: #09090b;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  text-transform: uppercase;
}

/* ==========================================================================
   Real-Time Field Validation Badges (Compact & High Contrast)
   ========================================================================== */

.mobile-feedback-box {
  margin-top: 3px;
  min-height: 18px;
}

.mobile-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.mobile-badge-warn {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.mobile-badge-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.mobile-badge-success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.mobile-valid {
  border-color: #16a34a !important;
}

.mobile-invalid {
  border-color: #dc2626 !important;
}

/* Compact Age Feedback */
.age-feedback-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.35;
}

.age-feedback-eligible {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.age-feedback-ineligible {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.age-feedback-title {
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.age-feedback-desc {
  font-size: 11px;
}

/* Non-Office Occupation Notice */
.info-note-badge {
  padding: 8px 12px;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: var(--radius-md);
  color: #18181b;
  font-size: 12px;
  margin-bottom: 10px;
}

/* Footer (Compact) */
.app-footer {
  background: #ffffff;
  border-top: 1px solid #e4e4e7;
  padding: 14px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

.app-footer a {
  color: #09090b;
  text-decoration: none;
  font-weight: 600;
}

.app-footer a:hover {
  text-decoration: underline;
}

@media print {
  .no-print {
    display: none !important;
  }
}
