/* ==========================================================================
   Learn Ajmat - Enterprise Checkout & Payment Design System
   Google Font: Plus Jakarta Sans | Theme: Royal Crimson & Gold
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --co-primary: #a3241c; /* Crimson Red matching Image */
  --co-primary-dark: #7a150f;
  --co-primary-light: #fef2f2;
  --co-accent: #a3241c;
  --co-accent-hover: #871c15;
  --co-success: #10b981;
  --co-success-light: #ecfdf5;
  --co-warning: #f59e0b;
  --co-gold: #ffd60a;
  --co-text-dark: #0f172a;
  --co-text-muted: #64748b;
  --co-border: #e2e8f0;
  --co-surface: #ffffff;
  --co-bg: #fdf8f8;
  --co-radius: 16px;
  --co-shadow: 0 4px 20px rgba(163, 36, 28, 0.08);
  --co-shadow-hover: 0 10px 30px rgba(163, 36, 28, 0.15);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--co-bg);
  color: var(--co-text-dark);
  -webkit-font-smoothing: antialiased;
}

/* Top Trust Strip */
.top_trust_strip {
  background: linear-gradient(90deg, #7a150f 0%, #a3241c 100%);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.trust_strip_item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 20px;
}

/* Custom Breadcrumb - Crimson Theme (Sticky Fixed on Scroll) */
.custom_breadcrumb {
  position: sticky !important;
  top: 0 !important;
  z-index: 1020 !important;
  background: linear-gradient(90deg, #7a150f 0%, #a3241c 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 4px 15px rgba(122, 21, 15, 0.25) !important;
  backdrop-filter: blur(8px);
  color: #ffffff !important;
}
.custom_breadcrumb a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
  font-weight: 500;
}
.custom_breadcrumb a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}
.custom_breadcrumb span {
  color: rgba(255, 255, 255, 0.6) !important;
}
.custom_breadcrumb .text-dark,
.custom_breadcrumb .font-weight-bold,
.custom_breadcrumb strong {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Checkout Progress Stepper */
.checkout_stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 860px;
  margin: 25px auto 35px;
  position: relative;
}
.checkout_stepper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}
.stepper_step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  text-decoration: none !important;
  cursor: pointer;
}
.stepper_circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  color: #64748b;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.stepper_step.active .stepper_circle {
  background: var(--co-primary);
  border-color: var(--co-primary);
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(163, 36, 28, 0.22);
}
.stepper_step.completed .stepper_circle {
  background: var(--co-success);
  border-color: var(--co-success);
  color: #ffffff;
}
.stepper_title {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-align: center;
  max-width: 120px;
}
.stepper_step.active .stepper_title {
  color: var(--co-primary);
}

/* Passport Size Photo & Document Upload Zones */
.passport_photo_zone {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fdf2f2;
  border: 1.5px dashed #a3241c;
  border-radius: 14px;
  padding: 16px 20px;
  transition: all 0.25s ease;
}
.passport_photo_zone:hover {
  border-color: #7a150f;
  background-color: #fee2e2;
}
.passport_photo_box {
  width: 96px;
  height: 120px;
  border-radius: 10px;
  background: #ffffff;
  border: 2px solid #a3241c;
  box-shadow: 0 4px 12px rgba(163, 36, 28, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
}
.passport_photo_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.passport_photo_box .photo_placeholder_icon {
  font-size: 2.2rem;
  color: #94a3b8;
  line-height: 1;
}
.passport_photo_box .photo_placeholder_label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--co-primary);
  text-align: center;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.passport_photo_meta {
  flex-grow: 1;
}
.passport_upload_actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.btn_upload_photo {
  background: var(--co-primary);
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn_upload_photo:hover {
  background: var(--co-primary-dark);
  box-shadow: 0 2px 8px rgba(163, 36, 28, 0.25);
}
.btn_remove_photo {
  background: #fee2e2;
  color: #991b1b !important;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: none;
}
.btn_remove_photo:hover {
  background: #fecaca;
}

.doc_upload_zone {
  background: #fdf8f8;
  border: 1.5px dashed #fca5a5;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.doc_upload_zone:hover {
  border-color: var(--co-primary);
  background: #fee2e2;
}

/* Official Student Enrollment Dossier (Step 4 Review Card) */
.official_dossier_wrap {
  background: #ffffff;
  border: 2px solid var(--co-primary);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  box-shadow: 0 8px 24px rgba(163, 36, 28, 0.12);
  margin-bottom: 20px;
}
.official_dossier_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.official_dossier_candidate {
  display: flex;
  gap: 18px;
  align-items: center;
  background: #fdf8f8;
  border: 1px solid #fed7d7;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
}
.dossier_photo_frame {
  width: 82px;
  height: 104px;
  border-radius: 8px;
  border: 2px solid var(--co-primary);
  overflow: hidden;
  background: #f8fafc;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(163, 36, 28, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dossier_photo_frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dossier_badge_verified {
  background: #10b981;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.4px;
}
.dossier_info_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  font-size: 0.86rem;
}
@media (max-width: 576px) {
  .dossier_info_grid {
    grid-template-columns: 1fr;
  }
  .official_dossier_candidate {
    flex-direction: column;
    text-align: center;
  }
}
.dossier_info_item {
  display: flex;
  flex-direction: column;
}
.dossier_info_label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.dossier_info_val {
  font-size: 0.92rem;
  color: #0f172a;
  font-weight: 700;
}


