:root {
    --primary: #0f172a;
    --brand: #2563eb;
    --brand-hover: #1d4ed8;
    --accent: #10b981;
    --surface: #ffffff;
    --background: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 14px;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.navbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.brand-logo span { color: var(--primary); }

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 1.25rem;
    transition: color 0.2s;
}

.nav-links a.active, .nav-links a:hover { color: var(--brand); }

/* Main Container Layout */
.app-container {
    max-width: 1200px;
    margin: 1.5rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 1.5rem;
    width: 100%;
}

@media (max-width: 960px) {
    .app-container {
        grid-template-columns: 1fr;
        margin: 0;
        padding: 0;
    }
}

/* Card Styles */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--primary);
}

/* Form Groups */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.input-field:focus {
    border-color: var(--brand);
}

.btn-inline {
    position: absolute;
    right: 6px;
    background: var(--background);
    border: 1px solid var(--border);
    padding: 0.4rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}

.btn-inline:hover { background: #e2e8f0; }

/* Route Alternative Selector Cards */
.route-choice-card {
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.route-choice-card:hover {
    border-color: #cbd5e1;
}

.route-choice-card.selected {
    border-color: var(--brand);
    background: #eff6ff;
}

.route-meta-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

/* Action Buttons */
.btn {
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
}

.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-hover); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text-main); }
.btn-outline:hover { background: #f1f5f9; }

/* Map View Container */
.map-canvas-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 110px);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

@media (max-width: 960px) {
    .map-canvas-container {
        height: 380px;
        border-radius: 0;
    }
}

#map { width: 100%; height: 100%; }

/* Ride Result List */
.ride-item {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 1.15rem;
    margin-bottom: 1rem;
    background: var(--surface);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ride-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.06);
}

.ride-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.driver-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.driver-pill .rating {
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.fare-tag {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

.ride-proximity-specs {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    padding: 0.6rem;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.tag-verified {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: bold;
}

/* ═══════════════════════════════════════════════════════════
   NEW PAGES — Extended Styles
   ═══════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

/* ── Enhanced Navbar ── */
.navbar {
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.92);
}

.nav-links { display: flex; align-items: center; gap: 0.25rem; }

.nav-links a {
    margin-left: 0;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.nav-links a:hover { background: #f1f5f9; color: var(--brand); }
.nav-links a.active { background: #eff6ff; color: var(--brand); }

.nav-btn-primary {
    background: var(--brand) !important;
    color: #fff !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
}

.nav-btn-primary:hover { background: var(--brand-hover) !important; }

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
    padding: 0.25rem;
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        gap: 0.25rem;
    }
    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; text-align: left; }
}

/* ── Hero Section (Landing Page) ── */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    color: #fff;
    padding: 5rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(37,99,235,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(16,185,129,0.1) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.hero-badge {
    display: inline-block;
    background: rgba(37,99,235,0.2);
    border: 1px solid rgba(37,99,235,0.3);
    color: #93c5fd;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -1.5px;
}

.hero-title span { 
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #94a3b8;
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-btn {
    padding: 0.95rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hero-btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37,99,235,0.4);
}

.hero-btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.5);
}

.hero-btn-outline {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.2);
}

.hero-btn-outline:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat-item { text-align: center; }

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── How It Works Section ── */
.section { padding: 4rem 2rem; max-width: 1100px; margin: 0 auto; }

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.2rem; }
    .hero-stats { gap: 1.5rem; }
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: var(--brand);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
}

