@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-blue: #1a1a1a;
    --primary-yellow: #FFD700;
    --blue: #1a1a1a;
    --yellow: #FFD700;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e0e0e0;
    --gray-light: #f5f5f5;
    --gray-medium: #666666;
    --gray-dark: #333333;
    --gray-600: #555555;
    --gray-700: #444444;
    --success-bg: #d4edda;
    --success-text: #155724;
    --error-bg: #f8d7da;
    --error-text: #721c24;
    --border-color: #e0e0e0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

html {
    box-sizing: border-box;
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--black);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.skip-link {
    position: absolute;
    left: 0;
    top: -40px;
    background: var(--primary-blue);
    color: var(--primary-yellow);
    padding: .5rem 1rem;
    z-index: 1200;
    text-decoration: none;
    border-radius: 0 0 var(--radius-sm) 0;
    font-weight: 600;
}
.skip-link:focus { top: 0; }

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #1a1a1a;
}

p {
    color: #333333;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.site-header {
    background: #1a1a1a;
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 0.5rem;
}

.logo {
    font-weight: 600;
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
}
.logo img {
    height: 48px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}
.logo img:hover {
    transform: scale(1.05);
}

.nav-wrapper {
    position: relative;
}

.nav-toggle {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    background: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle::-webkit-details-marker {
    display: none;
}

.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
    content: "";
    display: block;
    width: 1.5rem;
    height: 2.5px;
    background-color: #FFD700;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-toggle .hamburger::before {
    position: relative;
    top: -0.5rem;
}

.nav-toggle .hamburger::after {
    position: relative;
    top: 0.5rem;
}

.nav-wrapper[open] .hamburger {
    background-color: transparent;
}

.nav-wrapper[open] .hamburger::before {
    transform: translateY(0.5rem) rotate(45deg);
}

.nav-wrapper[open] .hamburger::after {
    transform: translateY(-0.5rem) rotate(-45deg);
}

.site-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-wrapper[open] .site-nav {
    max-height: 500px;
}

.site-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.site-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.2s ease;
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
}

.site-nav a:hover {
    color: #FFD700;
    background-color: rgba(255, 215, 0, 0.08);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switch {
    position: relative;
}

.lang-switch summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #ffffff;
}

.lang-switch summary::-webkit-details-marker {
    display: none;
}

.lang-switch ul {
    position: absolute;
    right: 0;
    display: none;
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-switch[open] ul {
    display: block;
}

.lang-switch li a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--black);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.2rem 0;
}

.btn {
    padding: 0.75rem 1.6rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.01em;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px;
    min-width: 44px;
}

.btn-primary {
    background: #FFD700;
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    background: #ffe033;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #1a1a1a;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: #FFD700;
    color: #1a1a1a;
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: var(--white);
    cursor: pointer;
}

.btn-danger {
    background: var(--error-bg);
    color: var(--error-text);
    border-color: var(--error-text);
}

/* Banner */
.banner {
    background: #1a1a1a;
    color: #ffffff;
    padding: 3.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.banner h1 {
    color: #FFD700 !important;
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.banner p {
    color: #ffffff !important;
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    margin-bottom: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.banner .btn-secondary {
    margin-top: 1.5rem;
    background-color: #FFD700;
    color: #1a1a1a;
    border-color: #FFD700;
    font-weight: 700;
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

.banner .btn-secondary:hover {
    background-color: #ffe033;
    color: #1a1a1a;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
}

/* Reviews marquee */
.reviews-marquee {
    background: #FFD700;
    color: #1a1a1a;
    overflow: hidden;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.reviews-marquee .reviews-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Main grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 1.5rem;
    padding: 2.5rem 0;
}

.card {
    background-color: #ffffff;
    color: #333333;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: #FFD700;
}

.card h3 {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card p {
    color: #333333;
    line-height: 1.7;
}

/* Generic section page layout */
.section-page {
    padding: 2.5rem 0;
}

.section-page h1 {
    margin-top: 0;
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
}

/* Terms and conditions styling */
.terms-content {
    margin-top: 30px;
}

.terms-content .intro {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 40px;
    padding: 20px;
    background: var(--gray-100);
    border-left: 4px solid var(--primary-yellow);
    border-radius: var(--radius-sm);
}

.terms-article,
.mentions-article,
.privacy-article {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-200);
}

.terms-article:last-child,
.mentions-article:last-child,
.privacy-article:last-child {
    border-bottom: none;
}

.terms-article h2,
.mentions-article h2,
.privacy-article h2 {
    color: #1a1a1a;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.terms-article p,
.mentions-article p,
.privacy-article p {
    line-height: 1.8;
    color: var(--gray-700);
    text-align: justify;
}

/* Password toggle button */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    padding-right: 45px;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: var(--primary-blue);
}

.toggle-password:focus {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 2px;
    border-radius: 3px;
}

/* FAQ accordion styles */
.faq-intro {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 40px;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-question:focus {
    outline: 2px solid var(--primary-yellow);
    outline-offset: -2px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #FFD700;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--gray-50);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    line-height: 1.8;
    color: var(--gray-700);
    text-align: justify;
}

/* Mentions legales styles */
.mentions-content {
    margin-top: 30px;
}

.mentions-content .intro {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 40px;
    padding: 20px;
    background: var(--gray-100);
    border-left: 4px solid var(--primary-blue);
    border-radius: 4px;
}

.mentions-article {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-200);
}

.mentions-article:last-child {
    border-bottom: none;
}

.mentions-article h2 {
    color: #1a1a1a;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.mentions-article p {
    line-height: 1.8;
    color: var(--gray-700);
    text-align: justify;
}

/* Language selector - text-based */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
}

.lang-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.6rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.lang-link:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.lang-link.active {
    color: #FFD700;
    font-weight: 700;
}

.lang-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
    -webkit-user-select: none;
    user-select: none;
}

@media (max-width: 768px) {
    .language-selector {
        margin-top: 0.25rem;
    }
}




/* Footer */
.site-footer {
    background: #111111;
    color: #ffffff;
    padding: 3rem 0 0;
}

/* Footer grid - 3 columns */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 3rem;
    }
}

