﻿/* 
   VoomNow - Complete Stylesheet
   All pages and components styled
*/

:root {
    --primary: #00A859;
    --primary-dark: #008D4A;
    --primary-light: #E6F6EE;
    --secondary: #F9A825;
    --secondary-dark: #E69B1D;
    --text-main: #333333;
    --text-light: #7E7E8C;
    --bg-gray: #F5F5F5;
    --border: #EEEEEE;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --container: 1100px;
    --section-pad: 80px 0;
    --anim-speed: 0.3s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    animation: revealUp 0.8s ease-out forwards;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background: #FFF;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Skeleton & Shimmer Effects */
.v-skeleton {
    background: #EEE;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 4px;
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
    to {
        background-position-x: -200%;
    }
}

#skeleton-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF;
    z-index: 10000;
    display: none;
    padding: 100px 50px;
    animation: fadeIn 0.2s ease-out;
}

.skeleton-card {
    height: 150px;
    margin-bottom: 20px;
}

.skeleton-text {
    height: 20px;
    margin-bottom: 10px;
}

.skeleton-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #FFF;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #FFF;
}

/* Navbar */
.navbar {
    height: 80px;
    background: #FFF;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 14px;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
    line-height: 1;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    background: rgba(0, 0, 0, 0.35);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

.filter-toggle-btn {
    display: none;
}

/* insurance-coverage.php: content + 350px sidebar, reuses .dashboard-grid */
.ins-coverage-grid {
    grid-template-columns: 1fr 350px;
}

/* Scrollable tab bar (my-bookings.php status tabs) */
.booking-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.booking-tabs::-webkit-scrollbar {
    display: none;
}

.booking-tabs a {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0 140px;
    text-align: center;
    color: #FFF;
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
}

/* Search Widget */
.search-section {
    position: relative;
    z-index: 200;
    margin-bottom: 80px;
}

.search-widget {
    background: #FFF;
    display: flex;
    height: 110px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    margin: -55px auto 0;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 20;
    transition: var(--anim-speed);
}

.search-widget:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.search-widget .form-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 25px;
    border-right: 1px solid var(--border);
    position: relative;
    height: 100%;
}

.search-widget .form-group i {
    color: var(--text-light);
    font-size: 18px;
    margin-right: 15px;
}

