/* ==========================================================================
   BRAC University Rideshare Platform - Modern CSS Stylesheet
   ========================================================================== */

:root {
    --primary: #003366;        /* BRAC Navy Blue */
    --primary-light: #0d4a87;
    --primary-dark: #002244;
    --accent: #0ea5e9;         /* Sky Blue */
    --accent-hover: #0284c7;
    --accent-glow: rgba(14, 165, 233, 0.18);
    --success: #10b981;        /* Emerald Green */
    --success-bg: #ecfdf5;
    --warning: #f59e0b;        /* Amber */
    --warning-bg: #fffbeb;
    --danger: #ef4444;         /* Red */
    --danger-bg: #fef2f2;
    --bg-gray: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --border-focus: #0ea5e9;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 35px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-gray);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

/* ==========================================================================
   Modern Input & Form Styles
   ========================================================================== */
.form-group {
    margin-bottom: 1.35rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: #334155;
    letter-spacing: 0.01em;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-left {
    position: absolute;
    left: 1rem;
    width: 20px;
    height: 20px;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 2;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    background-color: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.form-control.has-icon {
    padding-left: 2.75rem;
}

.form-control.has-icon-right {
    padding-right: 2.75rem;
}

.form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.form-control:hover {
    border-color: #cbd5e1;
    background-color: #ffffff;
}

.form-control:focus {
    border-color: var(--accent);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px var(--accent-glow), 0 2px 4px rgba(0,0,0,0.02);
}

.input-icon-wrapper:focus-within .input-icon-left {
    color: var(--accent);
}

.btn-toggle-pwd {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
    z-index: 2;
}

.btn-toggle-pwd:hover {
    color: var(--text-main);
    background-color: #f1f5f9;
}

.btn-toggle-pwd svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Navbar & Navigation
   ========================================================================== */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo {
    font-size: 1.8rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s ease;
    position: relative;
}

.nav-item:hover {
    color: var(--primary);
    background-color: #f1f5f9;
}

.nav-item.active {
    color: var(--primary);
    background-color: #e2e8f0;
}

.nav-svg {
    width: 18px;
    height: 18px;
}

.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.nav-verified-dot {
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
    margin-left: 2px;
}

.badge-notif-pill {
    background-color: var(--danger);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 9999px;
    font-weight: 700;
}

.nav-btn-login {
    padding: 0.5rem 1rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
}

.nav-btn-login:hover {
    background: #f1f5f9;
}

.nav-btn-signup {
    padding: 0.5rem 1.1rem;
    background: var(--primary);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.nav-btn-signup:hover {
    background: var(--primary-light);
}

.nav-btn-logout {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    color: var(--danger);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #fecaca;
    border-radius: 6px;
    background: #fff;
}

.nav-btn-logout:hover {
    background: var(--danger-bg);
}

/* ==========================================================================
   Main Container & Layouts
   ========================================================================== */
.main-container {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
}

/* ==========================================================================
   Modern Auth Card (Login & Register)
   ========================================================================== */
.auth-page-wrapper {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.08) 0%, transparent 60%),
                radial-gradient(circle at bottom left, rgba(0, 51, 102, 0.06) 0%, transparent 60%);
}

.auth-card-modern {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 2.75rem 2.5rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
}

.auth-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #003366, #0ea5e9, #10b981);
}

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

.auth-badge-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #003366, #0ea5e9);
    color: #ffffff;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 16px rgba(0, 51, 102, 0.15);
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.75rem 0;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
    padding: 0 1rem;
}

/* Quick 1-Click Profile Badges */
.quick-profiles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.quick-profile-card {
    background: #f8fafc;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.quick-profile-card:hover {
    background: #ffffff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.12);
}

.quick-profile-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

.quick-profile-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.quick-profile-role {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   Hero & Search Section
   ========================================================================== */
.hero-search-card {
    background: linear-gradient(135deg, #003366 0%, #0d4a87 60%, #0369a1 100%);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.hero-search-card h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero-search-card p.hero-subtitle {
    font-size: 1rem;
    color: #93c5fd;
    margin-bottom: 1.75rem;
}

.search-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background: #ffffff;
    padding: 1.25rem;
    border-radius: var(--radius);
    color: var(--text-main);
    box-shadow: var(--shadow-md);
}

.search-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.search-input-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.search-checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.search-checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
}

.btn-search-submit {
    background: #0284c7;
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.15s ease, transform 0.15s ease;
}

.btn-search-submit:hover {
    background: #0369a1;
    transform: translateY(-1px);
}