.step-icon-blue { background: #eff6ff; color: var(--brand); }
.step-icon-green { background: #f0fdf4; color: var(--accent); }
.step-icon-purple { background: #f5f3ff; color: #7c3aed; }

.step-number {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--brand);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Features Grid ── */
.features-section { background: #f8fafc; padding: 4rem 2rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.feature-emoji { font-size: 2rem; margin-bottom: 1rem; }

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--primary);
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Auth Page ── */
.auth-container {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem;
}

.auth-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}

.auth-header { text-align: center; margin-bottom: 2rem; }

.auth-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.auth-header p { color: var(--text-muted); font-size: 0.9rem; }

.auth-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 1.5rem;
}

.auth-tab {
    flex: 1;
    padding: 0.65rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
}

.auth-tab.active {
    background: #fff;
    color: var(--brand);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ── Profile Page ── */
.profile-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.profile-hero {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    border-radius: 20px;
    padding: 2.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.profile-hero::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(37,99,235,0.15);
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    border: 3px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 1;
}

.profile-info { position: relative; z-index: 1; }

.profile-name {
    font-size: 1.5rem;
    font-weight: 800;
}

.profile-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-blue { background: rgba(37,99,235,0.2); color: #93c5fd; }
.badge-green { background: rgba(16,185,129,0.2); color: #6ee7b7; }
.badge-yellow { background: rgba(234,179,8,0.2); color: #fde047; }
.badge-red { background: rgba(239,68,68,0.2); color: #fca5a5; }
.badge-solid-blue { background: var(--brand); color: #fff; }
.badge-solid-green { background: var(--accent); color: #fff; }

.profile-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .profile-hero { flex-direction: column; text-align: center; }
    .profile-badges { justify-content: center; }
    .profile-cards-grid { grid-template-columns: 1fr; }
}

/* ── Dashboard Page ── */
.dashboard-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
}

.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-icon-blue { background: #eff6ff; }
.stat-icon-green { background: #f0fdf4; }
.stat-icon-purple { background: #f5f3ff; }
.stat-icon-amber { background: #fffbeb; }

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Trip / Booking List Cards ── */
.list-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.list-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.list-card-route {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.route-arrow { color: var(--brand); font-weight: 400; }

.list-card-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.meta-chip {
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    background: #f1f5f9;
    color: var(--text-muted);
}

.meta-chip-blue { background: #eff6ff; color: var(--brand); }
.meta-chip-green { background: #f0fdf4; color: #166534; }

.list-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-sm-brand { background: var(--brand); color: #fff; }
.btn-sm-brand:hover { background: var(--brand-hover); }
.btn-sm-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text-main); }
.btn-sm-outline:hover { background: #f1f5f9; }
.btn-sm-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.btn-sm-danger:hover { background: #fee2e2; }
.btn-sm-green { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.btn-sm-green:hover { background: #dcfce7; }

/* Status Badges */
.status-badge {
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active { background: #f0fdf4; color: #166534; }
.status-confirmed { background: #eff6ff; color: #1d4ed8; }
.status-completed { background: #f1f5f9; color: #475569; }
.status-cancelled { background: #fef2f2; color: #dc2626; }

/* ── Trip Detail Page ── */
.trip-detail-container {
    max-width: 1200px;
    margin: 1.5rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 1.5rem;
}

@media (max-width: 960px) {
    .trip-detail-container { grid-template-columns: 1fr; }
}

.detail-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.detail-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.detail-label { color: var(--text-muted); }
.detail-value { font-weight: 600; color: var(--primary); }

.detail-route-visual {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 0;
}

.detail-route-line {
    width: 3px;
    background: linear-gradient(to bottom, var(--brand), var(--accent));
    border-radius: 3px;
    position: relative;
    margin-left: 6px;
}

.detail-route-line::before,
.detail-route-line::after {
    content: '';
    position: absolute;
    left: -5px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
}

.detail-route-line::before {
    top: -6px;
    background: var(--brand);
}

.detail-route-line::after {
    bottom: -6px;
    background: var(--accent);
}

.detail-route-points { display: flex; flex-direction: column; justify-content: space-between; min-height: 80px; }

.detail-route-point-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.detail-route-point-value { font-size: 0.95rem; font-weight: 700; color: var(--primary); }

/* Passenger list in trip detail */
.passenger-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.passenger-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.passenger-info { flex: 1; }
.passenger-name { font-weight: 600; font-size: 0.9rem; color: var(--primary); }
.passenger-route { font-size: 0.78rem; color: var(--text-muted); }
.passenger-seats { font-weight: 700; font-size: 0.85rem; color: var(--brand); }

/* ── Add Vehicle Page ── */
.form-container-centered {
    max-width: 550px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.vehicle-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.vehicle-type-option {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.vehicle-type-option:hover { border-color: #cbd5e1; }
.vehicle-type-option.selected { border-color: var(--brand); background: #eff6ff; }
.vehicle-type-option .vt-emoji { font-size: 1.5rem; margin-bottom: 0.3rem; }
.vehicle-type-option .vt-label { font-size: 0.82rem; font-weight: 600; color: var(--primary); }

/* ── About Page ── */
.about-hero {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
}

.about-hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.about-hero p {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.about-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s;
}

.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.contact-title { font-weight: 700; color: var(--primary); margin-bottom: 0.3rem; }
.contact-value { color: var(--text-muted); font-size: 0.9rem; }

/* ── Footer ── */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 2rem 1.5rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 480px) {
    .footer-content { grid-template-columns: 1fr; }
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.footer-brand span { color: var(--brand); }
.footer-desc { font-size: 0.85rem; line-height: 1.6; }

.footer-col-title {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 0.8rem;
    color: #475569;
}

/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
}

.empty-state-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }
.empty-state-title { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.empty-state-desc { font-size: 0.9rem; margin-bottom: 1.5rem; }

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 0.5s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ── Toast Notification ── */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #0f172a;
    color: #fff;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.toast-success { border-left: 4px solid var(--accent); }
.toast-error { border-left: 4px solid #ef4444; }

/* ── Loading Spinner ── */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2.5px solid var(--border);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
    color: var(--text-muted);
}

/* ── Toggle Switch ── */
.toggle-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: #cbd5e1;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
}

.toggle-switch.active { background: var(--brand); }

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle-switch.active::after { transform: translateX(20px); }

/* ── Textarea ── */
textarea.input-field {
    resize: vertical;
    min-height: 80px;
}