/* ============================================================
   main.css

   Loaded on every full-page layout (dashboard, travel, etc.).
   Card-based pages (login, register, pwreset) load login.css
   in addition to this.

   Sections:
      SHARED BASE   — reset, variables, body, footer, utilities
      DASHBOARD     — page-wrap, hero, next-step callout,
                        progress bar, checklist, instructions modal
	  TRAVEL        — section cards, form basics, mode switching,
                           save bar, status messages
	  PROFILE       — hero meta, form-intro, photo upload
	  CONTACT       — banner, contact actions
      PAYMENT       — payment card, amount display, summary list
      VIDEO
	 
   ============================================================ */



/* ============================================================
    SHARED BASE
   ============================================================ */

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Variables ──────────────────────────────────────────── */
:root {
  --bg:           #e6f0fa;
  --panel-left:   #1f2c3a;
  --accent:       #0d6efd;
  --accent-dark:  #0057ad;
  --check:        #2bbb5e;
  --xmark:        #e54848;
  --pending:      #0066cc;
  --text-dark:    #15212e;
  --text-mid:     #4d5762;
  --text-light:   #f6fafd;
  --border:       #d4dde4;
  --input-bg:     #fbfdfe;
  --radius:       6px;
  --shadow-sm:    0 4px 14px rgba(31, 44, 58, 0.08);
  --shadow-lg:    0 24px 64px rgba(31, 44, 58, 0.18);

}

/* ── Body ──────────────────────────────────────────────── */
body {
  min-height: 100vh;
background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(0,102,204,0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(31,44,58,0.06) 0%, transparent 50%),
    linear-gradient(180deg, #f4f8fc 0%, #e6f0fa 100%);
  font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
  color: var(--text-dark);
}

body.modal-open { overflow: hidden; }

/* ── Utilities ──────────────────────────────────────────── */
.hidden { display: none !important; }

.small-note {
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--text-mid);
}

input[type="text"]:read-only {
  background-color: #dddddd;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  position: fixed;
  bottom: 15px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
}




/* ============================================================
   2. DASHBOARD
   ============================================================ */

/* ── Page wrapper ───────────────────────────────────────── */
.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.75rem 4rem;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero { margin-bottom: 2.5rem; }

.hero-welcome {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.hero-welcome em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.hero-trip {
  font-size: 1.15rem;
  color: var(--text-mid);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-trip strong {
  color: var(--accent);
  font-weight: 600;
}

.hero-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dark);
  max-width: 720px;
}

/* ── Next Step callout ──────────────────────────────────── */
.next-step {
  background: #ffffff;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.next-step-info {
  flex: 1;
  min-width: 240px;
}

.next-step-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.next-step-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.next-step-btn {
  flex-shrink: 0;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius);
  padding: 0.7rem 1.4rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.next-step-btn:hover  { background: var(--accent-dark); }
.next-step-btn:active { transform: scale(0.98); }

/* All-done state */
.next-step.is-complete                  { border-left-color: var(--check); }
.next-step.is-complete .next-step-label { color: var(--check); }

/* ── Progress bar ───────────────────────────────────────── */
.progress-wrap { margin-bottom: 1.5rem; }

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
}

.progress-meta-label {
  color: var(--text-mid);
  font-weight: 500;
}

.progress-meta-count {
  color: var(--text-dark);
  font-weight: 600;
}

.progress-meta-count strong {
  color: var(--accent);
  font-weight: 700;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #eef2f5;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Checklist card ─────────────────────────────────────── */
.checklist-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 2rem 2.25rem;
}

.checklist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.checklist-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
}

