/* ============================================================
   Moonways - Main Stylesheet
   Premium Bus Transport Company Website
   
   Table of Contents:
   1. CSS Variables & Reset
   2. Typography & Base Styles
   3. Layout & Container
   4. Header & Navigation
   5. Hero Section
   6. Features Section
   7. Routes Section
   8. Why Choose Us Section
   9. Fleet Section
   10. Testimonials Section
   11. CTA & App Section
   12. Footer
   13. Page Headers
   14. Forms & Buttons
   15. Modals
   16. Admin Layout
   17. Admin Dashboard
   18. Admin Tables & Cards
   19. Login Page
   20. Utilities & Animations
   ============================================================ */

/* ==================== 1. CSS VARIABLES & RESET ==================== */
:root {
    /* Primary Colors - Deep Blue Theme */
    --primary-color: #1a4b8c;
    --primary-dark: #0d2d5a;
    --primary-light: #2d6bc4;
    --primary-gradient: linear-gradient(135deg, #1a4b8c 0%, #2d6bc4 100%);
    
    /* Secondary Colors */
    --secondary-color: #f0a500;
    --secondary-dark: #c88a00;
    --secondary-light: #ffc107;
    
    /* Neutral Colors */
    --dark-color: #1a1a2e;
    --gray-900: #212529;
    --gray-800: #343a40;
    --gray-700: #495057;
    --gray-600: #6c757d;
    --gray-500: #adb5bd;
    --gray-400: #ced4da;
    --gray-300: #dee2e6;
    --gray-200: #e9ecef;
    --gray-100: #f8f9fa;
    --white: #ffffff;
    
    /* Status Colors */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    
    /* Fonts */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 80px;
    --container-width: 1200px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* ==================== 2. TYPOGRAPHY & BASE STYLES ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

ul, ol { list-style: none; }

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== 3. LAYOUT & CONTAINER ==================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section { padding: var(--section-padding) 0; }

/* ==================== 4. HEADER & NAVIGATION ==================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 25px;
}

.top-bar-left i, .top-bar-right i {
    margin-right: 6px;
}

.top-bar-right a {
    color: var(--white);
    margin-left: 15px;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.top-bar-right a:hover { opacity: 1; }

.main-nav {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.logo strong { color: var(--secondary-color); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a {
    padding: 10px 18px;
    color: var(--gray-700);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    background: rgba(26, 75, 140, 0.08);
}

.nav-cta .btn {
    padding: 10px 24px;
    color: #ffffff !important;
    font-weight: 600;
    text-shadow: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* ==================== 5. HERO SECTION ==================== */
/* ==================== HERO SLIDER ==================== */
.hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 40%, #2563eb 100%);
}

.slide-bg-2 {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #0891b2 100%);
}

.slide-bg-3 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #e94560 100%);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.2) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 100% 100%, 100% 100%, 30px 30px;
}

/* Floating Elements Animation */
.floating-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.float-bus, .float-location, .float-route, .float-star {
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    animation: float 20s infinite ease-in-out;
}

.float-1 {
    top: 15%;
    left: 10%;
    font-size: 4rem;
    animation-delay: 0s;
}

.float-2 {
    top: 60%;
    right: 15%;
    font-size: 5rem;
    animation-delay: -5s;
}

.float-3 {
    top: 25%;
    right: 20%;
    font-size: 3rem;
    animation-delay: -10s;
}

.float-4 {
    bottom: 20%;
    left: 15%;
    font-size: 2.5rem;
    animation-delay: -15s;
}

.float-5, .float-6 {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    border-radius: 2px;
}

.float-5 {
    top: 30%;
    left: 5%;
    transform: rotate(15deg);
    animation: pulse-line 3s infinite;
}

.float-6 {
    bottom: 35%;
    right: 5%;
    transform: rotate(-15deg);
    animation: pulse-line 3s infinite 1.5s;
}

.float-star {
    color: rgba(255, 215, 0, 0.15);
}

.float-7 {
    top: 20%;
    left: 20%;
    font-size: 2rem;
    animation: twinkle 2s infinite;
}

.float-8 {
    top: 40%;
    right: 25%;
    font-size: 1.5rem;
    animation: twinkle 2s infinite 0.5s;
}

.float-9 {
    bottom: 30%;
    left: 30%;
    font-size: 1.8rem;
    animation: twinkle 2s infinite 1s;
}

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

@keyframes pulse-line {
    0%, 100% { opacity: 0.3; transform: scaleX(1); }
    50% { opacity: 0.8; transform: scaleX(1.2); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* Slide Content */
.slide-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    padding-top: 140px;
    color: var(--white);
    animation: slideUp 0.8s ease;
}

.hero-slide.active .slide-content {
    animation: slideUp 0.8s ease forwards;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.6s ease 0.2s both;
}

.hero-badge i {
    color: #fbbf24;
}

.slide-content h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.15;
    letter-spacing: -1px;
    animation: fadeIn 0.6s ease 0.3s both;
}

.text-highlight {
    position: relative;
    color: #60a5fa;
    text-shadow: 0 0 40px rgba(96, 165, 250, 0.5);
}

.slide-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.6s ease 0.4s both;
}

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

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    animation: fadeIn 0.6s ease 0.5s both;
}

.btn-glow {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    border: none;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.btn-outline-glow {
    background: transparent;
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-glow:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-3px);
}

/* Hero Features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    animation: fadeIn 0.6s ease 0.6s both;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-feature i {
    font-size: 1.8rem;
    color: #60a5fa;
    background: rgba(255,255,255,0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-feature span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Route Showcase (Slide 2) */
.route-showcase {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    animation: fadeIn 0.6s ease 0.6s both;
}

.route-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);
}

.route-from, .route-to {
    font-weight: 600;
    font-size: 1rem;
}

.route-line {
    color: #60a5fa;
}

/* Trust Badges (Slide 3) */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 50px;
    animation: fadeIn 0.6s ease 0.6s both;
}

.trust-badge {
    text-align: center;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #60a5fa;
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
}

.trust-label {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 20;
    pointer-events: none;
}

.slider-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #60a5fa;
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.5);
}

.indicator:hover:not(.active) {
    background: rgba(255,255,255,0.5);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    z-index: 20;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Legacy hero-content support */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    color: var(--white);
}

