@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Playfair+Display:wght@400;600&family=DM+Sans:wght@300;400;500;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0a1628;
    --navy-light: #162040;
    --gold: #c8a94a;
    --gold-light: #f0d98a;
    --cream: #faf8f3;
    --muted: #6b7280;
    --border: rgba(200, 169, 74, 0.25);
    --text: #1a1a2e;
    --primary: var(--navy);
    --primary-light: rgba(10, 22, 40, 0.04);
    --bg-color: #ffffff;
    --section-alt: #f0f4fb;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-color);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content-area {
    flex-grow: 1;
}

/* ========== HEADER ========== */
.header {
    background: #0a1628;
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 9999;
    align-self: flex-start;
    width: 100%;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.header-login-btn {
    color: var(--gold) !important;
    background: transparent !important;
    border: 1.5px solid var(--gold) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 6px 18px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    display: inline-block;
}

.header-login-btn:hover {
    background: var(--gold) !important;
    color: var(--navy) !important;
    box-shadow: 0 0 12px rgba(200, 169, 74, 0.4) !important;
}

.header-register-btn {
    color: var(--navy) !important;
    background: var(--gold) !important;
    border: 1.5px solid var(--gold) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 6px 18px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    display: inline-block;
}

.header-register-btn:hover {
    background: transparent !important;
    color: var(--gold) !important;
    box-shadow: 0 0 12px rgba(200, 169, 74, 0.4) !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    letter-spacing: 0.04em;
    font-weight: 600;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 2rem 0;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 1.2rem;
}

.footer-col.about p {
    font-size: 13px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col.links ul {
    list-style: none;
}

.footer-col.links li {
    margin-bottom: 10px;
}

.footer-col.links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col.links a:hover {
    color: var(--gold);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.social-icons a:hover {
    color: var(--gold);
}

.social-icons svg {
    width: 22px;
    height: 22px;
}

.footer-bottom {
    border-top: 1px solid rgba(200, 169, 74, 0.2);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer-col.about {
        grid-column: span 2;
    }
}

@media(max-width: 600px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col.about {
        grid-column: span 1;
    }

    .footer-col.about p {
        margin: 0 auto 1rem;
    }

    .social-icons {
        justify-content: center;
    }
}

/* ========== PAGE CONTAINERS (Legal, FAQ) ========== */
.page-container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 2rem;
}

.page-container h1 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 2.5rem;
    text-align: center;
}

.page-container .subtitle {
    color: var(--muted);
    text-align: center;
    font-size: 16px;
    margin-bottom: 4rem;
}

.legal-container {
    max-width: 850px;
    margin: 3rem auto;
    padding: 2rem;
}

.legal-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(200, 169, 74, 0.15);
}

.legal-card h1 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 1rem;
}

.legal-card h2 {
    font-family: 'Outfit', sans-serif;
    color: var(--navy);
    font-size: 20px;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.legal-card p,
.legal-card li {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-card ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.legal-card a {
    color: var(--navy);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
}

.legal-card a:hover {
    color: var(--gold);
}

.last-updated {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 2rem;
}

@media(max-width: 600px) {

    .legal-container,
    .page-container {
        padding: 1rem;
        margin: 1.5rem auto;
    }

    .legal-card {
        padding: 1.5rem;
    }

    .legal-card h1,
    .page-container h1 {
        font-size: 26px;
    }
}

/* ========== FAQ ACCORDION ========== */
.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    cursor: pointer;
}

.accordion-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    color: var(--navy);
    font-weight: 600;
}

.accordion-icon {
    font-size: 20px;
    color: var(--gold);
    transition: transform 0.3s;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    font-size: 14px;
    color: #333;
    line-height: 1.7;
    padding-bottom: 1.2rem;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* ========== HOW IT WORKS STEPS ========== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(200, 169, 74, 0.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(200, 169, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
}

.step-card h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--navy);
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ========== PRICING ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-bottom: 4rem;
    align-items: stretch;
}

.price-card {
    background: white;
    border-radius: 24px;
    padding: 3.5rem 1.8rem;
    text-align: center;
    border: 1.5px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 45px rgba(200, 169, 74, 0.15);
    transform: translateY(-8px) scale(1.02);
}

.price-card.popular {
    border: 3px solid var(--gold);
    box-shadow: 0 15px 35px rgba(200, 169, 74, 0.18);
    transform: scale(1.04);
    z-index: 2;
}

.price-card.popular:hover {
    transform: scale(1.07) translateY(-8px);
    box-shadow: 0 30px 60px rgba(200, 169, 74, 0.3);
}

.price-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gold);
    color: var(--navy);
    font-size: 9.5px;
    font-weight: 800;
    width: 130px;
    text-align: center;
    padding: 5px 0;
    transform: rotate(45deg);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.price-name {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.price-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 38px;
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.original-price {
    text-decoration: line-through;
    font-size: 18px;
    color: #94a3b8;
    font-weight: 500;
}

.price-suffix {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
}

.bundle-subtitle {
    font-size: 14.5px;
    color: var(--gold);
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 24px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.enterprise-custom {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    background: rgba(10, 22, 40, 0.05);
    border: 1.5px dashed rgba(10, 22, 40, 0.2);
    color: #64748b;
    padding: 6px 18px;
    border-radius: 12px;
    display: inline-block;
    letter-spacing: -0.01em;
}

.price-highlight {
    color: var(--navy);
    font-weight: 800;
    font-size: 38px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}


.price-features {
    list-style: none;
    margin-bottom: 2.2rem;
    text-align: left;
    flex-grow: 1;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 14px;
}

.price-features li svg {
    color: #10b981;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.price-btn {
    display: inline-block;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: white;
    box-shadow: 0 8px 20px rgba(10, 22, 40, 0.15);
}

.btn-solid {
    background: var(--navy);
    color: white;
    border: 2px solid var(--navy);
}

.btn-solid:hover {
    background: #112240;
    border-color: #112240;
    color: white;
    box-shadow: 0 8px 20px rgba(10, 22, 40, 0.15);
}

/* ========== BLOGS ========== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(200, 169, 74, 0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-title a {
    text-decoration: none;
    color: inherit;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    flex-grow: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
}

.author-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eee;
}

.author-name {
    font-weight: 500;
    color: var(--text-dark);
}

.read-more-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s;
}

.read-more-link:hover {
    color: var(--gold);
}

.post-container {
    max-width: 850px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.post-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(200, 169, 74, 0.15);
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.post-content {
    padding: 2.5rem 3rem;
}

.post-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.post-title {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.post-body {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body h2 {
    font-family: 'Outfit', sans-serif;
    color: var(--navy);
    font-size: 22px;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-body ul {
    list-style-position: inside;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.back-link:hover {
    color: var(--gold);
}

@media(max-width: 600px) {
    .post-container {
        padding: 0 1rem;
        margin: 1.5rem auto;
    }

    .post-content {
        padding: 1.5rem;
    }

    .post-title {
        font-size: 26px;
    }
}

/* ========== AUTHENTICATION (Login / Register) ========== */
.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--navy) 0%, #162040 100%);
    position: relative;
}

.auth-card {
    background: white;
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 1;
}

.auth-card h2 {
    font-family: 'Outfit', sans-serif;
    color: var(--navy);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.auth-card p.subtitle {
    color: var(--muted);
    text-align: center;
    font-size: 14.5px;
    margin-bottom: 2.2rem;
}

.auth-card .field {
    margin-bottom: 1.6rem;
}

.auth-card .field label {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 8px;
    display: block;
}

.auth-card .field input {
    width: 100%;
    padding: 13px 16px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-family: 'DM Sans', sans-serif !important;
    color: var(--text) !important;
    background: #f8fafc !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.auth-card .field input::placeholder {
    color: var(--muted) !important;
}

.auth-card .field input:focus {
    border-color: var(--gold) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(200, 169, 74, 0.18) !important;
}

.field {
    margin-bottom: 1.2rem;
}

.field label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.field input,
.field select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s;
    outline: none;
}

.field input:focus,
.field select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 169, 74, 0.1);
}

/* iOS Safari fix: date input appears too thick on iPhone */
.field input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    height: 46px;
    line-height: 1.2;
    min-height: unset;
}

.field input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.btn-submit {
    width: 100%;
    padding: 14px 24px;
    background: var(--navy);
    color: var(--gold);
    border: 2px solid var(--navy);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(10, 22, 40, 0.15);
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.btn-submit:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    box-shadow: 0 6px 20px rgba(200, 169, 74, 0.35);
    transform: translateY(-1.5px);
}

.btn-submit:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    margin-top: 2.2rem;
    font-size: 14px;
    color: var(--muted);
    font-family: 'Outfit', sans-serif;
}

.auth-footer a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border-bottom: 1.5px solid var(--gold);
    padding-bottom: 2px;
}

.auth-footer a:hover {
    color: var(--gold);
    border-bottom-color: var(--navy);
}

.msg-error {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #b91c1c;
    padding: 12px;
    font-size: 13px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.msg-success {
    background: #f0fdf4;
    border-left: 4px solid #10b981;
    color: #047857;
    padding: 12px;
    font-size: 13px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

/* ========== PAGINATION ========== */
.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-bottom: 2rem;
}

.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--navy);
    background: var(--white);
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.pg-btn:hover:not(.pg-disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
    color: var(--navy);
}

.pg-btn.pg-active {
    background: var(--navy);
    color: var(--gold);
    border-color: var(--navy);
    box-shadow: 0 6px 16px rgba(10, 22, 40, 0.2);
    transform: translateY(-2px);
}

.pg-btn.pg-disabled {
    opacity: 0.5;
    background: #f8fafc;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.pg-ellipsis {
    color: var(--text-muted);
    font-size: 14px;
    padding: 0 4px;
    line-height: 42px;
    font-weight: 600;
}

/* ========== CUSTOM RESPONSIVE TITLES ========== */
.custom-mt {
    margin-top: 4rem;
}

.custom-subtitle {
    text-align: center;
    color: var(--muted);
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    font-size: 14px;
    padding: 0 1rem;
}

@media(max-width: 768px) {
    .custom-mt {
        margin-top: 2.5rem !important;
    }

    .custom-subtitle {
        margin-top: -0.3rem !important;
        margin-bottom: 2rem !important;
        font-size: 13px;
    }
}

/* ========== POPULAR ROUTES ========== */
.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.route-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.route-card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3px;
    height: 100%;
    background: var(--gold);
    transform: scaleY(0);
    transition: transform 0.3s;
    transform-origin: bottom;
}

.route-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(10, 22, 40, 0.06);
    border-color: var(--gold);
}

.route-card:hover::after {
    transform: scaleY(1);
}

.route-city {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.route-country {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

@media(max-width: 768px) {
    .routes-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
        gap: 1rem !important;
    }

    .route-card {
        padding: 1rem !important;
    }

    .route-city {
        font-size: 13px !important;
    }

    .route-country {
        font-size: 11px !important;
    }
}

/* ========== VERIFIED AIRLINES ========== */
.airlines-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    margin-bottom: 4rem;
}

.airline-action-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    height: 95px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.airline-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(200, 169, 74, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.airline-action-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 15px 35px rgba(10, 22, 40, 0.08);
    border-color: var(--gold);
    z-index: 2;
}

.airline-action-card:hover::before {
    opacity: 1;
}

.airline-action-card img {
    max-width: 90%;
    max-height: 45px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 6px;
}

.airline-action-card:hover img {
    transform: scale(1.08);
}

.airline-action-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--navy);
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.airline-action-card:hover .airline-action-name {
    color: var(--gold);
}

@media(max-width: 900px) {
    .airlines-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(max-width: 768px) {
    .airlines-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .airline-action-card {
        height: 90px;
        padding: 0.8rem;
    }

    .airline-action-card img {
        max-height: 38px;
    }

    .airline-action-name {
        font-size: 10px;
    }
}

@media(max-width: 480px) {
    .airlines-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.6rem !important;
    }

    .airline-action-card {
        height: 80px !important;
        padding: 0.5rem !important;
    }

    .airline-action-card img {
        max-height: 30px !important;
        margin-bottom: 4px !important;
    }

    .airline-action-name {
        font-size: 9px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        display: block;
    }
}

/* ========== GLOBAL MOBILE RESPONSIVENESS (ALL PAGES) ========== */
@media (max-width: 992px) {

    .pricing-grid,
    .blog-grid,
    .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {

    /* Global Header Fix */
    .header-inner {
        flex-direction: row;
        flex-wrap: nowrap;
        height: auto;
        padding: 12px 1rem;
        gap: 10px;
        justify-content: space-between;
        align-items: center;
    }

    .header-inner .logo img {
        height: 38px !important;
    }

    .header-inner>div {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px !important;
    }

    .header-inner>div>a,
    .header-inner>div>div {
        font-size: 12px !important;
        padding: 6px 10px !important;
    }

    /* Typography Fix */
    .section-title,
    .page-container h1,
    .legal-card h1,
    .post-title {
        font-size: 24px !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.3;
    }

    .subtitle,
    .section-subtitle,
    .custom-subtitle {
        font-size: 13.5px !important;
        margin-bottom: 2rem !important;
        padding: 0 15px;
    }

    /* Containers & Spacing */
    .page-container,
    .legal-container,
    .post-container {
        padding: 1.2rem !important;
        margin: 1rem auto !important;
    }

    .legal-card,
    .post-content,
    .step-card,
    .price-card,
    .blog-card-content {
        padding: 1.5rem !important;
    }

    /* Grids to Single Column */
    .pricing-grid,
    .steps-grid,
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }

    .price-card.popular {
        transform: none !important;
    }
    .price-card:hover {
        transform: translateY(-4px) !important;
    }
    .price-card.popular:hover {
        transform: translateY(-4px) !important;
    }

    /* Auth Forms */
    .auth-container {
        padding: 1.5rem 1rem;
    }

    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-card h2 {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Modals & Popups */
    .modal-header {
        padding: 1.2rem 1.5rem 1rem;
    }

    .modal-body {
        padding: 0 1.5rem 1rem;
    }

    .modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 10px;
    }

    .modal-footer button {
        width: 100%;
        margin: 0;
    }

    /* Footer Compact for Mobile */
    .footer {
        padding: 2.5rem 1.2rem 0 !important;
        margin-top: 2rem !important;
    }

    .footer-inner {
        gap: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .footer-col h4 {
        margin-bottom: 0.6rem !important;
    }

    .footer-bottom {
        padding: 1rem 0 !important;
    }

    /* Form Mobile Responsiveness */
    .search-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .search-card {
        padding: 1.2rem !important;
    }

    .route-wrap, 
    .route-wrap-3, 
    .dates-row, 
    .dates-row-1, 
    .dates-row-2 {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .swap-btn {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) rotate(90deg) !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 13px !important;
    }

    .service-toggle-wrap {
        gap: 2px !important;
        padding: 3px !important;
    }

    .service-tab-btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
        gap: 4px !important;
    }

    .service-tab-btn svg {
        width: 14px !important;
        height: 14px !important;
    }

    .trip-toggle {
        padding: 3px !important;
        gap: 1px !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
        display: flex !important;
    }

    .trip-btn {
        padding: 5px 8px !important;
        font-size: 11.5px !important;
        flex: 1 !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 480px) {
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        gap: 8px;
    }

    .header-inner>div {
        justify-content: flex-end;
        gap: 6px !important;
    }

    .header-inner .logo img {
        height: 34px !important;
    }

    .header-inner>div>a,
    .header-inner>div>div {
        font-size: 11px !important;
        padding: 5px 8px !important;
    }

    .btn-submit,
    .price-btn,
    .search-btn,
    .gen-btn {
        padding: 12px;
        font-size: 14px;
    }

    .price-amount {
        font-size: 32px;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .routes-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
    }

    .route-card {
        padding: 0.6rem !important;
        border-radius: 8px !important;
    }

    .route-city {
        font-size: 11px !important;
    }

    .route-country {
        font-size: 9px !important;
    }

    /* Prevents squeezed dashboard cards */
}

