/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Allow absolute positioning for logo */
}

.nav-brand .brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    position: absolute; /* Take logo out of document flow */
    top: -60px;
    left: 0;
    z-index: 1001; /* Ensure logo is on top */
    transition: transform 0.3s ease;
}

.nav-brand .brand-link:hover {
    transform: scale(1.05);
}

.brand-logo {
    height: 180px; /* 3x original size */
}

.brand-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
    color: #333;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto; /* Align menu to the right */
    padding-left: 250px; /* Add space to avoid overlapping the large logo */
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
    background-color: #f3f4f6;
}

.btn-login {
    background: #2563eb;
    color: white !important;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
}

.btn-login:hover {
    background: #1d4ed8;
    color: white !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
    .hero {
        padding: 2rem 0;
        min-height: 350px; /* Default height for mobile */
        display: flex;
        align-items: center;
        transition: min-height 0.3s ease; /* Smooth transition */
    }

    /* Larger hero banner for desktop */
    @media (min-width: 992px) {
        .hero {
            min-height: 480px; /* Increased height for desktop */
        }
    }

/* Dynamic Banner Background */
.hero.monday { background-image: url('/banner/banner_T2.png'); }
.hero.tuesday { background-image: url('/banner/banner_T3.png'); }
.hero.wednesday { background-image: url('/banner/banner_T4.png'); }
.hero.thursday { background-image: url('/banner/banner_T5.png'); }
.hero.friday { background-image: url('/banner/banner_T6.png'); }
.hero.saturday { background-image: url('/banner/banner_T7.png'); }
.hero.sunday { background-image: url('/banner/banner_CN.png'); }

.hero.monday, .hero.tuesday, .hero.wednesday, .hero.thursday, .hero.friday, .hero.saturday, .hero.sunday {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
    animation: float 6s ease-in-out infinite;
}

.hero-icon {
    font-size: 8rem;
    color: white;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Hero Search Section */
.hero-search {
    width: 100%;
    max-width: 1000px;
    margin-top: 105px;
}

.search-form-wrapper {
    background: none;
    padding: 0;
    border-radius: 12px;
    box-shadow: none;
    border: none;
}

.search-form {
    display: none;
}

.form-group {
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-label i {
    color: #6b7280;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.swap-button {
    display: none;
}

.search-btn {
    display: none;
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    max-height: 250px; /* Increased height */
    overflow-y: auto;
    z-index: 1001; /* Higher z-index */
    display: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* New Search Form Styles */
.search-form-new {
    display: flex;
    width: 100%;
    background: white;
    border-radius: 50px; /* Make it rounded */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    height: 65px;
    align-items: center;
    transition: all 0.2s ease;
}

.search-form-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.15);
}

.search-inputs {
    display: flex;
    flex: 1; /* Takes up available space */
    align-items: center;
    padding: 0 25px;
    height: 100%;
}

.form-group-new {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    height: 100%;
    padding: 0 15px;
}

/* Add separators */
.form-group-new:not(:last-child) {
    border-right: 1px solid #e5e7eb;
}


.form-group-new .form-input-new {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    padding-left: 30px; /* More space for bigger icon */
    background: transparent;
    height: 100%;
    color: #333;
    font-weight: 600; /* Bolder font */
}

.form-input-new::placeholder {
    color: #9ca3af;
    font-weight: 600; /* Bolder placeholder */
}

/* Style for date input to remove default icon */
.form-input-new[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

.form-group-new.date-group-new {
    padding-left: 25px; /* Add padding to the group */
}

.form-group-new i {
    position: absolute;
    left: 0;
    font-size: 1.1rem; /* Increased icon size */
}

.form-group-new.date-group-new i {
    left: 10px; /* Adjust icon position within the group */
}

.form-group-new .icon-start {
    color: #2563eb; /* Blue color */
}
.form-group-new .icon-end {
    color: #dc2626; /* Red color */
}
.form-group-new .icon-date {
    color: #2563eb; /* Blue color */
}

.swap-button-new {
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 15px;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.swap-button-new:hover {
    transform: rotate(180deg);
    background: #e5e7eb;
}

.swap-button-new i {
    color: #333;
    font-size: 1rem;
}

.search-button-new {
    width: 20%;
    min-width: 150px; /* Minimum width */
    background: #2563eb; /* Blue color */
    color: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 100%;
    border-radius: 0; /* No radius on the button itself */
}

/* Mobile Download Buttons (Hidden by default) */
.mobile-download-section {
    display: none;
}

.search-button-new:hover {
    background: #1d4ed8; /* Darker blue */
}


/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3rem;
    position: relative;
}

.title-underline {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
}

/* Popular Routes */
.popular-routes {
    padding: 4rem 0;
    background: #f9fafb;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.route-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
}

.route-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.route-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.route-cities {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.from-city,
.to-city {
    font-weight: 600;
    color: #111827;
}

.route-cities i {
    color: #6b7280;
}

.route-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e53e3e;
}

.route-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #718096;
}

.route-info i {
    color: #6b7280;
    margin-right: 0.25rem;
}

.route-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.route-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Features */
.features {
    padding: 4rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: #f8fffe;
    border: 1px solid rgba(224, 247, 243, 0.5);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 128, 128, 0.1);
    background: white;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #20b2aa 0%, #4dd0e1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #008080;
    margin-bottom: 1rem;
}

.feature-desc {
    color: #718096;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: center; /* Center content vertically */
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    margin-bottom: 1rem;
}

.footer-brand .brand-icon {
    color: white;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
}

.brand-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #374151;
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f3f4f6;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #d1d5db;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: #d1d5db;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.6);
}