.checklist-meta {
  font-size: 0.8rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.help-link {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.help-link:hover {
  background: var(--accent);
  color: #ffffff;
}



/* ── Responsive (dashboard) ─────────────────────────────── */
@media (max-width: 720px) {
  .page-wrap        { padding: 2rem 1.25rem 3rem; }
  .hero-welcome     { font-size: 2rem; }
}



/* ============================================================
   2b. DASHBOARD — INSTRUCTIONS MODAL
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 25, 38, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 820px;
  max-height: calc(100vh - 4rem);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-mid);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--bg);
  color: var(--text-dark);
}

.modal-body {
  padding: 1.75rem 2rem 2rem;
  overflow-y: auto;
  flex: 1;
}

.modal-body::-webkit-scrollbar       { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

.modal-section { margin-bottom: 1.75rem; }

.modal-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.modal-section p,
.modal-section ol,
.modal-section ul {
  padding-left: 1.5rem;
}

.modal-section p {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text-dark);
  text-align: justify;
  margin-bottom: 0.6rem;
}

/* Two-column list inside How to Apply */
.modal-section .two-col-list {
  column-count: 2;
  column-gap: 2rem;
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-top: 0.5rem;
}

.modal-section .two-col-list li { break-inside: avoid; }

.modal-section .list-intro {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text-dark);
  padding-left: 1.5rem;
  margin-top: 0.75rem;
  font-weight: 600;
}

/* Black-bordered final note */
.final-note {
  border: 2px solid var(--text-dark);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-style: italic;
}

.final-note strong {
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 0.4rem;
}


/* ── Locked checklist items ──────────────────────────────── */
.checklist-item.locked .checklist-icon { background: #9ba6b0; }
.checklist-item.locked .checklist-text { color: var(--text-mid); }

/* The locked button needs to look exactly like a link */
button.checklist-link {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.93rem;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

/* ── Checklist (two-column with vertical divider) ───────── */
.checklist {
  list-style: none;
  display: flex;
  gap: 2rem;
  position: relative;
}

.checklist-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Vertical divider between the two columns */
.checklist::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--border);
  transform: translateX(-50%);
}

/* The list item is purely a container — all spacing/layout
   lives on .checklist-link so completed (static span) and
   incomplete (anchor) rows align identically. */
.checklist-item {
  list-style: none;
  font-size: 0.93rem;
}

.checklist-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

/* Force link colors in every state so visited links don't go purple */
.checklist-link,
.checklist-link:link,
.checklist-link:visited,
.checklist-link:active {
  color: inherit;
  text-decoration: none;
}

.checklist-link:hover { text-decoration: underline; }

.checklist-link:focus { outline: none; }

.checklist-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Static (completed) variant — no hover, no underline */
.checklist-link.is-static            { cursor: default; }
.checklist-link.is-static:hover      { background: transparent; text-decoration: none; }
.checklist-link.is-static::after     { display: none; }

/* Status icon (the colored circle with check or X) */
.checklist-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.checklist-icon svg {
  width: 12px;
  height: 12px;
  stroke: #ffffff;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checklist-item.complete   .checklist-icon { background: var(--check); }
.checklist-item.pending   .checklist-icon { background: var(--pending); }
.checklist-item.incomplete .checklist-icon { background: var(--xmark); }

/* Strikethrough on completed text */
.checklist-item.complete .checklist-text {
  color: var(--text-mid);
  text-decoration: line-through;
  text-decoration-color: rgba(77, 87, 98, 0.4);
}

/* ── Locked checklist items ──────────────────────────────── */
.checklist-item.locked .checklist-icon { background: #9ba6b0; }
.checklist-item.locked .checklist-text { color: var(--text-mid); }


/* The locked / clickable button needs to look exactly like a link */
button.checklist-link {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.93rem;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

/* ── Info modal (compact variant of .modal-card) ─────────── */
.modal-card.is-compact {
  max-width: 480px;
  position: relative;
}

.info-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  z-index: 1;
}

.modal-card.is-compact .modal-body {
  padding: 2.25rem 1.75rem 1.75rem;
}

.info-modal-message {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

#info-modal-ok {
  width: auto;
  padding: 0.7rem 1.5rem;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 720px) {
  .modal-overlay                  { padding: 1rem 0.75rem; }
  .modal-card                     { max-height: calc(100vh - 2rem); }
  .modal-header                   { padding: 1.25rem 1.5rem; }
  .modal-body                     { padding: 1.5rem 1.5rem 1.75rem; }
  .modal-section h3               { font-size: 1.2rem; }
  .modal-section .two-col-list    { column-count: 1; }
  .checklist        { flex-direction: column; gap: 0; }
  .checklist::before{ display: none; }
}



/* ============================================================
    TRAVEL
   ============================================================ */
 
/* ── Section card ───────────────────────────────────────── */
.form-section {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 2rem 2.25rem;
  margin-bottom: 1.75rem;
}
 
.form-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
 
.form-section-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
}
 
/* Sub-section heading inside a travel section */
.subsection-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 1.5rem 0 0.85rem;
}
 
.subsection-label:first-child { margin-top: 0; }
 
 
/* ── Form basics
   (Move out to a "FORMS" section if a second non-card form
   page is added — these aren't really travel-specific.) ─── */
 
.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
 
label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-mid);
}
 
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--input-bg);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-dark);
  transition: border-color 0.18s, box-shadow 0.18s;
  appearance: none;
  -webkit-appearance: none;
}
 
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.16);
}
 
