/* ══════════════════════════════════════════════════════════════
   survey.css  —  Graduation Survey · FCAI CU Senior 2027
   Specific styles for the Graduation Merch Survey
   ══════════════════════════════════════════════════════════════ */
@import 'common.css';

/* ══ Page Layout ════════════════════════════════════════════════ */
.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 80px;
  background: radial-gradient(ellipse at top center, #101930 0%, #0d0d14 65%);
}

/* ══ Coming Soon Teaser View (Active on Production) ═══════════ */
.coming-soon-card {
  width: 100%;
  max-width: 680px;
  background: rgba(13, 22, 42, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 24px;
  padding: 50px 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 45px rgba(245, 158, 11, 0.12);
  margin-top: 20px;
  animation: cs-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cs-fade-up {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.cs-icon-wrap {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(217, 119, 6, 0.38));
  border: 1px solid rgba(245, 158, 11, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.25);
}

.cs-icon-glow {
  position: absolute;
  inset: -12px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(12px);
  animation: cs-pulse 3s ease-in-out infinite alternate;
}

@keyframes cs-pulse {
  from { opacity: 0.5; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1.15); }
}

.cs-icon {
  width: 38px;
  height: 38px;
  stroke: #f9c74f;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  position: relative;
  z-index: 2;
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f9c74f;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.cs-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.cs-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 540px;
  margin: 0 auto 28px;
}

.cs-desc strong {
  color: #e2e8f0;
}

.cs-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.cs-feat-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.cs-feat-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
  color: #fff;
}

.cs-feat-icon {
  font-size: 16px;
}

.cs-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.cs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cs-btn svg {
  width: 16px;
  height: 16px;
}

