/* =========
   BASE RESET
========= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f2f5f9;
    color: #1a1a1a;
}

/* =========
   HEADER
========= */
.portal-header {
    background: linear-gradient(135deg, #0d6efd, #084298);
    color: #ffffff;
    text-align: center;
    padding: 18px 12px;
}

.portal-header h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.portal-header p {
    margin: 6px 0 0;
    font-size: 12px;
    opacity: 0.9;
}

/* =========
   MAIN AREA
========= */
.portal-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px;
}

/* =========
   CARDS
========= */
.card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* =========
   BUTTONS
========= */
.btn {
    display: inline-block;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: #0d6efd;
    color: #ffffff;
}

.btn-primary:active {
    background: #084298;
}

/* =========
   GRID (simple & responsive)
========= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

/* =========
   TEXT UTILS
========= */
.text-center {
    text-align: center;
}

.text-muted {
    color: #777;
    font-size: 13px;
}

/* =========
   FOOTER
========= */
.portal-footer {
     text-align: center;
    padding: 25px 15px;
    background: #0b1f3a;
    color: #fff;
    margin-top: 30px;
}


/* =========
   MOBILE OPTIMISATION
========= */
@media (max-width: 480px) {
    .portal-header h1 {
        font-size: 16px;
    }
}
/* HERO */
.hero {
  text-align: center;
  margin-bottom: 20px;
}

.hero h2 {
  margin: 0;
  font-size: 20px;
}

/* CARD HEADER */
.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge {
  background: #0d6efd;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
}

/* FORM */
input, textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}

textarea {
  min-height: 80px;
}

.terms-row {
  display: flex;
  gap: 8px;
  margin: 15px 0;
  font-size: 13px;
}

.terms-link {
  color: #0d6efd;
  font-weight: 600;
  cursor: pointer;
}

/* DIVIDER */
.divider {
  text-align: center;
  margin: 18px 0;
  font-size: 12px;
  color: #777;
}

/* GOOGLE */
.google-btn {
  background: #11416a;
  color: #fff;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

/* MODAL */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.5);

    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* 🔥 KEY FIX */
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Only clickable when visible */
}




.modal {
  
 position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1001

}

.modal.show { display: flex; }

.modal-card {
  
width: 92%;
  max-width: 700px;
  max-height: 85vh;        /* ✅ limits height */
  background: #ffffff;
  border-radius: 14px;

  display: flex;           /* ✅ REQUIRED */
  flex-direction: column; /* ✅ REQUIRED */

  overflow: hidden;        /* keeps header/footer visible */

}

.modal-body {
 
   padding: 16px;
  overflow-y: auto;        /* ✅ ENABLE SCROLL */
  -webkit-overflow-scrolling: touch; /* ✅ iOS FIX */

}

.modal-header, .modal-footer {
  
  padding: 12px 16px;
  background: #f1f3f5;
  flex-shrink: 0;

}

.close-btn {
  background: none;
  font-size: 20px;
  border: none;
  cursor: pointer;
}

/* BROWSER WARNING */
.browser-warning {
  display: none;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 12px;
  font-size: 13px;
  margin-bottom: 16px;
  border-radius: 8px;
}

/* ===== FOOTER ===== */
.portal-footer {
    margin-top: 40px;
    padding: 18px 12px;
    background: #f8f9fa;
    text-align: center;
    font-size: 12px;
    color: #666;
}

/* LINKS */
.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #dfe7f5;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

/* SECURE PAYMENT */
.footer-secure {
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0;
    color: #ffffff;
}

.footer-secure img {
    height: 18px;
}
.footer-payments {
    margin: 20px 0;
}
.payment-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #cfd8e3;
    margin-bottom: 12px;
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.payment-logos img {
    height: 35px;
    width: auto;
    object-fit: contain;
    background: #fff;
    padding: 4px 8px;
    border-radius: 6px;
}

.footer-copy {
    margin-top: 20px;
    font-size: 13px;
    color: #cfd8e3;
    line-height: 1.7;
}
/* ===============================
   CORE LAYOUT
=============================== */
.portal-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 16px;
}

/* ===============================
   FOOTER
=============================== */
.portal-footer {
    margin-top: 40px;
    padding: 18px 12px;
    background: #f8f9fa;
    text-align: center;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #e5e5e5;
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.footer-links a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.footer-links span {
    color: #999;
}

/* Secure Payment Section */
.footer-secure {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #444;
}

.footer-secure img {
    height: 18px;
}

/* Copyright */
.footer-copy {
    font-size: 11px;
    color: #777;
}


/* ✅ Page background */
/* body {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
} */

/* ✅ Card refinement */
.card {
  border-radius: 14px;
}
/* ONLY for forms, not plans */
.form-card {
    max-width: 100%;
    margin: auto;
}

.card-body {
  font-size: 0.95rem;
}

/* ✅ Sticky summary refinement */
.position-sticky {
  border-left: 4px solid #0d6efd;
}

/* ✅ Section headings */
h4, h5, h6 {
  letter-spacing: 0.3px;
}

/* ✅ Inputs */
.form-control-lg {
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.form-control:focus {
  box-shadow: 0 0 0 0.15rem rgba(13,110,253,.15);
}

/* ✅ Payment option */
.form-check {
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.form-check:hover {
  background-color: #f8f9fa;
}

/* ✅ Promo message */
#promoMsg {
  min-height: 18px;
}

/* ✅ Pay button animation */
#payBtn {
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#payBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(16,185,129,0.25);
}

/* ✅ Summary price emphasis */
#totalPrice {
  color: #198754;
}

/* ✅ Mobile adjustments */
@media (max-width: 991px) {
  .position-sticky {
    position: static !important;
    margin-top: 1.5rem;
    border-left: none;
    border-top: 4px solid #0d6efd;
  }
}
/* FORM SPACING */
#guestForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 15px;
}