.hero-content h1 .text-gradient {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Booking Widget */
.booking-widget {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-xl);
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.booking-form .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.booking-form .form-group label i {
    margin-right: 5px;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--gray-800);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group-btn {
    display: flex;
    align-items: flex-end;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==================== DESTINATIONS SLIDER SECTION ==================== */
.destinations-section {
    padding: 80px 0 60px;
    background: #0f0f0f;
    overflow: hidden;
}

.destinations-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.destinations-section .section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.text-highlight-gold {
    color: #d4a853;
    font-style: italic;
}

.destinations-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.destinations-slider-wrapper::before,
.destinations-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

.destinations-slider-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #0f0f0f 0%, transparent 100%);
}

.destinations-slider-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, #0f0f0f 0%, transparent 100%);
}

.destinations-slider {
    display: flex;
    gap: 25px;
    animation: scrollDestinations 40s linear infinite;
    width: max-content;
}

.destinations-slider:hover {
    animation-play-state: paused;
}

@keyframes scrollDestinations {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.destination-card {
    flex-shrink: 0;
    width: 320px;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.destination-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.destination-image {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover .destination-image img {
    transform: scale(1.1);
}

.destination-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.destination-card:hover .destination-icon {
    transform: translate(-50%, -65%) scale(1.1);
    color: rgba(255, 255, 255, 0.3);
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
}

.destination-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.7);
    margin-bottom: 5px;
}

.destination-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    letter-spacing: 1px;
}

/* Responsive Destinations Slider */
@media (max-width: 1200px) {
    .destination-card {
        width: 280px;
        height: 360px;
    }
}

@media (max-width: 768px) {
    .destinations-section {
        padding: 60px 0 40px;
    }
    
    .destinations-section .section-header h2 {
        font-size: 2rem;
        padding: 0 20px;
    }
    
    .destination-card {
        width: 240px;
        height: 320px;
    }
    
    .destination-name {
        font-size: 1.2rem;
    }
    
    .destinations-slider {
        gap: 15px;
        animation-duration: 30s;
    }
}

