/* ==============================================
   BOOKING WIZARD  |  booking-form.css
   All styles scoped to the .booking-wizard
   ============================================== */

/* --- Section layout overrides --- */
.form-div {
  height: auto !important;
  min-height: 70vh;
  align-items: stretch;
}
.form-div .container {
  align-items: stretch;
}
.col-form-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 20px;
}
.cc-container {
  overflow: visible;
  height: 100%;
}
.counselling-form-card {
  height: 100%;
  min-height: 100%;
}

/* --- Wizard shell --- */
.booking-wizard {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 580px;
}

/* --- Step bar --- */
.bw-steps {
  display: flex;
  align-items: flex-start;
  padding: 20px 24px 16px;
  background: #f1f3f6;
  border-radius: 0;
}
.bw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.bw-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  color: #bdbfc1;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  border: 2px solid #848688;
}
.bw-step-label {
  font-size: 12px;
  color: #9ba0a8;
  font-family: 'Jost', sans-serif;
  white-space: nowrap;
  text-align: center;
  font-weight: 500;
  transition: color 0.3s;
}
.bw-step.active .bw-step-num {
  background: #fff;
  color: #27314e;
  border-color: #5fba7a;
}
.bw-step.active .bw-step-label {
  color: #111;
  font-weight: 700;
  font-size: 12px;
}
.bw-step.done .bw-step-num {
  background: #5fba7a;
  color: #fff;
  border-color: #5fba7a;
}
.bw-step.done .bw-step-label {
  color: #bdbfc1;
  font-weight: 600;
}
.bw-step-line {
  flex: 1;
  height: 2px;
  background: #848688;
  margin: 14px 4px 0;
  transition: background 0.3s;
}
.bw-step-line.done {
  background: #5fba7a;
}

/* --- Static fee & payment notice --- */
.bw-fee-notice {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: linear-gradient(135deg, #1a2644 0%, #243050 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.06);
}
.bw-fee-notice::before {
  content: '₹';
  flex-shrink: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #5fba7a;
  background: rgba(95,186,122,0.12);
  border-right: 1px solid rgba(95,186,122,0.18);
  letter-spacing: -1px;
}
.bw-fee-body {
  flex: 1;
  padding: 14px 20px;
}
.bw-fee-amount {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #8fa3c8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
}
.bw-fee-amount span {
  display: block;
  color: #5fba7a;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-top: 1px;
}
.bw-fee-divider {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #5fba7a, transparent);
  border-radius: 2px;
  margin: 8px 0;
}
.bw-fee-note {
  font-family: 'Jost', sans-serif;
  font-size: 12.5px;
  color: #7d8fac;
  line-height: 1.6;
}

/* --- Live summary bar --- */
.bw-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  background: linear-gradient(135deg, #212d47 0%, #29375a 100%);
  padding: 10px 16px;
  font-size: 13px;
  font-family: 'Jost', sans-serif;
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.bw-sum-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 3px 10px 3px 8px;
}
.bw-sum-label {
  color: #7d8fac;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.bw-sum-label::after {
  content: ':';
}
.bw-sum-value {
  color: #d0ddef;
  font-weight: 700;
  font-size: 12.5px;
}
.bw-sum-sep {
  display: none;
}

/* --- Panels --- */
.bw-panel {
  display: none;
  padding: 24px 26px 20px;
}
.bw-panel.active {
  display: block;
  animation: bwFadeIn 0.22s ease;
}
@keyframes bwFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Panel title */
.bw-panel-title {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a2340;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bw-panel-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #5fba7a;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Sub-title */
.bw-sub-title {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #555c6e;
  font-weight: 700;
  margin-bottom: 10px;
}

/* --- Step 1: Who are you — option cards --- */
.bw-option-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.bw-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: #fff;
  border: 2px solid #bdbfc1;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: #1a2340;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  line-height: 1.2;
}
.bw-option-card:hover {
  border-color: #5fba7a;
  background: #f5fcf7;
}
.bw-option-card.selected {
  border-color: #27314e;
  background: #27314e;
  color: #fff;
}
.bw-opt-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a6277;
}
.bw-opt-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}
.bw-option-card.selected .bw-opt-icon {
  color: #fff;
}

/* --- Sub sections (student level, stream, ug/pg) --- */
.bw-sub {
  margin-top: 12px;
  padding: 12px 14px;
  background: #f8fbff;
  border-radius: 8px;
  border-left: 3px solid #5fba7a;
  animation: bwFadeIn 0.2s ease;
}

/* --- Chips --- */
.bw-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.bw-chip {
  padding: 7px 16px;
  background: #fff;
  border: 1.5px solid #bdbfc1;
  border-radius: 20px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: #1a2340;
  cursor: pointer;
  transition: all 0.18s;
}
.bw-chip:hover {
  border-color: #5fba7a;
  color: #5fba7a;
  background: #f5fcf7;
}
.bw-chip.selected {
  background: #27314e;
  border-color: #27314e;
  color: #fff;
  font-weight: 600;
}

/* --- Inputs --- */
.bw-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #bdbfc1;
  border-radius: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: #1a2340;
  background: #fff;
  outline: none;
  margin-bottom: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  display: block;
  margin-top: 10px;
}
.bw-input:focus {
  border-color: #5fba7a;
  box-shadow: 0 0 0 3px rgba(95, 186, 122, 0.12);
}
.bw-textarea {
  resize: vertical;
  min-height: 80px;
}