textarea {
  resize: vertical;
  min-height: 90px;
}
 
/* ── Collapsible animation ──────────────────────────────── */
.collapsible-section {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    opacity            0.28s ease;
}
 
.collapsible-section > .collapsible-inner {
  min-height: 0;
  overflow: hidden;
}
 
.collapsible-section.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}
 
/* ── Radio buttons ──────────────────────────────────────── */
.radio-field {
  margin-bottom: 0.5rem;
}
 
.radio-options {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
 
.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}
 
.radio-option input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
 
/* ── Status messages ────────────────────────────────────── */
.status-message {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
 
.status-message.success {
  background: rgba(43, 187, 94, 0.10);
  border: 1px solid rgba(43, 187, 94, 0.35);
  color: #1a7a3e;
}
 
.status-message.error {
  background: rgba(229, 72, 72, 0.10);
  border: 1px solid rgba(229, 72, 72, 0.35);
  color: #a82b2b;
}
 
.status-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
 
.status-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
 
.status-message.success .status-icon svg { stroke: #1a7a3e; }
.status-message.error   .status-icon svg { stroke: #a82b2b; }
 
.status-text strong {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 700;
}
 
 
/* ── Travel layout ──────────────────────────────────────── */
 
/* Mode-specific field grid (e.g. flight details, bus details) */
.mode-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}

/* Used to allow narrower and wider inputs */
.mode-fields-wide-narrow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem 1.5rem;
}
 
.mode-fields .full-width { grid-column: 1 / -1; }

/* Wider field — 4 of 6 (about two-thirds) */
.mode-fields-wide-narrow .field.field-wide {
    grid-column: span 3;
}

/* Narrower field — 2 of 6 (about one-third) */
.mode-fields-wide-narrow .field.field-narrow {
    grid-column: span 2;
}

 
/* Comments textarea spacing */
.comments-field { margin-top: 1.5rem; }
 

 
/* Save bar pinned to the bottom of the form */
.save-bar {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
 
.save-bar-info {
  flex: 1;
  min-width: 220px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.save-bar.is-inline {
  background: none;
  box-shadow: none;
  border: none;
  padding: 0;
  margin-top: 1.25rem;
}
 
.save-btn {
  flex-shrink: 0;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius);
  padding: 0.8rem 2rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
 
.save-btn:hover  { background: var(--accent-dark); }
.save-btn:active { transform: scale(0.99); }
 
.save-btn:disabled {
  background: var(--border);
  cursor: not-allowed;
  transform: none;
}
 
 
/* ── Responsive (travel) ────────────────────────────────── */
@media (max-width: 720px) {
  .form-section { padding: 1.5rem 1.25rem; }
  .save-bar       { padding: 1.25rem 1.5rem; }
  .mode-fields    { grid-template-columns: 1fr; }
	    .mode-fields .field,
    .mode-fields .field.field-wide,
    .mode-fields .field.field-narrow {
        grid-column: 1 / -1;
    }
}
 
/* ============================================================
    PROFILE
   ============================================================ */
 
/* ── Hero meta line ("Member since…") ───────────────────── */
.hero-meta {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-mid);
  font-style: italic;
}
 
/* ── Form intro line under section headers ──────────────── */
.form-intro {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  margin-top: -0.5rem; /* tightens up under the section header */
}
 
/* ── Inline field error ─────────────────────────────────── */
.field-error {
  color: var(--xmark);
  font-style: normal;
}
 
 
/* ── Photo upload component ─────────────────────────────── */
.photo-upload {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
 
/* Circular preview / avatar */
.photo-preview {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
 
.photo-preview img {
  border-radius: 8px;
  border: 1px solid #d8e2ec;
}
 
/* Initials fallback when no photo is uploaded */
.photo-placeholder {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
 
/* Right side: hint + buttons */
.photo-controls {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}
 
.photo-hint {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-mid);
}
 
.photo-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
 
/* "Choose Photo" / "Replace Photo" — styled like a small primary button */
.photo-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #ffffff;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  user-select: none;
}
 
.photo-upload-btn:hover  { background: var(--accent-dark); }
.photo-upload-btn:active { transform: scale(0.98); }
 
/* "Remove" — styled as a quiet text link */
.photo-remove-btn {
  background: transparent;
  border: none;
  color: var(--text-mid);
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.4rem 0.2rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s;
}
 
.photo-remove-btn:hover { color: var(--xmark); }
 
/* Filename appears below the buttons after picking a new file */
.photo-filename {
  margin-top: 0.25rem;
}
 
/* Responsive */
@media (max-width: 720px) {
  .photo-upload    { gap: 1.25rem; flex-direction: column; align-items: flex-start; }
  .photo-controls  { align-items: stretch; }
}
 
/* ============================================================
    CONTACT
   ============================================================ */
 
/* ── Banner (placeholder for this year's destination image)
   When you have a real image ready, replace the
   .banner-content div in the markup with:
     <img src="..." alt="...">
   The styles below handle both states. ────────────────────── */
.contact-banner {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 14px;
  margin-bottom: 1.75rem;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 50%, rgba(0,109,204,0.40) 0%, transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(0,109,204,0.25) 0%, transparent 50%),
    linear-gradient(135deg, var(--panel-left) 0%, #0d1d2e 100%);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}
 
/* Decorative circles, similar to panel-left on the card pages */
.contact-banner::before,
.contact-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,109,204,0.3);
  pointer-events: none;
}
 
.contact-banner::before {
  width: 320px; height: 320px;
  top: -80px; right: -80px;
}
 
.contact-banner::after {
  width: 220px; height: 220px;
  bottom: -60px; left: -60px;
}
 
/* If you drop in a real <img>, it fills the banner cleanly */
.contact-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 
/* Small "this is a placeholder" tag in the corner — delete the
   span from the markup when you swap in a real image */
.banner-tag {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 251, 255, 0.55);
  font-style: italic;
  z-index: 2;
}
 
/* Centered text overlay */
.banner-content {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 1.5rem 2rem;
  max-width: 600px;
}
 
.banner-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
 
.banner-headline {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
  color: var(--text-light);
}
 
.banner-headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
 
.banner-sub {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(245, 251, 255, 0.65);
}
 
/* ── Send button alignment ──────────────────────────────── */
.contact-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}
 