/* CHECKBOX ALIGNMENT */
.terms-row {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}

.terms-row input[type="checkbox"] {
    margin-top: 3px; /* aligns checkbox with text */
    transform: scale(1.1);
}

/* TERMS LINK */
.terms-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* BUTTON IMPROVEMENT */
.full-width {
    width: 100%;
}

.btn-primary {
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
}

/* CARD CLEANUP (optional but recommended) */
.card {
    
    margin: auto;
    padding: 20px;
}

.card-header h3 {
    margin: 5px 0 10px;
}
/* =====================================================
FIJI AIRPORTS PREMIUM THEME
Add at the very bottom of lite.css
===================================================== */

/* Page Background */
body {
background:
radial-gradient(circle at top right,
rgba(13,110,253,0.08),
transparent 30%),
linear-gradient(
180deg,
#f4f8fc 0%,
#eef4f9 30%,
#ffffff 100%
);
min-height: 100vh;
}

/* ==========================
HEADER
========================== */

.header,
.portal-header {


background:
    linear-gradient(
        135deg,
        #003b5c 0%,
        #005b8f 60%,
        #0d6efd 100%
    );

color: #fff;
position: sticky;
top: 0;
z-index: 999;

box-shadow:
    0 4px 20px rgba(0,0,0,.15);

overflow: hidden;


}

.header::before,
.portal-header::before {


content: "";

position: absolute;

top: -80px;
right: -80px;

width: 220px;
height: 220px;

background: rgba(255,255,255,.08);

border-radius: 50%;


}

.header::after,
.portal-header::after {


content: "";

position: absolute;

bottom: -60px;
left: -60px;

width: 180px;
height: 180px;

background: rgba(255,255,255,.05);

border-radius: 50%;


}

.portal-header h1 {
font-size: 22px;
font-weight: 700;
letter-spacing: .3px;
}

.portal-header p {
font-size: 13px;
opacity: .95;
}

/* ==========================
CONTAINER
========================== */

.portal-container {
max-width: 1100px;
margin: 0 auto;
padding: 24px 18px;
}

/* ==========================
CARDS
========================== */

.card {


background: #ffffff;

border-radius: 18px;

border: 1px solid rgba(13,110,253,.08);

box-shadow:
    0 8px 30px rgba(0,0,0,.05),
    0 2px 8px rgba(0,0,0,.03);

transition: all .25s ease;


}

.card:hover {


transform: translateY(-2px);

box-shadow:
    0 15px 40px rgba(0,0,0,.08),
    0 4px 12px rgba(0,0,0,.04);


}

/* ==========================
HERO
========================== */

.hero {


text-align: center;

padding: 10px 0 25px;

margin-bottom: 20px;


}

.hero h2 {


color: #003b5c;

font-size: 28px;

margin-bottom: 8px;


}

.hero p {


color: #6b7280;

max-width: 600px;

margin: auto;


}

/* ==========================
INPUTS
========================== */

input,
textarea,
select {


border: 1px solid #d9e2ec;

transition: all .2s ease;


}

input:focus,
textarea:focus,
select:focus {


border-color: #0d6efd;

box-shadow: 0 0 0 4px rgba(13,110,253,.10);

outline: none;


}

/* ==========================
BUTTONS
========================== */

.btn-primary {


background:
    linear-gradient(
        135deg,
        #005b8f,
        #0d6efd
    );

border: none;

border-radius: 12px;

box-shadow:
    0 8px 20px rgba(13,110,253,.20);

transition: all .25s ease;


}

.btn-primary:hover {


transform: translateY(-2px);

box-shadow:
    0 12px 28px rgba(13,110,253,.30);


}

.google-btn {


background:
    linear-gradient(
        135deg,
        #11416a,
        #003b5c
    );


}

/* ==========================
BADGES
========================== */

.badge {


background:
    linear-gradient(
        135deg,
        #005b8f,
        #0d6efd
    );

border-radius: 999px;

padding: 5px 10px;

font-size: 11px;


}

/* ==========================
FOOTER
========================== */

.portal-footer {


margin-top: 70px;

background:
    linear-gradient(
        180deg,
        #003b5c,
        #001f33
    );

color: rgba(255,255,255,.85);

padding: 45px 20px 30px;

position: relative;

border-top: none;


}

/* Curved top */

.portal-footer::before {


content: "";

position: absolute;

top: -25px;
left: 0;

width: 100%;
height: 40px;

background: #ffffff;

border-bottom-left-radius: 50% 100%;
border-bottom-right-radius: 50% 100%;


}

.footer-links {


display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 12px;

margin-bottom: 15px;


}

.footer-links a {


color: rgba(255,255,255,.9);

text-decoration: none;

transition: .3s;


}

.footer-links a:hover {


color: #ffcc00;


}

.footer-copy {


color: rgba(255,255,255,.65);

font-size: 12px;


}

.footer-secure {


color: rgba(255,255,255,.85);


}

/* ==========================
MODAL
========================== */

.modal-card {


border-radius: 20px;

box-shadow:
    0 25px 60px rgba(0,0,0,.25);


}

/* ==========================
MOBILE
========================== */

@media (max-width: 768px) {


.hero h2 {
    font-size: 22px;
}

.portal-header h1 {
    font-size: 18px;
}

.card {
    border-radius: 14px;
}


}
.plans-scroll {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.plan-card {
  min-width: 240px;
  flex: 0 0 auto;
}
.plan-card {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  height: 100%;
}

.plan-header {
  background: linear-gradient(135deg, #005b8f, #0d6efd);
  color: #fff;
  padding: 12px;
  font-weight: 600;
  text-align: center;
}

.price {
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0;
}