@media (max-width: 480px) {
    .destinations-section .section-header h2 {
        font-size: 1.6rem;
    }
    
    .destination-card {
        width: 200px;
        height: 280px;
    }
    
    .destination-name {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

/* ==================== 6. FEATURES SECTION ==================== */
.features-section {
    padding: 80px 0 60px;
    background: var(--gray-100);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

/* ==================== 7. SECTION HEADERS ==================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(26, 75, 140, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-600);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* ==================== 8. ROUTES SECTION ==================== */
.routes-section {
    background: var(--white);
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.route-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all var(--transition-base);
}

.route-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.route-header {
    padding: 20px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.route-cities {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.city-from, .city-to {
    font-weight: 600;
    color: var(--dark-color);
}

.route-arrow {
    color: var(--primary-color);
}

.route-duration {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.route-body {
    padding: 20px;
}

.route-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.route-features span {
    padding: 5px 12px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--gray-600);
}

.route-features span i {
    margin-right: 5px;
    color: var(--primary-color);
}

.route-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ==================== 9. WHY CHOOSE US SECTION ==================== */
.why-section {
    background: var(--gray-100);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-content .section-badge {
    margin-bottom: 15px;
}

.why-content h2 {
    margin-bottom: 20px;
}

.why-list {
    margin-top: 30px;
}

.why-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.why-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.why-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.why-text p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

.why-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ==================== 10. FLEET SECTION ==================== */
.fleet-section {
    background: var(--white);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fleet-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    overflow: hidden;
    transition: all var(--transition-base);
}

.fleet-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.fleet-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.fleet-image {
    position: relative;
    height: 180px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fleet-placeholder {
    text-align: center;
    color: var(--white);
}

.fleet-placeholder i {
    font-size: 4rem;
    margin-bottom: 10px;
}

.fleet-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    background: var(--secondary-color);
    color: var(--dark-color);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.fleet-content {
    padding: 25px;
}

.fleet-content h3 {
    margin-bottom: 10px;
}

.fleet-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.fleet-features {
    margin: 20px 0;
}

.fleet-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.fleet-features li i {
    margin-right: 10px;
    color: var(--success-color);
}

.fleet-price {
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-600);
}

.fleet-price strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ==================== 11. TESTIMONIALS SECTION ==================== */
.testimonials-section {
    background: var(--gray-100);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: var(--secondary-color);
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ==================== 12. CTA SECTION ==================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: var(--primary-gradient);
    text-align: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 40px 40px;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ==================== 13. APP SECTION ==================== */
.app-section {
    background: var(--white);
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-features {
    margin: 25px 0;
}

.app-features li {
    padding: 8px 0;
    font-size: 1rem;
    color: var(--gray-700);
}

.app-features li i {
    margin-right: 10px;
    color: var(--success-color);
}

.app-buttons {
    display: flex;
    gap: 15px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--dark-color);
    color: var(--white);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.app-btn:hover {
    background: var(--gray-800);
    color: var(--white);
}

.app-btn i {
    font-size: 1.75rem;
}

.app-btn span {
    text-align: left;
}

.app-btn small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
}

.app-btn strong {
    font-size: 1rem;
}

.app-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--dark-color);
    border-radius: 40px;
    padding: 15px;
    box-shadow: var(--shadow-xl);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.phone-screen i {
    font-size: 4rem;
    margin-bottom: 15px;
}

/* ==================== 14. FOOTER ==================== */
.site-footer {
    background: var(--dark-color);
    color: var(--gray-400);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.footer-logo-img {
    height: 65px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.footer-logo strong {
    color: var(--secondary-color);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--white);
}

.contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-list li i {
    color: var(--primary-light);
    margin-top: 3px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
}

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

.footer-bottom ul {
    display: flex;
    gap: 25px;
}

.footer-bottom a {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==================== 15. PAGE HEADERS ==================== */
.page-header {
    position: relative;
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 50%, #1565c0 100%);
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.15)"/></svg>');
    background-size: 40px 40px;
    z-index: 0;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: #ffffff !important;
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

.page-header h1 .text-gradient {
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
    color: var(--white);
}

/* ==================== 16. BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
    border-color: var(--gray-200);
}

.btn-secondary:hover {
    background: var(--gray-300);
    border-color: var(--gray-300);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--gray-100);
    border-color: var(--gray-100);
    color: var(--primary-color);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
    border-color: var(--danger-color);
}

.btn-danger:hover {
    background: #c82333;
    border-color: #c82333;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* ==================== 17. FORMS ==================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group label i {
    margin-right: 6px;
    color: var(--primary-color);
}

.form-control-sm {
    padding: 8px 12px;
    font-size: 0.9rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.validation-error {
    display: block;
    color: var(--danger-color);
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert i {
    font-size: 1.2rem;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* ==================== 18. ROUTES LISTING PAGE ==================== */
.routes-search-section {
    padding: 40px 0;
    background: var(--gray-100);
}

.search-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.search-box h3 {
    margin-bottom: 20px;
}

.search-form .form-row {
    grid-template-columns: repeat(3, 1fr);
}

.routes-listing-section {
    padding: 40px 0 80px;
}

.routes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.routes-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.route-list-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 25px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    align-items: center;
    transition: all var(--transition-base);
}

.route-list-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.route-cities-large {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 380px;
}

.city-point {
    display: flex;
    flex-direction: column;
    min-width: 110px;
}

.city-point:first-child {
    text-align: left;
    align-items: flex-start;
}

.city-point:last-child {
    text-align: right;
    align-items: flex-end;
}

.city-name {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 4px;
}

.departure-time, .arrival-time {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-500);
    font-weight: 500;
}

.route-line {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 100px;
    height: 40px;
}

.route-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-color) 100%);
    transform: translateY(-50%);
}

.route-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.duration-badge {
    position: relative;
    background: var(--white);
    padding: 6px 18px;
    border: 2px solid var(--primary-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.route-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.route-features-list .feature {
    padding: 5px 12px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--gray-600);
}

.route-features-list .feature i {
    margin-right: 5px;
    color: var(--primary-color);
}

.route-pricing {
    text-align: right;
}

.price-options {
    margin-bottom: 15px;
}

.price-option {
    margin-bottom: 8px;
}

.class-name {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.class-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.price-option.featured .class-price {
    color: var(--primary-color);
}

.no-routes-message {
    text-align: center;
    padding: 60px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

.no-routes-message i {
    font-size: 4rem;
    color: var(--gray-400);
    margin-bottom: 20px;
}

/* Route Map Section */
.route-map-section {
    background: var(--gray-100);
}

.route-map-placeholder {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    margin-bottom: 40px;
}

.map-wrapper i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.covered-cities h3 {
    margin-bottom: 20px;
}

.cities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.city-tag {
    padding: 8px 16px;
    background: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--gray-700);
    box-shadow: var(--shadow-sm);
}

.city-tag i {
    margin-right: 6px;
    color: var(--primary-color);
}

.city-tag.more-cities {
    background: var(--primary-color);
    color: var(--white);
}

/* ==================== 19. CONTACT PAGE ==================== */
.contact-info-section {
    padding: 60px 0;
    background: var(--gray-100);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

.contact-form-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.section-header-left {
    margin-bottom: 30px;
}

.section-header-left .section-badge {
    margin-bottom: 15px;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-actions {
    margin-top: 20px;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.sidebar-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.sidebar-card h4 i {
    color: var(--primary-color);
}

.quick-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    transition: all var(--transition-fast);
}

.quick-contact-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.quick-contact-btn.whatsapp {
    background: #25d366;
}

.quick-contact-btn.whatsapp:hover {
    background: #1da851;
}

.faq-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.faq-item h5 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.social-link.facebook { background: #1877f2; }
.social-link.twitter { background: #1da1f2; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.youtube { background: #ff0000; }

.social-link:hover {
    transform: translateY(-3px);
    color: var(--white);
}

/* Terminals Section */
.terminals-section {
    background: var(--gray-100);
}

.terminals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.terminal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.terminal-header {
    padding: 20px;
    background: var(--primary-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.terminal-header i {
    font-size: 1.25rem;
}

.terminal-header h4 {
    color: var(--white);
    margin: 0;
}

.terminal-body {
    padding: 20px;
}

.terminal-body p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-placeholder {
    height: 400px;
    background: var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
}

/* ==================== 20. MODALS ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content,
.modal-container {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-container.modal-lg,
.modal-lg {
    max-width: 750px;
}

.modal-sm {
    max-width: 400px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 24px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-light));
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.modal-header h3 i {
    color: white;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 10px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.modal-body {
    padding: 28px;
    background: white;
}

.modal-body .form-group {
    margin-bottom: 20px;
}

.modal-body .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.modal-body .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: var(--gray-50);
}

.modal-body .form-control:focus {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

.modal-body textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.modal-body .form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

.modal-body .form-row .form-group {
    flex: 1;
}

.modal-body .form-row .col-4 {
    flex: 0 0 calc(33.333% - 11px);
}

.modal-body .form-row .col-6 {
    flex: 0 0 calc(50% - 8px);
}

.modal-body .form-row .col-8 {
    flex: 0 0 calc(66.666% - 5px);
}

.modal-body .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray-600);
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: 10px;
    border: 2px solid var(--gray-200);
    transition: all 0.2s ease;
}

.modal-body .checkbox-label:hover {
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
}

.modal-body .checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.modal-footer {
    padding: 20px 28px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-radius: 0 0 16px 16px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.modal-footer .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 10px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.modal-footer .btn-secondary {
    background: white;
    color: var(--gray-600);
    border: 2px solid var(--gray-300);
}

.modal-footer .btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-700);
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.45);
}

.modal-footer .btn-primary i {
    font-size: 0.9rem;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 15px;
    }
    
    .modal-content,
    .modal-container {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 1.15rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-body .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .modal-body .form-row .col-4,
    .modal-body .form-row .col-6,
    .modal-body .form-row .col-8 {
        flex: 1 1 100%;
    }
    
    .modal-footer {
        padding: 16px 20px;
        flex-direction: column-reverse;
    }
    
    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Seat Selection */
.seat-selection h4 {
    margin-bottom: 15px;
}

.seat-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.seat-legend span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.seat {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    display: inline-block;
}

.seat.available { background: var(--gray-300); }
.seat.selected { background: var(--primary-color); }
.seat.booked { background: var(--danger-color); }

.seat-map {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 20px;
}

.bus-front {
    text-align: center;
    padding: 15px;
    background: var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}

.bus-front i {
    font-size: 1.5rem;
    color: var(--gray-600);
}

.seat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.seat-btn {
    aspect-ratio: 1;
    background: var(--gray-300);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.seat-btn:hover:not(.booked) {
    background: var(--primary-light);
    color: var(--white);
}

.seat-btn.selected {
    background: var(--primary-color);
    color: var(--white);
}

.seat-btn.booked {
    background: var(--gray-400);
    color: var(--gray-600);
    cursor: not-allowed;
}

.seat-btn.aisle {
    visibility: hidden;
}

.booking-total {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
}

.route-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 600;
}

.route-summary i {
    color: var(--primary-color);
}

.passenger-form {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--gray-200);
}

.passenger-form h4 {
    margin-bottom: 20px;
}

/* Delete Modal */
.delete-warning {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-warning i {
    font-size: 2.5rem;
    color: var(--danger-color);
}

.delete-route-info {
    font-weight: 600;
    color: var(--dark-color);
}

.text-center { text-align: center; }
.text-muted { color: var(--gray-500); font-size: 0.9rem; }

/* ==================== 21. ADMIN LAYOUT ==================== */
.admin-body {
    background: var(--gray-100);
}

.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: var(--dark-color);
    z-index: 1000;
    transition: transform var(--transition-base);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
}

.admin-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.admin-logo:hover .admin-logo-img {
    transform: scale(1.05);
}

.admin-logo i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.admin-logo strong {
    color: var(--secondary-color);
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 1.25rem;
    cursor: pointer;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav .nav-section {
    padding: 10px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
}

.sidebar-nav .nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 15px 20px;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.sidebar-nav li a.active {
    border-left: 3px solid var(--primary-light);
}

.sidebar-nav li a i {
    width: 20px;
    text-align: center;
}

.logout-link:hover {
    color: var(--danger-color) !important;
}

/* Admin Main Content */
.admin-main {
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    background: var(--white);
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--gray-700);
    cursor: pointer;
}

.page-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-search {
    position: relative;
}

.topbar-search input {
    padding: 8px 15px 8px 40px;
    border: 1px solid var(--gray-300);
    border-radius: 50px;
    width: 250px;
    font-size: 0.9rem;
}

.topbar-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--gray-600);
    cursor: pointer;
}

.notification-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: var(--danger-color);
    color: var(--white);
    font-size: 0.65rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.user-info {
    text-align: left;
}

.user-name {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.user-role {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Admin Content Area */
.admin-content {
    flex: 1;
    padding: 25px;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.admin-page-header h1 {
    font-size: 1.75rem;
    margin-bottom: 5px;
}

.admin-page-header p {
    color: var(--gray-600);
    margin: 0;
}

.current-date {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.admin-footer {
    padding: 20px 25px;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.85rem;
    border-top: 1px solid var(--gray-200);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

/* ==================== 22. ADMIN DASHBOARD ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.stat-icon.routes { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.stat-icon.cities { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.stat-icon.departures { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.stat-icon.bookings { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

.stat-content h3.stat-number {
    font-size: 1.75rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.stat-content .stat-label {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.stat-change {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-change.positive { color: var(--success-color); }
.stat-change.negative { color: var(--danger-color); }
.stat-change.neutral { color: var(--gray-500); }

/* Quick Actions */
.dashboard-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--primary-color);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.action-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    color: var(--gray-700);
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.action-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: all var(--transition-base);
}

.action-card:hover .action-icon {
    background: var(--primary-color);
    color: var(--white);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.dashboard-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.stat-card-small {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 200px;
}

.stat-card-small .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-card-small .stat-icon.active {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.stat-card-small .stat-icon.inactive {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.stat-card-small .stat-info {
    display: flex;
    flex-direction: column;
}

.stat-card-small .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-card-small .stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Address cell in table */
.address-cell {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    color: var(--primary-color);
}

.view-all {
    font-size: 0.85rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-body {
    padding: 20px;
}

.card-actions {
    display: flex;
    gap: 10px;
}

/* ==================== 23. ADMIN TABLES ==================== */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.data-table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
    background: var(--gray-100);
}

.data-table td {
    font-size: 0.9rem;
    color: var(--gray-700);
}

.data-table tbody tr:hover {
    background: var(--gray-50, #fafafa);
}

.booking-id {
    font-family: monospace;
    font-weight: 500;
    color: var(--primary-color);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.confirmed {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.status-badge.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #d39e00;
}

.status-badge.cancelled {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.status-badge.active {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.status-badge.inactive {
    background: rgba(108, 117, 125, 0.1);
    color: var(--gray-600);
}

/* Route List (Dashboard) */
.route-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.route-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.route-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.route-name {
    font-weight: 500;
    color: var(--dark-color);
}

.route-stats {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.route-progress {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 3px;
}

/* Revenue Card */
.revenue-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.revenue-item {
    text-align: center;
    padding: 15px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
}

.revenue-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 5px;
}

.revenue-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.chart-placeholder {
    height: 200px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
}

.chart-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Notification List */
.notification-list {
    display: flex;
    flex-direction: column;
}

.notification-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.notification-item.unread {
    background: rgba(26, 75, 140, 0.03);
    margin: 0 -20px;
    padding: 15px 20px;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon.info {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info-color);
}

.notification-icon.warning {
    background: rgba(255, 193, 7, 0.2);
    color: #d39e00;
}

.notification-icon.success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.notification-content p {
    margin: 0 0 5px;
    font-size: 0.9rem;
}

.notification-time {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ==================== 24. MANAGE ROUTES PAGE ==================== */
.filters-section {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.filters-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.filters-row .search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.filters-row .search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
}

.filters-row .search-box input {
    padding-left: 40px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-size: 0.85rem;
    color: var(--gray-600);
    white-space: nowrap;
}

.routes-table-card .card-header {
    justify-content: space-between;
}

.route-count {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.table-responsive {
    overflow-x: auto;
}

.routes-table .action-btns,
.cities-table .action-btns {
    display: flex;
    gap: 8px;
    justify-content: center;
}

/* Cities Table Specific Styles */
.cities-table {
    border-collapse: separate;
    border-spacing: 0;
}

.cities-table .table-header th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #495057;
    padding: 14px 12px;
    border-bottom: 2px solid #dee2e6;
}

.cities-table .table-row td,
.cities-table .table-row-alt td {
    padding: 14px 12px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f4;
}

.cities-table .table-row:hover td,
.cities-table .table-row-alt:hover td {
    background: #f8f9fa;
}

.cities-table .table-row-alt td {
    background: #fafbfc;
}

.city-id {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    background: #f1f3f4;
    padding: 4px 8px;
    border-radius: 4px;
}

.city-code {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    background: #e9ecef;
    padding: 3px 8px;
    border-radius: 4px;
}

.province-badge {
    font-size: 0.85rem;
    color: #495057;
}

.address-text {
    font-size: 0.85rem;
    color: #6c757d;
}

.phone-text {
    font-size: 0.85rem;
    color: #495057;
    font-family: 'Monaco', 'Consolas', monospace;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.action-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.action-btn.edit-btn {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
}

.action-btn.edit-btn:hover {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(21, 101, 192, 0.3);
}

.action-btn.delete-btn {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #c62828;
}

.action-btn.delete-btn:hover {
    background: linear-gradient(135deg, #ffcdd2 0%, #ef9a9a 100%);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(198, 40, 40, 0.3);
}

.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.btn-edit {
    background: rgba(26, 75, 140, 0.1);
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-edit:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-delete {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-delete:hover {
    background: var(--danger-color);
    color: var(--white);
}

.no-data-message {
    text-align: center;
    padding: 60px 20px;
}

.no-data-message i {
    font-size: 4rem;
    color: var(--gray-400);
    margin-bottom: 20px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
}

.toast {
    display: none;
    background: var(--white);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 300px;
    animation: toastSlideIn 0.3s ease;
}

.toast.show {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast.success .toast-icon { color: var(--success-color); }
.toast.error .toast-icon { color: var(--danger-color); }
.toast.warning .toast-icon { color: var(--warning-color); }

.toast-icon {
    font-size: 1.25rem;
}

.toast-message {
    flex: 1;
    font-size: 0.9rem;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--gray-400);
    cursor: pointer;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== 25. LOGIN PAGE ==================== */
/* New Modern Login Page */
.login-page-new {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.login-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.bg-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    top: -100px;
    right: -100px;
    animation: float1 15s ease-in-out infinite;
}

.bg-shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #0f3460 0%, #533483 100%);
    bottom: -50px;
    left: -50px;
    animation: float2 18s ease-in-out infinite;
}

.bg-shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #e94560 0%, #f39c12 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

@keyframes float3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
}

.login-card-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    max-width: 440px;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 45px 40px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: cardSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.login-logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.login-logo-img {
    height: 70px;
    width: auto;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-fallback i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.login-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-badge i {
    font-size: 0.85rem;
}

.login-welcome {
    text-align: center;
    margin-bottom: 35px;
}

.login-welcome h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.login-welcome p {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

.login-alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.login-alert-error {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #fecaca;
    color: #dc2626;
}

.login-alert-error i {
    font-size: 1.1rem;
}

.login-form-new {
    margin-bottom: 25px;
}

.input-group-new {
    position: relative;
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.input-group-new.focused {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}

.input-icon {
    padding: 0 18px;
    color: #9ca3af;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.input-group-new.focused .input-icon {
    color: var(--primary-color);
}

.input-field-new {
    flex: 1;
    border: none;
    background: transparent;
    padding: 16px 0;
    font-size: 1rem;
    color: #1f2937;
    font-family: inherit;
    outline: none;
}

.input-field-new::placeholder {
    color: #9ca3af;
}

.toggle-password-btn {
    background: none;
    border: none;
    padding: 0 18px;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.toggle-password-btn:hover {
    color: var(--primary-color);
}

.field-error {
    display: block;
    color: #dc2626;
    font-size: 0.8rem;
    margin-bottom: 15px;
    padding-left: 5px;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 25px;
}

.remember-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #6b7280;
}

.remember-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.login-btn-new {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #e94560 0%, #c62e48 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.35);
}

.login-btn-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(233, 69, 96, 0.45);
}

.login-btn-new:active {
    transform: translateY(0);
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #f0fdf4;
    border-radius: 10px;
    margin-bottom: 20px;
}

.security-note i {
    color: #16a34a;
    font-size: 0.9rem;
}

.security-note span {
    color: #166534;
    font-size: 0.8rem;
    font-weight: 500;
}

.login-back-link {
    text-align: center;
}

.login-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-back-link a:hover {
    color: var(--primary-color);
}

.login-back-link a i {
    font-size: 0.85rem;
}

.login-page-footer {
    margin-top: 25px;
    text-align: center;
}

.login-page-footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 35px 25px;
        border-radius: 20px;
    }
    
    .login-welcome h1 {
        font-size: 1.5rem;
    }
    
    .input-field-new {
        padding: 14px 0;
    }
    
    .login-btn-new {
        padding: 14px;
    }
    
    .bg-shape-1 {
        width: 250px;
        height: 250px;
    }
    
    .bg-shape-2 {
        width: 200px;
        height: 200px;
    }
}

/* Old Login Page (kept for compatibility) */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    width: 100%;
    min-height: 600px;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin: 20px;
}

.login-branding {
    background: var(--primary-gradient);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
}

.branding-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 35px;
}

.brand-logo-img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

.brand-logo i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.brand-logo strong {
    color: var(--secondary-color);
}

.login-branding h1 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.login-branding p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.7;
}

.branding-features {
    margin-top: 40px;
}

.branding-features .feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    opacity: 0.9;
}

.branding-features .feature i {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branding-footer {
    font-size: 0.85rem;
    opacity: 0.7;
}

.login-form-wrapper {
    padding: 50px;
    display: flex;
    align-items: center;
}

.login-form-content {
    width: 100%;
}

.login-header {
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.login-header p {
    color: var(--gray-600);
    margin: 0;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-700);
    cursor: pointer;
}

.forgot-link {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.demo-info {
    margin-top: 25px;
    padding: 15px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
}

.demo-info code {
    background: var(--white);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-family: monospace;
}

.login-footer {
    margin-top: 30px;
    text-align: center;
}

.login-footer a {
    color: var(--gray-600);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-footer a:hover {
    color: var(--primary-color);
}

/* ==================== 26. ABOUT PAGE ==================== */
.about-intro-section {
    padding: 80px 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-content .section-badge {
    margin-bottom: 15px;
}

.about-intro-content h2 {
    margin-bottom: 25px;
}

.about-intro-content p {
    color: var(--gray-600);
    line-height: 1.8;
}

.about-intro-image .image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.about-intro-image .image-placeholder i {
    font-size: 5rem;
    margin-bottom: 15px;
}

/* Mission Vision Section */
.mission-vision-section {
    background: var(--gray-100);
    padding: 80px 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mv-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mv-card h3 {
    margin-bottom: 15px;
}

.mv-card p {
    color: var(--gray-600);
    margin: 0;
}

/* Achievements Section */
.achievements-section {
    padding: 80px 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.achievement-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: all var(--transition-base);
}

.achievement-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.achievement-label {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Team Section */
.team-section {
    background: var(--gray-100);
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.team-image {
    height: 150px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image i {
    font-size: 4rem;
    color: var(--white);
}

.team-content {
    padding: 25px;
}

.team-content h4 {
    margin-bottom: 5px;
}

.team-role {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.team-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

/* Safety Section */
.safety-section {
    padding: 80px 0;
}

.safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.safety-list {
    margin-top: 25px;
}

.safety-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--gray-700);
}

.safety-list li i {
    color: var(--success-color);
    font-size: 1.1rem;
}

.safety-placeholder {
    background: var(--success-color) !important;
}

/* ==================== ADMIN DASHBOARD NEW SECTIONS ==================== */
.info-message {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.info-message i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2px;
}

.info-message p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.6;
}

.info-message a {
    color: var(--primary-color);
    font-weight: 500;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.status-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-name {
    font-weight: 500;
    color: var(--dark-color);
}

.status-name i {
    color: var(--gray-500);
    width: 20px;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.help-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.help-item:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.help-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.help-content h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--dark-color);
}

.help-content p {
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.help-content a {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.help-content a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .help-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== DASHBOARD NEW PANELS ==================== */

/* Announcements */
.announcements-card .card-body {
    max-height: 300px;
    overflow-y: auto;
}

.announcement-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    background: var(--gray-50);
}

.announcement-item.info { border-left: 4px solid var(--primary-color); }
.announcement-item.warning { border-left: 4px solid #f59e0b; background: #fffbeb; }
.announcement-item.success { border-left: 4px solid #10b981; background: #ecfdf5; }
.announcement-item.urgent { border-left: 4px solid #ef4444; background: #fef2f2; }

.announcement-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.announcement-item.info .announcement-icon { background: rgba(59, 130, 246, 0.1); color: var(--primary-color); }
.announcement-item.warning .announcement-icon { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.announcement-item.success .announcement-icon { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.announcement-item.urgent .announcement-icon { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.announcement-content h4 {
    margin: 0 0 5px;
    font-size: 0.95rem;
    color: var(--dark-color);
}

.announcement-content p {
    margin: 0 0 8px;
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.announcement-date {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Contact Messages */
.message-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border-bottom: 1px solid var(--gray-200);
    transition: background 0.2s ease;
    position: relative;
}

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

.message-item:hover {
    background: var(--gray-50);
}

.message-item.unread {
    background: rgba(59, 130, 246, 0.05);
}

.message-avatar {
    width: 40px;
    height: 40px;
    background: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    flex-shrink: 0;
}

.message-content {
    flex: 1;
    min-width: 0;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.message-sender {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.message-time {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.message-subject {
    font-size: 0.85rem;
    color: var(--dark-color);
    margin: 0 0 4px;
    font-weight: 500;
}

.message-preview {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.new { background: var(--primary-color); }
.status-dot.read { background: var(--gray-400); }
.status-dot.replied { background: #10b981; }

/* Today's Schedule */
.schedule-list {
    max-height: 350px;
    overflow-y: auto;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--gray-200);
}

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

.schedule-time {
    min-width: 70px;
}

.schedule-time .time {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.schedule-route {
    flex: 1;
}

.schedule-route .route-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.schedule-route .route-duration {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.today-date {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* City Coverage */
.city-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-height: 350px;
    overflow-y: auto;
}

.city-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.city-item:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.city-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.city-info {
    flex: 1;
}

.city-info .city-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.city-info .city-province {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.route-count {
    font-size: 0.75rem;
    color: var(--gray-500);
    background: var(--gray-200);
    padding: 4px 8px;
    border-radius: 20px;
}

/* Jobs Overview */
.jobs-summary {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.job-stat {
    text-align: center;
    color: white;
}

.job-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.job-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.job-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--gray-200);
}

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

.job-icon {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
}

.job-info {
    flex: 1;
}

.job-info .job-title {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.job-info .job-location {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.3;
}

.empty-state p {
    margin: 0 0 15px;
    font-size: 0.95rem;
}

/* Status Badge Additions */
.status-badge.inactive { background: var(--gray-200); color: var(--gray-600); }

/* ==================== CAREERS PAGE ==================== */
.why-join-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

.jobs-section {
    padding: 80px 0;
}

.jobs-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 500;
    color: var(--gray-600);
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--gray-300);
    background: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.careers-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.careers-job-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.careers-job-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.careers-job-card.featured {
    border: 2px solid var(--secondary-color);
}

.featured-ribbon {
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.careers-job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 30px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.job-title-area h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin: 0 0 12px;
}

.job-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.job-tags .tag {
    font-size: 0.8rem;
    padding: 5px 12px;
    background: var(--white);
    border-radius: 20px;
    color: var(--gray-600);
}

.job-tags .tag i {
    margin-right: 5px;
    color: var(--primary-color);
}

.job-salary {
    text-align: right;
}

.salary-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 5px;
}

.salary-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.careers-job-body {
    padding: 25px 30px;
}

.job-desc {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.job-requirements {
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.job-requirements h4 {
    font-size: 1rem;
    color: var(--dark-color);
    margin: 0 0 10px;
}

.job-requirements h4 i {
    color: var(--primary-color);
    margin-right: 8px;
}

.job-requirements p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

.job-qualifications {
    display: flex;
    gap: 30px;
}

.qual-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qual-item i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.qual-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.qual-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
}

.careers-job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.posted-date {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.posted-date i {
    margin-right: 6px;
}

.no-jobs-message {
    text-align: center;
    padding: 60px 20px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

.no-jobs-message i {
    font-size: 4rem;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.no-jobs-message h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.no-jobs-message p {
    color: var(--gray-600);
    margin: 0;
}

.no-jobs-message a {
    color: var(--primary-color);
}

/* Admin Jobs Page Styles */
.job-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    border-bottom: 1px solid var(--gray-200);
}

.job-title-section h3 {
    font-size: 1.25rem;
    margin: 0 0 12px;
    color: var(--dark-color);
    font-weight: 700;
}

.job-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.job-meta span {
    font-size: 0.85rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-meta span i {
    color: var(--primary-light);
    font-size: 0.9rem;
}

.job-badges {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.badge.featured {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.badge.featured i {
    font-size: 0.7rem;
}

.job-card-body {
    padding: 24px;
}

.job-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 18px;
}

.job-details {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.job-details span {
    font-size: 0.85rem;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 8px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--gray-200);
}

.job-details span i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.posted-date {
    font-size: 0.85rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
}

.posted-date i {
    color: var(--gray-400);
}

.job-actions {
    display: flex;
    gap: 10px;
}

.job-actions .btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.job-actions .btn-outline {
    background: white;
    color: var(--gray-600);
    border: 2px solid var(--gray-300);
}

.job-actions .btn-outline:hover {
    background: var(--gray-100);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.job-actions .btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
}

.job-actions .btn-warning:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.job-actions .btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
    border: none;
}

.job-actions .btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.job-actions .btn-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc2626 100%);
    color: white;
    border: none;
}

.job-actions .btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 18px;
    border: 2px solid var(--gray-300);
    background: white;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

/* Jobs List Container */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.empty-state h3 {
    color: var(--gray-600);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--gray-500);
    margin-bottom: 25px;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark-color);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification.success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
}

.toast-notification.error {
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc2626 100%);
}

.toast-notification.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.toast-notification i {
    font-size: 1.2rem;
}

/* ==================== CONTACT MESSAGES ADMIN ==================== */
.messages-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s ease;
}

.message-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.message-card.message-new {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(to right, rgba(var(--primary-rgb), 0.05), white);
}

.message-card.message-read {
    border-left: 4px solid var(--gray-400);
}

.message-card.message-replied {
    border-left: 4px solid var(--success-color);
}

.message-card.message-archived {
    border-left: 4px solid var(--gray-300);
    opacity: 0.7;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    gap: 15px;
}

.sender-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.sender-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sender-details h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.sender-email, .sender-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-right: 15px;
}

.sender-email i, .sender-phone i {
    color: var(--gray-400);
    font-size: 0.8rem;
}

.message-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.message-subject {
    background: var(--gray-100);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--gray-700);
    font-weight: 500;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.status-new {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.status-badge.status-read {
    background: var(--gray-200);
    color: var(--gray-700);
}

.status-badge.status-replied {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
}

.status-badge.status-archived {
    background: var(--gray-300);
    color: var(--gray-600);
}

.message-preview {
    padding: 20px;
}

.message-preview p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

.message-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.message-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.message-date i {
    color: var(--gray-400);
}

.message-actions {
    display: flex;
    gap: 8px;
}

.message-actions .btn-sm {
    padding: 8px 14px;
    font-size: 0.8rem;
    border-radius: 6px;
}

/* Message Detail Modal Styles */
.message-detail-header {
    background: var(--gray-50);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.detail-row label {
    width: 120px;
    font-weight: 600;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.detail-row label i {
    color: var(--primary-color);
    width: 16px;
}

.detail-row span {
    color: var(--dark-color);
}

.detail-row span a {
    color: var(--primary-color);
    text-decoration: none;
}

.detail-row span a:hover {
    text-decoration: underline;
}

.message-detail-body {
    margin-bottom: 20px;
}

.message-detail-body label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.message-detail-body label i {
    color: var(--primary-color);
}

.message-content {
    background: var(--gray-50);
    padding: 20px;
    border-radius: 10px;
    color: var(--dark-color);
    line-height: 1.7;
    font-size: 0.95rem;
    white-space: pre-wrap;
    max-height: 250px;
    overflow-y: auto;
}

.admin-notes-section {
    margin-top: 20px;
}

.admin-notes-section label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.admin-notes-section label i {
    color: var(--secondary-color);
}

/* Dashboard Message Items */
.message-item-link {
    display: block;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    background: white;
}

.message-item-link:hover {
    background: var(--gray-50);
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.message-item-link.unread {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(to right, rgba(var(--primary-rgb), 0.05), white);
}

.message-sender-name {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.message-preview-text {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 8px;
}

.message-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.new {
    background: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.status-indicator.read {
    background: var(--gray-400);
}

.status-indicator.replied {
    background: var(--success-color);
}

.status-indicator.archived {
    background: var(--gray-300);
}

.message-time-ago {
    color: var(--gray-500);
}

/* Mini stat highlight styles */
.mini-stat.highlight-new {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05));
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.mini-stat.highlight-new .mini-stat-number {
    color: var(--primary-color);
}

.mini-stat.highlight-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.mini-stat.highlight-success .mini-stat-number {
    color: var(--success-color);
}

/* Filter dropdown */
.filter-dropdown select {
    min-width: 180px;
}

/* Responsive */
@media (max-width: 768px) {
    .message-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .message-meta {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .message-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .message-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .sender-details {
        flex-direction: column;
    }
    
    .sender-email, .sender-phone {
        display: block;
        margin-top: 3px;
    }
}

/* Mini Stats for Admin */
.stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.mini-stat {
    background: var(--white);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    flex: 1;
}

.mini-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.mini-stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Filter Buttons in Admin */
.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-buttons .filter-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .careers-job-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .job-salary {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .job-qualifications {
        flex-direction: column;
        gap: 15px;
    }
    
    .careers-job-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .stats-row {
        flex-wrap: wrap;
    }
    
    .mini-stat {
        min-width: calc(50% - 10px);
    }
}

/* ==================== ERROR PAGES ==================== */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.error-content {
    max-width: 500px;
}

.error-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.error-content h1 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.error-content p {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-actions .btn {
    padding: 12px 25px;
}

/* ==================== 27. RESPONSIVE STYLES ==================== */
@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .achievements-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    /* Navigation */
    .mobile-menu-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        z-index: 1001;
    }
    
    .nav-links.active { right: 0; }
    
    .nav-links a {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid var(--gray-200);
    }
    
    /* Hero Slider */
    .slide-content { padding-top: 160px; }
    .slide-content h1 { font-size: 3rem; }
    .slide-content p { font-size: 1.1rem; }
    .hero-features { gap: 25px; }
    .hero-feature i { width: 50px; height: 50px; font-size: 1.5rem; }
    .trust-badges { gap: 30px; }
    .trust-number { font-size: 2rem; }
    .route-showcase { gap: 20px; }
    .booking-form { grid-template-columns: 1fr 1fr; }
    
    /* Features */
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Routes */
    .routes-grid { grid-template-columns: repeat(2, 1fr); }
    .route-list-item { grid-template-columns: 1fr; gap: 20px; }
    .route-pricing { text-align: left; }
    
    /* Why Section */
    .why-grid { grid-template-columns: 1fr; }
    .why-stats { order: -1; }
    
    /* Fleet */
    .fleet-grid { grid-template-columns: repeat(2, 1fr); }
    .fleet-card.featured { transform: none; }
    
    /* Testimonials */
    .testimonials-slider { grid-template-columns: 1fr; }
    
    /* App Section */
    .app-grid { grid-template-columns: 1fr; text-align: center; }
    .app-buttons { justify-content: center; }
    .app-image { order: -1; }
    
    /* Footer */
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Contact */
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .terminals-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Admin */
    .admin-sidebar {
        transform: translateX(-100%);
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-close { display: block; }
    .sidebar-toggle { display: block; }
    .sidebar-overlay.active { display: block; }
    
    .admin-main { margin-left: 0; }
    
    .quick-actions { grid-template-columns: repeat(2, 1fr); }
    .dashboard-grid { grid-template-columns: 1fr; }
    
    /* Login */
    .login-container { grid-template-columns: 1fr; max-width: 500px; }
    .login-branding { display: none; }
    
    /* About */
    .about-intro-grid { grid-template-columns: 1fr; }
    .mission-vision-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .safety-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* General */
    section { padding: 60px 0; }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    /* Logo responsive */
    .logo-img { height: 45px; }
    .footer-logo-img { height: 55px; }
    .admin-logo-img { height: 40px; }
    .brand-logo-img { height: 65px; }
    
    /* Top Bar */
    .top-bar-content { flex-direction: column; gap: 10px; }
    .top-bar-left span { margin-right: 15px; font-size: 0.8rem; }
    
    /* Hero Slider Mobile */
    .slide-content { padding-top: 140px; }
    .slide-content h1 { font-size: 2.2rem; letter-spacing: 0; }
    .slide-content p { font-size: 1rem; margin-bottom: 30px; }
    .hero-buttons { flex-direction: column; gap: 15px; }
    .btn-glow, .btn-outline-glow { width: 100%; justify-content: center; padding: 14px 28px; }
    .hero-features { flex-wrap: wrap; gap: 15px; }
    .hero-feature { width: calc(50% - 10px); }
    .hero-feature i { width: 45px; height: 45px; font-size: 1.3rem; }
    .slider-nav { padding: 0 15px; }
    .slider-btn { width: 45px; height: 45px; font-size: 1rem; }
    .slider-indicators { bottom: 80px; }
    .trust-badges { flex-direction: column; gap: 20px; }
    .trust-number { font-size: 1.8rem; }
    .route-showcase { flex-direction: column; gap: 15px; }
    .route-item { justify-content: center; }
    .booking-form { grid-template-columns: 1fr; }
    
    /* Features */
    .features-grid { grid-template-columns: 1fr; }
    
    /* Routes */
    .routes-grid { grid-template-columns: 1fr; }
    .route-cities-large { 
        flex-direction: row; 
        gap: 0; 
        min-width: 100%;
        justify-content: space-between;
    }
    .city-point { min-width: 70px; }
    .city-name { font-size: 1rem; }
    .route-line { min-width: 70px; height: 35px; }
    .duration-badge { padding: 4px 12px; font-size: 0.75rem; }
    .route-line::after { width: 6px; height: 6px; }
    
    /* Fleet */
    .fleet-grid { grid-template-columns: 1fr; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-content { flex-direction: column; gap: 15px; }
    
    /* Forms */
    .form-row { grid-template-columns: 1fr; }
    .search-form .form-row { grid-template-columns: 1fr; }
    
    /* Contact */
    .contact-info-grid { grid-template-columns: 1fr; }
    .terminals-grid { grid-template-columns: 1fr; }
    
    /* Admin */
    .stats-grid { grid-template-columns: 1fr; }
    .quick-actions { grid-template-columns: 1fr; }
    .topbar-search { display: none; }
    .revenue-stats { grid-template-columns: 1fr; }
    .filters-row { flex-direction: column; align-items: stretch; }
    .filters-row .search-box { min-width: auto; }
    
    /* About */
    .achievements-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: 1fr; }
    
    /* Modal */
    .modal-content { margin: 10px; }
    .modal-footer { flex-direction: column; }
    .booking-total { flex-direction: column; gap: 5px; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    
    .slide-content h1 { font-size: 1.75rem; }
    .slide-content p { font-size: 0.95rem; }
    .hero-badge { font-size: 0.8rem; padding: 8px 16px; }
    .cta-content h2 { font-size: 1.5rem; }
    .page-header h1 { font-size: 2rem; }
    
    .btn { padding: 10px 20px; }
    .btn-lg { padding: 12px 24px; }
    
    .app-buttons { flex-direction: column; }
    .cta-buttons { flex-direction: column; }
    
    .phone-mockup { width: 220px; height: 440px; }
    
    .achievement-number { font-size: 2rem; }
}