/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 720px) {
  .contact-banner    { aspect-ratio: 4 / 3; }
  .banner-headline   { font-size: 1.6rem; }
  .banner-sub        { font-size: 0.85rem; }
  .contact-actions   { justify-content: stretch; }
  .contact-actions .save-btn { width: 100%; }
}

/* ============================================================
    PAYMENT
   ============================================================ */
 
/* ── Main payment card (overrides .form-section spacing) ─ */
.payment-card {
  text-align: center;
  padding: 2.5rem 2.25rem;
}
 
/* "Step 1 of 2" / "Step 2 of 2" eyebrow */
.payment-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0, 109, 204, 0.35);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
 
/* Quieter eyebrow used by the "in review" state */
.payment-eyebrow-quiet {
  color: var(--text-mid);
  border-color: var(--border);
}
 
.payment-title {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
}
 
.payment-description {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 540px;
  margin: 0 auto 1.5rem;
}
 
/* ── Big amount block ───────────────────────────────────── */
.payment-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.5rem 2rem;
  margin: 0 auto 1.75rem;
  background: var(--bg);
  border-radius: 12px;
  max-width: 280px;
}
 
.payment-amount-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
}
 
.payment-amount-value {
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  line-height: 1;
}
 
/* ── Pay button — sized down from full-width save-btn ───── */
.payment-btn {
  width: auto;
  min-width: 200px;
  padding: 0.9rem 2.5rem;
}
 