.cs-btn-primary {
  background: linear-gradient(135deg, #1a4aaa, #4d8edb);
  color: #fff;
  box-shadow: 0 4px 16px rgba(77, 142, 219, 0.35);
}

.cs-btn-primary:hover {
  box-shadow: 0 6px 22px rgba(77, 142, 219, 0.55);
  transform: translateY(-2px);
}

.cs-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.cs-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.cs-footer-hint {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* ══ Hero ═══════════════════════════════════════════════════════ */
.hero {
  text-align: center;
  max-width: 680px;
  margin-bottom: 36px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #1a4aaa, #4d8edb);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(77, 142, 219, 0.3);
}

.hero h1 {
  font-size: clamp(26px, 4.5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 50%, #f9c74f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.65;
}

/* ══ Survey Form ════════════════════════════════════════════════ */
.survey-form {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ── Form Section ───────────────────────────────────────────────── */
.form-section {
  background: #0a0f1e;
  border: 1px solid #1a2540;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-section:hover {
  border-color: rgba(77, 142, 219, 0.3);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #0d1625 0%, #0a0f1e 100%);
  border-bottom: 1px solid #1a2540;
}

.section-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(77, 142, 219, 0.12);
  border: 1px solid rgba(77, 142, 219, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d8edb;
}

.section-icon svg { width: 18px; height: 18px; }

.section-header-text { flex: 1; min-width: 0; }

.section-title {
  font-size: 15px;
  font-weight: 700;
  color: #e8eaf0;
  letter-spacing: 0.02em;
}

.section-desc {
  font-size: 12px;
  color: #5a7aaa;
  margin-top: 2px;
}

.section-step {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: #4a6a9a;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(77, 142, 219, 0.08);
  border: 1px solid #1a2f50;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.section-body { padding: 22px; }

/* ── Fields Grid ────────────────────────────────────────────────── */
.fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .fields-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 7px; }
.field.span-2 { grid-column: 1 / -1; }

.field label {
  font-size: 11px;
  font-weight: 700;
  color: #5a7aaa;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field label .req { color: #ef4444; margin-left: 2px; }

.field input,
.field select,
.field textarea {
  background: #0d1a30;
  border: 1px solid #1a2f50;
  border-radius: 9px;
  color: #e8eaf0;
  font-size: 13.5px;
  font-family: inherit;
  padding: 11px 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #4d8edb;
  box-shadow: 0 0 0 3px rgba(77, 142, 219, 0.15);
  background: #0f2040;
}

.field input::placeholder,
.field textarea::placeholder { color: #3a5a80; }
.field select option { background: #0a0f1e; }
.field textarea { resize: vertical; min-height: 100px; line-height: 1.6; }

/* ══ Items List ═════════════════════════════════════════════════ */
.items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Item Card ──────────────────────────────────────────────────── */
.item-card {
  border: 1px solid #1a2540;
  border-radius: 12px;
  overflow: hidden;
  background: #0d1625;
  transition: all 0.2s ease;
}

.item-card:hover {
  border-color: rgba(77, 142, 219, 0.35);
}

.item-card.selected {
  border-color: #4d8edb;
  box-shadow: 0 0 0 1px #4d8edb, 0 0 18px rgba(77, 142, 219, 0.2);
  background: #0d1a30;
}

/* ── Disabled / Coming Soon item card ────────────────────────────── */
.item-card.disabled {
  opacity: 0.55;
  border-color: #1a2540;
  filter: grayscale(0.4);
}

.item-card.disabled:hover {
  border-color: #1a2540;   /* suppress hover highlight */
}

.item-card.disabled .item-toggle {
  cursor: not-allowed;
  pointer-events: none;
}

.item-coming-soon-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  white-space: nowrap;
}

/* Toggle row (clickable) */
.item-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.item-toggle:hover { background: rgba(77, 142, 219, 0.05); }

.item-card.selected .item-toggle {
  background: rgba(77, 142, 219, 0.08);
}

/* Checkbox indicator */
.item-checkbox {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #2a4060;
  background: #080e1c;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.item-card.selected .item-checkbox {
  background: linear-gradient(135deg, #1a4aaa, #4d8edb);
  border-color: #4d8edb;
  box-shadow: 0 0 10px rgba(77, 142, 219, 0.4);
}

.item-checkbox svg {
  width: 13px;
  height: 13px;
  stroke: #fff;
  opacity: 0;
  transition: opacity 0.2s;
}

.item-card.selected .item-checkbox svg { opacity: 1; }

/* Item icon */
.item-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(77, 142, 219, 0.1);
  border: 1px solid rgba(77, 142, 219, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d8edb;
  transition: all 0.2s;
}

.item-card.selected .item-icon {
  background: rgba(77, 142, 219, 0.2);
  border-color: #4d8edb;
  color: #fff;
}

.item-icon svg { width: 20px; height: 20px; }

/* Item text */
.item-info { flex: 1; min-width: 0; }

.item-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #e8eaf0;
  line-height: 1.3;
}

.item-description {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 3px;
  line-height: 1.45;
}

/* Price tag */
.item-price-tag {
  flex-shrink: 0;
  text-align: right;
}

.item-price-amount {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #f9c74f;
}

.item-price-unit {
  display: block;
  font-size: 10.5px;
  color: #5a7aaa;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ── Sub-Options Panel ──────────────────────────────────────────── */
.item-suboptions {
  padding: 0 18px;
  background: #080e1c;
  border-top: 1px solid #1a2540;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

.item-suboptions.open {
  max-height: 900px;
  padding: 18px;
}

.suboption-group { display: flex; flex-direction: column; gap: 10px; }
.suboption-group + .suboption-group { margin-top: 16px; }

.suboption-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #5a7aaa;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.suboption-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.suboption-badge.required { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.suboption-badge.optional { background: rgba(77, 142, 219, 0.12); color: #4d8edb; }

/* Size Pills */
.pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-pill {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #1a2f50;
  background: #0d1a30;
  color: #5a7aaa;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.size-pill:hover {
  border-color: #4d8edb;
  color: #4d8edb;
  background: rgba(77, 142, 219, 0.08);
}

.size-pill.active {
  background: linear-gradient(135deg, #1a4aaa, #4d8edb);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 3px 12px rgba(77, 142, 219, 0.35);
}

/* Design Cards */
.design-cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.design-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid #1a2f50;
  background: #0d1a30;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.design-card:hover {
  border-color: #4d8edb;
  color: #e8eaf0;
}

.design-card.active {
  border-color: #4d8edb;
  background: rgba(77, 142, 219, 0.15);
  color: #fff;
  box-shadow: 0 0 0 1px #4d8edb;
}

.design-swatch {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  background: var(--swatch-color, #555);
}

/* ══ File Upload ════════════════════════════════════════════════ */
.file-upload-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Clickable drop zone */
.file-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 16px;
  border: 2px dashed #1e3a6a;
  border-radius: 10px;
  background: #0d1a30;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  position: relative;
}

.file-upload-zone:hover,
.file-upload-zone:focus-within {
  border-color: #4d8edb;
  background: #0f2040;
}

.file-upload-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(77, 142, 219, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d8edb;
}

.file-upload-icon svg { width: 22px; height: 22px; }

.file-upload-title {
  font-size: 13px;
  font-weight: 700;
  color: #c8d8f0;
}

.file-upload-hint {
  font-size: 11px;
  color: #5a7aaa;
  line-height: 1.5;
}

/* Hidden file input */
.file-input-hidden {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* Preview area shown after upload */
.file-preview-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #0d1a30;
  border: 1px solid #1a2f50;
  border-radius: 9px;
}

.file-preview-img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #4d8edb;
  flex-shrink: 0;
}

.file-preview-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.file-preview-name {
  font-size: 12px;
  color: #e8eaf0;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  color: #ef4444;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  width: fit-content;
}

.file-remove-btn:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: #ef4444;
}

.file-remove-btn svg { width: 13px; height: 13px; }

/* ══ Image Choices (pick one from image cards) ══════════════════ */
.image-choices-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.image-choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #0d1a30;
  border: 2px solid #1a2f50;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
  min-width: 130px;
  flex: 1;
  max-width: 200px;
}

.image-choice-card:hover {
  border-color: #4d8edb;
  background: rgba(77, 142, 219, 0.07);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.image-choice-card.active {
  border-color: #4d8edb;
  background: rgba(77, 142, 219, 0.14);
  box-shadow: 0 0 0 1px #4d8edb, 0 6px 22px rgba(77, 142, 219, 0.25);
}

.image-choice-img-wrap {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #080e1c;
  display: flex;
  align-items: center;
  justify-content: center;
  /* aspect-ratio set dynamically by JS after image loads */
  aspect-ratio: 1 / 1;
  transition: aspect-ratio 0.2s ease;
}

.image-choice-img-wrap.ratio-loaded {
  aspect-ratio: unset;
}

.image-choice-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  transition: transform 0.22s ease;
  object-fit: contain;
}

.image-choice-card:hover .image-choice-img {
  transform: scale(1.04);
}

/* Checkmark overlay shown on active card */
.image-choice-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #4d8edb;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform: scale(0.7);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.image-choice-card.active .image-choice-check {
  opacity: 1;
  transform: scale(1);
}

.image-choice-check svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 2.5;
}

.image-choice-label {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-align: center;
  transition: color 0.2s;
}

.image-choice-card.active .image-choice-label {
  color: #e8eaf0;
}

.img-error {
  font-size: 11px;
  color: #ef4444;
  text-align: center;
  padding: 8px;
}

/* ══ Image Preview (display-only, single design) ════════════════ */
.image-preview-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.image-preview-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 10px;
  border: 1px solid #1a2f50;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  display: block;
  object-fit: contain;
  background: #080e1c;
}

.image-preview-caption {
  font-size: 11px;
  color: #5a7aaa;
  font-style: italic;
  margin: 0;
}

.image-preview-error {
  font-size: 12px;
  color: #ef4444;
}

/* ══ Order Summary ══════════════════════════════════════════════ */
.summary-empty {
  text-align: center;
  padding: 34px 20px;
  color: #4a6a9a;
  font-size: 13.5px;
  border: 1px dashed #1a2540;
  border-radius: 12px;
}

.summary-empty svg {
  width: 30px; height: 30px;
  margin: 0 auto 10px;
  opacity: 0.45;
  stroke: #4a6a9a;
}

.summary-lines {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #1a2540;
  border-radius: 12px;
  overflow: hidden;
}

.summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  background: #0d1625;
  border-bottom: 1px solid #141e34;
  transition: background 0.2s;
}

.summary-row:last-child { border-bottom: none; }
.summary-row:hover { background: #0f1c30; }

.summary-item-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #e8eaf0;
}

.summary-sub-detail {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 3px;
}

.summary-price {
  font-size: 13.5px;
  font-weight: 700;
  color: #f9c74f;
  white-space: nowrap;
}

.summary-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(77, 142, 219, 0.08);
  border-top: 1px solid #1a2f50;
}