/* --- PhD checkboxes --- */
.bw-phd-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.bw-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: #1a2340;
  cursor: pointer;
  user-select: none;
}
.bw-check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #27314e;
  cursor: pointer;
  flex-shrink: 0;
}

/* --- Toggle group (Plan: Online / Face to Face) --- */
.bw-toggle-group {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.bw-toggle {
  flex: 1;
  padding: 13px 10px;
  background: #fff;
  border: 2px solid #bdbfc1;
  border-radius: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  cursor: pointer;
  color: #1a2340;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
}
.bw-toggle:hover {
  border-color: #5fba7a;
  background: #f5fcf7;
}
.bw-toggle.selected {
  border-color: #27314e;
  background: #27314e;
  color: #fff;
  font-weight: 600;
}

/* --- Service section --- */
.bw-service-section {
  margin-bottom: 4px;
  animation: bwFadeIn 0.2s ease;
}

/* --- Label --- */
.bw-label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #555c6e;
  font-weight: 700;
  margin-bottom: 6px;
}

/* --- Time slot cards --- */
.bw-slots {
  animation: bwFadeIn 0.22s ease;
}
.bw-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 4px;
}
.bw-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px 10px;
  border: 2px solid #bdbfc1;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  color: #27314e;
  transition: all 0.2s;
  position: relative;
}
.bw-slot:hover:not(:disabled) {
  border-color: #5fba7a;
  background: #f5fcf7;
  transform: translateY(-2px);
}
.bw-slot.selected {
  border-color: #27314e;
  background: #27314e;
  color: #fff;
}
.bw-slot:disabled {
  background: #f5f5f5;
  border-color: #e0e0e0;
  opacity: 0.55;
  cursor: not-allowed;
}
.bw-slot:disabled::after {
  content: "Booked";
  position: absolute;
  bottom: 3px;
  font-size: 9px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.bw-slot-time {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.bw-slot-to {
  font-size: 13px;
  color: #555c6e;
  margin: 2px 0;
  font-weight: 400;
}
.bw-slot.selected .bw-slot-to {
  color: rgba(255, 255, 255, 0.65);
}
.bw-slot-badge {
  font-size: 10px;
  border: 1px solid currentColor;
  border-radius: 10px;
  padding: 2px 6px;
  margin-top: 4px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* Slot type variants */
.bw-slot.phd-slot {
  border-color: #b39ddb;
}
.bw-slot.phd-slot:hover:not(:disabled) {
  background: #ede7f6;
  border-color: #7c4dff;
}
.bw-slot.phd-slot.selected {
  background: #7c4dff;
  border-color: #7c4dff;
}
.bw-slot.request-slot {
  border-style: dashed;
  border-color: #ffb74d;
}
.bw-slot.request-slot:hover:not(:disabled) {
  background: #fff8e1;
  border-color: #ff9800;
}
.bw-slot.request-slot.selected {
  background: #ff9800;
  border-color: #ff9800;
  border-style: solid;
  color: #fff;
}
.bw-slot.sunday-slot {
  border-color: #f5c518;
  background: #fffbea;
}
.bw-slot.sunday-slot:hover:not(:disabled) {
  background: #fff8c0;
}
.bw-slot.sunday-slot.selected {
  background: #f5c518;
  border-color: #d4a800;
  color: #333;
}

/* --- Alert --- */
.bw-alert {
  background: #fffbea;
  border: 1.5px solid #f5c518;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Jost', sans-serif;
  margin-bottom: 14px;
  color: #4a3400;
}

/* --- Booking summary card (Step 4) --- */
.bw-booking-summary {
  background: linear-gradient(135deg, rgba(36,49,78,0.05) 0%, rgba(189,191,193,0.12) 100%);
  border: 1px solid #bdbfc1;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: #1a2340;
  line-height: 2.1;
}
.bw-booking-summary b {
  color: #3d9e5c;
}

/* --- Nav buttons --- */
.bw-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  gap: 10px;
}
.bw-btn-back {
  padding: 10px 18px;
  background: transparent;
  border: 1.5px solid #bdbfc1;
  border-radius: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  cursor: pointer;
  color: #444c5e;
  transition: all 0.2s;
}
.bw-btn-back:hover {
  border-color: #5fba7a;
  color: #5fba7a;
}
.bw-btn-next {
  margin-left: auto;
  padding: 11px 24px;
  background: #5fba7a;
  border: none;
  border-radius: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.bw-btn-next:hover {
  background: #4aa368;
}
.bw-btn-submit {
  margin-left: auto;
  padding: 12px 28px;
  background: #27314e;
  border: none;
  border-radius: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.bw-btn-submit:hover {
  background: #3a4a6e;
  transform: translateY(-1px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .bw-option-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .bw-steps {
    padding: 14px 14px 12px;
  }
  .bw-step-label {
    font-size: 10px;
  }
  .bw-step-num {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .bw-panel {
    padding: 16px 14px 14px;
  }
  .bw-option-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bw-slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bw-toggle-group {
    flex-direction: column;
  }
  .bw-summary {
    padding: 8px 12px;
  }
}