.input-stack {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.input-stack label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.input-stack input {
    border: none;
    font-size: 16px;
    font-weight: 600;
    padding: 5px 0;
    outline: none;
    width: 100%;
}

.input-stack select {
    border: none;
    font-size: 16px;
    font-weight: 600;
    padding: 5px 0;
    outline: none;
    width: 100%;
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237E7E8C' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    padding-right: 25px;
}

.swap-btn {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #FFF;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--primary);
}

.search-btn {
    background: var(--secondary);
    /* High-contrast Yellow */
    color: #1C1C1C;
    border: none;
    height: 100%;
    padding: 0 50px;
    font-size: 20px;
    font-weight: 800;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    transition: all 0.2s;
}

.search-btn:hover {
    background: var(--secondary-dark);
    transform: scale(1.02);
}

/* Partner Logos */
.partners-strip {
    background: #FFF;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.partners-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.partners-logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    opacity: 0.6;
    filter: grayscale(1);
    transition: 0.3s;
}

.partners-logo-grid span {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.partners-logo-grid img {
    height: 28px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.partners-logo-grid:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Live Ticker Styling */
.live-ticker {
    background: #1C1C1C;
    color: #FFF;
    padding: 10px 0;
    overflow: hidden;
    height: 40px;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: flex;
    gap: 100px;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ticker-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
}

/* Trust Stats */
.stats-strip {
    background: #FFF;
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.stats-container {
    display: flex;
    justify-content: space-around;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-box i {
    font-size: 32px;
    color: var(--primary);
}

.stat-box h3 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    color: var(--primary);
}

.stat-box p {
    color: var(--text-light);
    font-size: 14px;
}

/* Section Headers */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-left {
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
}

.section-title-large {
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 16px;
    margin-top: 10px;
}

.section-badge {
    color: var(--primary);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.view-all-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 20px;
}

/* Offers */
.offers-section {
    padding: var(--section-pad);
    background: var(--bg-gray);
}

.offers-container {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.offers-container::-webkit-scrollbar {
    display: none;
}

.offer-card {
    min-width: 320px;
    padding: 25px;
    border-radius: 16px;
    color: #FFF;
    display: flex;
    gap: 20px;
    cursor: pointer;
    transition: 0.3s;
    /* Fallback background so a card is never invisible (white-on-light) if no
       promo-N color scheme class is present â€” always visible by default. */
    background: linear-gradient(135deg, #FF7E5F, #FEB47B);
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.offer-card.promo-1 {
    background: linear-gradient(135deg, #FF7E5F, #FEB47B);
}

.offer-card.promo-2 {
    background: linear-gradient(135deg, #6A11CB, #2575FC);
}

.offer-card.promo-3 {
    background: linear-gradient(135deg, #11998E, #38EF7D);
}

.offer-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.offer-info h4 {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 2px;
}

.offer-info h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

.offer-code {
    display: inline-block;
    padding: 4px 12px;
    border: 1px dashed #FFF;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

/* Routes */
.popular-routes {
    padding: var(--section-pad);
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.route-card {
    background: #FFF;
    border: 1px solid var(--border);
    padding: 20px 25px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.route-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.route-info {
    display: flex;
    gap: 10px;
    align-items: center;
}

.route-info span {
    color: var(--text-light);
    font-size: 14px;
}

/* Safety */
.safety-section {
    padding: var(--section-pad);
    background: #FFF;
}

.safety-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.safety-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.safety-item {
    display: flex;
    gap: 15px;
}

.safety-item i {
    font-size: 24px;
    color: #2E7D32;
}

.safety-item h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.safety-item p {
    font-size: 13px;
    color: var(--text-light);
}

/* Support */
.support-banner {
    background: var(--bg-gray);
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.support-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.support-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.support-icon {
    width: 50px;
    height: 50px;
    background: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    font-size: 20px;
}

.support-text h4 {
    font-weight: 800;
    font-size: 16px;
}

.support-text p {
    font-size: 13px;
    color: var(--text-light);
}

.btn-verify {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-verify:hover {
    background: var(--primary);
    color: #FFF;
}

/* Features */
.features {
    padding: var(--section-pad);
    background: var(--bg-gray);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #FFF;
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.feature-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.feature-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* Mobile App */
.mobile-app {
    padding: var(--section-pad);
    background: #FFF;
}

.mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.app-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
}

.app-content p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.app-points {
    margin: 30px 0 40px;
}

.app-points li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 15px;
}

.app-points li i {
    color: #4CAF50;
}

.download-btns {
    display: flex;
    gap: 20px;
}

.store-btn {
    background: #000;
    color: #FFF;
    padding: 10px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-btn i {
    font-size: 24px;
}

.store-btn div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-btn span {
    font-size: 10px;
    opacity: 0.8;
}

.store-btn strong {
    font-size: 16px;
}

.app-image img {
    width: 100%;
    max-width: 450px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* Refer & Earn */
.refer-earn-section {
    padding: var(--section-pad);
}

.refer-card {
    background: var(--primary-light);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.refer-info {
    flex: 1;
}

.btn-refer {
    background: var(--primary);
    color: #FFF;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 800;
    display: inline-block;
    margin-top: 20px;
}

.refer-graphic i {
    font-size: 180px;
    color: var(--primary);
    opacity: 0.8;
}

/* Testimonials */
.testimonials {
    padding: var(--section-pad);
    background: var(--bg-gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-light);
}

.user-info h5 {
    margin: 0;
    font-size: 16px;
}

.stars {
    color: #FFB800;
    font-size: 14px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* FAQ */
.faq-section {
    padding: var(--section-pad);
    background: var(--bg-gray);
}

.faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: #FFF;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-header {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
}

.faq-header i {
    transition: 0.3s;
    color: var(--primary);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
    background: #FAFAFA;
}

.faq-body p {
    padding: 0 25px 25px;
    font-size: 14px;
    color: var(--text-light);
}

.faq-item.active .faq-body {
    max-height: 200px;
    padding-top: 10px;
}

.faq-item.active .faq-header i {
    transform: rotate(45deg);
}

/* Partners */
.partners-strip {
    padding: 60px 0;
    background: #FFF;
    border-top: 1px solid var(--border);
    text-align: center;
}

.partners-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #BBB;
    display: block;
    margin-bottom: 30px;
}

.partners-logo-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.partners-logo-grid span {
    font-size: 18px;
    font-weight: 900;
    color: #DDD;
}

.partners-logo-grid img {
    height: 28px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(1);
    transition: 0.3s;
}

.partners-logo-grid img:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* SEO Links */
.seo-footer-links {
    padding: 60px 0;
    background: #FFF;
    border-top: 1px solid var(--border);
}

.seo-link-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.seo-link-col h5 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--secondary);
}

.seo-link-col ul li {
    margin-bottom: 12px;
}

.seo-link-col a {
    color: var(--text-light);
    font-size: 13px;
}

.seo-link-col a:hover {
    color: var(--primary);
}

/* Newsletter */
.newsletter-strip {
    background: var(--secondary);
    color: #FFF;
    padding: 60px 0;
}

.newsletter-strip .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsletter-content h3 {
    font-size: 24px;
    font-weight: 800;
}

.newsletter-content p {
    opacity: 0.8;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    background: #FFF;
    padding: 5px;
    border-radius: 40px;
    width: 450px;
}

.newsletter-form input {
    border: none;
    padding: 10px 20px;
    flex: 1;
    outline: none;
    border-radius: 40px;
}

.newsletter-form button {
    background: var(--primary);
    color: #FFF;
    border: none;
    padding: 10px 30px;
    border-radius: 40px;
    font-weight: 800;
    cursor: pointer;
}

/* Footer */
footer {
    padding: 60px 0 20px;
    border-top: 1px solid var(--border);
    color: #BBB;
    font-size: 12px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-light);
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #DDD;
    padding-top: 20px;
    font-size: 12px;
    color: #999;
}

/* SEARCH RESULTS PAGE */
.search-header-bar {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.search-summary-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.route-info {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.route-info .date-span {
    font-weight: 400;
    color: var(--text-light);
    margin-left: 10px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 40px 0;
    background: var(--bg-gray);
    min-height: 80vh;
}

.filter-sidebar {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border);
    height: fit-content;
}

.filter-section {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section h5 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-main);
    cursor: pointer;
}

.filter-option input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.trip-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--border);
    padding: 0;
    margin-bottom: 25px;
    overflow: hidden;
    transition: 0.2s;
}

.trip-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.trip-card-body {
    padding: 30px;
    display: grid;
    grid-template-columns: 1.5fr 3fr 1.5fr;
    gap: 20px;
    align-items: center;
}

.operator-details h4 {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 5px;
}

.operator-details p {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trip-timing {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.time-box {
    text-align: center;
}

.time-box .time {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
}

.time-box .city {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 5px;
}

.trip-duration {
    text-align: center;
    position: relative;
    min-width: 120px;
}

.duration-line {
    height: 1px;
    background: #DDD;
    width: 100%;
    position: relative;
    margin-bottom: 5px;
}

.duration-line::before,
.duration-line::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #DDD;
    border-radius: 50%;
    position: absolute;
    top: -3px;
}

.duration-line::before {
    left: 0;
}

.duration-line::after {
    right: 0;
}

.duration-text {
    font-size: 12px;
    color: var(--text-light);
}

.trip-pricing {
    text-align: right;
}

.trip-pricing .price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.trip-card-footer {
    background: #F9F9F9;
    padding: 15px 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amenity-icons {
    display: flex;
    gap: 15px;
    color: var(--text-light);
    font-size: 14px;
}

.seats-left {
    font-size: 13px;
    font-weight: 700;
    color: #2E7D32;
}

/* SEAT SELECTION */
.seat-selection-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    padding: 40px 0;
    background: var(--bg-gray);
}

.bus-canvas {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.bus-hull {
    max-width: 400px;
    margin: 0 auto;
    border: 2px solid #DDD;
    border-radius: 40px 40px 10px 10px;
    padding: 60px 30px 30px;
    position: relative;
}

.bus-hull::before {
    content: 'FRONT';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 800;
    color: #BBB;
    letter-spacing: 2px;
}

.seat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.aisle {
    grid-column: 3;
    width: 20px;
}

.seat-item {
    width: 45px;
    height: 45px;
    border: 1px solid #CCC;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
}

.seat-item.available:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.seat-item.booked {
    background: #EEE;
    color: #BBB;
    border-color: #EEE;
    cursor: not-allowed;
}

.seat-item.selected {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.booking-sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-section h5 {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.price-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 15px;
}

/* AUTHENTICATION PAGES */
.auth-page {
    background: var(--bg-gray);
    padding: 80px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.auth-card {
    background: #fff;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.auth-card h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 700;
}

.form-group-auth {
    margin-bottom: 20px;
}

.form-group-auth label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input-auth {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 15px;
    transition: 0.2s;
}

.form-input-auth:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* DASHBOARD */
.dashboard-container {
    padding: 40px 0;
    min-height: calc(100vh - 80px);
    background: var(--bg-gray);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

.user-sidebar {
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid var(--border);
    text-align: center;
    background: var(--bg-gray);
}

.sidebar-header h4 {
    font-size: 16px;
    color: var(--text-main);
}

.sidebar-header p {
    font-size: 13px;
    color: var(--text-light);
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
    transition: 0.2s;
    font-size: 14px;
    font-weight: 500;
}

.sidebar-nav a:last-child {
    border-bottom: none;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--primary-light);
    color: var(--primary);
}

.sidebar-nav a i {
    width: 20px;
    text-align: center;
}

.dash-main {
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--border);
    padding: 40px;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dash-header h2 {
    font-size: 24px;
}

/* TABLES */
.table-container {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.v-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.v-table th {
    background: var(--bg-gray);
    padding: 15px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    border-bottom: 2px solid var(--border);
}

.v-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.v-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.status-confirmed {
    background: #E8F5E9;
    color: #2E7D32;
}

.status-pending {
    background: #FFF3E0;
    color: #EF6C00;
}

.status-cancelled {
    background: #FFEBEE;
    color: #C62828;
}

.status-upcoming {
    background: #E3F2FD;
    color: #1565C0;
}

.status-missed {
    background: #F5F5F5;
    color: #616161;
}

.stat-grid-dash {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card-dash {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card-dash i {
    font-size: 24px;
    color: var(--primary);
    background: var(--primary-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card-dash h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.stat-card-dash p {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .search-widget {
        height: auto;
        flex-direction: column;
        margin-top: -100px;
        padding: 20px;
    }

    .search-widget .form-group {
        border-right: none;
        border-bottom: 1px solid var(--border);
        width: 100%;
        padding: 20px 15px;
        height: auto;
    }

    .input-stack select:last-child {
        margin-top: 5px !important;
        border-top: 1px solid #f9f9f9;
        padding-top: 10px;
    }

    .search-btn {
        width: 100%;
        border-radius: var(--radius);
        height: 60px;
        margin-top: 10px;
    }

    .safety-card,
    .mobile-grid,
    .refer-card {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .safety-grid,
    .route-grid,
    .seo-link-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .stats-container {
        flex-direction: column;
        gap: 30px;
    }

    .newsletter-strip .container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .search-results-grid,
    .seat-selection-grid,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .search-results-grid > *,
    .seat-selection-grid > * {
        min-width: 0;
    }

    .refer-card {
        padding: 30px 25px;
    }

    .refer-graphic i {
        font-size: 100px;
    }

    .trip-card-body {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .trip-pricing {
        text-align: center;
    }

    .trip-timing {
        flex-direction: column;
        gap: 10px;
    }

    .testimonial-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   RESPONSIVE NAVBAR (hamburger menu)
   =================================== */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }

    .navbar .container {
        position: relative;
    }

    .logo {
        font-size: 20px;
    }

    .nav-hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 70px);
        background: #FFF;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
        box-shadow: var(--shadow-md);
        z-index: 999;
        padding: 10px 0;
    }

    .nav-links.open {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links a {
        width: 100%;
        padding: 15px 25px;
        border-bottom: 1px solid var(--border);
        font-size: 15px;
    }

    .nav-links a.btn {
        width: calc(100% - 50px);
        margin: 15px 25px;
        text-align: center;
        border-bottom: none;
        padding: 12px 25px;
    }

    .nav-notif-wrap {
        margin: 5px 25px !important;
        width: fit-content;
    }

    .nav-overlay {
        top: 70px;
        height: calc(100% - 70px);
    }
}

/* ===================================
   RESPONSIVE DASHBOARD STYLES
   =================================== */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: #fff;
    border: 1px solid var(--border);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    width: 100%;
    text-align: left;
    cursor: pointer;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 14px;
    align-items: center;
    gap: 10px;
}

.mobile-menu-toggle i {
    transition: transform 0.3s;
}

.mobile-menu-toggle.active i {
    transform: rotate(180deg);
}

/* Tablet Breakpoint (max-width: 900px) */
@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Prevent 1fr grid tracks from stretching to fit wide intrinsic
       content (e.g. tables, long buttons) and blowing out the viewport */
    .dashboard-grid,
    .dashboard-grid > * {
        min-width: 0;
    }

    /* settings.php custom sidebar layout (not part of .dashboard-grid) */
    .settings-layout {
        flex-direction: column !important;
    }

    .settings-sidebar {
        width: 100% !important;
    }

    .user-sidebar {
        display: none;
        margin-bottom: 20px;
    }

    .user-sidebar.active {
        display: block;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .stat-grid-dash {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .dash-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .dash-header .btn {
        width: 100%;
    }

    .dash-main {
        padding: 25px 20px;
    }

    /* Table Responsiveness */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .v-table {
        min-width: 600px;
    }

    .v-table th,
    .v-table td {
        padding: 12px 15px;
        font-size: 13px;
    }
}

/* Mobile Breakpoint (max-width: 600px) */
@media (max-width: 600px) {
    .dashboard-container {
        padding: 20px 0;
    }

    .container {
        padding: 0 15px;
    }

    .dash-main {
        padding: 20px 15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .dash-header h2 {
        font-size: 20px;
    }

    .stat-card-dash {
        padding: 20px;
    }

    .stat-card-dash i {
        font-size: 24px;
    }

    .stat-card-dash p {
        font-size: 12px;
    }

    .stat-card-dash h3 {
        font-size: 20px;
    }

    /* Sidebar Adjustments */
    .sidebar-header {
        padding: 20px 15px;
    }

    .sidebar-header h4 {
        font-size: 15px;
    }

    .sidebar-header p {
        font-size: 12px;
    }

    .sidebar-nav a {
        padding: 12px 20px;
        font-size: 13px;
    }

    /* Table Mobile View */
    .v-table {
        min-width: 100%;
        font-size: 12px;
    }

    .v-table th,
    .v-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .v-table th {
        font-size: 10px;
    }

    /* Status badges */
    .status-badge {
        padding: 4px 10px;
        font-size: 11px;
    }

    /* Search Results Mobile */
    .search-results-grid {
        grid-template-columns: 1fr;
        padding: 20px 0;
    }

    .filter-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        background: #fff;
        border: 1px solid var(--border);
        color: var(--primary);
        font-weight: 700;
        font-size: 14px;
        padding: 12px 20px;
        border-radius: 8px;
        cursor: pointer;
        margin-top: 15px;
    }

    .filter-toggle-btn.active {
        border-color: var(--primary);
        background: var(--primary-light);
    }

    .filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1001;
    }

    .filter-overlay.active {
        display: block;
    }

    .filter-sidebar {
        display: none;
    }

    .filter-sidebar.open {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 340px;
        height: 100%;
        overflow-y: auto;
        z-index: 1002;
        border-radius: 0;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        -webkit-overflow-scrolling: touch;
    }

    .trip-card-body {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 15px;
    }

    .trip-timing {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .trip-pricing {
        text-align: center;
    }

    .trip-pricing .price {
        font-size: 22px;
    }

    /* Seat Selection Mobile */
    .seat-selection-grid {
        grid-template-columns: 1fr;
        padding: 20px 0;
    }

    .bus-canvas {
        padding: 20px;
    }

    .bus-hull {
        padding: 40px 20px 20px;
    }

    .seat-row {
        gap: 10px;
        margin-bottom: 10px;
    }

    .seat-item {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .booking-sidebar {
        position: static;
        margin-top: 20px;
    }

    /* Search Header Mobile */
    .search-summary-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .route-info {
        font-size: 14px;
    }

    .route-info .date-span {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }

    /* My Bookings Page */
    .booking-card {
        padding: 20px 15px;
    }

    /* Manage Booking Page */
    .booking-details-grid {
        grid-template-columns: 1fr;
    }

    /* Cancel Booking Page */
    .refund-summary {
        padding: 20px;
    }

    /* Wallet Page */
    .wallet-header {
        flex-direction: column;
        text-align: center;
    }

    .wallet-balance {
        font-size: 32px;
    }

    .transaction-list {
        padding: 15px;
    }

    .wallet-balance-card {
        padding: 25px !important;
    }

    .wallet-balance-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px;
    }

    .wallet-balance-amount {
        font-size: 36px !important;
    }

    .wallet-topup-btn {
        width: 100%;
        justify-content: center !important;
        padding: 14px 20px !important;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Newsletter strip: fixed-width form */
    .newsletter-form {
        width: 100%;
    }

    /* Insurance policy cards grid (auto-fill minmax 350px is too wide) */
    .insurance-policy-grid {
        grid-template-columns: 1fr !important;
    }

    /* insurance-coverage.php content+sidebar grid */
    .ins-coverage-grid {
        grid-template-columns: 1fr !important;
    }
}


/* Extra Small Mobile (max-width: 400px) */
@media (max-width: 400px) {
    .stat-card-dash {
        padding: 15px;
    }

    .stat-card-dash h3 {
        font-size: 18px;
    }

    .dash-header h2 {
        font-size: 18px;
    }

    .seat-item {
        width: 35px;
        height: 35px;
        font-size: 11px;
    }

    .seat-row {
        gap: 8px;
    }
}