/* Quick Destination Chips */
.quick-picks {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-picks-label {
    font-size: 0.8rem;
    color: #93c5fd;
    font-weight: 600;
}

.quick-chip {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.quick-chip:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* ==========================================================================
   Ride Cards & Grid
   ========================================================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

.rides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.ride-card {
    background: #ffffff;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 1.35rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ride-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.driver-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.driver-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.driver-details {
    display: flex;
    flex-direction: column;
}

.driver-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
}

.driver-name:hover {
    color: var(--accent);
}

.driver-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: #d97706;
    font-weight: 700;
}

/* Route Display */
.ride-route {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.route-point {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.route-point.start {
    color: #475569;
}

.route-point.dest {
    color: var(--primary);
    margin-top: 0.4rem;
}

.route-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.route-dot.green { background-color: var(--success); }
.route-dot.blue { background-color: var(--accent); }

.route-arrow-connector {
    width: 2px;
    height: 12px;
    background-color: #cbd5e1;
    margin-left: 3px;
}

/* Ride Meta Badges */
.ride-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.meta-chip {
    background: #f1f5f9;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.meta-chip.cost {
    background: #ecfdf5;
    color: #065f46;
    font-weight: 700;
}

.meta-chip.seats {
    background: #eff6ff;
    color: #1e40af;
}

.meta-chip.full {
    background: #fef2f2;
    color: #991b1b;
}

.ride-card-actions {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0.6rem;
}

/* Badges */
.badge-verified {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.badge-icon {
    width: 12px;
    height: 12px;
}

.badge-unverified {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
}

.match-score-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 51, 102, 0.15);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 51, 102, 0.2);
}

.btn-accent {
    background: var(--accent);
    color: #ffffff;
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid var(--border-color);
}

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

.btn-success {
    background: var(--success);
    color: #ffffff;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: var(--danger);
    color: #ffffff;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
}

/* Alerts */
.alert {
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.alert-danger {
    background-color: var(--danger-bg);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background-color: var(--success-bg);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* ==========================================================================
   Cards & Modals
   ========================================================================== */
.card {
    background: #ffffff;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.card h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

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

.modal-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 100%;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   Tabs Component (My Rides)
   ========================================================================== */
.tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

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

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ==========================================================================
   Prompt: "Have You Reached Your Destination?"
   ========================================================================== */
.arrival-prompt-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1.5px solid #bfdbfe;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.arrival-prompt-content h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 0.25rem;
}

.arrival-prompt-content p {
    font-size: 0.9rem;
    color: #3b82f6;
}

.arrival-actions {
    display: flex;
    gap: 0.75rem;
}

/* ==========================================================================
   Driver Request Management Cards
   ========================================================================== */
.requests-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1rem;
}

.request-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

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

.request-user-meta h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.request-user-meta p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.request-actions {
    display: flex;
    gap: 0.5rem;
}

/* ==========================================================================
   Rating Stars UI
   ========================================================================== */
.star-rating-picker {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.35rem;
    margin: 0.75rem 0;
}

.star-rating-picker input {
    display: none;
}

.star-rating-picker label {
    font-size: 1.75rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.15s ease;
}

.star-rating-picker input:checked ~ label,
.star-rating-picker label:hover,
.star-rating-picker label:hover ~ label {
    color: #f59e0b;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    margin-top: auto;
    border-top: 1px solid #1e293b;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 2rem;
}

.footer-col h3, .footer-col h4 {
    color: #ffffff;
    margin-bottom: 0.75rem;
}

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

.footer-col ul li {
    margin-bottom: 0.4rem;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
}

/* ==========================================================================
   Uber-Grade Map-First Location Search & Interactive Picker Styles
   ========================================================================== */
/* ==========================================================================
   Uber-Grade Split Dual-Panel Location Search & Interactive Map Picker Styles
   ========================================================================== */
.uber-app-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999 !important;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
}

.uber-app-overlay.active {
    display: flex !important;
}