.summary-total-label {
  font-size: 13px;
  font-weight: 700;
  color: #7aa8d8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.summary-total-amount {
  font-size: 22px;
  font-weight: 800;
  color: #f9c74f;
}

.summary-total-unit {
  font-size: 13px;
  font-weight: 600;
  color: #5a7aaa;
  margin-left: 4px;
}

.summary-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 11px 14px;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 8px;
  font-size: 12px;
  color: #f9c74f;
  line-height: 1.5;
}

.summary-warning svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: #f9c74f;
}

/* ══ Submit Area ════════════════════════════════════════════════ */
.submit-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}

.btn-submit {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #1a4aaa, #4d8edb);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 4px 16px rgba(77, 142, 219, 0.35);
  transition: all 0.2s;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(77, 142, 219, 0.5);
}

.btn-submit:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-icon { width: 17px; height: 17px; }

.privacy-note {
  font-size: 11.5px;
  color: #4a6a9a;
  text-align: center;
  line-height: 1.6;
  max-width: 440px;
}

/* ══ Spinner ════════════════════════════════════════════════════ */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ══ Success Overlay (Modal) ════════════════════════════════════ */
.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(6, 10, 18, 0.78);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.success-overlay.show { display: flex; }

.success-box {
  background: radial-gradient(circle at top left, #12192a, #0b0f19);
  border: 1px solid rgba(77, 142, 219, 0.25);
  border-radius: 20px;
  padding: 38px 30px 30px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
  animation: modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.success-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.success-icon-wrap svg { width: 30px; height: 30px; stroke: #10b981; }

.success-box h2 {
  font-size: 20px;
  font-weight: 700;
  color: #e8eaf0;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.success-box p {
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.success-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0d1a30;
  border: 1px solid #1a2f50;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 22px;
  font-size: 13px;
  color: #7aa8d8;
  font-weight: 600;
}

.success-total-row strong { color: #f9c74f; font-size: 17px; }

.btn-dismiss {
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(135deg, #1a4aaa, #4d8edb);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}

.btn-dismiss:hover {
  box-shadow: 0 6px 20px rgba(77, 142, 219, 0.4);
  transform: translateY(-1px);
}

/* ══ Responsive ═════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .page { padding: 24px 14px 60px; }
  .section-header { padding: 14px 16px; gap: 10px; }
  .section-step { display: none; }
  .section-body { padding: 16px; }
  .item-toggle { padding: 14px 14px; gap: 10px; }
  .item-suboptions.open { padding: 14px; }
  .top-banner { padding: 10px 14px; }
  .banner-text { font-size: 11px; }
  .toast-container { left: 14px; right: 14px; top: 14px; }
  .toast { min-width: unset; width: 100%; }
}

/* ══ Vodafone Cash Card ══════════════════════════════════════════ */
.vodafone-transfer-card {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(230, 0, 0, 0.12) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1.5px solid rgba(230, 0, 0, 0.45);
  box-shadow: 0 10px 30px rgba(230, 0, 0, 0.15), 0 0 20px rgba(230, 0, 0, 0.1);
  animation: vf-glow 3s ease-in-out infinite alternate;
}

@keyframes vf-glow {
  from { border-color: rgba(230, 0, 0, 0.35); box-shadow: 0 8px 24px rgba(230, 0, 0, 0.12); }
  to   { border-color: rgba(230, 0, 0, 0.7);  box-shadow: 0 12px 36px rgba(230, 0, 0, 0.28); }
}

.vf-card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(230, 0, 0, 0.35) 0%, transparent 70%);
  filter: blur(25px);
  pointer-events: none;
}

.vf-card-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  position: relative;
  z-index: 1;
}

.vf-icon-wrap {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e60000, #990000);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(230, 0, 0, 0.4);
}

.vf-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.vf-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vf-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #ff6b6b;
  margin: 0;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vf-number-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vf-number {
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.08em;
  font-family: monospace, sans-serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  user-select: all;
}

.vf-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(230, 0, 0, 0.25);
  border: 1px solid rgba(230, 0, 0, 0.5);
  color: #ffffff;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.vf-copy-btn:hover {
  background: #e60000;
  border-color: #e60000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.4);
}

.vf-copy-btn svg {
  width: 14px;
  height: 14px;
}

.vf-hint {
  font-size: 12.5px;
  color: #cbd5e1;
  margin: 0;
}

.payment-clear-hint {
  color: #f59e0b !important;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.1);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: inline-block;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .vf-card-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }
}

/* ══ Payment Methods Badges ══════════════════════════════════════ */
.vf-methods-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.pay-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.vf-badge {
  background: rgba(230, 0, 0, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(230, 0, 0, 0.4);
}

.ip-badge {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.pay-badge-separator {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  font-size: 12px;
}

/* ══ InstaPay Guide Section ═════════════════════════════════════ */
.instapay-guide-wrapper {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.45);
  position: relative;
  z-index: 1;
}

.instapay-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: right;
  direction: rtl;
  gap: 12px;
}

.instapay-toggle-btn:hover {
  background: rgba(147, 51, 234, 0.12);
  color: #ffffff;
}

.ip-toggle-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ip-logo-pill {
  background: linear-gradient(135deg, #9333ea, #7e22ce);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(147, 51, 234, 0.4);
  letter-spacing: 0.02em;
}

.ip-toggle-text {
  color: #f1f5f9;
  font-size: 13.5px;
  font-weight: 600;
}

.ip-toggle-chevron {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a855f7;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.ip-toggle-chevron svg {
  width: 18px;
  height: 18px;
}

.instapay-toggle-btn[aria-expanded="true"] .ip-toggle-chevron {
  transform: rotate(180deg);
}

.instapay-toggle-btn[aria-expanded="true"] {
  background: rgba(147, 51, 234, 0.15);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

/* Guide Panel Accordion */
.instapay-guide-panel {
  display: none;
  padding: 18px 22px 24px;
  background: rgba(10, 15, 30, 0.7);
  animation: ipFadeIn 0.3s ease;
  direction: rtl;
}

.instapay-guide-panel.open {
  display: block;
}

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

/* Alert inside Guide */
.ip-guide-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  color: #fef08a;
  font-size: 13px;
  line-height: 1.6;
}

.ip-note-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.ip-note-text code {
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: monospace, sans-serif;
  font-weight: 700;
  font-size: 13px;
}

/* Steps Grid */
.ip-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 992px) {
  .ip-steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.ip-step-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.ip-step-card:hover {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.22);
  transform: translateY(-2px);
}

.ip-step-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.ip-step-number {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #6b21a8);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(147, 51, 234, 0.4);
}

.ip-step-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ip-step-heading {
  font-size: 13px;
  font-weight: 700;
  color: #c084fc;
}

.ip-step-desc {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.5;
}

.ip-step-desc code {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 1px 5px;
  border-radius: 4px;
  font-family: monospace, sans-serif;
  font-weight: 700;
}

/* Step Image Container */
.ip-image-container {
  position: relative;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  max-height: 320px;
}

.ip-image-container img {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.ip-step-card:hover .ip-image-container img {
  transform: scale(1.025);
}

.ip-zoom-badge {
  position: absolute;
  bottom: 10px;
  right: 50%;
  transform: translateX(50%);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  white-space: nowrap;
}

.ip-zoom-badge svg {
  width: 13px;
  height: 13px;
  color: #c084fc;
}

.ip-guide-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

/* ══ Lightbox Modal ══════════════════════════════════════════════ */
.img-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.img-lightbox-card {
  position: relative;
  max-width: 95vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: lbZoomIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lbZoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.img-lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1e293b;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.img-lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.1);
}

.img-lightbox-close svg {
  width: 18px;
  height: 18px;
}

.img-lightbox-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#imgLightboxSrc {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
}

.img-lightbox-caption {
  margin-top: 14px;
  color: #f1f5f9;
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
  direction: rtl;
  background: rgba(15, 23, 42, 0.85);
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .ip-steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .instapay-toggle-btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  .instapay-guide-panel {
    padding: 14px 16px 20px;
  }

  .ip-image-container {
    max-height: 280px;
  }

  .img-lightbox-close {
    top: -12px;
    right: -6px;
    width: 32px;
    height: 32px;
  }

  #imgLightboxSrc {
    max-height: 72vh;
  }
}