/* Footer brand column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: #FFD700;
    text-decoration: none;
    display: inline-block;
    letter-spacing: -0.02em;
}

.footer-logo:hover {
    color: #ffe033;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.social-icon {
    color: rgba(255, 255, 255, 0.6);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #1a1a1a;
    background: #FFD700;
    border-color: #FFD700;
}

/* Footer nav & legal columns */
.footer-heading {
    color: #FFD700;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1rem;
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
    padding: 0.15rem 0;
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: #FFD700;
    padding-left: 4px;
}

/* Footer bottom bar */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin: 0;
}

/* Language selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0;
}

.lang-link {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.5rem;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.lang-link:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.08);
}

.lang-link.active {
    color: #FFD700;
    font-weight: 700;
}

.lang-sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    -webkit-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .header-content {
        gap: 2rem;
        padding: 1rem 0;
    }

    .logo {
        font-size: 3rem;
    }

    .logo img {
        height: 64px;
        padding: 6px;
    }

    .nav-toggle {
        display: none;
    }

    .site-nav {
        max-height: none !important;
    }

    .site-nav ul {
        flex-direction: row;
        gap: 0.25rem;
    }

    .site-nav a {
        padding: 0.5rem 0.75rem;
    }

    .banner {
        padding: 5rem 0;
    }

    .grid {
        gap: 2rem;
        padding: 3rem 0;
    }

    .card {
        padding: 2rem;
    }

    .section-page {
        padding: 3.5rem 0;
    }
}

/* Animations */
[data-aos] {
    /* Keep content visible at all times - AOS adds visual flair only */
    opacity: 1 !important;
    transition-property: transform;
    transition-duration: 0.6s;
}

[data-aos].aos-init {
    opacity: 1 !important;
}