.footer-policies {
    display: flex;
    gap: 2rem;
}

.footer-policies a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: #d1d5db;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dual-columns {
        flex-direction: column;
        gap: 2rem; /* Adjust gap for vertical layout */
    }

    .promo-column,
    .news-column {
        flex: none; /* Remove flex sizing */
        width: 100%; /* Take full width */
    }

    /* Fix promotions and news grid containers for mobile */
    .promotions-grid-container, .news-grid-container {
        height: auto; /* Remove fixed height on mobile */
        max-height: 600px; /* Set max height instead */
        margin-bottom: 2rem; /* Add spacing between sections */
    }

    /* Adjust grid layout for mobile */
    .promotions-grid, .news-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    /* Make cards full width on mobile */
    .promotion-card, .news-card {
        width: 100%;
        margin-bottom: 0;
    }
    .nav-brand .brand-link {
        position: static; /* Fix logo position */
        top: auto;
        left: auto;
    }
    .brand-logo {
        height: 100px; /* Adjust logo size for mobile */
    }
    .nav-menu {
        position: fixed;
        top: 60px; /* Adjust menu position based on new header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: #ffffff; /* White background */
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    .nav-link:hover,
    .nav-link.active {
        color: #2563eb;
        background-color: #f3f4f6;
    }
    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero {
        padding: 2rem 0; /* Reduce hero padding */
        min-height: 450px; /* Increased height for better mobile display */
        position: relative; /* Needed for absolute positioning of children */
    }

    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-search {
        display: none; /* Hide search bar on mobile */
    }

    .mobile-download-section {
        display: block; /* Show the new section on mobile */
        position: absolute;
        bottom: -100px; /* Use fixed value for more predictable positioning */
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        padding: 0;
        background-color: transparent;
        z-index: 5; /* Ensure it's on top */
    }

    .hero-download-app {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }

    .download-title {
        font-size: 1.1rem;
        color: white; /* Change text color to white */
        font-weight: 600;
        text-shadow: 0 1px 3px rgba(0,0,0,0.5); /* Add text shadow for readability */
        white-space: nowrap; /* Prevent text from wrapping */
    }

    .download-buttons {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }

    .download-buttons a img {
        height: 50px; /* Adjust button size */
        width: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-illustration {
        width: 200px;
        height: 200px;
    }

    .hero-icon {
        font-size: 5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .search-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .swap-button {
        order: 3;
        justify-self: center;
        margin: 0;
    }

    .search-btn {
        order: 5;
    }

    .routes-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-policies {
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .search-form-wrapper {
        padding: 1rem;
        margin: 0 10px;
    }

    .hero-stats {
        gap: 1rem;
    }

    .route-card {
        padding: 1rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Login Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
    animation: slideInUp 0.3s ease;
    position: relative;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.auth-tabs {
    display: flex;
    background: #f8fafc;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 2rem;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
}

.auth-tab.active {
    background: white;
    color: #1e40af;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #f9fafb;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.otp-container {
    display: none;
}

.otp-container.show {
    display: block;
}

.otp-inputs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.otp-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.auth-button {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
}

.auth-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.auth-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.zalo-button {
    width: 100%;
    background: linear-gradient(135deg, #0194f3 0%, #0180d7 100%);
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.zalo-button:hover {
    background: linear-gradient(135deg, #0180d7 0%, #016bb8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(1, 148, 243, 0.3);
}

.zalo-icon {
    width: 20px;
    height: 20px;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: #9ca3af;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
    z-index: 1;
}

.divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.resend-otp {
    text-align: center;
    margin-top: 1rem;
}

.resend-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.resend-link:hover {
    text-decoration: underline;
}

.countdown {
    color: #6b7280;
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(30px);
        opacity: 0;
    }
}

.modal.hide .modal-content {
    animation: slideOutDown 0.3s ease;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    padding: 0.25rem;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
}

.auth-tab.active {
    background: white;
    color: #3b82f6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Login Methods */
.login-methods {
    display: none;
    margin: 1.5rem 0;
}

.login-methods.show {
    display: block;
    animation: slideInUp 0.3s ease;
}

.method-button {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.method-button:hover {
    border-color: #3b82f6;
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.method-button i {
    font-size: 1.2rem;
    color: #3b82f6;
}

.method-button.zalo-method:hover {
    border-color: #0194f3;
}

.method-button.zalo-method i {
    color: #0194f3;
}

/* Password Container */
.password-container, .otp-container {
    display: none;
    margin-top: 1.5rem;
}

.password-container.show, .otp-container.show {
    display: block;
    animation: slideInUp 0.3s ease;
}

/* Form Group Select */
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #f9fafb;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Loading animation */
.loading {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Register Steps */
.register-step {
    display: none;
}

.register-step.active {
    display: block;
    animation: slideInUp 0.3s ease;
}

.register-step:first-child {
    display: block;
}

/* Date Picker */
.date-picker {
    display: flex;
    gap: 0.5rem;
}

.date-picker select {
    flex: 1;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #f9fafb;
    cursor: pointer;
}

.date-picker select:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Step Progress Indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: all 0.2s ease;
}

.step-dot.active {
    background: #3b82f6;
}

.step-dot.completed {
    background: #10b981;
}

/* Register OTP Inputs */
.register-otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* User Menu */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-menu:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.user-avatar {
    position: relative;
    width: 32px;
    height: 32px;
    margin-right: 0.75rem;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-name {
    font-weight: 500;
    color: white;
    font-size: 0.95rem;
}

.dropdown-icon {
    color: white;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.user-menu.active .dropdown-icon {
    transform: rotate(180deg);
}

/* User Dropdown */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    min-width: 320px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px 12px 0 0;
}

.user-avatar-large {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3b82f6;
}

.avatar-placeholder-large {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    border: 3px solid #3b82f6;
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-name-large {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-phone {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.125rem;
}

.user-email {
    font-size: 0.85rem;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0;
}

.dropdown-menu {
    padding: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    color: #6b7280;
}

.logout-btn {
    color: #dc2626 !important;
}

.logout-btn:hover {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.logout-btn i {
    color: #dc2626 !important;
}

/* Mobile User Menu */
@media (max-width: 768px) {
    .user-dropdown {
        right: -1rem;
        left: -1rem;
        min-width: auto;
    }
    
    .dropdown-header {
        padding: 1rem;
    }
    
    .user-avatar-large {
        width: 50px;
        height: 50px;
    }
    
    .user-name-large {
        font-size: 1rem;
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem;
    }
}

/* Popular Routes - Rewritten for clarity and stability */
.routes-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem; /* Reduced gap */
    margin-top: 2rem;
    padding: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar */
}

.routes-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}

.route-card {
    flex-shrink: 0;
    width: 250px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease-in-out;
    border: 1px solid #e5e7eb;
    cursor: pointer;
}

.route-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.route-image {
    height: 140px;
    overflow: hidden;
}

.route-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.route-content {
    padding: 0.75rem;
}

.route-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.bus-company {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-logo {
    display: none; /* Hide logo */
}

.company-name {
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.route-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #dc2626;
}

.route-footer {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
    text-align: right;
}

.route-card-cities {
    margin-bottom: 0.75rem;
}

.route-card-city {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
}

.route-card-city:not(:last-child) {
    margin-bottom: 0.5rem;
}

.route-card-city i {
    font-size: 0.8rem;
    width: 12px;
    text-align: center;
    margin-top: 3px;
    flex-shrink: 0;
}

.route-card-city .icon-start { color: #2563eb; }
.route-card-city .icon-end { color: #dc2626; }

.city-text {
    font-size: 0.9rem;
    line-height: 1.3;
}

.city-label {
    font-weight: 500;
    color: #6b7280;
    margin-right: 4px;
}

.city-name {
    font-weight: 500;
    color: #1f2937;
}

.route-info {
    display: flex;
    justify-content: flex-end; /* Align rating to the right */
    align-items: center;
    font-size: 0.85rem;
    color: #6b7280;
    border-top: 1px solid #f3f4f6;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

.route-time,
.route-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.route-rating i {
    color: #fbbf24;
}



/* Route Detail Modal */
.route-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.route-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.route-modal.hide {
    animation: fadeOut 0.3s ease;
}

.route-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    max-height: 90vh;
    width: 90%;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    animation: slideInUp 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: #20b2aa transparent;
}

.route-modal-content::-webkit-scrollbar {
    width: 6px;
}

.route-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.route-modal-content::-webkit-scrollbar-thumb {
    background: #20b2aa;
    border-radius: 3px;
}

.route-modal.hide .route-modal-content {
    animation: slideOutDown 0.3s ease;
}

.route-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.route-modal-close:hover {
    background: white;
    transform: scale(1.1);
}

.route-modal-header {
    position: relative;
}

.route-modal-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.route-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.route-modal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.route-modal-badge {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.route-modal-cities {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}

.route-modal-cities i {
    color: #60a5fa;
}

.route-modal-body {
    padding: 2rem;
}

.route-company-info {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.route-company-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #e5e7eb;
}

.company-details {
    flex: 1;
}

.company-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.route-cities-info {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #d1d5db;
}

/* Dual Section Layout */
.dual-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.dual-columns {
    display: flex;
    gap: 2rem;
}

.promo-column, .news-column {
    flex: 1;
}

.promotions-grid-container, .news-grid-container {
    height: 500px; /* Use fixed height */
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    position: relative; /* For sticky positioning context */
    padding: 0; /* Remove padding from container */
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.promotions-grid-container::-webkit-scrollbar, .news-grid-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.section-title-center {
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    border-bottom: 1px solid #e5e7eb;
}

.section-title-center .title-underline {
    left: 50%;
    transform: translateX(-50%);
    bottom: 1rem; /* Adjust position */
}

/* Promotions and News Grids */
.promotions-grid, .news-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem; /* Add padding to the content grid instead */
}

/* Individual Cards - Vertical Layout */
.promotion-card, .news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease-in-out;
    border: 1px solid #e5e7eb;
}

.promotion-card:hover, .news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.promotion-image, .news-image {
    height: 180px; /* Taller image */
    width: 100%;
}

.promotion-image img, .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promotion-content, .news-content {
    padding: 1rem;
}

.promotion-title, .news-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-excerpt {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-read-more {
    display: inline-block;
    margin-top: 0.5rem;
    align-self: flex-start; /* Align to the left */
}

/* Show More Button */
.show-more-container {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

.btn-show-more {
    background: transparent;
    border: 1px solid #2563eb;
    color: #2563eb;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: none; /* Hidden by default */
}

.btn-show-more:hover {
    background: #2563eb;
    color: white;
}

/* Footer Download Buttons */
.footer-download-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-download-buttons a img {
    height: 30px; /* Small size */
    width: auto;
}

/* My Tickets Modal */
.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1rem; /* For scrollbar */
}

.ticket-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.ticket-item h4 {
    grid-column: 1 / -1; /* Span full width */
    margin-bottom: 0.5rem;
}


/* Promotions and News Sections */
.promotions, .news {
    padding: 4rem 0;
}

.promotions {
    background: #f9fafb;
}

.news {
    background: white;
}

.promotions-grid, .news-grid {
    display: grid;
    gap: 2rem;
}

.promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.news-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Promotion Card */
.promotion-card, .news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease-in-out;
    border: 1px solid #e5e7eb;
}

.promotion-card:hover, .news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.promotion-image, .news-image {
    height: 160px;
    overflow: hidden;
}

.promotion-image img, .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promotion-content, .news-content {
    padding: 1.5rem;
}

.promotion-title, .news-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.promotion-description, .news-excerpt {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.promotion-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promotion-points {
    font-weight: 600;
    color: #2563eb;
}

.btn-redeem, .btn-read-more {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
}

.btn-redeem:hover, .btn-read-more:hover {
    background: #1d4ed8;
}


.cities-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.route-modal-from-text, .route-modal-to-text {
    font-weight: 600;
    color: #1f2937;
    font-size: 1.1rem;
}

.route-arrow {
    color: #20b2aa;
    font-size: 1.2rem;
}

#ratingStars {
    display: flex;
    gap: 2px;
}

#ratingStars i {
    font-size: 1rem;
    transition: color 0.3s ease;
}

#ratingText {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.stars {
    color: #fbbf24;
    margin-right: 0.5rem;
}

.rating-text {
    color: #6b7280;
    font-size: 0.9rem;
}

.route-price-large {
    font-size: 1.4rem;
    font-weight: 700;
    color: #dc2626;
}

.route-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item i {
    color: #3b82f6;
    width: 20px;
}

.detail-label {
    font-weight: 500;
    color: #6b7280;
    min-width: 100px;
}

.detail-value {
    font-weight: 600;
    color: #1f2937;
}

.route-gallery {
    margin-bottom: 2rem;
}

.route-gallery h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.route-features {
    margin-bottom: 2rem;
}

.route-features h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #374151;
}

.feature-item i {
    color: #3b82f6;
    width: 16px;
}

.route-modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    flex: 1;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: #e5e7eb;
    color: #374151;
}

.btn-secondary:hover {
    background: #d1d5db;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.loading-reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #6b7280;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.review-count {
    font-size: 0.9rem;
    color: #6b7280;
}
inear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: #e5e7eb;
    color: #374151;
}

.btn-secondary:hover {
    background: #d1d5db;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.loading-reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #6b7280;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.review-count {
    font-size: 0.9rem;
    color: #6b7280;
}
nt {
    font-size: 0.9rem;
    color: #6b7280;
}
 {
    font-size: 0.9rem;
    color: #6b7280;
}
nt {
    font-size: 0.9rem;
    color: #6b7280;
}