/* ── Small print under the button ───────────────────────── */
.payment-note {
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--text-mid);
  max-width: 460px;
  margin: 1.25rem auto 0;
}
 
/* ── "Complete" state: large success check ──────────────── */
.payment-success-icon {
  width: 64px;
  height: 64px;
  margin: 0.25rem auto 1.25rem;
  border-radius: 50%;
  background: var(--check);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
.payment-success-icon svg {
  width: 32px;
  height: 32px;
}
 
/* ── Pending / complete variants get a quieter card feel ── */
.payment-card-pending,
.payment-card-complete {
  padding: 3rem 2.25rem;
}
 
 
/* ── Payment summary list (always visible at the bottom) ── */
.payment-summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
 
.payment-summary-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
 
.payment-summary-item:last-child { border-bottom: none; }
 
.payment-summary-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
 
.payment-summary-icon svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
 
/* Item state colors */
.payment-summary-item.is-paid    .payment-summary-icon { background: var(--check); }
.payment-summary-item.is-due     .payment-summary-icon { background: var(--accent); }
.payment-summary-item.is-pending .payment-summary-icon { background: #9ba6b0; }
 
.payment-summary-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
 
.payment-summary-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}
 
.payment-summary-meta {
  font-size: 0.82rem;
  color: var(--text-mid);
}
 
/* Strikethrough paid items so they read as "settled" */
.payment-summary-item.is-paid .payment-summary-label {
  color: var(--text-mid);
  text-decoration: line-through;
  text-decoration-color: rgba(77, 87, 98, 0.4);
}
 
.payment-summary-note {
  margin-top: 1rem;
  text-align: center;
}
 
.payment-summary-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
 
.payment-summary-note a:hover { color: var(--accent-dark); }

.img-fit {
  display: block;
  max-width: 100%;
  max-height: var(--img-fit-max-height, 70vh);
  width: auto;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
  border-radius: 8px;
  border: 1px solid #d8e2ec;

}

.payment-summary-item.is-verifying .payment-summary-icon { background: #0066cc; }


.contact-banner {
  position: relative;
  overflow: hidden;   /* clips the image to the banner's existing rounded corners */
  padding: 0;         /* let the image reach every edge of the banner */
  isolation: isolate; /* keeps the layering self-contained */

}

/* Image layer — back of the stack, fills the whole banner */
.contact-banner .banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* covers the area, cropping instead of stretching */
  object-position: center;
  display: block;
  z-index: 0;
}

/* Blue tint — sits over the image, under the text.
   Lower the alpha values to let more of the photo show, raise them for a
   stronger blue wash. */
.contact-banner .banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  backdrop-filter: blur(3px);
  background: linear-gradient(
          90deg,
          rgba(8, 35, 58, 0.75) 15%,
          rgba(8, 35, 58, 0.35) 55%,
          rgba(8, 35, 58, 0) 85%
  );
  pointer-events: none;

}

/* Text — top of the stack. The text-shadow keeps it readable over a busy
   photo without needing a heavy overlay. */
.contact-banner .banner-content {
  position: relative;
  z-index: 2;
  padding: 2.75rem 2rem;
  text-shadow:
          0 1px 2px rgba(0, 0, 0, 0.8),
          0 3px 12px rgba(0, 0, 0, 0.65);

}
 
/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 720px) {
  .payment-card        { padding: 2rem 1.25rem; }
  .payment-title       { font-size: 1.5rem; }
  .payment-amount      { padding: 1.25rem 1.5rem; }
  .payment-amount-value{ font-size: 2.2rem; }
  .payment-btn         { width: 100%; min-width: 0; }
}