/* ==========================================================================
   INDEX/LANDING PAGE STYLES (MIGRATED FROM INDEX.PHP INLINE STYLES)
   ========================================================================== */

body.modal-open { overflow: hidden !important; }
.header-badge { background: rgba(200,169,74,0.15); border: 1px solid var(--border); color: var(--gold-light); font-size: 11px; padding: 4px 10px; border-radius: 20px; letter-spacing: 0.08em; }

.hero { background: linear-gradient(rgba(10, 22, 40, 0.45), rgba(10, 22, 40, 0.65)), url('hero-bg.png') no-repeat center center; background-size: cover; padding: 3.5rem 2rem 6.5rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(200,169,74,0.03) 60px, rgba(200,169,74,0.03) 61px); pointer-events: none; display: none; }
.hero-tag { color: var(--gold); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.hero h1 { font-family: 'Outfit', sans-serif; color: white; font-size: 34px; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.25; position: relative; z-index: 1; letter-spacing: -0.02em; }
.hero p { color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 300; margin-bottom: 1.5rem; position: relative; z-index: 1; }

/* Segmented Trip Toggle Pill Controls */
.trip-toggle {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 4px;
  padding: 4px;
  margin-bottom: 1rem;
  border: none;
  position: relative;
  z-index: 10;
  gap: 2px;
}
.trip-btn {
  padding: 6px 16px;
  border-radius: 4px !important;
  font-size: 13px;
  cursor: pointer;
  color: #64748b;
  border: none;
  background: transparent;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s;
  font-weight: 600;
}
.trip-btn:hover {
  color: var(--navy);
}
.trip-btn.active {
  background: var(--navy) !important;
  color: #ffffff !important;
  font-weight: 600;
}

.search-container {
    max-width: 1100px;
    margin: -6.4rem auto 0 auto; /* Negative margin pulls search box closer over hero background */
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 20;
}

/* Header Row for Toggles & Dropdowns */
.flight-search-header, .hotel-search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.flight-meta-dropdowns {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Dropdown Pill Styling */
.pax-pill, .cabin-pill {
  background: rgba(10, 22, 40, 0.04) !important;
  color: var(--navy) !important;
  border: 1.5px solid rgba(200, 169, 74, 0.25) !important;
  border-radius: 4px !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  font-family: 'Outfit', sans-serif !important;
  cursor: pointer;
  height: 34px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  outline: none;
  transition: all 0.2s;
}
.pax-pill {
  background-image: none !important;
  padding-left: 14px !important;
  width: auto !important;
}
.cabin-pill {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230a1628' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 28px !important;
  background-color: rgba(10, 22, 40, 0.04) !important;
}
.pax-pill:hover, .cabin-pill:hover {
  background: rgba(200, 169, 74, 0.08) !important;
  border-color: rgba(200, 169, 74, 0.5) !important;
}

/* Compact Search Row */
.search-fields-row {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  background: #ffffff;
  position: relative;
  box-shadow: 0 4px 20px rgba(10,22,40,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-fields-row:focus-within {
  border-color: var(--navy);
  box-shadow: 0 4px 25px rgba(10,22,40,0.1);
}

.route-fields-wrap {
  display: flex;
  flex: 2.2;
  position: relative;
  align-items: stretch;
}

.date-fields-wrap {
  display: flex;
  flex: 1.8;
  align-items: stretch;
}

.field-group {
  flex: 1;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1.5px solid #e2e8f0;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  min-width: 0;
}
.field-group:hover {
  background: #f8fafc;
}
.field-group:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.compact-label {
  font-size: 9px !important;
  color: var(--muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 2px !important;
  font-weight: 700 !important;
  pointer-events: none;
}

/* Airport Display details */
.airport-display-box {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.airport-code-large {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
}
.airport-info-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}
.airport-city-display {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.airport-name-display {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

/* Hidden input fields that overlap for editing */
.airport-input-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  background: #ffffff !important;
  border: none !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
  font-family: 'Outfit', sans-serif !important;
  box-sizing: border-box !important;
  border-radius: inherit;
}
.field-group.is-editing .airport-input-hidden {
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
}
.field-group.is-editing .airport-display-box {
  opacity: 0;
}

/* Hidden date input field rules (visually hidden but accessible to Flatpickr) */
.date-input-hidden {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Swap button inside single box layout */
.compact-swap-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  font-size: 14px;
  color: var(--navy);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.2s;
  padding: 0;
}
.compact-swap-btn:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Date Display details */
.date-display-box {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.date-day-large {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
}
.date-info-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.date-month-display {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.date-weekday-display {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.2;
  margin-top: 1px;
}

/* Search Action Button */
.search-action-wrap {
  display: flex;
  align-items: stretch;
  background: transparent;
  padding: 0;
}
.compact-search-btn {
  background: #f97316;
  color: #ffffff;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  font-family: 'Outfit', sans-serif;
  height: 100%;
}
.compact-search-btn:hover {
  background: #ea580c;
}
.compact-search-btn svg {
  stroke-width: 2.5;
}

.search-card { background: #ffffff !important; backdrop-filter: none; -webkit-backdrop-filter: none; border: 1px solid rgba(200, 169, 74, 0.15) !important; border-radius: 16px; padding: 1.8rem 1.8rem 2.8rem 1.8rem; box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08), 0 0 100px rgba(200, 169, 74, 0.05) !important; position: relative; z-index: 1; max-width: 100%; width: 100%; margin: 0 auto; }

.route-wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.route-wrap-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.dates-row { display: grid; gap: 12px; margin-bottom: 12px; }
.dates-row-2 { grid-template-columns: 1fr 1fr 1fr 1fr; }
.dates-row-1 { grid-template-columns: 1fr 1fr 1fr; }

.autocomplete-wrap { position: relative; }
.autocomplete-list { 
  position: absolute; 
  top: calc(100% + 6px); 
  left: 0; 
  right: 0; 
  background: #ffffff;
  border: 1.5px solid rgba(200, 169, 74, 0.3); 
  border-radius: 16px; 
  max-height: 280px; 
  overflow-y: auto; 
  z-index: 1000; 
  box-shadow: 
    0 20px 60px rgba(10, 22, 40, 0.18),
    0 4px 16px rgba(10, 22, 40, 0.08);
  display: none; 
  margin-top: 0;
  overflow: hidden;
  overflow-y: auto;
}
.autocomplete-list::-webkit-scrollbar {
  width: 5px;
}
.autocomplete-list::-webkit-scrollbar-track {
  background: #f1f5f9;
}
.autocomplete-list::-webkit-scrollbar-thumb {
  background: rgba(200,169,74,0.35);
  border-radius: 10px;
}
.autocomplete-list::-webkit-scrollbar-thumb:hover {
  background: rgba(200,169,74,0.6);
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.autocomplete-list.show { 
  display: block; 
  animation: dropdownFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── Each suggestion row ── */
.ac-item { 
  padding: 11px 14px; 
  cursor: pointer; 
  border-bottom: 1px solid #f1f5f9; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  transition: background 0.18s ease, padding-left 0.18s ease;
  border-left: 3px solid transparent;
  gap: 10px;
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover { 
  background: linear-gradient(90deg, rgba(10,29,55,0.04) 0%, rgba(200,169,74,0.04) 100%);
  border-left-color: var(--gold, #c8a94a);
  padding-left: 17px; 
}

/* ── Text left side ── */
.ac-text-wrap { 
  display: flex; 
  flex-direction: column; 
  align-items: flex-start; 
  text-align: left; 
  min-width: 0; 
  flex: 1; 
}
.ac-city { 
  font-weight: 700; 
  color: var(--navy, #0a1d37); 
  font-size: 13.5px; 
  margin-bottom: 2px; 
  text-align: left; 
  width: 100%; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}
.ac-country, .ac-airport { 
  font-size: 11px; 
  color: #94a3b8; 
  text-align: left; 
  margin: 0; 
  padding: 0; 
  width: 100%; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}

/* ── Airport code badge (right side) ── */
.ac-code { 
  font-weight: 800; 
  color: var(--navy, #0a1d37);
  font-size: 12px; 
  background: linear-gradient(135deg, #0a1d37 0%, #1a3558 100%);
  color: var(--gold, #c8a94a);
  border: 1px solid rgba(200,169,74,0.2);
  padding: 5px 10px; 
  border-radius: 8px; 
  flex-shrink: 0; 
  margin-left: 8px;
  letter-spacing: 0.04em;
  transition: all 0.18s;
  box-shadow: 0 2px 8px rgba(10,29,55,0.15);
}
.ac-item:hover .ac-code {
  background: linear-gradient(135deg, #c8a94a 0%, #d4b862 100%);
  color: #0a1d37;
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(200,169,74,0.3);
}

/* ── Hotel city flag badge ── */
.hc-flag-badge {
  font-size: 22px;
  flex-shrink: 0;
  margin-left: 8px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

/* ── Hotel autocomplete section divider label ── */
.hc-section-label {
  padding: 7px 14px 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #94a3b8;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  user-select: none;
}
.hc-section-label:not(:first-child) {
  border-top: 1px solid #f1f5f9;
}


.field label { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; display: block; margin-bottom: 5px; }
.field select, .field input { width: 100%; padding: 10px 12px; border: 1.5px solid #e5e7eb; border-radius: 8px; font-size: 14px; font-family: 'DM Sans', sans-serif; color: var(--text); background: #fafafa; transition: border-color 0.2s; outline: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; background-color: #fafafa; }
.field select:focus, .field input:focus { border-color: var(--gold); background-color: white; }

.field input[type="date"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 16px;
  padding-left: 36px;
  position: relative;
  -webkit-appearance: none;
  appearance: none;
  height: 42px;
  line-height: 1.2;
  min-height: unset;
  display: block;
}

.field input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.field input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.field input.flatpickr-input, .booking-field input.flatpickr-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 12px center !important;
  background-size: 16px !important;
  padding-left: 36px !important;
}

.field input.airport-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 16px;
  padding-left: 36px !important;
}

.swap-btn { position: absolute; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; background: var(--navy); border: 2px solid white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; color: var(--gold); top: 26px; z-index: 10; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.2s; }
.swap-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--navy); transform: translateX(-50%) scale(1.1); }

/* Pax Selector */
.pax-selector { position: relative; }
.field input.pax-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 12px center; background-size: 16px; padding-left: 36px; cursor: pointer; background-color: white; }
.pax-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: white; border: 1px solid var(--border); border-radius: 12px; padding: 16px; box-shadow: 0 12px 30px rgba(0,0,0,0.12); z-index: 100; display: none; margin-top: 4px; }
.pax-dropdown.show { display: block; }
.pax-dropdown.align-right { left: auto; right: 0; }
.pax-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pax-row:last-of-type { margin-bottom: 16px; }
.pax-label { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.2; text-align: left; text-transform: none; letter-spacing: 0; }
.pax-label small { font-size: 11px; color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.pax-ctrl { display: flex; align-items: center; gap: 12px; }
.pax-ctrl button { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--border); background: #f8fafc; color: var(--navy); font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; padding: 0; line-height: 0; }
.pax-ctrl button:hover { background: rgba(200,169,74,0.1); color: var(--gold); border-color: var(--gold); }
.pax-ctrl span { font-size: 14px; font-weight: 600; min-width: 12px; text-align: center; color: var(--text); }
.pax-done-btn { width: 100%; padding: 8px; background: var(--navy); color: var(--gold); border: none; border-radius: 6px; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: 0.2s; }
.pax-done-btn:hover { background: var(--gold); color: var(--navy); }

/* Multi-city */
.multi-leg {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 8px !important;
  position: relative;
}
.remove-leg-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
}
.remove-leg-btn:hover {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.1);
}
.remove-leg-placeholder {
  width: 28px;
  flex-shrink: 0;
}
.add-leg-btn { width: 100%; padding: 9px; background: transparent; border: 1.5px dashed var(--gold); border-radius: 8px; color: var(--gold); font-family: 'DM Sans', sans-serif; font-size: 13px; cursor: pointer; margin-bottom: 12px; transition: background 0.2s; }
.add-leg-btn:hover { background: rgba(200,169,74,0.07); }

.search-btn { width: 100%; padding: 13px; background: var(--navy); color: var(--gold); border: 2px solid var(--gold); border-radius: 10px; font-size: 15px; font-family: 'Playfair Display', serif; cursor: pointer; letter-spacing: 0.06em; transition: all 0.2s; }
.search-btn:hover { background: var(--gold); color: var(--navy); }
.mc-search-btn-wrap { display: flex; align-items: flex-end; }

.section-nav-wrap { background: white; border-bottom: 2px solid #eee; }
.section-nav {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.section-nav::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}
.nav-tab { padding: 12px 18px; font-size: 13px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.15s; white-space: nowrap; }
.nav-tab.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 500; }
.section { display: none; }
.section.active { display: block; }

.results { padding: 1.5rem 2rem; max-width: 1150px; margin: 0 auto; }
.results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; flex-wrap: wrap; gap: 12px; }
.results-title { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.results-count { font-size: 13px; font-weight: 600; color: var(--muted); background: #f1f5f9; padding: 4px 12px; border-radius: 20px; border: 1px solid #e2e8f0; }

.leg-tabs { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.leg-tab { padding: 8px 18px; border-radius: 24px; font-size: 13px; font-weight: 600; border: 1.5px solid #e2e8f0; background: #ffffff; cursor: pointer; color: #64748b; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.leg-tab:hover { border-color: var(--gold); color: var(--navy); }
.leg-tab.active { border-color: var(--gold); background: linear-gradient(135deg, rgba(200, 169, 74, 0.12) 0%, rgba(200, 169, 74, 0.04) 100%); color: var(--navy); font-weight: 700; box-shadow: 0 4px 12px rgba(200, 169, 74, 0.15); }
.leg-tab.done { border-color: #10b981; background: #ecfdf5; color: #047857; }

/* Premium Flight Card Container */
.flight-card { background: #ffffff; border-radius: 16px; border: 1px solid #e2e8f0; padding: 1.15rem 1.4rem; margin-bottom: 16px; display: grid; grid-template-columns: 1fr 85px 150px 85px max-content; justify-content: space-between; align-items: center; gap: 0.8rem; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 16px -4px rgba(10, 22, 40, 0.05), 0 2px 6px -2px rgba(10, 22, 40, 0.03); position: relative; overflow: visible; }
.flight-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; border-top-left-radius: 16px; border-bottom-left-radius: 16px; background: transparent; transition: background 0.25s ease; }
.flight-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -6px rgba(10, 22, 40, 0.1), 0 4px 14px -2px rgba(200, 169, 74, 0.15); border-color: rgba(200, 169, 74, 0.5); }
.flight-card:hover::before { background: var(--gold); }
.flight-card.selected { border-color: var(--gold); background: #fffdf9; box-shadow: 0 8px 25px -4px rgba(200, 169, 74, 0.25), 0 0 0 1.5px var(--gold); }
.flight-card.selected::before { background: var(--gold); }

/* Airline Block */
.airline { display: flex; align-items: center; gap: 12px; min-width: 0; }
.airline-logo { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid #f1f5f9; overflow: hidden; padding: 2px; background: #f8fafc; }
.airline-name { font-family: 'Outfit', sans-serif; font-size: 14.5px; font-weight: 700; color: var(--navy); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.airline-num { font-size: 11.5px; font-weight: 500; color: #64748b; margin-top: 2px; }

/* Route Info (Dep / Arr Times) */
.route-info { text-align: center; width: 100%; }
.time { font-family: 'Outfit', 'DM Sans', sans-serif; font-size: 21px; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.airport { font-size: 11.5px; font-weight: 600; color: #64748b; margin-top: 3px; display: inline-block; background: #f1f5f9; padding: 2px 8px; border-radius: 6px; letter-spacing: 0.04em; }

/* Duration Column & Timeline Line */
.duration-col { text-align: center; padding: 0 0.2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; }
.duration-text { font-size: 12.5px; font-weight: 600; color: #475569; margin-bottom: 4px; white-space: nowrap; }
.duration-line { display: flex; align-items: center; gap: 6px; width: 100%; max-width: 130px; margin-bottom: 5px; }
.duration-line .line { flex: 1; height: 1.5px; background: #cbd5e1; border-radius: 2px; }
.duration-line svg.flight-plane-icon { color: var(--gold); flex-shrink: 0; transform: rotate(90deg); filter: drop-shadow(0 2px 4px rgba(200, 169, 74, 0.3)); transition: transform 0.3s ease; }
.flight-card:hover .duration-line svg.flight-plane-icon { transform: rotate(90deg) translateY(-2px); }

/* Standard Stops & Transit Info (Clean Text, No Harsh Boxes) */
.stops-info { font-size: 11.5px; font-weight: 500; color: #64748b; white-space: nowrap; margin-top: 1px; }
.stops-info.nonstop-info { color: #059669; font-weight: 600; }
.stops-info.one-stop-info { color: #d97706; font-weight: 500; }

.fc-action { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 4px; }
.flight-price-wrap { text-align: right; line-height: 1.15; }
.flight-price { font-family: 'Outfit', 'DM Sans', sans-serif; font-size: 15.5px; font-weight: 500; color: var(--navy); letter-spacing: -0.01em; }
.flight-price-sub { font-size: 10px; color: #64748b; font-weight: 500; display: block; }

/* Action Button (Matches Search Button Style & Fits Container Perfectly) */
.select-btn { padding: 9px 16px; background: var(--navy); color: var(--gold); border: 2px solid var(--gold); border-radius: 10px; font-size: 13px; font-weight: 700; font-family: 'DM Sans', sans-serif; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; box-shadow: 0 3px 10px rgba(10, 22, 40, 0.12); }
.select-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); box-shadow: 0 6px 18px rgba(200, 169, 74, 0.35); }
.select-btn.selected-btn { background: #10b981 !important; color: #ffffff !important; border-color: #10b981 !important; box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important; }

/* Round-trip combined card */
.rt-card { background: white; border-radius: 16px; border: 1px solid #e2e8f0; margin-bottom: 16px; overflow: hidden; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 16px -4px rgba(10, 22, 40, 0.05); }
.rt-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -6px rgba(10, 22, 40, 0.1); border-color: var(--gold); }
.rt-card-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.rt-card-header .rt-route { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy); }
.rt-card-header .rt-dates { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.rt-same-badge { font-size: 11px; color: #0284c7; background: #e0f2fe; border: 1px solid #bae6fd; padding: 3px 12px; border-radius: 20px; font-weight: 700; }
.rt-leg-label { font-size: 11px; color: var(--muted); text-transform: uppercase; font-weight: 700; letter-spacing: 0.06em; padding: 14px 22px 4px; }
.rt-flight-row { display: grid; grid-template-columns: 140px 95px 160px 95px 160px; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 10px 22px 14px; }
.rt-airline-info { text-align: right; min-width: 0; }
.rt-airline-info .airline-name { font-family: 'Outfit', sans-serif; font-size: 12.5px; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-divider { border-top: 1px dashed #e2e8f0; margin: 0 22px; }
.rt-footer { padding: 12px 22px; display: flex; justify-content: flex-end; align-items: center; gap: 12px; border-top: 1px solid #e2e8f0; background: #f8fafc; }

@media(max-width:768px) {
  .rt-flight-row { grid-template-columns: auto 1fr auto; gap: 12px 10px; text-align: left; }
  .rt-card-header { flex-direction: column; gap: 6px; align-items: flex-start; }
  .rt-flight-row > .airline { grid-column: 1; margin-bottom: 5px; }
  .rt-flight-row > div:nth-child(5) { grid-column: 2 / 4; align-self: center; margin-bottom: 5px; }
  .rt-flight-row > .route-info:nth-child(2) { grid-column: 1; text-align: left; }
  .rt-flight-row > .duration-col { grid-column: 2; padding: 0; }
  .rt-flight-row > .route-info:nth-child(4) { grid-column: 3; text-align: right; }

  .flight-card { grid-template-columns: 1fr auto 1fr; gap: 12px 10px; padding: 1.2rem; }
  .flight-card > .airline { grid-column: 1 / -1; margin-bottom: 5px; }
  .flight-card > .route-info:nth-child(2) { grid-column: 1; text-align: left; }
  .flight-card > .duration-col { grid-column: 2; padding: 0; }
  .flight-card > .route-info:nth-child(4) { grid-column: 3; text-align: right; }
  .flight-card > .fc-action { grid-column: 1 / -1; display: flex; justify-content: flex-end; align-items: center; border-top: 1px solid #e2e8f0; padding-top: 12px; margin-top: 5px; }
  .flight-card > .fc-action > div { text-align: left; }
}

/* Summary bar */
.summary-bar { background: var(--navy); border-radius: 10px; padding: 12px 16px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.summary-legs { display: flex; gap: 10px; flex-wrap: wrap; }
.summary-leg { font-size: 12px; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 5px; }
.summary-leg.done { color: #6ee7b7; }
.summary-leg .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); flex-shrink: 0; }
.summary-leg.done .dot { background: #10b981; }
.summary-total { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 16px; }

/* Modal */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(10,22,40,0.85); backdrop-filter: blur(4px); z-index: 100000; align-items: center; justify-content: center; padding: 1rem; opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.open { display: flex; animation: modalFadeIn 0.25s ease-out forwards; }
.modal { background: #f8f9fc; border-radius: 24px; width: 100%; max-width: 720px; overflow: hidden; position: relative; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4); display: flex; flex-direction: column; max-height: 90vh; opacity: 0; transform: translateY(20px) scale(0.96); }
.modal-overlay.open .modal { animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.modal-header { background: white; padding: 2rem 2.5rem 1.5rem; border-bottom: 1px solid #e5e7eb; flex-shrink: 0; }
.modal-header h2 { font-family: 'Outfit', sans-serif; color: var(--navy); font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.modal-header h2 svg { width:22px; height:22px; color: var(--gold); }
.modal-header p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.modal-body { padding: 1.5rem 2.5rem; overflow-y: auto; flex: 1 1 auto; min-height: 0; -webkit-overflow-scrolling: touch; }
.modal-footer { background: white; padding: 1.5rem 2.5rem; display: flex; justify-content: flex-end; gap: 12px; border-top: 1px solid #e5e7eb; flex-shrink: 0; }
.close-btn { position: absolute; top: 1.5rem; right: 1.5rem; width: 32px; height: 32px; background: #f1f5f9; border: none; border-radius: 50%; color: var(--muted); cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.close-btn:hover { background: rgba(0,0,0,0.1); }

.pax-card { background: white; border: 1.5px solid #cbd5e1; border-radius: 8px; padding: 1.2rem 1.4rem; box-shadow: 0 4px 15px rgba(0,0,0,0.03); position: relative; overflow: hidden; margin-bottom: 1rem; transition: all 0.25s ease; }
.pax-card:last-child { margin-bottom: 0; }
.pax-card:hover { border-color: var(--navy); box-shadow: 0 6px 20px rgba(10,22,40,0.06); }
#paxDetailsContainer .pax-card::before { display: none !important; }
.pax-card-title { font-size: 14.5px; font-weight: 700; color: var(--navy); font-family: 'Outfit', sans-serif; display: flex; align-items: center; gap: 8px; margin-bottom: 0.8rem; padding-bottom: 8px; border-bottom: 1px solid #f1f5f9; }
.pax-card-title svg { width:18px; height:18px; color: var(--gold); }

.pax-suggestions-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: white; border: 1.5px solid #e5e7eb; border-radius: 6px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); z-index: 1000; max-height: 200px; overflow-y: auto; margin-top: 4px; display: none; }
.pax-suggestion-item { padding: 10px 16px; font-size: 13px; font-weight: 500; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; border-bottom: 1px solid #f1f5f9; }
.pax-suggestion-item:last-child { border-bottom: none; }
.pax-suggestion-item:hover { background: #f1f5f9; }
.pax-suggestion-name { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.pax-suggestion-pp { font-size: 11px; color: var(--muted); font-family: monospace; font-weight: 600; }

.title-group { margin-bottom: 10px; }
.title-group label { font-size: 12px; color: var(--navy); font-weight: 700; font-family: 'Outfit', sans-serif; display: block; margin-bottom: 4px; }
.title-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.title-pill { padding: 6px 14px; border-radius: 6px; border: 1.5px solid #cbd5e1; background: white; font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; color: #475569; transition: all 0.2s ease; }
.title-pill.active { background: var(--navy); color: #ffffff; border-color: var(--navy); box-shadow: 0 2px 6px rgba(10,22,40,0.15); }
.title-pill:hover:not(.active) { border-color: var(--navy); color: var(--navy); background: #f8fafc; }
.booking-field { margin-bottom: 10px; position: relative; }
.booking-field label { font-size: 12px; font-weight: 700; font-family: 'Outfit', sans-serif; color: var(--navy); display: block; margin-bottom: 4px; }
.booking-field label .req { color: #ef4444; }
.booking-field input, .booking-field select { width: 100%; padding: 9px 12px; border: 1.5px solid #cbd5e1; border-radius: 6px; font-size: 13px; font-family: 'DM Sans', sans-serif; outline: none; transition: all 0.2s ease; background: #ffffff; color: #0f172a; box-sizing: border-box; }
.booking-field input:focus, .booking-field select:focus { border-color: var(--navy); background: white; box-shadow: 0 0 0 3px rgba(10,22,40,0.12); }
.booking-field .hint { font-size: 11px; color: var(--muted); margin-top: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking-field .hint { font-size: 11px; color: var(--muted); margin-top: 3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Payment methods responsive grid styles */
.payment-methods-grid { display: flex; justify-content: center; gap: 16px; margin-bottom: 10px; flex-wrap: wrap; }
.payment-method-card { background: white; border: 1.5px solid #e5e7eb; padding: 16px 12px; border-radius: 12px; width: 46%; min-width: 150px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.02); transition: all 0.2s; position: relative; }
.payment-method-card:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.06); border-color: var(--hover-color) !important; }

.gen-btn { padding: 11px 24px; background: var(--navy); color: #ffffff; border: 1.5px solid var(--navy); border-radius: 6px; cursor: pointer; font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700; transition: all 0.2s ease; box-shadow: 0 4px 12px rgba(10,22,40,0.15); }
.gen-btn:hover { background: #172439; border-color: #172439; color: #ffffff; }
.cancel-btn { padding: 11px 20px; border: 1.5px solid #cbd5e1; border-radius: 6px; background: #ffffff; cursor: pointer; font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600; color: #475569; transition: all 0.2s ease; }
.cancel-btn:hover { border-color: var(--navy); color: var(--navy); background: #f8fafc; }

/* NEW TICKET FORMAT (Embassy Accepted, Clean Design) */
.ticket-wrap { padding: 2rem 0; display: flex; flex-direction: column; align-items: center; font-family: 'Helvetica Neue', Arial, sans-serif; width: 100%; box-sizing: border-box; }
.ticket-inner-wrap { width: 100%; max-width: 100vw; overflow-x: auto; display: flex; justify-content: center; padding-bottom: 20px; }
.ticket { background: white; padding: 1.8rem; box-shadow: 0 4px 20px rgba(0,0,0,0.08); border: 1px solid #e5e7eb; position: relative; width: 800px; min-width: 800px; box-sizing: border-box; text-align: left; }
@media(max-width: 850px) { .ticket-inner-wrap { justify-content: flex-start; padding: 0 1rem; } }
.ticket > div, .t-segment, .t-top-row, .t-pax-bar, .t-pax-row, .t-notes, table, .t-flight-block { page-break-inside: avoid !important; break-inside: avoid !important; }
.t-header-text { border-bottom: 2px solid #1e293b; padding-bottom: 10px; margin-bottom: 15px; }
.t-trip-title { font-size: 16px; font-weight: 700; text-transform: uppercase; color: #1e293b; letter-spacing: 0.03em; }

.t-top-row { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 20px; line-height: 1.4; color: #334155; }
.t-pax-name { font-size: 14px; font-weight: 700; color: #0f172a; margin-top: 3px; margin-bottom: 10px; }
.t-res-code { font-size: 12px; margin-bottom: 5px; text-transform: uppercase; color: #475569; }
.t-res-code span { font-weight: 700; color: #c8a94a; }

.t-agency { text-align: right; }
.t-agency strong { color: #1e293b; font-size: 13px; display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-bottom: 4px; }
.t-agency strong span { font-weight: 700; font-family: 'Arial Black', sans-serif; letter-spacing: -0.5px; color: #c8a94a; }

.t-segment { margin-bottom: 25px; }
.t-seg-header { display: flex; align-items: center; background: #f8fafc; border-top: 2px solid #1e293b; border-bottom: 1px solid #e2e8f0; padding: 8px 12px; margin-bottom: 12px; font-size: 13px; color: #475569; font-weight: 600; }
.t-seg-header svg { width: 18px; height: 18px; margin-right: 8px; transform: rotate(45deg); fill: #c8a94a; }
.t-seg-header strong { font-size: 14px; margin-right: 5px; color: #1e293b; letter-spacing: 0.02em; }

.t-flight-block { display: flex; border: 1px solid #e2e8f0; font-size: 12px; color: #334155; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.t-fb-col { padding: 12px 15px; border-right: 1px solid #e2e8f0; flex: 1; }
.t-fb-col:last-child { border-right: none; flex: 0.8; }
.t-fb-1 { flex: 0.8; background: #f8fafc; border-left: 4px solid #c8a94a; }
.t-airline-title { font-size: 14px; font-weight: 700; margin-bottom: 2px; text-transform: uppercase; color: #1e293b; letter-spacing: 0.02em; }
.t-fb-col .label { color: #64748b; margin-bottom: 4px; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.t-fb-col .val { font-size: 14px; color: #0f172a; margin-bottom: 10px; font-weight: 600; }

.t-baggage { font-size: 12px; color: #334155; margin-top: 15px; padding: 10px 15px; background: #f8fafc; border-radius: 6px; border: 1px dashed #cbd5e1; line-height: 1.5; font-weight: 500; }

.t-pax-bar { background: #1e293b; display: flex; font-size: 12px; font-weight: bold; padding: 10px 15px; margin-top: 15px; color: #ffffff; border-radius: 6px 6px 0 0; letter-spacing: 0.02em; }
.t-pax-row { display: flex; font-size: 12px; padding: 10px 15px; border: 1px solid #e2e8f0; border-top: none; border-radius: 0 0 6px 6px; color: #0f172a; font-weight: 500; background: #fafafa; }
.t-pax-name-col { flex: 1; text-transform: uppercase; }
.t-pax-seat-col { width: 180px; }

.t-notes { font-size: 10.5px; color: #475569; margin-top: 30px; line-height: 1.6; border-top: 2px solid #1e293b; padding-top: 15px; }
.t-notes strong { font-size: 12px; color: #1e293b; display: inline-block; margin-bottom: 6px; border-bottom: 2px solid #c8a94a; padding-bottom: 2px; text-transform: uppercase; letter-spacing: 0.02em; }

.t-notes-section { display: block !important; margin-top: 25px; page-break-inside: avoid !important; break-inside: avoid !important; }
.t-notes-inner-border { border-top: 2px solid #1e293b !important; margin-bottom: 15px !important; width: 100% !important; display: block !important; page-break-after: avoid !important; break-after: avoid !important; }
.t-notes-text { display: inline-block !important; width: 78% !important; vertical-align: top !important; font-size: 10.5px; color: #475569; line-height: 1.6; text-align: justify; padding-right: 15px; }
.t-notes-text strong { font-size: 12px; color: #1e293b; display: table; margin-bottom: 8px; border-bottom: 2px solid #c8a94a; padding-bottom: 2px; text-transform: uppercase; letter-spacing: 0.02em; }
.t-notes-qr { display: inline-block !important; width: 20% !important; vertical-align: top !important; text-align: right !important; margin-top: 10px !important; }
.t-notes-qr img { width: 90px; height: 90px; border: 2px solid #0a1628; padding: 4px; border-radius: 8px; background: white; box-shadow: 0 4px 12px rgba(10,22,40,0.25); display: inline-block !important; }

/* Overrides for inline JS tables */
.ticket table { border: 1px solid #cbd5e1 !important; border-radius: 4px; overflow: hidden; border-collapse: collapse !important; }
.ticket table th { background: #1e293b !important; color: #ffffff !important; border: 1px solid #cbd5e1 !important; font-weight: 600 !important; padding: 6px 10px !important; text-transform: uppercase; font-size: 11px !important; letter-spacing: 0.03em; }
.ticket table td { border: 1px solid #cbd5e1 !important; color: #334155 !important; padding: 6px 10px !important; font-size: 12px !important; }
.ticket table td[style*="font-weight: bold"] { color: #0f172a !important; font-weight: 600 !important; }
.ticket div[style*="color: #0056b3"], .ticket div[style*="color:#0056b3"] { color: #1e293b !important; }
.ticket div[style*="color: #111"], .ticket div[style*="color:#111"] { color: #1e293b !important; }
.ticket div[style*="color:#059669"], .ticket div[style*="color: #059669"] { color: #10b981 !important; font-weight: 600 !important; }
.ticket div[style*="color:#c8192a"], .ticket div[style*="color: #c8192a"] { color: #e11d48 !important; }
.print-btn { width: 100%; padding: 11px; background: var(--navy); color: var(--gold); border: 2px solid var(--gold); border-radius: 10px; font-size: 14px; font-family: 'Playfair Display', serif; cursor: pointer; margin-top: 12px; letter-spacing: 0.05em; transition: all 0.2s; }
.print-btn:hover { background: var(--gold); color: var(--navy); }

/* ── COMPACT TICKET LAYOUT OVERRIDES ── */
.ticket-wrap.t-compact { padding: 4mm 8mm !important; }
.ticket.t-compact { padding: 0px 5px !important; }
.ticket.t-compact .t-header-text { margin-bottom: 2px !important; padding-bottom: 2px !important; }
.ticket.t-compact .t-top-row { margin-bottom: 2px !important; }
.ticket.t-compact > div[style*="margin-bottom"] { margin-bottom: 6px !important; }
.ticket.t-compact .t-segment { margin-bottom: 8px !important; }
.ticket.t-compact .t-seg-header { margin-bottom: 4px !important; padding: 4px 8px !important; font-size: 13px !important; }
.ticket.t-compact .t-seg-header strong { font-size: 14px !important; }
.ticket.t-compact .t-flight-block { margin-bottom: 4px !important; }
.ticket.t-compact .t-fb-col { padding: 6px 12px !important; }
.ticket.t-compact .t-fb-col .label { margin-bottom: 2px !important; font-size: 10.5px !important; }
.ticket.t-compact .t-fb-col .val { margin-bottom: 4px !important; font-size: 14px !important; }
.ticket.t-compact .t-airline-title { font-size: 14px !important; margin-bottom: 2px !important; }
.ticket.t-compact .t-baggage { margin-top: 5px !important; padding: 6px 10px !important; font-size: 12px !important; }
.ticket.t-compact table th { padding: 5px 8px !important; font-size: 11px !important; }
.ticket.t-compact table td { padding: 5px 8px !important; font-size: 12px !important; }
/* Hide redundant intermediate baggage tables */
.ticket.t-compact .t-segment table { display: none !important; }
.ticket.t-compact .t-segment.t-show-baggage table { display: table !important; margin-top: 6px !important; }
.ticket.t-compact .t-notes-section { margin-top: 10px !important; padding-top: 10px !important; }
.ticket.t-compact .t-notes-text { font-size: 10.5px !important; line-height: 1.5 !important; }
.ticket.t-compact .t-notes-text strong { font-size: 12px !important; margin-bottom: 4px !important; }
.ticket.t-compact .t-notes-qr img { width: 75px !important; height: 75px !important; }
.ticket.t-compact .t-notes-qr span { font-size: 8px !important; }
.ticket.t-compact .t-transit-connection { margin: 4px 0 !important; padding: 4px 10px !important; font-size: 11px !important; }
.ticket.t-compact > div[style*="margin-bottom"] { margin-bottom: 6px !important; }

/* Extra-compact overrides for 4-flight Roundway tickets to fit 100% on 1 page */
.ticket.t-compact.t-roundway { padding: 0px 2px !important; }
.ticket.t-compact.t-roundway .t-header-text { margin-bottom: 1px !important; padding-bottom: 1px !important; }
.ticket.t-compact.t-roundway .t-top-row { margin-bottom: 1px !important; }
.ticket.t-compact.t-roundway > div[style*="margin-bottom"] { margin-bottom: 2px !important; }
.ticket.t-compact.t-roundway .t-segment { margin-bottom: 2px !important; }
.ticket.t-compact.t-roundway .t-seg-header { margin-bottom: 2px !important; padding: 2px 4px !important; font-size: 10px !important; }
.ticket.t-compact.t-roundway .t-seg-header strong { font-size: 11.5px !important; }
.ticket.t-compact.t-roundway .t-flight-block { margin-bottom: 2px !important; }

/* Flight block column compression */
.ticket.t-compact.t-roundway .t-fb-col { padding: 3px 5px !important; }
.ticket.t-compact.t-roundway .t-fb-col .label { margin-bottom: 1px !important; font-size: 9px !important; }
.ticket.t-compact.t-roundway .t-fb-col .val { margin-bottom: 1px !important; font-size: 11px !important; line-height: 1.1 !important; }
.ticket.t-compact.t-roundway .t-airline-title { font-size: 11px !important; margin-bottom: 1px !important; }

/* Override inline styling for flight blocks */
.ticket.t-compact.t-roundway .t-fb-col div[style*="margin-bottom"] { margin-bottom: 2px !important; }
.ticket.t-compact.t-roundway .t-fb-col div[style*="font-size:14px"], 
.ticket.t-compact.t-roundway .t-fb-col div[style*="font-size: 14px"] { font-size: 11.5px !important; }
.ticket.t-compact.t-roundway .t-fb-col div[style*="margin-bottom:12px"], 
.ticket.t-compact.t-roundway .t-fb-col div[style*="margin-bottom: 12px"] { margin-bottom: 2px !important; font-size: 8.5px !important; }
.ticket.t-compact.t-roundway .t-fb-col div[style*="color:#0056b3"], 
.ticket.t-compact.t-roundway .t-fb-col div[style*="color: #0056b3"] { margin-bottom: 2px !important; font-size: 11px !important; }
.ticket.t-compact.t-roundway .t-fb-col div[style*="color:#475569"], 
.ticket.t-compact.t-roundway .t-fb-col div[style*="color: #475569"] { margin-bottom: 2px !important; font-size: 9.5px !important; }
.ticket.t-compact.t-roundway .t-fb-col div[style*="color:#059669"], 
.ticket.t-compact.t-roundway .t-fb-col div[style*="color: #059669"] { font-size: 9.5px !important; }

/* Baggage table overrides */
.ticket.t-compact.t-roundway .t-baggage { margin-top: 2px !important; padding: 2px 4px !important; font-size: 9.5px !important; }
.ticket.t-compact.t-roundway table th { padding: 2px 4px !important; font-size: 9px !important; }
.ticket.t-compact.t-roundway table td { padding: 2px 4px !important; font-size: 9.5px !important; }
.ticket.t-compact.t-roundway .t-segment table { display: none !important; }
.ticket.t-compact.t-roundway .t-segment.t-show-baggage table { display: table !important; margin-top: 2px !important; }

/* Notes section overrides */
.ticket.t-compact.t-roundway .t-notes-section { margin-top: 2px !important; padding-top: 2px !important; }
.ticket.t-compact.t-roundway .t-notes-inner-border { margin-bottom: 2px !important; }
.ticket.t-compact.t-roundway .t-notes-text { font-size: 8.5px !important; line-height: 1.15 !important; }
.ticket.t-compact.t-roundway .t-notes-text strong { font-size: 9.5px !important; margin-bottom: 1px !important; }
.ticket.t-compact.t-roundway .t-notes-qr img { width: 50px !important; height: 50px !important; margin-top: 0 !important; }
.ticket.t-compact.t-roundway .t-notes-qr span { font-size: 6px !important; }
.ticket.t-compact.t-roundway .t-transit-connection { margin: 1px 0 !important; padding: 1px 4px !important; font-size: 9.5px !important; }

/* Force page break helper for print/PDF */
.html2pdf__page-break {
    page-break-before: always !important;
    break-before: page !important;
    display: block !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.t-transit-connection {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 8px 0 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #0a1628 !important;
    background: #faf7ee !important;
    border: 1px dashed #c8a94a !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    gap: 8px !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}
.t-transit-connection svg {
    width: 14px !important;
    height: 14px !important;
    fill: none !important;
    stroke: #c8a94a !important;
    stroke-width: 2px !important;
    margin-right: 0 !important;
    transform: none !important;
}

/* ── COMPACT SEARCH BAR ── */
#compactSearch { display:none; background:white; border-bottom:1px solid #e5e7eb; padding:14px 2rem; }
#compactSearch.show { display:block; }
.cs-inner { max-width:1100px; margin:0 auto; display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.cs-chip { display:flex; align-items:center; gap:6px; background:#f8f9fc; border:1px solid #e5e7eb; border-radius:8px; padding:8px 14px; font-size:13px; color:var(--navy); font-weight:500; cursor:pointer; transition:all 0.2s; }
.cs-chip:hover { border-color:var(--gold); background:rgba(200,169,74,0.06); }
.cs-chip svg { width:16px; height:16px; color:var(--muted); flex-shrink:0; }
.cs-chip .cs-label { font-size:10px; color:var(--muted); text-transform:uppercase; letter-spacing:0.05em; margin-right:4px; }
.cs-arrow { color:var(--gold); font-size:16px; font-weight:bold; }
.cs-modify { padding:8px 18px; background:var(--gold); color:var(--navy); border:none; border-radius:8px; font-size:13px; font-weight:600; cursor:pointer; font-family:'DM Sans',sans-serif; transition:all 0.2s; margin-left:auto; display:flex; align-items:center; gap:5px; }
.cs-modify:hover { background:var(--navy); color:var(--gold); }

/* Compact Hero State for Flight Results Page */
.hero.hero-compact {
  background-image: none !important;
  background-color: var(--navy) !important;
  padding: 1.5rem 1rem !important;
  min-height: auto !important;
}
.hero.hero-compact #hero-title,
.hero.hero-compact .hero-tag,
.hero.hero-compact p,
.hero.hero-compact .service-toggle-container {
  display: none !important;
}
.hero.hero-compact .search-container {
  margin-top: 0 !important;
}

/* ── COVER LETTER AUTOCOMPLETE DROPDOWNS (SMALL & PROFESSIONAL) ── */
.cl-autocomplete-wrap {
  position: relative;
  width: 100%;
}
.cl-autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  max-height: 180px;
  overflow-y: auto;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: none;
  margin-top: 4px;
}
.cl-autocomplete-list.show {
  display: block;
}
.cl-ac-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.cl-ac-item:last-child {
  border-bottom: none;
}
.cl-ac-item:hover {
  background: rgba(200, 169, 74, 0.08); /* Gold tint background */
  color: var(--gold);
}
.cl-ac-no-match {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  text-align: left;
}

@media(max-width:768px) {
  .cs-inner { gap:8px; }
  .cs-chip { padding:6px 10px; font-size:12px; }
  .cs-modify { margin-left:0; width:100%; justify-content:center; }
}

/* ── LOADING OVERLAY ── */
#loadingOverlay { display:none; position:fixed; inset:0; z-index:9999; background:linear-gradient(135deg,#0a1628 0%,#162040 60%,#1e3a6e 100%); flex-direction:column; align-items:center; justify-content:center; }
#loadingOverlay.show { display:flex; }
.lo-plane-track { position:relative; width:260px; height:60px; margin-bottom:2rem; }
.lo-plane { position:absolute; top:50%; transform:translateY(-50%); font-size:30px; animation:flyPlane 1.6s ease-in-out infinite; }
.lo-trail { position:absolute; top:50%; left:0; height:2px; background:linear-gradient(90deg,transparent,rgba(200,169,74,0.6)); border-radius:2px; animation:growTrail 1.6s ease-in-out infinite; transform:translateY(-50%); }

@keyframes flyPlane { 0%{left:0;opacity:0} 10%{opacity:1} 90%{opacity:1} 100%{left:230px;opacity:0} }
@keyframes growTrail { 0%{width:0;left:0} 100%{width:230px;left:0} }
.lo-title { font-family:'Playfair Display',serif; color:white; font-size:22px; margin-bottom:0.4rem; }
.lo-sub { color:rgba(255,255,255,0.5); font-size:13px; margin-bottom:2rem; }
.lo-dots { display:flex; gap:8px; }
.lo-dot { width:10px; height:10px; border-radius:50%; background:var(--gold); opacity:0.3; animation:dotPulse 1.2s ease-in-out infinite; }
.lo-dot:nth-child(2){ animation-delay:.2s; }
.lo-dot:nth-child(3){ animation-delay:.4s; }

@keyframes dotPulse { 0%,80%,100%{opacity:0.3;transform:scale(1)} 40%{opacity:1;transform:scale(1.3)} }

/* Mobile Responsive Updates */
@media (max-width: 768px) {
  .hero { padding: 2.5rem 1rem 5.5rem !important; }
  .hero h1 { font-size: 26px; }
  .search-card { padding: 1.2rem 1rem 1.8rem 1rem; }
  .search-container { padding-left: 1rem !important; padding-right: 1rem !important; margin-top: -5.4rem !important; }
  .active-indicator { top: 3px !important; bottom: 3px !important; border-radius: 20px !important; }
  .route-wrap { grid-template-columns: 1fr; gap: 8px; position: relative; }
  .route-wrap-3 { grid-template-columns: 1fr; gap: 8px; }
  .dates-row-1, .dates-row-2 { grid-template-columns: 1fr; gap: 8px; }
  
  /* Center the swap button on the boundary line between From & To inputs on mobile */
  .swap-btn { 
    position: absolute; 
    left: 50%; 
    top: 50%;
    transform: translate(-50%, -50%) rotate(90deg) !important; 
    margin: 0; 
    display: flex; 
    z-index: 10; 
  }
  .swap-btn:hover { transform: translate(-50%, -50%) rotate(90deg) scale(1.1) !important; }
  
  .form-row { grid-template-columns: 1fr; }
  .mc-search-btn-wrap { display: block; width: 100%; }

  /* Compact Search Box Mobile Styles */
  .flight-search-header, .hotel-search-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .flight-meta-dropdowns {
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
  }
  .flight-meta-dropdowns > div {
    flex: 1 !important;
    min-width: 0 !important;
  }
  .flight-meta-dropdowns .pax-pill,
  .flight-meta-dropdowns .cabin-pill {
    width: 100% !important;
  }

  /* Hotel header stays as row on mobile — title left, adults box right */
  #form-hotels .hotel-search-header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }
  #form-hotels .hotel-search-header .flight-meta-dropdowns {
    width: auto !important;
    flex-shrink: 0 !important;
    justify-content: flex-end !important;
  }
  #form-hotels .pax-pill {
    width: auto !important;
    flex: 0 0 auto !important;
    max-width: 160px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Multi-city: stack leg rows vertically on mobile */
  .multi-leg-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .multi-leg-row .search-fields-row {
    flex-direction: column !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    gap: 8px !important;
    margin-bottom: 0 !important;
  }
  .multi-leg-row .route-fields-wrap,
  .multi-leg-row .date-fields-wrap {
    flex-direction: column !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(10,22,40,0.03) !important;
    width: 100% !important;
    flex: none !important;
  }
  .remove-leg-btn, .remove-leg-placeholder {
    align-self: flex-end !important;
  }
  .search-fields-row {
    flex-direction: column;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    gap: 10px;
  }
  .route-fields-wrap, .date-fields-wrap {
    flex-direction: column;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(10,22,40,0.03) !important;
    width: 100%;
    flex: none;
  }
  .field-group {
    border-right: none !important;
    padding: 12px 16px !important;
    width: 100%;
    box-sizing: border-box;
  }
  .route-fields-wrap .field-group:not(:last-child),
  .date-fields-wrap .field-group:not(:last-child) {
    border-bottom: 1.5px solid #e2e8f0 !important;
  }
  .compact-swap-btn {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(90deg) !important;
  }
  .compact-swap-btn:hover {
    transform: translate(-50%, -50%) rotate(90deg) scale(1.1) !important;
  }
  .search-action-wrap {
    width: 100%;
    flex: none;
  }
  .compact-search-btn {
    border-radius: 4px !important;
    width: 100%;
    padding: 14px !important;
    height: 50px !important;
  }
  
  /* Autocomplete dropdown limits */
  .autocomplete-list { max-height: 200px; border-radius: 4px; }
  .pax-dropdown { padding: 12px; border-radius: 4px; }
  
  /* Modal responsive styling */
  .modal {
    max-height: 85vh;
    border-radius: 16px;
    width: 92%;
    margin: auto;
  }
  .modal-header {
    padding: 1rem 1rem 0.8rem;
  }
  .modal-header h2 {
    font-size: 16px;
  }
  .modal-header p {
    font-size: 12px;
  }
  .modal-body {
    padding: 1rem;
  }
  .modal-footer {
    padding: 0.8rem 1rem;
    flex-direction: row !important;
    gap: 10px;
  }
  .modal-footer button {
    flex: 1;
    width: auto !important;
    margin: 0 !important;
    padding: 10px 16px !important;
    font-size: 13px;
    height: 40px;
  }
  .pax-card {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.8rem;
  }
  .pax-card-title {
    font-size: 14px;
    margin-bottom: 0.8rem;
    padding-bottom: 8px;
  }
  .pax-card p {
    margin-bottom: 12px !important;
    font-size: 12px !important;
  }
  .booking-field {
    margin-bottom: 10px;
  }
  .booking-field label {
    margin-bottom: 4px;
    font-size: 11px;
  }
  .booking-field input, .booking-field select {
    padding: 8px 12px;
    font-size: 13px;
    height: 38px;
  }
  
  /* Passenger & Payment Modal enhancements */
  .title-pill {
    padding: 6px 12px;
    font-size: 12px;
  }
  .payment-methods-grid {
    gap: 10px;
  }
  .payment-method-card {
    width: 100% !important;
    min-width: 100% !important;
    padding: 12px;
  }
  
  /* Flight Cards adjustments */
  .flight-card {
    padding: 1rem;
    gap: 8px 8px;
  }
  .time {
    font-size: 18px;
  }
  .duration-text {
    font-size: 10px;
  }
}

/* ===== 2-Color Section Band System ===== */
.section-band {
  width: 100%;
}
.section-band-white {
  background: #ffffff;
}
.section-band-alt {
  background: var(--section-alt);
}

/* Services and Facilities styling */
.info-section { padding: 2.2rem 2rem 4rem; max-width: 1100px; margin: 0 auto; background: transparent; }
.section-title { text-align: center; font-family: 'Playfair Display', serif; color: var(--navy); font-size: 28px; margin-bottom: 2.5rem; position: relative; }
.section-title::after { display: none; }
.our-services-title { text-align: left; margin-bottom: 1rem; }

/* Services Grid (Smaller Cards) */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 3.5rem; }
.feature-card { background: white; border-radius: 10px; padding: 1.2rem 1rem; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.02); border: 1px solid rgba(200,169,74,0.12); transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 8px 24px rgba(200, 169, 74, 0.08); }
.feature-icon { width: 40px; height: 40px; background: rgba(200,169,74,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.8rem; color: var(--gold); }
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-family: 'Outfit', sans-serif; color: var(--navy); font-size: 14px; margin-bottom: 0.4rem; font-weight: 700; }
.feature-card p { color: var(--muted); font-size: 12px; line-height: 1.35; }

/* Premium Photo Services Slider */
.premium-services-slider {
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 3.5rem;
  position: relative;
  padding: 4px 0;
}
.premium-services-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 1rem;
}
.premium-service-card {
  flex: 0 0 calc((100% - (2 * 1rem)) / 3);
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(200, 169, 74, 0.12);
  box-shadow: 0 4px 15px rgba(10, 22, 40, 0.03);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  height: auto;
}
.premium-service-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(200, 169, 74, 0.12);
}
.premium-service-img-wrapper {
  width: 100%;
  height: 145px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}
.premium-service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.premium-service-card:hover .premium-service-img-wrapper img {
  transform: scale(1.06);
}
.premium-service-card-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}
.premium-service-card-info h3 {
  font-family: 'Outfit', sans-serif;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.25;
}
.premium-service-card-info p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

/* Facilities */
.facilities-wrap { background: var(--navy); border-radius: 20px; padding: 3rem 2rem; color: white; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.facility-item h4 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--gold); margin-bottom: 0.5rem; }
.facility-item p { color: rgba(255,255,255,0.7); font-size: 13px; }

@media(max-width: 900px) {
  .features-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .premium-services-slider,
  .premium-services-track {
    gap: 1.2rem !important;
  }
  .premium-service-card {
    flex: 0 0 calc((100% - (1 * 1.2rem)) / 2) !important;
  }
}

@media(max-width: 768px) {
  .info-section { padding: 1.5rem 1rem; }
  .section-title { font-size: 24px; margin-bottom: 1.2rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1.2rem !important; margin-bottom: 1.5rem !important; }
  .premium-services-slider { margin-bottom: 2rem !important; }
  .facilities-wrap { padding: 2rem 1.5rem; gap: 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr !important; gap: 1.2rem !important; margin-bottom: 1.5rem !important; }
  .price-card { padding: 2rem 1.5rem !important; transform: none !important; }
  .price-card.popular { transform: none !important; }
  .price-card:hover { transform: translateY(-4px) !important; }
  .price-card.popular:hover { transform: translateY(-4px) !important; }
  .routes-grid { margin-bottom: 1.5rem !important; }
  .airlines-grid { margin-bottom: 1.5rem !important; }
  .agency-title { margin-top: 1.5rem !important; }
  .agency-logos-wrap { margin: 0 auto 1.5rem !important; gap: 10px !important; }
  .agency-card {
    width: calc((100% - 20px) / 3) !important;
    padding: 10px !important;
    border-radius: 8px !important;
  }
  .agency-card-img-wrap {
    width: 100% !important;
    height: 45px !important;
    margin-bottom: 6px !important;
  }
  .agency-card-name {
    font-size: 11px !important;
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .review-card {
    padding: 15px !important;
    border-radius: 12px !important;
  }
  .why-choose-title { margin-top: 1.5rem !important; }
}

@media(max-width: 480px) {
  .features-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.8rem !important; }
  .feature-card { padding: 1rem 0.8rem !important; }
  .feature-card h3 { font-size: 13px !important; }
  .feature-card p { font-size: 11px !important; line-height: 1.3 !important; }
  .feature-icon { width: 36px !important; height: 36px !important; margin: 0 auto 0.6rem !important; }
  .feature-icon svg { width: 18px !important; height: 18px !important; }

  .premium-services-slider { max-width: 100% !important; margin: 0 auto 2rem; }
  .premium-services-track { gap: 0.8rem !important; }
  .premium-service-card { flex: 0 0 100% !important; border-radius: 14px !important; }
  .premium-service-img-wrapper { height: 145px !important; }
  .premium-service-card-info h3 { font-size: 14px !important; }
  .premium-service-card-info p { font-size: 11px !important; }

  /* Cover Letter Form on very small screens — keep compact grids */
  #form-cover-letter .cl-row-names {
    grid-template-columns: 70px 1fr 1fr !important;
  }
  #form-cover-letter .cl-row-names > .field:last-child {
    grid-column: auto !important;
  }
  #form-cover-letter .cl-row-2-col {
    grid-template-columns: 1fr 1fr !important;
  }
  #form-cover-letter .cl-row-passport {
    grid-template-columns: 1fr 1fr !important;
  }
  #form-cover-letter .cl-row-passport > .field:first-child {
    grid-column: span 2 !important;
  }
  #form-cover-letter .cl-row-travel {
    grid-template-columns: 1fr 1fr !important;
  }
  #form-cover-letter .cl-row-travel > .field:first-child {
    grid-column: span 2 !important;
  }
  #form-cover-letter .cl-row-profession {
    grid-template-columns: 1fr 1fr !important;
  }
  #form-cover-letter .cl-row-profession > .field:last-child {
    grid-column: span 2 !important;
  }

  .agency-logos-wrap {
    gap: 8px !important;
    padding: 0 8px !important;
  }
  .agency-card {
    width: calc((100% - 16px) / 3) !important;
    padding: 8px !important;
  }
  .agency-card-img-wrap {
    height: 38px !important;
  }
  .agency-card-name {
    font-size: 9px !important;
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 0 8px !important;
  }
  .review-card {
    padding: 10px !important;
    border-radius: 10px !important;
  }
}

/* Pricing Notice Component styles */
.pricing-notice-wrap { padding: 2rem 1.5rem; display: flex; justify-content: center; margin-bottom: 2rem; }
.pricing-notice-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #162040 60%, #1a2d5a 100%);
  border-radius: 20px;
  padding: 0;
  max-width: 900px; width: 100%;
  box-shadow: 0 15px 40px rgba(10,22,40,0.25), 0 4px 15px rgba(200,169,74,0.15);
  border: 1px solid rgba(200,169,74,0.2);
}
.pnc-blob1 { position:absolute; top:-60px; right:-60px; width:200px; height:200px; border-radius:50%; background:radial-gradient(circle, rgba(200,169,74,0.15) 0%, transparent 70%); pointer-events:none; }
.pnc-blob2 { position:absolute; bottom:-40px; left:-40px; width:160px; height:160px; border-radius:50%; background:radial-gradient(circle, rgba(200,169,74,0.08) 0%, transparent 70%); pointer-events:none; }
.pnc-shimmer { height: 3px; background: linear-gradient(90deg, transparent, #c8a94a, #f0d080, #c8a94a, transparent); background-size: 200% 100%; animation: shimmerMove 2.5s linear infinite; }
@keyframes shimmerMove { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.pnc-body { position: relative; z-index: 2; padding: 1.5rem 2.5rem 1.8rem; text-align: center; }
.pnc-icon-wrap { width: 48px; height: 48px; background: rgba(200,169,74,0.15); border: 1.5px solid rgba(200,169,74,0.3); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: 0 6px 15px rgba(200,169,74,0.12); }
.pnc-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(200,169,74,0.12); border: 1px solid rgba(200,169,74,0.25); border-radius: 20px; padding: 4px 12px; font-size: 10.5px; font-weight: 700; color: #c8a94a; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.8rem; }
.pnc-badge::before { content:''; width:5px; height:5px; border-radius:50%; background:#c8a94a; animation: pulseDot 1.5s ease-in-out infinite; }
@keyframes pulseDot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }
.pnc-message { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.92); line-height: 1.6; max-width: 800px; margin: 0 auto; }
.pnc-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(200,169,74,0.3), transparent); margin: 1.2rem 0 1rem; }
.pnc-footer { font-size: 11.5px; color: rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center; gap: 5px; }

/* Dummy Ticket SEO Card Styles */
.dummy-info-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  border: 1px solid rgba(200, 169, 74, 0.2);
  margin: 4rem auto;
  max-width: 1000px;
}
.dummy-info-title {
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
  font-size: 26px !important;
  text-align: center !important;
}
.dummy-info-title::after {
  display: none !important;
}
.dummy-info-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 1.2rem;
}
.dummy-info-text:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .dummy-info-card {
    padding: 1.8rem 1.2rem;
    margin: 2.5rem auto;
    border-radius: 12px;
  }
  .dummy-info-title {
    font-size: 20px !important;
    margin-bottom: 1rem !important;
  }
  .dummy-info-text {
    font-size: 13.5px;
    line-height: 1.6;
  }
}

.agency-title {
  margin-top: 4rem;
}
.agency-logos-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 4rem;
}
.agency-card {
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  border: 1px solid #f1f5f9;
  transition: all 0.3s;
  box-sizing: border-box;
}
.agency-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(200,169,74,0.1);
  border-color: var(--gold);
}
.agency-card-img-wrap {
  width: 140px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.agency-card-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.agency-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  word-break: break-word;
  line-height: 1.3;
}
/* ── REVIEW 3D COVERFLOW ── */
.rev3d-outer {
  position: relative;
  max-width: 1100px;
  margin: 2.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 54px;
  box-sizing: border-box;
}

/* The stage: perspective container, fixed height, overflow visible */
.rev3d-stage {
  perspective: 1000px;
  perspective-origin: 50% 50%;
  position: relative;
  height: 340px;
  flex: 1;
  overflow: visible;
}

/* Each card: absolutely centered, then JS moves it */
.rev3d-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 300px;
  margin-left: -150px;  /* center the card */
  background: linear-gradient(145deg, #0d2140 0%, #0a1d37 60%, #071428 100%);
  border-radius: 20px;
  border: 1px solid rgba(200, 169, 74, 0.25);
  padding: 26px;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.35),
    0 0 0 1px rgba(200,169,74,0.08) inset,
    0 1px 0 rgba(255,255,255,0.06) inset;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94),
              opacity  0.55s ease,
              box-shadow 0.3s;
  transform-origin: center center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  box-sizing: border-box;
  min-height: 300px;
  will-change: transform, opacity;
  overflow: hidden;
}
/* Sheen line at top */
.rev3d-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,74,0.6), transparent);
  pointer-events: none;
}
.rev3d-card:hover {
  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    0 0 30px rgba(200,169,74,0.12),
    0 0 0 1px rgba(200,169,74,0.3) inset;
  border-color: rgba(200,169,74,0.45);
}

/* ── Arrow Buttons ── */
.rev-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold, #c8a94a);
  background: white;
  color: var(--gold, #c8a94a);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: background 0.2s, color 0.2s;
  z-index: 20;
  padding: 0;
  flex-shrink: 0;
}
.rev-arrow:hover {
  background: var(--gold, #c8a94a);
  color: white;
}
.rev-prev { left: 0; }
.rev-next { right: 0; }

/* ── Card inner elements ── */
.rev-quote-bg {
  position: absolute;
  right: 16px;
  top: 10px;
  opacity: 0.12;
  color: var(--gold, #c8a94a);
  font-size: 72px;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.rev-stars {
  color: #c8a94a;
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 2px;
}
.rev-stars-empty { color: #e2e8f0; }
.rev-comment {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 16px 0;
  font-style: italic;
  word-break: break-word;
}
.rev-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(200,169,74,0.2);
  padding-top: 14px;
  margin-top: auto;
}
.rev-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy,#0a1d37) 0%, #1a2c47 100%);
  color: var(--gold, #c8a94a);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  flex-shrink: 0;
}
.rev-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 5px;
}
.rev-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: #059669;
  color: white;
  border-radius: 50%;
  font-size: 8px;
}
.rev-date { font-size: 11px; color: rgba(200,169,74,0.7); margin-top: 2px; }

/* ── Dots ── */
.rev-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}
.rev-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.rev-dot.active {
  background: var(--gold, #c8a94a);
  transform: scale(1.4);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .rev3d-stage { height: 360px; }
  .rev3d-card { width: 270px; margin-left: -135px; }
}
@media (max-width: 600px) {
  .rev3d-stage { height: 380px; }
  .rev3d-card { width: 240px; margin-left: -120px; }
  .rev3d-outer { padding: 0 38px; }
  .rev-arrow { width: 34px; height: 34px; font-size: 20px; }
}

.why-choose-title {
  margin-top: 3rem;
}



/* ========== RESULTS FILTERING & TRANSIT STYLING ========== */
.results-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 15px;
}

.filters-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  box-shadow: 0 8px 24px -4px rgba(10, 22, 40, 0.06), 0 2px 6px -2px rgba(10, 22, 40, 0.03);
  position: sticky;
  top: 85px;
  z-index: 10;
  transition: all 0.25s ease;
}

.results-main {
  flex: 1;
  min-width: 0;
}

.filter-group {
  user-select: none;
}

/* Custom Scrollbar for Airlines list */
.filter-options::-webkit-scrollbar {
  width: 4px;
}
.filter-options::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.filter-options::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.filter-options::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Custom Checkbox Label */
.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-dark);
  cursor: pointer;
  position: relative;
  transition: color 0.15s;
}
.filter-checkbox-label:hover {
  color: var(--navy);
}

/* Mobile Filter Toggle */
.mobile-filter-toggle {
  display: none;
  width: auto;
  padding: 8px 16px;
  background: var(--navy);
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(10,22,40,0.15);
}
.mobile-filter-toggle:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

/* Transit Point Display in Flight Cards */
.transit-text {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 500;
  white-space: normal;
  word-break: break-word;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

/* Custom range input styling */
#filter-price-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #cbd5e1;
  border-radius: 9999px;
  outline: none;
  margin: 10px 0;
}
#filter-price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy);
  cursor: pointer;
  border: 2px solid var(--gold);
  transition: transform 0.1s;
}
#filter-price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

@media (max-width: 992px) {
  .results-layout {
    flex-direction: column;
    gap: 12px;
    align-items: stretch !important;
  }
  .filters-sidebar {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important;
    max-width: 340px !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    background: white !important;
    border: 1.5px solid var(--gold) !important;
    border-radius: 16px !important;
    z-index: 100000 !important; /* Overlays everything */
    padding: 1.5rem !important;
    display: none !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 100vmax rgba(10, 22, 40, 0.5) !important; /* Full-screen dimmer shadow */
  }
  .filters-sidebar.open {
    display: block !important;
  }
  .mobile-filter-toggle {
    display: flex !important;
    width: auto !important;
    max-width: max-content;
    margin-left: auto !important; /* Align right */
    padding: 8px 16px !important;
  }
  .close-filters-btn {
    display: block !important;
  }
}

/* ========== HOTEL BOOKING SERVICE STYLING ========== */

/* Service Toggle Switcher */
.service-toggle-container,
.trip-toggle-container {
  display: block;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 20;
}
.service-toggle-container {
  margin-top: 0.5rem;
  margin-bottom: 0.6rem;
}
.trip-toggle-container {
  margin-bottom: 1.2rem;
}
.service-toggle-wrap {
  display: inline-flex;
  background: rgba(10, 22, 40, 0.6); /* Dark semi-transparent navy */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 5px;
  border-radius: 30px; /* Capsule corners */
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  user-select: none;
  border: 1px solid rgba(200, 169, 74, 0.35); /* Elegant gold border */
  gap: 4px;
  position: relative;
}
.active-indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  height: auto !important; /* Driven by top and bottom offsets */
  background: linear-gradient(135deg, var(--gold), #ffd275);
  border-radius: 25px;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
  box-shadow: 0 3px 10px rgba(200, 169, 74, 0.35);
}
.service-tab-btn {
  padding: 10px 24px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75); /* Soft gray text */
  border: none;
  border-radius: 25px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Outfit', sans-serif;
  position: relative;
  z-index: 2; /* Text sits above active indicator */
}
.service-tab-btn svg {
  stroke: rgba(255, 255, 255, 0.75);
  transition: stroke 0.25s ease;
}
.service-tab-btn:hover {
  color: #ffffff;
}
.service-tab-btn:hover svg {
  stroke: #ffffff;
}
.service-tab-btn.active {
  color: var(--navy) !important; /* Navy text on gold pill background */
  font-weight: 700;
}
.service-tab-btn.active svg {
  stroke: var(--navy) !important;
}

/* Hotel Search Results List Card */
.hotel-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hotel-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #eee;
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}
.hotel-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.hotel-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: #f1f5f9;
  overflow: hidden;
}
.hotel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hotel-image-wrap > img.hotel-image {
  transition: transform 0.4s ease;
}
.hotel-card:hover .hotel-image-wrap > img.hotel-image {
  transform: scale(1.05);
}
.hotel-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hotel-image-wrap:hover .slider-btn {
  opacity: 1;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 22, 40, 0.75);
  border: none;
  color: var(--gold);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 12px;
  opacity: 0;
  z-index: 5;
}
.slider-btn:hover {
  background: var(--navy);
  color: white;
}
.slider-btn.prev {
  left: 8px;
}
.slider-btn.next {
  right: 8px;
}
.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}
.slider-dot.active {
  background: var(--gold);
  width: 14px;
  border-radius: 3px;
}
.hotel-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.hotel-main-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.hotel-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  font-family: 'Outfit', sans-serif;
  text-align: left;
}
.hotel-address {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  text-align: left;
}
.hotel-stars {
  color: #fbbf24;
  font-size: 13px;
  display: flex;
  gap: 2px;
}
.hotel-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  text-align: left;
}
.hotel-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
}
.amenity-pill {
  background: #f1f5f9;
  color: #475569;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}
.hotel-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px dashed #e2e8f0;
  padding-top: 12px;
  margin-top: auto;
}
.hotel-price-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.hotel-price-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.hotel-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
}
.hotel-price-nights {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.hotel-room-type {
  font-size: 12.5px;
  color: var(--navy);
  font-weight: 600;
  background: #fef3c7;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1.5px solid rgba(200, 169, 74, 0.25);
  margin-bottom: 8px;
  display: inline-block;
  align-self: flex-start;
}

/* Hotel Confirmation Voucher PDF Styles */
.hotel-voucher {
  background: white;
  padding: 1.8rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
  position: relative;
  width: 800px;
  min-width: 800px;
  box-sizing: border-box;
  text-align: left;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.hv-header {
  border-bottom: 2px solid #486078;
  padding-bottom: 12px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.hv-title-col h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #0a1628;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.hv-title-col p {
  font-size: 12px;
  color: #475569;
  font-weight: 600;
}
.hv-pnr-badge {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 16px;
  text-align: center;
}
.hv-pnr-label {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.hv-pnr-value {
  font-size: 18px;
  font-weight: 800;
  color: #0a1628;
  font-family: monospace;
  letter-spacing: 0.05em;
}
.hv-section {
  margin-bottom: 20px;
}
.hv-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  background: #486078;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.hv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 15px;
  background: #fafafa;
  font-size: 12px;
  color: #334155;
}
.hv-grid-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hv-grid-item .label {
  font-size: 10.5px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hv-grid-item .val {
  font-size: 13px;
  color: #0f172a;
  font-weight: 700;
}
.hv-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 12px;
}
.hv-table th {
  background: #f1f5f9;
  border: 1px solid #486078;
  padding: 8px 12px;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  font-size: 11px;
  text-align: left;
}
.hv-table td {
  border: 1px solid #486078;
  padding: 10px 12px;
  color: #334155;
  vertical-align: top;
}
.hv-status-confirmed {
  background: #d1fae5;
  color: #065f46;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  display: inline-block;
}

@media (max-width: 768px) {
  .hotel-card {
    grid-template-columns: 1fr;
  }
  .hotel-image-wrap {
    height: 160px;
    min-height: auto;
  }
  .hotel-main-info {
    flex-direction: column;
    gap: 4px;
  }
}

/* Upgraded Hotel Card Styles */
.hv-booking-card {
  display: flex;
  border: 1px solid #486078;
  border-radius: 8px;
  margin-bottom: 20px;
  background: #ffffff;
  overflow: hidden;
}
.hv-hotel-summary {
  width: 50%;
  padding: 15px;
  display: flex;
  gap: 15px;
}
.hv-hotel-summary-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.hv-hotel-summary-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 11px;
  color: #475569;
  line-height: 1.4;
}
.hv-hotel-summary-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 6px;
}
.hv-dates-container {
  width: 50%;
  display: flex;
  background: #f8fafc;
  border-left: 1px solid #486078;
}
.hv-date-box {
  flex: 1;
  padding: 15px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #e2e8f0;
}
.hv-date-box:last-child {
  border-right: none;
}
.hv-date-title {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}
.hv-date-day {
  font-size: 28px;
  font-weight: 800;
  color: #0a1628;
  line-height: 1;
  margin-bottom: 2px;
}
.hv-date-month-year {
  font-size: 11px;
  font-weight: 700;
  color: #0a1628;
  text-transform: uppercase;
}
.hv-date-weekday {
  font-size: 10px;
  color: #475569;
  margin-top: 3px;
}
.hv-date-time {
  font-size: 9px;
  color: #64748b;
  margin-top: 5px;
  font-weight: 600;
}
.hv-nights-box {
  flex: 0.8;
  padding: 15px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hv-nights-box .hv-nights-val {
  font-size: 22px;
  font-weight: 800;
  color: #0a1628;
  margin-bottom: 4px;
}
.hv-nights-box .hv-nights-val span {
  color: #94a3b8;
  font-weight: 400;
  font-size: 16px;
  margin: 0 4px;
}
.hv-nights-box .hv-nights-lbl {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Price Details Box */
.hv-price-container {
  border: 1px solid #486078;
  border-radius: 8px;
  margin-bottom: 20px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
}
.hv-price-details {
  width: 55%;
  padding: 15px 20px;
  border-right: 1px solid #486078;
}
.hv-price-details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.hv-price-details-table td {
  padding: 4px 0;
  color: #475569;
}
.hv-price-details-table tr.total-row td {
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
  font-weight: 700;
  color: #0a1628;
  font-size: 14px;
}
.hv-price-details-table tr.total-row td.price-val {
  font-size: 18px;
}
.hv-price-payment-info {
  width: 45%;
  padding: 15px 20px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 11px;
  color: #475569;
  line-height: 1.5;
}
.hv-price-payment-info strong {
  color: #0a1628;
  font-size: 12px;
  margin-bottom: 5px;
}

/* Room Details Upgraded */
.hv-room-card {
  border: 1px solid #486078;
  border-radius: 8px;
  margin-bottom: 20px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
}
.hv-room-info-side {
  width: 65%;
  padding: 15px 20px;
  border-right: 1px solid #486078;
  display: flex;
  gap: 15px;
}
.hv-room-img {
  width: 110px;
  height: 85px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.hv-room-details-text {
  flex: 1;
  font-size: 11px;
  color: #475569;
  line-height: 1.4;
}
.hv-room-details-text h3 {
  font-size: 14px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 5px;
}
.hv-room-policy-side {
  width: 35%;
  padding: 15px 20px;
  background: #f8fafc;
  font-size: 11px;
  color: #475569;
  line-height: 1.5;
}
.hv-room-policy-side div {
  margin-bottom: 10px;
}
.hv-room-policy-side div:last-child {
  margin-bottom: 0;
}
.hv-room-policy-side strong {
  color: #0a1628;
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
}
.hv-pin-badge {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  font-family: monospace;
}

/* Responsive fixes to prevent horizontal overflow/scroll on mobile */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  
  .results {
    padding: 1rem 0.5rem !important;
  }
  
  .section-nav {
    padding: 0 1rem !important;
  }
  
  #compactSearch {
    padding: 10px 0.75rem !important;
  }
  
  .flight-card {
    padding: 0.8rem 0.6rem !important;
    gap: 8px 6px !important;
  }
  
  .transit-text {
    white-space: normal !important;
    word-break: break-word !important;
    max-width: 130px !important;
    margin: 3px auto 0 !important;
    line-height: 1.2 !important;
  }
  
  /* Round trip card responsive padding adjustments */
  .rt-card-header {
    padding: 10px 12px !important;
  }
  
  .rt-leg-label {
    padding: 10px 12px 4px !important;
  }
  
  .rt-flight-row {
    padding: 8px 12px 12px !important;
    gap: 10px 6px !important;
  }
  
  .rt-divider {
    margin: 0 12px !important;
  }
  
  .rt-footer {
    padding: 10px 12px !important;
  }
  
  /* Hotel card responsive details and footer stacking */
  .hotel-details {
    padding: 1rem !important;
  }
  
  .hotel-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  
  .hotel-footer .select-btn {
    width: 100% !important;
    text-align: center !important;
  }
}

/* ── QUICK SEARCH BAR RESPONSIVENESS & PREMIUM STYLING ── */
.quick-search-bar-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  width: 100%;
}
.quick-search-bar-row .field {
  margin-bottom: 0 !important;
}
.quick-search-bar-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: none;
  letter-spacing: normal;
}
/* Ensure inputs and selects have matching heights */
.quick-search-bar-row .field input,
.quick-search-bar-row .field select,
.quick-multi-leg .field input,
.quick-multi-leg .field select {
  height: 42px !important;
  box-sizing: border-box !important;
}
.quick-search-bar-row .field.field-modify-btn {
  flex: 0.8;
  min-width: 120px;
  max-width: 180px;
  margin-left: auto;
}
.quick-search-modify-btn {
  width: 100%;
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  background: var(--gold);
  color: var(--navy);
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  height: 42px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.quick-search-modify-btn:hover {
  background: var(--navy);
  color: var(--gold);
}
.quick-search-modify-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
}
.swap-btn-quick {
  margin-bottom: 3px;
  cursor: pointer;
  font-size: 18px;
  color: var(--gold);
  font-weight: bold;
  user-select: none;
  display: flex;
  align-items: center;
  height: 36px;
  transition: transform 0.2s;
}
.swap-btn-quick:hover {
  transform: scale(1.1);
}

.quick-route-wrap {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex: 3;
  position: relative;
  width: 100%;
}
.quick-route-wrap .field {
  margin-bottom: 0 !important;
}

/* ── COVER LETTER FORM GRID ── */
.cl-row-names,
.cl-row-2-col,
.cl-row-passport,
.cl-row-contact,
.cl-row-travel,
.cl-row-profession {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  width: 100%;
}
.cl-row-names {
  grid-template-columns: 1fr 2fr 2fr;
}
.cl-row-2-col,
.cl-row-contact {
  grid-template-columns: 1fr 1fr;
}
.cl-row-passport,
.cl-row-profession {
  grid-template-columns: 1fr 1fr 1fr;
}
.cl-row-travel {
  grid-template-columns: 2fr 1fr 1fr;
}

@media (max-width: 768px) {
  .quick-route-wrap {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    flex: none !important;
    gap: 10px !important;
    position: relative !important;
  }
  .quick-route-wrap .field {
    width: 100% !important;
    flex: none !important;
  }
  .quick-route-wrap .swap-btn-quick {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) rotate(90deg) !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 50% !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    margin: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    z-index: 10 !important;
  }
  .quick-route-wrap .swap-btn-quick:hover {
    transform: translate(-50%, -50%) rotate(90deg) scale(1.1) !important;
  }
  .quick-search-bar-row {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 10px !important;
    position: relative !important;
  }
  .quick-search-bar-row .field {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .quick-search-bar-row .field.quick-field-half {
    width: calc(50% - 5px) !important;
  }
  .quick-search-bar-row .field.quick-field-full {
    width: 100% !important;
  }
  .quick-search-bar-row .field.field-modify-btn {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
  }
  .quick-search-modify-btn {
    margin-top: 0 !important;
    width: 100% !important;
  }
  
  .quick-multi-leg {
    flex-direction: column;
    align-items: stretch !important;
    gap: 12px;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 15px;
    margin-bottom: 15px !important;
  }
  .quick-multi-leg:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0 !important;
  }
  .quick-multi-leg .field {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .quick-multi-leg>div:first-child {
    margin-bottom: 0 !important;
  }

  /* Cover Letter Form Mobile Improvements */
  #form-cover-letter {
    padding: 1.2rem !important;
  }
  #form-cover-letter h3 {
    font-size: 15px !important;
  }
  #form-cover-letter .field {
    margin-bottom: 0 !important;
    min-width: 0;
  }
  #form-cover-letter .field label {
    margin-bottom: 4px !important;
    font-size: 10.5px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  #form-cover-letter .field input,
  #form-cover-letter .field select,
  #form-cover-letter .field textarea {
    padding: 8px 8px !important;
    font-size: 12.5px !important;
    height: 38px !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  #form-cover-letter .field textarea {
    height: auto !important;
    min-height: 50px !important;
  }
  #form-cover-letter .field input.flatpickr-input {
    padding-left: 32px !important;
  }
  /* Common grid reset */
  #form-cover-letter .cl-row-names,
  #form-cover-letter .cl-row-2-col,
  #form-cover-letter .cl-row-passport,
  #form-cover-letter .cl-row-contact,
  #form-cover-letter .cl-row-travel,
  #form-cover-letter .cl-row-profession {
    margin-top: 8px !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Title | First Name | Last Name — all 3 side by side */
  #form-cover-letter .cl-row-names {
    grid-template-columns: 80px 1fr 1fr !important;
  }
  #form-cover-letter .cl-row-names > .field:last-child {
    grid-column: auto !important;
  }
  
  /* Letter Date | Visa Purpose — equal columns */
  #form-cover-letter .cl-row-2-col {
    grid-template-columns: 1fr 1fr !important;
  }
  
  /* Passport Number (full) | Issue Date | Expiry */
  #form-cover-letter .cl-row-passport {
    grid-template-columns: 1fr 1fr !important;
  }
  #form-cover-letter .cl-row-passport > .field:first-child {
    grid-column: span 2 !important;
  }
  
  /* Contact Email | Mobile — stack vertically */
  #form-cover-letter .cl-row-contact {
    grid-template-columns: 1fr !important;
  }
  
  /* Cities (full) | Start Date | End Date */
  #form-cover-letter .cl-row-travel {
    grid-template-columns: 1fr 1fr !important;
  }
  #form-cover-letter .cl-row-travel > .field:first-child {
    grid-column: span 2 !important;
  }
  
  /* Employment | Occupation — side by side; Company below full */
  #form-cover-letter .cl-row-profession {
    grid-template-columns: 1fr 1fr !important;
  }
  #form-cover-letter .cl-row-profession > .field:last-child {
    grid-column: span 2 !important;
  }

  /* Autocomplete wrap should fill its parent */
  #form-cover-letter .cl-autocomplete-wrap {
    width: 100% !important;
    min-width: 0 !important;
  }
}
/* ── PREMIUM LIGHT MODAL OVERRIDES ── */
#loginModal .modal,
#registerModal .modal,
#bookingModal .modal,
#paymentModal .modal {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 20px 40px -10px rgba(10, 22, 40, 0.25) !important;
  border-radius: 12px !important;
}
#loginModal .modal-header,
#registerModal .modal-header,
#bookingModal .modal-header,
#paymentModal .modal-header {
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 1.8rem 2.2rem 1.2rem;
}
#loginModal .modal-header h2,
#registerModal .modal-header h2,
#bookingModal .modal-header h2,
#paymentModal .modal-header h2 {
  color: var(--navy) !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}
#loginModal .modal-header h2 svg,
#registerModal .modal-header h2 svg,
#bookingModal .modal-header h2 svg,
#paymentModal .modal-header h2 svg {
  color: var(--gold) !important;
}
#loginModal .modal-header p,
#registerModal .modal-header p,
#bookingModal .modal-header p,
#paymentModal .modal-header p {
  color: var(--muted) !important;
  font-size: 13.5px !important;
}
#loginModal .booking-field,
#registerModal .booking-field,
#bookingModal .booking-field,
#paymentModal .booking-field {
  margin-bottom: 1.2rem;
}
#loginModal .booking-field label,
#registerModal .booking-field label,
#bookingModal .booking-field label,
#paymentModal .booking-field label {
  color: var(--navy) !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
}
#loginModal .booking-field input,
#registerModal .booking-field input,
#bookingModal .booking-field input,
#bookingModal .booking-field select,
#paymentModal .booking-field input,
#paymentModal .booking-field select {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  padding: 11px 14px !important;
  border-radius: 6px !important;
  font-family: 'DM Sans', sans-serif !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
#loginModal .booking-field input:focus,
#registerModal .booking-field input:focus,
#bookingModal .booking-field input:focus,
#bookingModal .booking-field select:focus,
#paymentModal .booking-field input:focus,
#paymentModal .booking-field select:focus {
  border-color: var(--navy) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(10, 22, 40, 0.12) !important;
}
#bookingModal .booking-field input.flatpickr-input,
#paymentModal .booking-field input.flatpickr-input {
  padding-left: 36px !important;
}
#bookingModal .booking-field select,
#paymentModal .booking-field select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-right: 40px !important;
}
#loginModal .close-btn,
#registerModal .close-btn,
#bookingModal .close-btn,
#paymentModal .close-btn {
  background: #f1f5f9 !important;
  border-radius: 6px !important;
  color: var(--muted) !important;
  top: 1.5rem;
  right: 1.5rem;
}
#loginModal .close-btn:hover,
#registerModal .close-btn:hover,
#bookingModal .close-btn:hover,
#paymentModal .close-btn:hover {
  background: #e2e8f0 !important;
  color: var(--navy) !important;
}
#loginModal form div[style*="text-align: center"],
#registerModal form div[style*="text-align: center"] {
  color: var(--muted) !important;
}
#loginModal form div[style*="text-align: center"] a,
#registerModal form div[style*="text-align: center"] a {
  color: var(--navy) !important;
  font-weight: 600 !important;
  border-bottom: 1.5px solid var(--gold) !important;
  padding-bottom: 1px;
  transition: all 0.2s;
}
#loginModal form div[style*="text-align: center"] a:hover,
#registerModal form div[style*="text-align: center"] a:hover {
  color: var(--gold) !important;
  border-bottom-color: var(--navy) !important;
}

/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVE — FLIGHT & HOTEL SEARCH PAGE
   Fixes: zoom, overflow, compact layout
   ═══════════════════════════════════════════════ */

/* ── 1. Prevent iOS auto-zoom on input focus (font-size must be ≥ 16px) ── */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="tel"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Override back to smaller sizes only for read-only display boxes */
  .airport-city-display,
  .airport-name-display,
  .airport-code-large,
  .date-day-large,
  .date-month-display,
  .date-weekday-display,
  .pax-pill,
  .cabin-pill {
    font-size: inherit !important;
  }

  /* ── 2. Airport display box — prevent text overflow causing page zoom ── */
  .airport-display-box {
    overflow: hidden !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .airport-city-display {
    font-size: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .airport-name-display {
    font-size: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .airport-code-large {
    font-size: 16px !important;
    flex-shrink: 0 !important;
  }
  .airport-info-details {
    min-width: 0 !important;
    flex: 1 !important;
    overflow: hidden !important;
  }

  /* ── 3. Field group — ensure relative positioning for hidden inputs ── */
  .field-group {
    position: relative !important;
    overflow: visible !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* ── 4. Pax dropdown — compact inline, white background, no modal ── */

  /* pax-selector must NOT clip its absolute child */
  .pax-selector {
    overflow: visible !important;
    position: relative !important;
  }
  .flight-meta-dropdowns {
    overflow: visible !important;
  }
  .pax-dropdown {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 100% !important;
    transform: none !important;
    width: auto !important;
    min-width: 220px !important;
    max-width: 280px !important;
    max-height: none !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    padding: 14px !important;
    z-index: 9999 !important;
    margin-top: 4px !important;
  }
  .pax-dropdown.align-right {
    left: auto !important;
    right: 0 !important;
  }
  #pax-drop-ow,
  #pax-drop-rt,
  #pax-drop-mc {
    left: 0 !important;
    right: auto !important;
  }
  .pax-dropdown.show {
    display: block !important;
  }
  .pax-dropdown.show::before {
    content: none !important;
  }
  .pax-row {
    margin-bottom: 10px !important;
  }
  .pax-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--navy) !important;
  }
  .pax-ctrl button {
    width: 28px !important;
    height: 28px !important;
    font-size: 15px !important;
    border-radius: 6px !important;
  }
  .pax-ctrl span {
    font-size: 14px !important;
    min-width: 16px !important;
  }
  .pax-done-btn {
    padding: 8px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }

  /* ── 5. Search form fields — no overflow ── */
  .search-fields-row {
    overflow: visible !important;
    flex-wrap: wrap !important;
  }
  .route-fields-wrap,
  .date-fields-wrap {
    min-width: 0 !important;
    overflow: visible !important;
  }

  /* ── 6. Compact search bar (modify bar at top of results) ── */
  #compactSearch {
    padding: 10px 12px !important;
    overflow: hidden !important;
  }
  .cs-inner {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .cs-chip {
    padding: 5px 8px !important;
    font-size: 11px !important;
    max-width: calc(50% - 4px) !important;
    overflow: hidden !important;
  }
  .cs-chip span:not(.cs-label):not(.cs-arrow) {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 120px !important;
  }

  /* ── 7. Quick search modify bar (search result page form) ── */
  #quickSearchPanel,
  .quick-search-panel {
    overflow: hidden !important;
    padding: 12px !important;
  }
  .quick-search-bar-row {
    overflow: hidden !important;
  }
  .quick-search-bar-row .field input,
  .quick-search-bar-row .field select {
    height: 44px !important;
    font-size: 16px !important;
  }

  /* ── 8. Flight card — compact & no overflow ── */
  .flight-card {
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .time {
    font-size: 17px !important;
  }
  .airport {
    font-size: 11px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 80px !important;
  }

  /* ── 9. Results container — prevent overflow ── */
  .results,
  #results,
  #flightResults,
  #hotelResults {
    overflow-x: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ── 10. Section nav tabs — scrollable on mobile ── */
  .section-nav {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    white-space: nowrap !important;
    display: flex !important;
    padding-bottom: 4px !important;
  }
  .section-nav::-webkit-scrollbar { display: none !important; }

  /* ── 11. Round-trip card ── */
  .rt-card {
    overflow: hidden !important;
  }
  .rt-card-header .rt-route {
    font-size: 13px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 200px !important;
  }

  /* ── 12. Filters panel ── */
  .filters-panel,
  #filtersPanel {
    width: 92vw !important;
    max-width: 360px !important;
  }
}

/* ── Extra small phones (≤400px) ── */
@media (max-width: 400px) {
  .airport-code-large {
    font-size: 14px !important;
  }
  .airport-city-display {
    font-size: 11px !important;
  }
  .airport-name-display {
    font-size: 9px !important;
  }
  .time {
    font-size: 15px !important;
  }
  .flight-card {
    padding: 0.7rem 0.5rem !important;
  }
  .cs-chip {
    max-width: 100% !important;
  }
}

/* ========== HOMEPAGE VISA GUIDES & RESOURCES ========== */
.home-guides-section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

.guides-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.guides-tag {
  font-family: 'Outfit', sans-serif;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: block;
}

.guides-main-title {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.guides-subtitle {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.5;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.guide-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(10, 22, 40, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(10, 22, 40, 0.02);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(10, 22, 40, 0.07);
  border-color: rgba(200, 169, 74, 0.35);
}

.guide-img-container {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--navy);
}

.guide-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.guide-card:hover .guide-card-img {
  transform: scale(1.06);
}

.guide-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--gold);
  border: 1px solid rgba(200, 169, 74, 0.3);
  padding: 3px 9px;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.guide-card-content {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.guide-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  align-items: center;
}

.guide-date, 
.guide-readtime {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.guide-date svg,
.guide-readtime svg {
  color: var(--gold);
}

.guide-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0;
}

.guide-card-title a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-card:hover .guide-card-title a {
  color: var(--gold);
}

.guides-action-wrap {
  text-align: center;
  margin-top: 3rem;
}

.guides-viewall-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border: 1.5px solid var(--gold);
  background: transparent;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.guides-viewall-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(10, 22, 40, 0.12);
}

.guides-viewall-btn:hover svg {
  transform: translateX(4px);
}

/* Responsiveness for Guides Grid */
@media (max-width: 1024px) {
  .guides-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .home-guides-section {
    padding: 3rem 1.5rem;
  }
  .guides-main-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .guides-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .home-guides-section {
    padding: 2rem 1rem;
  }
  .guides-header {
    margin-bottom: 2rem;
  }
  .guides-main-title {
    font-size: 22px;
  }
  .guides-subtitle {
    font-size: 13px;
  }
}

/* ── NATIONALITY AUTOCOMPLETE DROPDOWN ── */
.nat-autocomplete-wrap {
  position: relative;
  width: 100%;
}
.nat-autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  max-height: 150px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: none;
  margin-top: 4px;
}
.nat-autocomplete-list.show {
  display: block;
}
.nat-ac-item {
  padding: 6px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.nat-ac-item:last-child {
  border-bottom: none;
}
.nat-ac-item:hover {
  background: rgba(200, 169, 74, 0.08);
  color: var(--gold);
}

/* ========== DUMMY TICKET USE CASES SECTION ========== */
.use-cases-section-content {
  padding: 4.5rem 0;
  width: 100%;
}

.use-cases-container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

.use-cases-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.use-cases-tag {
  font-family: 'Outfit', sans-serif;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: block;
}

.use-cases-title {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.use-cases-subtitle {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
}

.use-case-card {
  background: linear-gradient(180deg, #e6faf7 0%, #e8f3fe 100%);
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.02);
  border: 1px solid rgba(200, 169, 74, 0.1);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.use-case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(10, 22, 40, 0.08);
  border-color: rgba(200, 169, 74, 0.3);
}

.use-case-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.06);
}

.use-case-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.use-case-card-title {
  font-family: 'Outfit', sans-serif;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.use-case-card-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.use-case-bullets {
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.use-case-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.45;
  font-weight: 500;
  text-align: left;
}

.bullet-check {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

@media(max-width: 768px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .use-cases-section-content {
    padding: 3rem 0;
  }
  .use-cases-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .use-case-card {
    padding: 1.5rem;
  }
  .use-cases-title {
    font-size: 28px;
  }
}

/* ========== WHAT IS A DUMMY TICKET SECTION (BAND 5) ========== */
.dummy-info-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0;
}

.dummy-info-header {
  margin-bottom: 3rem;
}

.dummy-info-title {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.dummy-info-description {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  font-weight: 400;
}

.dummy-info-box {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 35px rgba(10, 22, 40, 0.04);
  overflow: hidden;
}

.dummy-info-item {
  padding: 2.2rem 2rem;
  border-bottom: 1px solid #edf2f7;
  transition: background-color 0.2s ease;
}

.dummy-info-item:last-child {
  border-bottom: none;
}

.dummy-info-item:hover {
  background-color: #fcfdfe;
}

.dummy-info-item-title {
  font-family: 'Outfit', sans-serif;
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.dummy-info-item-text {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .dummy-info-title {
    font-size: 28px;
  }
  .dummy-info-description {
    font-size: 14.5px;
  }
  .dummy-info-item {
    padding: 1.8rem 1.2rem;
  }
  .dummy-info-item-title {
    font-size: 17px;
  }
}

/* ==========================================================================
   UNIFIED BANGLA QR PAYMENT STYLES
   ========================================================================== */
.unified-pay-modal-content {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(10, 22, 40, 0.25);
  font-family: 'DM Sans', sans-serif;
}

.unified-pay-shield-icon {
  color: #10b981;
  animation: pulse-shield 2s infinite ease-in-out;
}

@keyframes pulse-shield {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}

.unified-pay-badge-mfs {
  background: linear-gradient(135deg, var(--navy, #0a1628) 0%, #1a365d 100%);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(10,22,40,0.15);
}

.unified-pay-brand-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.unified-pay-brand-logo {
  height: 20px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}

.unified-pay-brand-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

.unified-pay-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  margin-bottom: 1.5rem;
}

.unified-pay-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.unified-pay-step-num {
  background: var(--navy, #0a1628);
  color: var(--gold, #c8a94a);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  border: 1.5px solid var(--gold, #c8a94a);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.unified-pay-step-body {
  flex-grow: 1;
}

.unified-pay-step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy, #0a1628);
  margin-bottom: 4px;
  font-family: 'Outfit', sans-serif;
}

.unified-pay-step-desc {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.4;
}

.unified-pay-qr-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  position: relative;
}

.unified-pay-qr-card {
  background: #ffffff;
  padding: 12px;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(10,22,40,0.06);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.unified-pay-qr-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  transition: border-color 0.3s;
}

.unified-pay-qr-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(10, 22, 40, 0.12);
  border-color: var(--gold, #c8a94a);
}

.unified-pay-qr-card:hover::after {
  border-color: var(--gold, #c8a94a);
}

.unified-pay-qr-card img {
  width: 160px;
  height: 160px;
  display: block;
  object-fit: contain;
}

.unified-pay-copy-box {
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  margin-top: 4px;
}

.unified-pay-copy-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy, #0a1628);
  letter-spacing: 0.05em;
}

.unified-pay-btn-copy {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.unified-pay-btn-copy:hover {
  background: var(--navy, #0a1628);
  color: var(--gold, #c8a94a);
  border-color: var(--navy, #0a1628);
}

.unified-pay-btn-copy.copied {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.unified-pay-amount-badge {
  font-size: 18px;
  font-weight: 800;
  color: #10b981;
  display: inline-block;
  margin-top: 2px;
}

.unified-pay-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.unified-pay-whatsapp-btn:hover {
  background: #20ba5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.unified-pay-helper-link {
  font-size: 12px;
  color: var(--gold, #c8a94a);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
  display: inline-block;
  margin-top: 6px;
  transition: color 0.2s;
}

.unified-pay-helper-link:hover {
  color: var(--navy, #0a1628);
}

/* Tooltip Guide modal */
.trx-guide-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.trx-guide-overlay.open {
  display: flex;
}

.trx-guide-box {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  position: relative;
}

.trx-guide-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 20px;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
}

.trx-guide-close:hover {
  color: #334155;
}

.trx-guide-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy, #0a1628);
  margin-bottom: 15px;
  border-bottom: 1.5px solid #f1f5f9;
  padding-bottom: 10px;
}

.trx-guide-item {
  margin-bottom: 15px;
}

.trx-guide-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy, #0a1628);
  margin-bottom: 4px;
}

.trx-guide-item-text {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 3px solid var(--gold, #c8a94a);
}

/* Multi-Page Ticket Page-Break System */
table, .t-flight-block-card, .t-notes-section { page-break-inside: avoid !important; break-inside: avoid !important; }

.ticket.t-multi-page .t-top-header-clean { margin-bottom: 6px !important; padding-bottom: 6px !important; }
.ticket.t-multi-page .t-flight-block-card { margin-bottom: 4px !important; }
.ticket.t-multi-page .t-fb-header { padding: 5px 10px !important; font-size: 11.5px !important; }
.ticket.t-multi-page .t-fb-timeline-wrap { padding: 9px 12px !important; }
.ticket.t-multi-page .t-fb-time { font-size: 15.5px !important; line-height: 1.1 !important; }
.ticket.t-multi-page .t-fb-date { font-size: 9.5px !important; margin-top: 1px !important; }
.ticket.t-multi-page .t-fb-airport-name { font-size: 11.5px !important; margin-top: 1px !important; }
.ticket.t-multi-page .t-fb-subdetail { font-size: 9px !important; margin-top: 1px !important; }
.ticket.t-multi-page .t-fb-terminal { font-size: 9px !important; margin-top: 1px !important; }
.ticket.t-multi-page .t-fb-dur { font-size: 10px !important; margin-bottom: 3px !important; }
.ticket.t-multi-page .t-fb-line { margin: 8px 0 !important; }
.ticket.t-multi-page .t-fb-distance { font-size: 9px !important; margin-top: 3px !important; }
.ticket.t-multi-page .t-leg-bar { padding: 5px 10px !important; margin-bottom: 5px !important; margin-top: 5px !important; font-size: 11.5px !important; }
.ticket.t-multi-page .t-transit-connection { margin: 4px 0 !important; padding: 3px 6px !important; font-size: 10px !important; gap: 4px !important; }
.ticket.t-multi-page .t-section-box { margin-bottom: 6px !important; margin-top: 6px !important; }
.ticket.t-multi-page .t-data-table th { padding: 4px 8px !important; font-size: 10px !important; }
.ticket.t-multi-page .t-data-table td { padding: 4px 8px !important; font-size: 10.5px !important; }
.ticket.t-multi-page .t-fare-totals { margin-top: 4px !important; }
.ticket.t-multi-page .t-grand-total { font-size: 11.5px !important; padding-top: 2px !important; }
.ticket.t-multi-page .t-reminders-box { padding: 7px 12px !important; margin-top: 6px !important; margin-bottom: 0 !important; page-break-inside: avoid !important; break-inside: avoid !important; }
.ticket.t-multi-page .t-reminders-title { font-size: 11px !important; margin-bottom: 3px !important; }
.ticket.t-multi-page .t-reminder-grid { gap: 3px !important; }
.ticket.t-multi-page .t-reminder-item { font-size: 9px !important; line-height: 1.25 !important; gap: 5px !important; }
.ticket.t-multi-page .t-reminder-icon { width: 15px !important; height: 15px !important; font-size: 8px !important; }
.ticket.t-multi-page .t-notes-qr img { width: 60px !important; height: 60px !important; }
.ticket.t-multi-page .t-notes-qr span { font-size: 7px !important; margin-top: 1px !important; }

.html2pdf__page-break {
    page-break-before: always !important;
    break-before: page !important;
    break-before: always !important;
    clear: both !important;
    display: block !important;
    height: 1px !important;
    line-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
}

/* Subscription Purchase Success Popup */
.sub-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sub-popup-overlay.show {
  display: flex;
}
.sub-popup-box {
  background: #ffffff;
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.sub-popup-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sub-popup-icon svg {
  width: 34px;
  height: 34px;
}
.sub-popup-title {
  font-size: 22px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 8px;
}
.sub-popup-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 22px;
}
.sub-popup-btn {
  background: #0a1628;
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
  width: 100%;
}
.sub-popup-btn:hover {
  background: #c8a94a;
  color: #0a1628;
}

/* --- Flight Search Loading Skeleton & Progress Bar CSS --- */
@keyframes shimmer {
  0% { background-position: -468px 0; }
  100% { background-position: 468px 0; }
}

.shimmer-bg {
  animation: shimmer 1.5s infinite linear;
  background: linear-gradient(to right, #f1f5f9 8%, #e2e8f0 18%, #f1f5f9 33%);
  background-size: 800px 104px;
}

.search-progress-container {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.search-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.search-progress-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-progress-bar-wrap {
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.search-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0a1628 0%, #c8a94a 100%);
  width: 0%;
  border-radius: 4px;
  transition: width 0.4s ease;
}

.skeleton-flight-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.skeleton-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skeleton-box {
  border-radius: 6px;
}

.skeleton-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}