.uber-app-container {
    background: #ffffff;
    width: 100%;
    max-width: 1100px;
    height: 88vh;
    max-height: 780px;
    border-radius: 20px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    animation: uberAppPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes uberAppPop {
    from { opacity: 0; transform: scale(0.96) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Modal Header Bar */
.uber-picker-top-header {
    background: #ffffff;
    padding: 1rem 1.6rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.uber-header-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.uber-header-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.uber-modal-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0;
}

.uber-modal-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0.15rem 0 0 0;
    font-weight: 500;
}

.uber-close-icon-btn {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.uber-close-icon-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

/* Split Body: Left Search + Right Map */
.uber-picker-split-body {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    overflow: hidden;
    position: relative;
}

/* Left Search Column (40% width) */
.uber-left-search-column {
    width: 420px;
    min-width: 380px;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 1.25rem 1.4rem;
    overflow-y: auto;
    z-index: 5;
}

.uber-search-box-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 0.4rem 0.85rem;
    transition: all 0.2s ease;
}

.uber-search-box-wrap:focus-within {
    border-color: #0284c7;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.uber-search-leading-icon {
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.uber-search-textfield {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    background: transparent;
    padding: 0.35rem 0;
}

.uber-search-textfield::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.uber-clear-icon-btn {
    background: #e2e8f0;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    color: #475569;
    cursor: pointer;
}

/* GPS Button */
.uber-gps-action-btn {
    width: 100%;
    background: #f0fdf4;
    border: 1.5px dashed #86efac;
    color: #166534;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    font-size: 0.86rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-bottom: 0.9rem;
}

.uber-gps-action-btn:hover {
    background: #dcfce7;
    border-color: #22c55e;
}

/* Quick Category Pills */
.uber-pills-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.45rem;
}

.uber-quick-pills-wrap {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 0.85rem;
    scrollbar-width: none;
}

.uber-quick-pills-wrap::-webkit-scrollbar {
    display: none;
}

.uber-pill-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 0.35rem 0.75rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
}

.uber-pill-chip:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

/* Suggestions Section */
.uber-suggestions-section {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 1rem;
}

.uber-section-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.uber-suggestions-scroll-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.uber-suggestion-row-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid #f1f5f9;
    background: #ffffff;
}

.uber-suggestion-row-item:hover {
    background: #f0f9ff;
    border-color: #bae6fd;
}

.uber-sugg-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.uber-suggestion-row-item:hover .uber-sugg-icon {
    background: #e0f2fe;
}

.uber-sugg-details {
    flex: 1;
    overflow: hidden;
}

.uber-sugg-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uber-sugg-sub {
    font-size: 0.76rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.1rem;
}

.uber-sugg-arrow {
    font-size: 1.1rem;
    color: #94a3b8;
}

.uber-empty-suggestions-box {
    padding: 2rem 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Selected Location Preview & CTA Card */
.uber-selected-confirm-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: auto;
}

.uber-selected-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.uber-pin-icon-square {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.uber-selected-texts {
    flex: 1;
    min-width: 0;
}

.uber-selected-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.uber-selected-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uber-coords-badge {
    font-size: 0.7rem;
    color: #64748b;
    font-family: monospace;
    background: #e2e8f0;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
}

.uber-selected-addr {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0.2rem 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uber-confirm-cta-btn {
    width: 100%;
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 0.85rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.15s ease;
}

.uber-confirm-cta-btn:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Right Map Column (60% width) */
.uber-right-map-column {
    flex: 1 1 0;
    min-height: 0;
    height: 100%;
    position: relative;
    background: #e2e8f0;
    overflow: hidden;
}

.uber-map-canvas-element {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}

.uber-map-floating-tip {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.uber-map-floating-controls {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.uber-map-ctrl-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.15s ease;
}

.uber-map-ctrl-btn:hover {
    background: #f8fafc;
    transform: scale(1.08);
}

/* Interactive Draggable Leaflet Pin Marker */
.uber-interactive-pin-container {
    background: transparent;
    border: none;
}

.uber-marker-pin-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: grab;
}

.uber-marker-pin-wrap:active {
    cursor: grabbing;
}

.uber-marker-bubble {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    margin-bottom: 4px;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: markerPop 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes markerPop {
    from { opacity: 0; transform: scale(0.8) translateY(6px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.uber-marker-pin-svg {
    position: relative;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
    transition: transform 0.15s ease;
}

.uber-marker-pin-wrap:hover .uber-marker-pin-svg {
    transform: scale(1.1);
}

.uber-marker-pulse {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    bottom: -6px;
    left: 5px;
    opacity: 0.35;
    animation: markerPulse 1.8s infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes markerPulse {
    0% { transform: scale(0.6); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* Location Card Input in Forms */
.location-input-card {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
}

.location-input-card:hover {
    border-color: #0284c7;
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.loc-card-text {
    flex: 1;
    margin-left: 0.75rem;
}

.loc-card-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.04em;
}

.loc-card-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0.1rem;
}

.loc-card-action-chip {
    background: #f0f9ff;
    color: #0284c7;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid #bae6fd;
    transition: all 0.15s ease;
}

.location-input-card:hover .loc-card-action-chip {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

/* Responsive Modal Behavior */
@media (max-width: 768px) {
    .uber-app-overlay {
        padding: 0;
    }
    .uber-app-container {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    .uber-picker-split-body {
        flex-direction: column;
    }
    .uber-left-search-column {
        width: 100%;
        min-width: unset;
        max-height: 50%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 1rem;
    }
    .uber-right-map-column {
        flex: 1 1 0;
        min-height: 240px;
    }
}