/* Step Navigation Footer */
.step_nav_buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1.5px solid #f1f5f9;
}
.btn_step_prev {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  border-radius: 10px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}
.btn_step_prev:hover {
  background: #f1f5f9;
  color: #1e293b;
}
.btn_step_next {
  background: var(--co-primary);
  border: none;
  color: #ffffff !important;
  border-radius: 10px;
  padding: 12px 28px;
  font-weight: 800;
  font-size: 0.98rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(163, 36, 28, 0.25);
}
.btn_step_next:hover {
  background: var(--co-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(163, 36, 28, 0.35);
}

/* Full Course Fee Badge */
.full_fee_badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px solid #a7f3d0;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

/* Main Checkout Wrapper */
.checkout_main_wrapper {
  padding-bottom: 70px;
}

/* Enterprise Form Cards */
.co_card {
  background: var(--co-surface);
  border-radius: var(--co-radius);
  border: 1px solid var(--co-border);
  border-top: 4px solid var(--co-primary);
  box-shadow: var(--co-shadow);
  padding: 30px;
  margin-bottom: 24px;
  transition: all 0.25s ease;
}
.co_card:hover {
  box-shadow: var(--co-shadow-hover);
  border-color: #cbd5e1;
  border-top-color: var(--co-primary);
}

.co_section_header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid #f1f5f9;
}
.co_section_badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--co-primary) 0%, var(--co-primary-dark) 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(163, 36, 28, 0.25);
}
.co_section_title {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--co-primary-dark);
}
.co_section_subtitle {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--co-text-muted);
}

/* Modern Form Controls */
.co_form_group {
  margin-bottom: 18px;
}
.co_label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 7px;
}
.co_label .req {
  color: var(--co-accent);
}
.co_input_wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.co_input_icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  font-size: 1.05rem;
}
.co_input {
  width: 100%;
  height: 48px;
  padding: 10px 16px 10px 42px;
  border-radius: 10px;
  border: 1.5px solid #d1d5db;
  background: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--co-text-dark);
  transition: all 0.2s ease;
}
.co_input_no_icon {
  padding-left: 16px !important;
}
.co_input:focus {
  outline: none;
  border-color: var(--co-primary);
  box-shadow: 0 0 0 3px rgba(163, 36, 28, 0.15);
  background: #ffffff;
}
.co_input::placeholder {
  color: #9ca3af;
}
.co_select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px !important;
  cursor: pointer;
}

/* Batch Option Grid */
.batch_radio_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.batch_radio_card {
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  background: #ffffff;
}
.batch_radio_card:hover {
  border-color: var(--co-primary);
  background: #fdf8f8;
}
.batch_radio_card.active {
  border-color: var(--co-primary);
  background: #fdf2f2;
  box-shadow: 0 4px 14px rgba(163, 36, 28, 0.12);
}
.batch_radio_card input[type="radio"] {
  position: absolute;
  top: 14px;
  right: 14px;
  accent-color: var(--co-primary);
  transform: scale(1.15);
}
.batch_radio_title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--co-primary-dark);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.batch_radio_time {
  font-size: 0.83rem;
  color: #475569;
  margin-bottom: 6px;
}
.batch_status_tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.tag_filling {
  background: #fef3c7;
  color: #92400e;
}
.tag_popular {
  background: #fee2e2;
  color: var(--co-primary-dark);
}
.tag_open {
  background: #dcfce7;
  color: #166534;
}

/* Payment Method Cards */
.payment_method_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.pay_method_box {
  border: 1.5px solid #d1d5db;
  border-radius: 14px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
}
.pay_method_box:hover {
  border-color: var(--co-primary);
  background: #fdf8f8;
}
.pay_method_box.active {
  border-color: var(--co-primary);
  background: #fdf2f2;
  box-shadow: 0 4px 14px rgba(163, 36, 28, 0.1);
}
.pay_method_icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.pay_method_name {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--co-primary-dark);
  margin-bottom: 2px;
}
.pay_method_desc {
  font-size: 0.82rem;
  color: var(--co-text-muted);
}

