/* ==========================================================================
   The NexGen Coder - Modern Liquid Glass Online Admission Studio
   ========================================================================== */

.adm-studio-hero {
  position: relative;
  padding-top: 2.25rem;
  padding-bottom: 1.5rem;
}

/* Top Floating Promo Banner */
.adm-promo-pill {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(0, 240, 255, 0.08) 55%, rgba(168, 85, 247, 0.1) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Main Liquid Glass Cards */
.adm-glass-panel {
  position: relative;
  border-radius: 26px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(13, 19, 42, 0.78) 40%,
    rgba(8, 12, 28, 0.88) 100%
  ) !important;
  backdrop-filter: blur(26px) saturate(190%);
  -webkit-backdrop-filter: blur(26px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.3),
    inset 0 -1px 1px rgba(0, 240, 255, 0.12),
    0 24px 60px rgba(2, 4, 15, 0.72);
}

/* Interactive Stepper Header */
.adm-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.adm-step-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(148, 163, 184, 0.9);
  border-radius: 14px;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 240ms cubic-bezier(0.22, 1, 0.36, 1);
  text-align: left;
}

.adm-step-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.adm-step-btn .step-num {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cbd5e1;
  transition: all 240ms ease;
}

.adm-step-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(0, 240, 255, 0.16) 60%, rgba(217, 70, 239, 0.16));
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 6px 18px rgba(0, 240, 255, 0.16);
}

.adm-step-btn.active .step-num {
  background: linear-gradient(135deg, #00f0ff, #d946ef);
  border-color: transparent;
  color: #060713;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.adm-step-btn.completed .step-num {
  background: rgba(34, 197, 94, 0.25);
  border-color: rgba(74, 222, 128, 0.65);
  color: #4ade80;
}

/* Progress Micro Bar */
.adm-progress-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.adm-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #00f0ff 0%, #a855f7 55%, #ec4899 100%);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.5);
  transition: width 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Wizard Step Panes */
.adm-step-pane {
  display: none;
  animation: admFadeSlide 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.adm-step-pane.active {
  display: block;
}

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

/* Modern Glass Inputs & Icon Wrappers */
.adm-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.42rem;
}

.adm-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.adm-input-icon {
  position: absolute;
  left: 14px;
  color: rgba(0, 240, 255, 0.78);
  font-size: 0.98rem;
  pointer-events: none;
  z-index: 3;
}

.adm-control,
.adm-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 14px !important;
  color: #f8fafc !important;
  padding: 11px 14px !important;
  font-size: 0.92rem !important;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
  color-scheme: dark;
}

.adm-input-group .adm-control,
.adm-input-group .adm-select {
  padding-left: 40px !important;
}

.adm-select option,
.adm-select optgroup {
  background: #0d1326;
  color: #f8fafc;
}

.adm-control::placeholder {
  color: rgba(148, 163, 184, 0.55) !important;
}

.adm-control:focus,
.adm-select:focus {
  outline: none !important;
  background: rgba(255, 255, 255, 0.075) !important;
  border-color: rgba(0, 240, 255, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.adm-control.is-invalid,
.adm-select.is-invalid {
  border-color: rgba(248, 113, 113, 0.85) !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18) !important;
}

/* Segmented Gender Pills & Shift / Wallet Interactive Cards */
.adm-choice-grid {
  display: grid;
  gap: 8px;
}

.adm-choice-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.adm-choice-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.adm-choice-grid.cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.adm-choice-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 220ms cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
  min-height: 46px;
}

.adm-choice-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.btn-check:checked + .adm-choice-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(0, 240, 255, 0.16) 55%, rgba(217, 70, 239, 0.14));
  border-color: rgba(0, 240, 255, 0.6);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 8px 20px rgba(0, 240, 255, 0.18);
}

/* Official Liquid Wallet Card */
.adm-wallet-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 240, 255, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 12% 85%, rgba(217, 70, 239, 0.18) 0%, transparent 45%),
    linear-gradient(135deg, rgba(16, 24, 52, 0.92), rgba(10, 15, 34, 0.95));
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 14px 36px rgba(0, 0, 0, 0.45);
}

/* Receipt Drag-and-Drop Zone */
.adm-dropzone {
  position: relative;
  border: 1.5px dashed rgba(0, 240, 255, 0.4);
  border-radius: 18px;
  padding: 20px 16px;
  text-align: center;
  background: rgba(0, 240, 255, 0.03);
  cursor: pointer;
  transition: all 220ms ease;
}

.adm-dropzone:hover,
.adm-dropzone.is-dragover {
  background: rgba(0, 240, 255, 0.08);
  border-color: #00f0ff;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.16);
}

.adm-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* Sticky Application Summary Pass */
.adm-summary-sticky {
  position: sticky;
  top: 86px;
}

.adm-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.adm-summary-row:last-child {
  border-bottom: none;
}

/* Navigation Footer Buttons */
.adm-wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 1.25rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.adm-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 200ms ease;
}

.adm-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Print Slip Polishing */
@media print {
  .navbar-nexgen-mockup,
  footer,
  .floating-whatsapp-lead-btn,
  .chatbot-wrapper,
  .adm-no-print {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #111827 !important;
  }
  .adm-glass-panel {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
  }
}

@media (max-width: 991.98px) {
  .adm-summary-sticky {
    position: static;
  }
  .adm-choice-grid.cols-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .adm-stepper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    padding: 5px;
  }
  .adm-step-btn {
    flex-direction: column;
    gap: 4px;
    padding: 8px 4px;
    text-align: center;
    font-size: 0.68rem;
  }
  .adm-choice-grid.cols-3,
  .adm-choice-grid.cols-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