[data-aos].aos-animate {
    opacity: 1 !important;
}
/* Auth pages */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    min-height: calc(100vh - 120px);
    background: var(--gray-100);
}
.auth-wrapper.dark {
    background: #1a1a1a;
    color: #ffffff;
}
.auth-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}
.auth-wrapper.dark .auth-form {
    background-color: var(--white);
    color: var(--black);
}
.auth-form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-dark);
}
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"] {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: 100%;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 44px;
}
.auth-form input:focus {
    border-color: #FFD700;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}
.auth-form textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: 100%;
    resize: vertical;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 100px;
}
.auth-form textarea:focus {
    border-color: #FFD700;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}
.auth-form .btn {
    width: 100%;
}
.auth-form a {
    font-size: 0.9rem;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
}
.auth-form a:hover {
    text-decoration: underline;
}

.auth-message {
    background-color: var(--blue);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

#map {
    width: 100%;
    height: 200px;
}

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.consent-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Auth pages (detailed layout) */
.auth-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.driver-login-page {
    background: #1a1a1a;
}

.auth-container {
    max-width: 500px;
    width: 100%;
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-container.driver-login {
    max-width: 450px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.driver-badge {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.auth-container h1 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 1.5rem;
}

.auth-page .auth-form {
    gap: 1.25rem;
}

.auth-page .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auth-page .form-group {
    display: flex;
    flex-direction: column;
}

.auth-page .form-group label {
    color: #1a1a1a;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.auth-page .form-group input {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.auth-page .form-group input:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.auth-page .form-group input.error {
    border-color: #dc3545;
}

.form-hint {
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.error-msg {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.error-msg.show {
    display: block;
}

.error-msg-box {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

.success-msg {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
    border: 1px solid #c3e6cb;
}

.demo-notice {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.terms-text {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.terms-text a {
    color: #1a1a1a;
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.auth-switch a {
    color: #1a1a1a;
    font-weight: 500;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-links {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.auth-links a {
    color: #1a1a1a;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-links a::before {
    content: '\2190';
    font-size: 1.2rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-check label {
    cursor: pointer;
    color: #666;
    font-size: 0.95rem;
}

.instructions {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.5;
}

.shield-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sent-to-text {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.auth-page .form-group input[type="text"][maxlength="6"] {
    font-size: 1.5rem;
    text-align: center;
    letter-spacing: 0.5rem;
    font-weight: 500;
}

.link-button {
    background: none;
    border: none;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0;
}

.link-button:hover {
    color: #FFD700;
    text-decoration: underline;
}

.link-button:disabled {
    color: #999;
    cursor: not-allowed;
}

.contact-admin {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.85rem;
}

.reset-note {
    text-align: center;
    margin-top: 1rem;
    color: #999;
    font-size: 0.8rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .auth-container {
        padding: 1.5rem;
    }

    .auth-page .form-group input[type="text"][maxlength="6"] {
        font-size: 1.25rem;
    }
}

@media (max-width: 600px) {
    .auth-page .form-row {
        grid-template-columns: 1fr;
    }
}

/* Layout for dual login options */
.login-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.login-options > * {
    width: 100%;
}
@media (min-width: 768px) {
    .login-options {
        flex-direction: row;
        align-items: flex-start;
    }
}
.pro-box {
    align-items: center;
    text-align: center;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #ffffff;
    padding: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    z-index: 1100;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}
.cookie-banner p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    text-align: center;
    color: #ffffff;
}
.cookie-banner a {
    color: var(--primary-yellow);
    text-decoration: underline;
}
.cookie-banner a:hover {
    color: #ffe033;
}
.cookie-banner h2 {
    margin: 0;
}
.cookie-banner button {
    background: #FFD700;
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.25s ease;
    min-height: 44px;
    font-size: 0.9rem;
}
.cookie-banner button:hover {
    transform: translateY(-1px);
    background: #ffe033;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}
.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}
.cookie-banner__reject {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.cookie-banner__reject:hover {
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
}
@media (min-width: 768px) {
    .cookie-banner {
        flex-direction: row;
        justify-content: center;
    }
    .cookie-banner p {
        margin: 0 1rem 0 0;
    }
}

/* Dark mode — temporarily disabled */
/*
@media (prefers-color-scheme: dark) {
}
*/
/* Account pages layout */
.account-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.account-sidebar ul {
    list-style: none;
    padding-left: 0;
}

.account-sidebar li {
    margin-bottom: 0.5rem;
}

.account-sidebar a {
    text-decoration: none;
    color: #ffffff;
}

.account-sidebar a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .account-layout {
        flex-direction: row;
    }
    .account-sidebar {
        width: 200px;
    }
    .account-content {
        flex: 1;
    }
}

.photo-gallery {
display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
}
.photo-gallery img {
   flex: 0 0 100%;
    width: 100%;
    height: auto;
    scroll-snap-align: start;
}

/* Contact page */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-form-section,
.contact-info {
    flex: 1 1 300px;
}

.contact-form-section .auth-form {
    max-width: none;
}

.contact-info .social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.contact-info .social-links .social-icon {
    color: #ffffff;
}

/* Reservation page layout */
.reservation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.reservation-form-wrapper {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.reservation-map-wrapper h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.booking-map {
    height: 500px;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary-yellow);
}

.map-instruction {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray-medium);
}

/* Contact page map */
.map-container {
    margin-top: 2rem;
}

.contact-map {
    height: 400px;
    border-radius: 8px;
    border: 2px solid var(--primary-yellow);
}

@media (max-width: 768px) {
    .contact-grid {
        flex-direction: column;
    }
    
    .reservation-container {
        grid-template-columns: 1fr;
    }
    
    .booking-map {
        height: 400px;
    }
}

.account-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Dashboard pages */
.welcome-msg {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.dashboard-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.dashboard-section {
    background: #f8f9fa;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.dashboard-section h2 {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.security-section .section-description {
    color: #666;
    margin-bottom: 1.5rem;
}

.security-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.security-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge.enabled {
    background: #d4edda;
    color: #155724;
}

.status-badge.disabled {
    background: #f8d7da;
    color: #721c24;
}

.bookings-container,
.history-container,
.rides-container {
    display: grid;
    gap: 1rem;
}

.booking-card,
.ride-card {
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 4px solid #FFD700;
}

.ride-card {
    border-left-color: #1a1a1a;
}

.booking-card h3,
.ride-card h3 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.booking-details,
.ride-details {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.no-bookings,
.no-rides {
    color: #666;
    font-style: italic;
}

.driver-status {
    background: #1a1a1a;
    color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    text-align: center;
}

.driver-status h2 {
    color: white;
    margin-bottom: 1rem;
}

.status-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
}

.badge.available {
    background-color: #28a745;
    color: white;
}

.badge.offline {
    background-color: #6c757d;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
    text-align: center;
    border-left: 4px solid #FFD700;
}

.stat-card h3 {
    color: #1a1a1a;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #FFD700;
    margin: 0;
}

.action-footer {
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .dashboard-nav {
        flex-direction: column;
    }

    .dashboard-nav .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin users */
.admin-users-container {
    max-width: 1400px;
    margin: 2rem auto;
}

.search-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-box input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: var(--gray-light);
}

.filter-btn.active {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    font-weight: 600;
}

.users-table-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th {
    background: var(--gray-dark);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.users-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.users-table tr:hover {
    background: var(--gray-light);
}

.admin-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.admin-badge.none {
    background: #e0e0e0;
    color: #666;
}

.admin-badge.partial {
    background: #fff3cd;
    color: #856404;
}

.admin-badge.full {
    background: #d4edda;
    color: #155724;
}

.admin-badge.owner {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 2px solid #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

.admin-badge.current-user {
    background: #e0e7ff;
    color: #3730a3;
    border: 2px solid #6366f1;
    font-size: 0.75rem;
}

.you-badge {
    background: #e0e7ff;
    color: #3730a3;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    margin-left: 0.5rem;
}

.current-user-row {
    background-color: rgba(99, 102, 241, 0.1) !important;
}

.no-edit-badge {
    background: #fee2e2;
    color: #dc2626;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    margin-left: 0.5rem;
}

.owner-only {
    display: none;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-page-header h1 {
    margin-bottom: 0.25rem;
}

.admin-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.admin-nav .btn.active {
    background: var(--primary-blue);
    color: white;
}

.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.action-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: var(--primary-yellow);
    color: var(--black);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.action-btn:hover {
    background: #ffd000;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 4px;
    cursor: pointer;
}

.pagination button:hover {
    background: var(--gray-light);
}

.pagination button.active {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    font-weight: 600;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-medium);
}

.modal-form {
    padding: 2rem;
}

.modal-form .form-group {
    margin-bottom: 1.5rem;
}

.modal-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-form input,
.modal-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.modal-form input[readonly] {
    background: var(--gray-light);
    cursor: not-allowed;
}

.modal-form .hint {
    display: block;
    color: var(--gray-medium);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.admin-permissions {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.admin-permissions h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.permissions-grid label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
}

.save-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    display: none;
}

.save-message.success {
    background: var(--success-bg);
    color: var(--success-text);
}

.save-message.error {
    background: var(--error-bg);
    color: var(--error-text);
}

@media (max-width: 768px) {
    .search-box {
        flex-direction: column;
    }

    .users-table {
        font-size: 0.875rem;
    }

    .users-table th,
    .users-table td {
        padding: 0.5rem;
    }

    .modal-content {
        width: 95%;
    }

    .permissions-grid {
        grid-template-columns: 1fr;
    }
}

/* Password Strength Indicator */
.password-strength-indicator {
    margin-top: 0.5rem;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--gray-medium);
}

.strength-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 33%;
    background: #dc3545;
}

.strength-fill.medium {
    width: 66%;
    background: #ffc107;
}

.strength-fill.strong {
    width: 100%;
    background: #28a745;
}

.strength-label {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.strength-label.weak { color: #dc3545; }
.strength-label.medium { color: #b38600; }
.strength-label.strong { color: #28a745; }

.password-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.password-checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    color: var(--gray-medium);
}

.password-checklist li.met {
    color: #28a745;
}

.password-checklist li.met::before {
    content: '✓';
    font-weight: bold;
}

.password-checklist li.unmet::before {
    content: '○';
}

/* 2FA Authentication Styles */
.modal-medium {
    max-width: 500px;
}

.modal-body {
    padding: 2rem;
}

.mfa-step {
    display: none;
}

.mfa-step.active {
    display: block;
}

.mfa-intro {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
}

.authenticator-apps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.app-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--gray-light);
    border-radius: 6px;
}

.app-icon {
    font-size: 1.5rem;
}

.qr-code-container {
    text-align: center;
    margin: 1.5rem 0;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.qr-code-container img {
    max-width: 200px;
    display: none;
}

.qr-loading {
    padding: 2rem;
    color: var(--gray-medium);
}

.manual-entry {
    text-align: center;
    margin-bottom: 1.5rem;
}

.secret-code {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    padding: 0.75rem 1rem;
    background: var(--gray-light);
    border-radius: 4px;
    margin: 0.5rem 0;
    font-family: monospace;
    word-break: break-all;
}

.code-input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.code-input-group input {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.code-input-group input:focus {
    border-color: var(--primary-yellow);
}

.code-separator {
    font-size: 1.5rem;
    color: var(--gray-medium);
}

.mfa-form .alert {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.alert-error {
    background: var(--error-bg);
    color: var(--error-text);
}

.success-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}

.warning-text {
    background: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
}

/* 2FA Login Modal */
.mfa-login-form {
    text-align: center;
}

.mfa-login-form p {
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .code-input-group input {
        width: 38px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* Pricing admin page */
.subtitle {
    font-size: 1.1rem;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.pricing-form {
    max-width: 1200px;
}

.pricing-form .pricing-section {
    background: var(--gray-light);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.pricing-form .pricing-section h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.pricing-form .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pricing-form .form-group label {
    font-weight: 500;
    color: var(--primary-blue);
}

.pricing-form .hint {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-medium);
    font-weight: normal;
    margin-top: 0.25rem;
}

.pricing-form .input-with-unit {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: white;
    overflow: hidden;
}

.pricing-form .input-with-unit:focus-within {
    border-color: var(--primary-yellow);
}

.pricing-form .input-with-unit input {
    flex: 1;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.pricing-form .input-with-unit input:focus {
    outline-color: var(--primary-yellow);
}

.pricing-form .input-with-unit .unit {
    padding: 0 1rem;
    background: var(--gray-light);
    color: var(--gray-dark);
    font-weight: 500;
    border-left: 2px solid var(--border-color);
}

.pricing-form .form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pricing-form .save-message {
    position: static;
    padding: 0.75rem 1.5rem;
    box-shadow: none;
}

.preview-section {
    background: white;
    border: 2px solid var(--primary-yellow);
}

.preview-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.preview-card {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.preview-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.preview-details {
    margin-bottom: 1rem;
}

.preview-details p {
    font-size: 0.875rem;
    color: var(--gray-medium);
    margin: 0.25rem 0;
}

.preview-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-yellow);
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .pricing-form .form-grid {
        grid-template-columns: 1fr;
    }

    .preview-examples {
        grid-template-columns: 1fr;
    }

    .pricing-form .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ===== NEW FEATURES STYLES ===== */

/* Fare Calculator Styles */
.fare-estimation-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.fare-estimation-section h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.fare-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.fare-options .form-group {
    display: flex;
    flex-direction: column;
}

.fare-options label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.fare-results {
    margin-top: 1.5rem;
}

.fare-breakdown {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-yellow);
}

.fare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.fare-header h3 {
    margin: 0;
    color: var(--primary-blue);
}

.fare-total {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-yellow);
}

.fare-details, .fare-surcharges, .fare-fixed-surcharges {
    margin: 1rem 0;
}

.fare-item, .surcharge-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.fare-disclaimer, .minimum-fare-note {
    font-size: 0.875rem;
    color: var(--gray-medium);
    margin-top: 1rem;
    font-style: italic;
}

.fare-error {
    background: var(--error-bg);
    color: var(--error-text);
    padding: 1rem;
    border-radius: 4px;
}

/* Scheduled Rides Styles */
.scheduling-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

#scheduled-options, #recurring-options {
    margin-top: 1rem;
    padding-left: 1rem;
}

/* Saved Locations Styles */
.saved-locations-section {
    margin-bottom: 1.5rem;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.favorite-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-yellow);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.favorite-icon {
    font-size: 2rem;
}

.favorite-info {
    flex: 1;
}

.favorite-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-blue);
}

.favorite-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-medium);
}

.favorite-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.2s;
}

.btn-icon:hover {
    transform: scale(1.2);
}

.no-favorites {
    color: var(--gray-medium);
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

/* Payment Method Styles */
.payment-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.payment-providers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.payment-btn {
    background: white;
    border: 2px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.payment-btn:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.payment-btn img {
    height: 24px;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.payment-method-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-method-card.default {
    border-color: var(--primary-yellow);
}

.payment-icon {
    font-size: 1.5rem;
}

.payment-info {
    flex: 1;
}

.payment-info h4 {
    margin: 0 0 0.5rem 0;
}

.default-badge {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.payment-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.no-payment-methods {
    color: var(--gray-medium);
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

.card-input-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.card-input-form h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Rating Modal Styles */
.rating-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.rating-modal {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.rating-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating-modal-header h2 {
    margin: 0;
    color: var(--primary-blue);
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-medium);
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.close-modal:hover {
    color: var(--primary-blue);
}

.rating-modal-body {
    padding: 2rem;
}

.driver-info {
    text-align: center;
    margin-bottom: 2rem;
}

.driver-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-yellow);
}

.driver-photo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto;
}

.driver-info h3 {
    margin-top: 1rem;
    margin-bottom: 0;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0 1rem;
}

.rating-stars .star {
    font-size: 3rem;
    cursor: pointer;
    color: #ddd;
    transition: all 0.2s;
}

.rating-stars .star:hover,
.rating-stars .star.selected {
    color: var(--primary-yellow);
    transform: scale(1.1);
}

.rating-label {
    text-align: center;
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 2rem;
}

.rating-categories {
    margin: 2rem 0;
}

.rating-categories h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.category-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: var(--gray-light);
    border-radius: 4px;
}

.category-rating label {
    font-weight: 500;
    min-width: 120px;
}

.category-stars {
    display: flex;
    gap: 0.25rem;
}

.category-stars .star {
    font-size: 1.5rem;
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s;
}

.category-stars .star:hover,
.category-stars .star.selected {
    color: var(--primary-yellow);
}

.rating-review {
    margin: 2rem 0;
}

.rating-review label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.rating-review textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    resize: vertical;
}

.char-count {
    display: block;
    text-align: right;
    color: var(--gray-medium);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.rating-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.thank-you-message {
    text-align: center;
    padding: 3rem 1rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1rem;
}

/* Driver Rating Display */
.driver-rating-summary {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2rem;
}

.avg-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.rating-stars-display {
    font-size: 1.5rem;
}

.rating-stars-display .star.filled {
    color: var(--primary-yellow);
}

.rating-stars-display .star.half {
    background: linear-gradient(90deg, var(--primary-yellow) 50%, #ddd 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rating-stars-display .star.empty {
    color: #ddd;
}

.rating-count {
    color: var(--gray-medium);
    font-size: 0.875rem;
}

.driver-reviews {
    margin-top: 2rem;
}

.driver-reviews h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-yellow);
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-stars {
    font-size: 1.25rem;
}

.review-stars .star {
    color: var(--primary-yellow);
}

.review-date {
    color: var(--gray-medium);
    font-size: 0.875rem;
}

.review-text {
    color: var(--gray-dark);
    margin: 0;
}

.rate-ride-btn {
    margin-top: 1rem;
}

.rated-badge {
    display: inline-block;
    background: var(--success-bg);
    color: var(--success-text);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Pricing Settings Styles */
.pricing-settings-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.pricing-form-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.pricing-section {
    margin-bottom: 2rem;
}

.pricing-section h3 {
    color: var(--gray-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-yellow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
}

.form-group small {
    color: var(--gray-medium);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.input-with-unit {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-unit input {
    flex: 1;
    padding: 0.75rem 3rem 0.75rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-with-unit input:focus {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 2px;
    border-color: var(--primary-yellow);
}

.input-with-unit .unit {
    position: absolute;
    right: 1rem;
    color: var(--gray-medium);
    font-size: 0.875rem;
    pointer-events: none;
}

.preview-section {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.preview-section h3 {
    color: var(--gray-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.preview-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.preview-card h4 {
    color: var(--gray-dark);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.preview-price {
    font-size: 2rem;
    color: var(--primary-blue);
    font-weight: bold;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.save-message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
    display: none;
}

.save-message.success {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-text);
}

.save-message.error {
    background: var(--error-bg);
    color: var(--error-text);
    border: 1px solid var(--error-text);
}

/* Responsive adjustments for new features */
@media (max-width: 768px) {
    .fare-options {
        grid-template-columns: 1fr;
    }
    
    .favorites-grid,
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .favorite-card,
    .payment-method-card {
        flex-direction: column;
        text-align: center;
    }
    
    .favorite-actions,
    .payment-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .rating-stars .star {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Chat widget - hidden by default when disabled */
.chat-widget[data-chat-enabled="false"] {
    display: none !important;
}

.chat-widget {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1100;
    font-family: inherit;
}

.chat-widget__bubble {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #FFD700;
    color: #1a1a1a;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.chat-widget__bubble:hover {
    transform: translateY(-2px);
}

.chat-widget__bubble-icon {
    width: 26px;
    height: 26px;
}

.chat-widget__panel {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 360px;
    height: 480px;
    background: var(--white, #ffffff);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-widget--open .chat-widget__panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chat-widget--open .chat-widget__bubble {
    opacity: 0;
    pointer-events: none;
}

.chat-widget__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    background: #1a1a1a;
    color: #ffffff;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

.chat-widget__title {
    margin: 0;
    font-weight: 600;
}

.chat-widget__status {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

.chat-widget__powered {
    margin: 0.2rem 0 0;
    font-size: 0.75rem;
    opacity: 0.7;
    letter-spacing: 0.02em;
}

.chat-widget__close {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-widget__agent {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.75rem 1.2rem;
    border-bottom: 1px solid var(--border-color, #ddd);
    font-size: 0.9rem;
}

.chat-widget__agent select {
    flex: 1;
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color, #ddd);
}

.chat-widget__body {
    flex: 1;
    padding: 1rem 1.2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-widget__messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-right: 0.3rem;
}

.chat-message {
    max-width: 80%;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-message--user {
    align-self: flex-end;
    background: var(--yellow, var(--primary-yellow));
    color: var(--black, #000000);
}

.chat-message--assistant {
    align-self: flex-start;
    background: var(--gray-light, #f5f5f5);
    color: var(--black, #000000);
}

.chat-widget__typing {
    display: none;
    font-size: 0.85rem;
    color: var(--gray-medium, #666666);
}

.chat-widget--typing .chat-widget__typing {
    display: block;
}

.chat-widget__error {
    display: none;
    font-size: 0.85rem;
    color: var(--error-text, #721c24);
}

.chat-widget--error .chat-widget__error,
.chat-widget--offline .chat-widget__error {
    display: block;
}

.chat-widget__form {
    display: flex;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem 1rem;
    border-top: 1px solid var(--border-color, #ddd);
}

.chat-widget__form input {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--border-color, #ddd);
}

.chat-widget__form button {
    border: none;
    background: var(--blue, var(--primary-blue));
    color: var(--white, #ffffff);
    padding: 0.6rem 1rem;
    border-radius: 10px;
    cursor: pointer;
}

.chat-widget__form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .chat-widget {
        right: 1rem;
        left: 1rem;
        bottom: 1rem;
    }

    .chat-widget__panel {
        width: 100%;
        height: 70vh;
        border-radius: 18px;
    }

    .chat-widget__bubble {
        margin-left: auto;
    }
}

/* Small phone screens */
@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 0.5rem;
    }

    .banner {
        padding: 2.5rem 0;
    }

    .banner .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 0.85rem 1rem;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .card {
        padding: 1.25rem;
    }

    .section-page {
        padding: 1.5rem 0;
    }

    .auth-wrapper {
        padding: 1rem;
    }

    .auth-form {
        padding: 1.5rem;
        border-radius: var(--radius-md);
    }

    .auth-container {
        padding: 1.25rem;
    }

    .footer-grid {
        gap: 1.5rem;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-tagline {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-nav ul,
    .footer-legal ul {
        align-items: center;
    }

    .footer-heading {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner {
        padding: 0.75rem;
    }

    .cookie-banner p {
        font-size: 0.85rem;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner button {
        flex: 1;
        text-align: center;
    }

    .reviews-marquee {
        font-size: 0.85rem;
    }

    .booking-map {
        height: 300px;
    }

    .contact-map {
        height: 300px;
    }

    .dashboard-section {
        padding: 1.25rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    h1, h2, h3, h4, h5, h6 {
        word-break: break-word;
    }
}

/* ========================================
   About Page Styles
======================================== */
.about-intro {
    margin-bottom: 3rem;
}

.about-intro .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-icon i {
    font-size: 1.5rem;
    color: var(--primary-black);
}

.about-card h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.about-card ul li:last-child {
    border-bottom: none;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    background: var(--primary-black);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.about-cta {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Services Page Styles
======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-yellow);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-yellow), #f0c000);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-black);
}

.service-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.services-features {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
}

.services-features h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-color);
    border-radius: 8px;
}

.features-list li i {
    color: var(--primary-yellow);
    font-size: 1.1rem;
}

.services-cta {
    text-align: center;
    background: var(--primary-black);
    border-radius: 12px;
    padding: 3rem 2rem;
}

.services-cta h2 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.services-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-cta {
        padding: 2rem 1.5rem;
    }
}

/* ==================== DRIVER DASHBOARD V2 ==================== */
.driver-dashboard {
    max-width: 1200px;
}

.driver-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.driver-header h1 { margin: 0; }
.driver-header .welcome-msg { margin: 0.25rem 0 0; opacity: 0.8; }

.status-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.status-btn .status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-btn.offline { background: #666; color: #fff; }
.status-btn.offline .status-dot { background: #999; animation: none; }

.status-btn.available { background: #22c55e; color: #fff; }
.status-btn.available .status-dot { background: #fff; }

.status-btn.busy { background: #f59e0b; color: #fff; }
.status-btn.busy .status-dot { background: #fff; }

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.driver-dashboard .dashboard-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.nav-tab {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: all 0.2s;
}

.nav-tab:hover, .nav-tab.active {
    background: var(--primary-blue);
    color: #fff;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* Ride Request Alert */
.ride-request-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.ride-request-alert.hidden { display: none; }

@keyframes slideIn {
    from { opacity: 0; transform: translate(-50%, -45%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--primary-blue);
    color: #fff;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.alert-header h3 { margin: 0; flex: 1; }
.alert-icon { font-size: 1.5rem; }

.request-timer {
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: bold;
}

.alert-body { padding: 1.25rem; }

.request-details p {
    margin: 0.5rem 0;
    display: flex;
    justify-content: space-between;
}

.request-map, .ride-map {
    height: 180px;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    background: #eee;
}

.alert-actions {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-color);
}

.alert-actions .btn { flex: 1; }

/* Current Ride Panel */
.current-ride-panel {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.current-ride-panel.hidden { display: none; }

.ride-status-bar {
    background: var(--primary-blue);
    color: #fff;
    padding: 0.75rem 1.25rem;
    text-align: center;
    font-weight: 600;
}

.ride-info-grid { padding: 1.25rem; }

.ride-passenger {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.passenger-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.passenger-details { flex: 1; }
.passenger-details h4 { margin: 0; }
.passenger-rating { font-size: 0.9rem; color: #666; }

.passenger-actions { display: flex; gap: 0.5rem; }

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover { background: var(--bg-secondary); }

.ride-route { margin-bottom: 1rem; }

.route-point {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.point-icon { font-size: 1.25rem; }
.point-info { flex: 1; }
.point-info small { color: #666; font-size: 0.8rem; }
.point-info p { margin: 0; font-weight: 500; }

.route-line {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-yellow));
    margin-left: 0.9rem;
}

.navigate-btn {
    padding: 0.5rem;
    border: none;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.ride-fare-info {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.fare-item span { font-size: 0.85rem; color: #666; }
.fare-item strong { display: block; font-size: 1.25rem; }

.ride-map { margin: 1rem 1.25rem; height: 200px; }

.ride-actions {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-color);
}

.ride-actions .btn { flex: 1; }

.btn-success { background: #22c55e; color: #fff; }
.btn-success:hover { background: #16a34a; }

/* Stats Grid */
.stats-period-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.period-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.period-btn.active {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

.driver-dashboard .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.driver-dashboard .stat-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.driver-dashboard .stat-card.primary {
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
    color: #fff;
}

.stat-icon { font-size: 2rem; }

.stat-content h3 {
    margin: 0 0 0.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.8;
}

.stat-content .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.stat-trend {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    margin-top: 0.25rem;
}

.stat-trend.positive { background: rgba(34,197,94,0.2); color: #16a34a; }
.stat-trend.negative { background: rgba(239,68,68,0.2); color: #dc2626; }

/* Earnings Chart */
.earnings-chart-container {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.earnings-chart-container h3 { margin: 0 0 1rem; }

.earnings-chart { height: 200px; }

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 160px;
    padding: 0 0.5rem;
}

.chart-bar {
    width: 40px;
    background: linear-gradient(to top, var(--primary-blue), #60a5fa);
    border-radius: 4px 4px 0 0;
    position: relative;
    min-height: 5px;
    transition: height 0.5s ease;
}

.chart-bar:hover { opacity: 0.8; }

.bar-value {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
}

.chart-bar:hover .bar-value { opacity: 1; }

.chart-labels {
    display: flex;
    justify-content: space-around;
    padding-top: 0.5rem;
    font-size: 0.8rem;
    color: #666;
}

/* Rides List */
.rides-list { margin-top: 1rem; }

.ride-history-item {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.ride-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.ride-route-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.ride-route-summary .arrow { color: var(--primary-blue); }

.ride-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.ride-meta .fare { font-weight: 600; color: var(--primary-blue); }

/* Vehicle Card */
.vehicle-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.vehicle-image {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.vehicle-info h3 { margin: 0; }
.vehicle-info p { margin: 0.25rem 0; color: #666; }

.vehicle-type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-yellow);
    color: #000;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.vehicle-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item span { color: #666; }

.status-valid { color: #22c55e; }
.status-expired { color: #ef4444; }

.vehicle-actions { text-align: center; }

/* History Filters */
.history-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.history-filters select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #fff;
}

.no-rides {
    text-align: center;
    color: #666;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

/* Driver Dashboard Mobile */
@media (max-width: 768px) {
    .driver-header { flex-direction: column; align-items: flex-start; }
    .driver-dashboard .dashboard-nav { overflow-x: auto; flex-wrap: nowrap; }
    .driver-dashboard .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .vehicle-card { flex-direction: column; text-align: center; }
    .ride-fare-info { flex-direction: column; gap: 0.5rem; }
    .chart-bar { width: 25px; }
}

/* ==========================================================================
   ADMIN DASHBOARD, RIDES & DRIVERS STYLES
   ========================================================================== */

/* Admin Common Layout */
.admin-dashboard,
.admin-rides,
.admin-drivers {
    min-height: 100vh;
    background: #f5f7fa;
    padding: 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-header h1 {
    font-size: 1.75rem;
    color: #1a1a2e;
    margin: 0;
}

.admin-header .admin-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-header #admin-name {
    font-weight: 600;
    color: #333;
}

.admin-header #logout-btn {
    background: #f44336;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

/* Admin Navigation */
.admin-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-nav a {
    padding: 0.75rem 1.5rem;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s;
}

.admin-nav a:hover {
    background: #e8f4fc;
    color: var(--primary-blue);
}

.admin-nav a.active {
    background: var(--primary-blue);
    color: #fff;
}

/* Period Selector */
.period-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.period-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.period-btn:hover {
    background: #f0f0f0;
}

.period-btn.active {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

/* KPI Grid */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.kpi-card h3 {
    color: #666;
    font-size: 0.875rem;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
}

.kpi-card .kpi-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    display: block;
}

.kpi-card .kpi-trend {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: inline-block;
}

.kpi-trend.positive { color: #22c55e; }
.kpi-trend.negative { color: #f44336; }

.kpi-card .kpi-sub {
    font-size: 0.875rem;
    color: #999;
    margin-top: 0.25rem;
}

/* Status Summary */
.status-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.status-card {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #ddd;
}

.status-card.pending { border-color: #f59e0b; }
.status-card.in-progress { border-color: #3b82f6; }
.status-card.completed { border-color: #22c55e; }
.status-card.cancelled { border-color: #f44336; }

.status-card .status-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

.status-card .status-label {
    font-size: 0.875rem;
    color: #666;
}

/* Dashboard Content Grid */
.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.dashboard-main,
.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Panels */
.panel {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.panel-header h2 {
    font-size: 1rem;
    color: #1a1a2e;
    margin: 0;
}

.panel-header .view-all-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.875rem;
}

/* Admin Chart */
.admin-chart {
    height: 250px;
    position: relative;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    padding: 0 1rem;
}

.chart-bar {
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-blue-dark, #1565c0) 100%);
    border-radius: 4px 4px 0 0;
    min-width: 30px;
    max-width: 50px;
    flex: 1;
    margin: 0 5px;
    position: relative;
    transition: height 0.3s;
}

.chart-bar .bar-value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #666;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
}

.chart-bar:hover .bar-value {
    opacity: 1;
}

.chart-labels {
    display: flex;
    justify-content: space-around;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}

.chart-labels span {
    font-size: 0.75rem;
    color: #666;
}

/* Recent Items */
.recent-ride-item,
.recent-user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.recent-ride-item:last-child,
.recent-user-item:last-child {
    border-bottom: none;
}

.ride-main {
    display: flex;
    flex-direction: column;
}

.ride-id {
    font-weight: 600;
    color: var(--primary-blue);
}

.ride-passenger,
.ride-route {
    font-size: 0.875rem;
    color: #666;
}

.ride-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: right;
}

.ride-fare {
    font-weight: 600;
    color: #22c55e;
}

/* Status Badges */
.status-badge,
.ride-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-pending, .status-badge.status-pending { background: #fef3c7; color: #92400e; }
.status-confirmed, .status-badge.status-confirmed { background: #dbeafe; color: #1e40af; }
.status-in_progress, .status-badge.status-in_progress { background: #cffafe; color: #0891b2; }
.status-completed, .status-badge.status-completed { background: #d1fae5; color: #065f46; }
.status-cancelled, .status-badge.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-online, .status-badge.status-online { background: #d1fae5; color: #065f46; }
.status-busy, .status-badge.status-busy { background: #dbeafe; color: #1e40af; }
.status-offline, .status-badge.status-offline { background: #f3f4f6; color: #6b7280; }
.status-suspended, .status-badge.status-suspended { background: #fee2e2; color: #991b1b; }

/* Recent Users */
.user-avatar {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.user-info {
    flex: 1;
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: #1a1a2e;
}

.user-email {
    font-size: 0.875rem;
    color: #666;
}

.user-type {
    background: #e8f4fc;
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* Map in Panels */
.panel .admin-map {
    height: 200px;
    border-radius: 4px;
    background: #f0f0f0;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-actions .btn {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background: var(--primary-blue);
    color: #fff;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-success {
    background: #22c55e;
    color: #fff;
}

.btn-danger {
    background: #f44336;
    color: #fff;
}

/* Admin Rides Table */
.admin-rides .toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-rides .filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: #f0f0f0;
}

.filter-btn.active {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

.admin-rides .search-box input {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 250px;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stats-bar .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-bar .stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
}

.stats-bar .stat-label {
    font-size: 0.875rem;
    color: #666;
}

/* Rides Table */
.rides-table {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.rides-table table {
    width: 100%;
    border-collapse: collapse;
}

.rides-table th,
.rides-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.rides-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #666;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.rides-table tr:hover {
    background: #f8f9fa;
}

.passenger-info,
.route-info {
    display: flex;
    flex-direction: column;
}

.passenger-info .name,
.route-info .pickup {
    font-weight: 600;
}

.passenger-info .phone,
.route-info .destination {
    font-size: 0.875rem;
    color: #666;
}

.rides-table .actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border: none;
    background: #f0f0f0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: #e0e0e0;
}

.btn-icon.btn-assign:hover { background: #dbeafe; }
.btn-icon.btn-cancel:hover { background: #fee2e2; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    margin-top: 1rem;
}

.btn-page {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.25rem;
}

.btn-page:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-num {
    color: #666;
}

/* Empty Message */
.empty-message {
    text-align: center;
    color: #666;
    padding: 2rem;
}

/* Admin Drivers Layout */
.admin-drivers .drivers-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 1.5rem;
}

.admin-drivers .map-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem;
}

#drivers-map {
    height: 400px;
    border-radius: 4px;
}

.drivers-list-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.drivers-list {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-height: 500px;
    overflow-y: auto;
}

.driver-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}

.driver-item:hover,
.driver-item.selected {
    background: #f8f9fa;
}

.driver-item .driver-avatar {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.driver-item .driver-info {
    flex: 1;
    margin-left: 1rem;
}

.driver-item .driver-name {
    font-weight: 600;
    color: #1a1a2e;
    display: block;
}

.driver-item .driver-vehicle {
    font-size: 0.875rem;
    color: #666;
}

.driver-item .driver-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.driver-rating {
    font-size: 0.875rem;
    color: #f59e0b;
}

/* Driver Detail Panel */
#driver-detail-panel {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    display: none;
}

#driver-detail-panel.show {
    display: block;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.driver-avatar-large {
    width: 60px;
    height: 60px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.driver-identity h3 {
    margin: 0 0 0.25rem 0;
    color: #1a1a2e;
}

.detail-section {
    margin-bottom: 1.5rem;
}

.detail-section h4 {
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    margin: 0 0 0.75rem 0;
}

.detail-section p {
    margin: 0.5rem 0;
    color: #333;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stats-grid .stat {
    text-align: center;
}

.stats-grid .stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    display: block;
}

.stats-grid .stat-label {
    font-size: 0.75rem;
    color: #666;
}

.documents-status {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.doc-status {
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.doc-valid { background: #d1fae5; color: #065f46; }
.doc-expiring { background: #fef3c7; color: #92400e; }
.doc-expired { background: #fee2e2; color: #991b1b; }

.detail-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.detail-actions .btn {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.modal h2 {
    margin: 0 0 1.5rem 0;
    color: #1a1a2e;
}

.modal .form-group {
    margin-bottom: 1rem;
}

.modal .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.modal .form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.modal .btn-submit {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
}

/* Available Drivers List */
.driver-option {
    display: block;
    margin-bottom: 0.75rem;
}

.driver-option input {
    display: none;
}

.driver-option .driver-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.driver-option input:checked + .driver-card {
    border-color: var(--primary-blue);
    background: #e8f4fc;
}

.driver-option .driver-name {
    font-weight: 600;
    flex: 1;
}

.driver-option .driver-vehicle {
    color: #666;
}

.driver-option .driver-rating {
    color: #f59e0b;
}

.driver-option .driver-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* Admin Responsive */
@media (max-width: 1024px) {
    .dashboard-content { grid-template-columns: 1fr; }
    .admin-drivers .drivers-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .admin-dashboard,
    .admin-rides,
    .admin-drivers { padding: 1rem; }
    
    .admin-header { flex-direction: column; gap: 1rem; }
    .admin-nav { overflow-x: auto; flex-wrap: nowrap; }
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { flex-wrap: wrap; }
    
    .rides-table { overflow-x: auto; }
    .rides-table table { min-width: 700px; }
}

/* ==========================================================================
   REGULATION PAGE STYLES (TX vs TL)
   ========================================================================== */

.regulation-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d2d2d 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.regulation-hero h1 {
    color: var(--primary-yellow);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.regulation-hero .intro-text {
    color: var(--gray-200);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.regulation-section {
    padding: 4rem 0;
}

.regulation-section:nth-child(even) {
    background-color: var(--gray-50);
}

.regulation-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.regulation-section h2 i {
    color: var(--primary-yellow);
    margin-right: 0.5rem;
}

.law-content {
    max-width: 800px;
}

.law-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.law-points {
    list-style: none;
    padding: 0;
}

.law-points li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.law-points li:last-child {
    border-bottom: none;
}

.law-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: bold;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

.comparison-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--gray-200);
}

.comparison-card.tx {
    border-top-color: #666;
}

.comparison-card.tl {
    border-top-color: var(--primary-yellow);
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-card.tx h3 {
    color: #666;
}

.comparison-card.tl h3 {
    color: var(--primary-blue);
}

.comparison-card.tl h3 i {
    color: var(--primary-yellow);
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list li i {
    width: 20px;
    text-align: center;
}

.comparison-card.tx .comparison-list li i {
    color: #999;
}

.comparison-card.tl .comparison-list li i {
    color: var(--primary-yellow);
}

/* Why Cabsy Grid */
.why-cabsy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .why-cabsy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .why-cabsy-grid {
        grid-template-columns: 1fr;
    }
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.why-card .icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.why-card .icon i {
    font-size: 1.5rem;
    color: var(--primary-yellow);
}

.why-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--gray-medium);
}

/* For You Section */
.for-you-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .for-you-grid {
        grid-template-columns: 1fr;
    }
}

.for-you-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.for-you-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.for-you-card h3 i {
    color: var(--primary-yellow);
}

.for-you-card.must-know {
    border-left: 4px solid #f59e0b;
}

.for-you-card.benefits {
    border-left: 4px solid #10b981;
}

.for-you-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.for-you-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.for-you-list li i {
    margin-top: 0.25rem;
}

.must-know .for-you-list li i {
    color: #f59e0b;
}

.benefits .for-you-list li i {
    color: #10b981;
}

/* Legal References */
.legal-references {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-top: 1rem;
}

.legal-references ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-references li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.95rem;
    color: var(--gray-dark);
}

.legal-references li:last-child {
    border-bottom: none;
}

.legal-references li::before {
    content: "§";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Regulation CTA */
.regulation-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d2d2d 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.regulation-cta h2 {
    color: var(--primary-yellow);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.regulation-cta p {
    color: var(--gray-200);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.regulation-cta .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}