/* Payment Details Pane (UPI, Card, NetBanking) */
.pay_pane_wrapper {
  background: #fdf8f8;
  border: 1.5px solid #fed7d7;
  border-radius: 14px;
  padding: 24px;
  margin-top: 16px;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Card Preview Visual */
.card_visual_preview {
  background: linear-gradient(135deg, #7a150f 0%, #a3241c 50%, #c43328 100%);
  border-radius: 16px;
  padding: 22px 24px;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(122, 21, 15, 0.35);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.card_visual_preview::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.card_chip {
  width: 42px;
  height: 30px;
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  border-radius: 6px;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.card_display_num {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.card_meta_row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card_meta_val {
  font-weight: 700;
  font-size: 0.9rem;
}

/* Sticky Order Summary */
.order_summary_panel {
  background: #ffffff;
  border-radius: var(--co-radius);
  border: 2px solid var(--co-primary);
  border-top: 5px solid var(--co-primary);
  box-shadow: 0 10px 35px rgba(163, 36, 28, 0.12);
  padding: 30px;
  position: sticky;
  top: 24px;
}
.sum_course_header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid #f1f5f9;
  margin-bottom: 18px;
}
.sum_flag_img {
  width: 54px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  border: 1px solid #e2e8f0;
}
.sum_course_title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--co-primary-dark);
  margin: 0;
  line-height: 1.3;
}
.sum_course_meta {
  font-size: 0.84rem;
  color: var(--co-text-muted);
  font-weight: 600;
}

/* Benefits Checklist */
.sum_benefits_list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.sum_benefit_item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: #334155;
  margin-bottom: 8px;
}
.sum_benefit_item svg {
  color: var(--co-success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Price Lines */
.sum_price_line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.92rem;
  color: #475569;
}
.sum_price_line.total {
  border-top: 2px dashed #cbd5e1;
  border-bottom: 2px solid var(--co-primary);
  padding: 16px 0;
  margin: 12px 0 20px;
}
.sum_total_label {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--co-primary-dark);
}
.sum_total_val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--co-accent);
}

/* Coupon Box */
.coupon_box_wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.coupon_input {
  flex-grow: 1;
  height: 42px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  padding: 0 12px;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
}
.coupon_input:focus {
  outline: none;
  border-color: var(--co-primary);
}
.btn_apply_coupon {
  background: var(--co-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn_apply_coupon:hover {
  background: var(--co-primary-dark);
}

/* Primary Pay CTA */
.btn_pay_primary {
  background: linear-gradient(135deg, #a3241c 0%, #c43328 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 12px;
  width: 100%;
  padding: 16px 22px;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(163, 36, 28, 0.35);
}
.btn_pay_primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(163, 36, 28, 0.45);
}
.btn_pay_primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Trust Badges Row */
.trust_badges_row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.trust_badge_col {
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}
.trust_badge_col span {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 2px;
}

/* Success Page Specifics */
.success_dossier_card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(163, 36, 28, 0.1);
  border: 1px solid #e2e8f0;
  border-top: 5px solid var(--co-primary);
  padding: 40px;
  max-width: 960px;
  margin: 0 auto;
}
.success_hero_banner {
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 30px;
}
.success_seal_badge {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
  margin-bottom: 16px;
  animation: pulseSuccess 2s infinite;
}
@keyframes pulseSuccess {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.success_grid_2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}
.dossier_box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
}
.dossier_title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--co-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1.5px solid #e2e8f0;
  padding-bottom: 8px;
}
.dossier_row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #f1f5f9;
}
.dossier_row:last-child {
  border-bottom: none;
}
.dossier_label {
  color: #64748b;
  font-weight: 500;
  flex: 1;
}
.dossier_val {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
  flex: 1.3;
}

/* Post Admission Roadmap */
.next_steps_timeline {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  margin: 30px 0;
}
.timeline_steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.timeline_item {
  position: relative;
  padding-left: 36px;
}
.timeline_dot {
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--co-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline_dot.done {
  background: var(--co-success);
}
.timeline_heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--co-primary-dark);
  margin-bottom: 2px;
}
.timeline_desc {
  font-size: 0.78rem;
  color: #64748b;
}

/* Print Styles */
@media print {
  header, footer, .top_trust_strip, .action_btn_grid, .btn_pay_primary, .custom_breadcrumb, .no-print {
    display: none !important;
  }
  body, .success_page_wrapper {
    background: #ffffff !important;
    padding: 0 !important;
  }
  .success_dossier_card {
    box-shadow: none !important;
    border: 1px solid #000000 !important;
    max-width: 100% !important;
    padding: 20px !important;
  }
  .dossier_box {
    border: 1px solid #ccc !important;
    background: #fff !important;
  }
}

/* ==========================================================================
   BANK-GRADE PAYMENT SWITCH MODAL (CENTERED FLOATING OVERLAY)
   ========================================================================== */
body.modal_active {
  overflow: hidden !important;
}

.gateway_modal_overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.78) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 999999 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

.gateway_modal_overlay.show {
  display: flex !important;
}

.gateway_modal_card {
  background: #ffffff !important;
  width: 100% !important;
  max-width: 500px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  padding: 30px 28px !important;
  position: relative !important;
  margin: auto !important;
  animation: modalPopIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes modalPopIn {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(18px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.btn_close_modal {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f1f5f9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.btn_close_modal:hover {
  background: #fee2e2;
  color: #a3241c;
  transform: scale(1.08);
}
