/* ===================================
   RESET
=================================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    width:100%;
    max-width:100%;
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}

body{
    width:100%;
    min-width:320px;
    max-width:100%;
    overflow-x:hidden;

    background:#f8fafc;
    color:#111827;

    font-family:Arial, Helvetica, sans-serif;
    font-size:16px;
    line-height:1.6;
}

img{
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
}

a{
    color:inherit;
    text-decoration:none;
}

button,
input,
select,
textarea{
    font:inherit;
}

button{
    cursor:pointer;
}

button:disabled{
    cursor:not-allowed;
    opacity:.6;
}

ul,
ol{
    list-style:none;
}

.app-container{
    width:min(calc(100% - 40px), 1220px);
    margin:0 auto;
}


/* ===================================
   COMMON BUTTONS
=================================== */

.primary-button,
.secondary-button,
.auth-submit,
.location-button,
.landing-login,
.landing-register,
.primary-ride-button,
.secondary-ride-button{
    min-height:48px;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;

    padding:0 20px;

    border-radius:28px;

    font-size:14px;
    font-weight:800;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.primary-button,
.auth-submit,
.location-button,
.landing-register,
.primary-ride-button{
    border:0;
    background:#22c55e;
    color:#fff;
}

.primary-button:hover,
.auth-submit:hover,
.location-button:hover,
.landing-register:hover,
.primary-ride-button:hover{
    background:#16a34a;
    transform:translateY(-2px);
}

.secondary-button,
.landing-login,
.secondary-ride-button{
    border:1px solid rgba(255,255,255,.22);
    background:transparent;
    color:#fff;
}

.secondary-button:hover,
.landing-login:hover,
.secondary-ride-button:hover{
    border-color:#22c55e;
    color:#22c55e;
}


/* ===================================
   AUTH PAGES
=================================== */

.auth-page{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;

    padding:24px;

    background:
        radial-gradient(
            circle at top right,
            rgba(34,197,94,.17),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #07111f,
            #0f172a
        );
}

.auth-layout{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.auth-card{
    width:min(100%,500px);

    padding:36px;

    border-radius:24px;

    background:#fff;

    box-shadow:0 30px 80px rgba(0,0,0,.28);
}

.auth-logo{
    display:inline-flex;
    align-items:center;
    gap:10px;

    margin-bottom:28px;

    color:#22c55e;

    font-size:21px;
    font-weight:900;
    letter-spacing:.5px;
}

.auth-heading{
    margin-bottom:28px;
}

.auth-heading > span{
    display:inline-block;

    margin-bottom:8px;

    color:#22c55e;

    font-size:12px;
    font-weight:800;
    letter-spacing:1.4px;
}

.auth-heading h1{
    margin-bottom:10px;

    color:#111827;

    font-size:32px;
    line-height:1.2;
}

.auth-heading p{
    color:#64748b;

    font-size:14px;
    line-height:1.7;
}

.auth-form{
    display:grid;
    gap:18px;
}

.auth-field{
    display:grid;
    gap:8px;
}

.auth-field label{
    color:#334155;

    font-size:14px;
    font-weight:700;
}

.auth-field input,
.auth-field select{
    width:100%;
    min-height:50px;

    padding:0 14px;

    border:1px solid #dbe3ec;
    border-radius:12px;
    outline:none;

    background:#fff;
    color:#111827;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.auth-field input:focus,
.auth-field select:focus{
    border-color:#22c55e;
    box-shadow:0 0 0 4px rgba(34,197,94,.1);
}

.password-field{
    position:relative;
}

.password-field input{
    padding-right:52px;
}

.toggle-password{
    position:absolute;
    top:50%;
    right:7px;

    width:40px;
    height:40px;

    display:flex;
    align-items:center;
    justify-content:center;

    transform:translateY(-50%);

    border:0;
    border-radius:50%;

    background:transparent;
    color:#64748b;
}

.toggle-password:hover{
    background:#f1f5f9;
    color:#111827;
}

.auth-check{
    display:flex;
    align-items:flex-start;
    gap:10px;

    color:#475569;

    font-size:13px;
    line-height:1.6;
}

.auth-check input{
    width:17px;
    height:17px;
    margin-top:2px;

    flex-shrink:0;

    accent-color:#22c55e;
}

.auth-submit{
    width:100%;
    min-height:52px;
}

.auth-switch{
    margin-top:24px;

    color:#64748b;

    font-size:14px;
    text-align:center;
}

.auth-switch a{
    color:#16a34a;
    font-weight:800;
}

.auth-alert{
    margin-bottom:20px;
    padding:14px 16px;

    border-radius:12px;

    font-size:13px;
    line-height:1.6;
}

.auth-alert-error{
    border:1px solid #fecaca;
    background:#fef2f2;
    color:#991b1b;
}

.auth-alert-success{
    border:1px solid #bbf7d0;
    background:#f0fdf4;
    color:#166534;
}


/* ===================================
   APP HEADER
=================================== */

.app-header,
.landing-header{
    position:sticky;
    top:0;
    z-index:1000;

    width:100%;

    background:#07111f;
    color:#fff;

    border-bottom:1px solid rgba(255,255,255,.08);
}

.app-header-inner,
.landing-header-inner{
    min-height:76px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.app-logo{
    display:inline-flex;
    align-items:center;

    color:#22c55e;

    font-size:20px;
    font-weight:900;
    white-space:nowrap;
}

.app-user-menu{
    display:flex;
    align-items:center;
    gap:12px;
}

.app-user-menu > span{
    color:#e2e8f0;

    font-size:14px;
    font-weight:700;
}

.logout-link{
    min-height:40px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:0 15px;

    border:1px solid rgba(255,255,255,.18);
    border-radius:22px;

    color:#fff;

    font-size:13px;
    font-weight:800;
}

.logout-link:hover{
    border-color:#ef4444;
    background:#ef4444;
}


/* ===================================
   LANDING NAV
=================================== */

.landing-nav{
    display:flex;
    align-items:center;
    gap:26px;
}

.landing-nav a{
    color:#e2e8f0;

    font-size:14px;
    font-weight:700;
}

.landing-nav a:hover{
    color:#22c55e;
}

.landing-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.landing-menu-button{
    width:43px;
    height:43px;

    display:none;
    align-items:center;
    justify-content:center;

    border:0;
    border-radius:11px;

    background:#22c55e;
    color:#fff;

    font-size:18px;
}

.landing-mobile-nav{
    display:none;
}


/* ===================================
   HERO
=================================== */

.ride-hero{
    position:relative;
    width:100%;
    overflow:hidden;

    padding:86px 0;

    background:
        radial-gradient(
            circle at 85% 18%,
            rgba(34,197,94,.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #07111f,
            #0f172a
        );

    color:#fff;
}

.ride-hero-grid{
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(360px,.78fr);
    align-items:center;
    gap:60px;
}

.ride-hero-content{
    min-width:0;
    max-width:720px;
}

.ride-kicker{
    display:inline-block;

    margin-bottom:16px;

    color:#22c55e;

    font-size:13px;
    font-weight:800;
    letter-spacing:1.8px;
}

.ride-hero h1{
    max-width:700px;
    margin:0 0 22px;

    color:#fff;

    font-size:clamp(48px,5vw,68px);
    line-height:1.08;
}

.ride-hero-content > p{
    max-width:630px;

    color:#cbd5e1;

    font-size:17px;
    line-height:1.8;
}

.ride-hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:14px;

    margin-top:30px;
}

.ride-trust-row{
    display:flex;
    flex-wrap:wrap;
    gap:20px;

    margin-top:31px;
}

.ride-trust-row div{
    display:flex;
    align-items:center;
    gap:8px;

    color:#cbd5e1;

    font-size:12px;
}

.ride-trust-row i{
    color:#22c55e;
}


/* ===================================
   QUICK RIDE CARD
=================================== */

.quick-ride-card{
    width:100%;
    max-width:490px;
    justify-self:end;

    padding:30px;

    border-radius:24px;

    background:#fff;
    color:#111827;

    box-shadow:0 28px 70px rgba(0,0,0,.3);
}

.quick-ride-heading > span{
    color:#22c55e;

    font-size:11px;
    font-weight:800;
    letter-spacing:1.3px;
}

.quick-ride-heading h2{
    margin:8px 0 9px;

    font-size:29px;
    line-height:1.2;
}

.quick-ride-heading p{
    color:#64748b;

    font-size:13px;
    line-height:1.6;
}

.quick-location-box{
    margin:23px 0;
}

.quick-location-button{
    width:100%;
    min-height:52px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    padding:0 16px;

    border:0;
    border-radius:14px;

    background:#07111f;
    color:#fff;

    font-weight:800;
}

.quick-location-button i{
    color:#22c55e;
}

.quick-location-status{
    margin-top:9px;

    color:#64748b;

    font-size:12px;
    text-align:center;
}

.quick-ride-types{
    display:grid;
    gap:12px;
}

.quick-ride-option{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:13px;

    padding:14px;

    border:1px solid #e5e7eb;
    border-radius:14px;

    background:#fff;

    transition:
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.quick-ride-option:hover{
    transform:translateY(-2px);
    border-color:#22c55e;
    box-shadow:0 10px 24px rgba(15,23,42,.06);
}

.quick-ride-option > div{
    width:45px;
    height:45px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:12px;

    background:rgba(34,197,94,.12);
    color:#22c55e;
}

.quick-ride-option span,
.quick-ride-option strong,
.quick-ride-option small{
    display:block;
}

.quick-ride-option strong{
    color:#111827;
    font-size:14px;
}

.quick-ride-option small{
    margin-top:3px;

    color:#64748b;

    font-size:11px;
    line-height:1.4;
}

.quick-ride-option > i{
    color:#94a3b8;
}

.quick-login-note{
    margin-top:20px;

    color:#64748b;

    font-size:12px;
    text-align:center;
}

.quick-login-note a{
    color:#16a34a;
    font-weight:800;
}


/* ===================================
   COMMON SECTION HEADINGS
=================================== */

.landing-section-heading{
    max-width:730px;
    margin:0 auto 50px;

    text-align:center;
}

.landing-section-heading > span{
    color:#22c55e;

    font-size:12px;
    font-weight:800;
    letter-spacing:1.4px;
}

.landing-section-heading h2{
    margin:11px 0;

    color:#111827;

    font-size:clamp(34px,4vw,46px);
    line-height:1.2;
}

.landing-section-heading p{
    color:#64748b;

    line-height:1.75;
}


/* ===================================
   RIDE OPTIONS
=================================== */

.ride-options-section{
    padding:92px 0;
    background:#f8fafc;
}

.ride-options-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;

    max-width:980px;
    margin:0 auto;
}

.ride-option-card{
    padding:35px;

    border:1px solid #e5e7eb;
    border-radius:21px;

    background:#fff;

    box-shadow:0 15px 38px rgba(15,23,42,.06);
}

.ride-option-card.featured{
    border-color:rgba(34,197,94,.55);
}

.ride-option-icon{
    width:62px;
    height:62px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:20px;

    border-radius:17px;

    background:rgba(34,197,94,.12);
    color:#22c55e;

    font-size:24px;
}

.ride-option-label{
    color:#22c55e;

    font-size:11px;
    font-weight:800;
}

.ride-option-card h3{
    margin:7px 0 12px;

    font-size:25px;
}

.ride-option-card > p{
    color:#64748b;

    line-height:1.75;
}

.ride-option-card ul{
    display:grid;
    gap:11px;

    margin:23px 0;
}

.ride-option-card li{
    display:flex;
    align-items:center;
    gap:9px;

    color:#475569;

    font-size:13px;
}

.ride-option-card li i{
    color:#22c55e;
}

.ride-option-card > a{
    display:inline-flex;
    align-items:center;
    gap:9px;

    color:#16a34a;

    font-size:14px;
    font-weight:800;
}


/* ===================================
   STEPS
=================================== */

.how-ride-works{
    padding:92px 0;
    background:#fff;
}

.ride-steps-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}

.ride-step-card{
    position:relative;

    min-height:250px;

    padding:30px;

    border:1px solid #e5e7eb;
    border-radius:20px;

    background:#fff;
}

.ride-step-card > span{
    position:absolute;
    top:18px;
    right:20px;

    color:#dbe3ec;

    font-size:34px;
    font-weight:900;
}

.ride-step-card > div{
    width:57px;
    height:57px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:20px;

    border-radius:16px;

    background:#07111f;
    color:#22c55e;

    font-size:22px;
}

.ride-step-card h3{
    margin-bottom:10px;

    font-size:20px;
}

.ride-step-card p{
    color:#64748b;

    font-size:13px;
    line-height:1.7;
}


/* ===================================
   SAFETY
=================================== */

.ride-safety{
    padding:92px 0;

    background:#07111f;
    color:#fff;
}

.ride-safety-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 380px;
    align-items:center;
    gap:60px;
}

.ride-safety-content > span{
    color:#22c55e;

    font-size:12px;
    font-weight:800;
    letter-spacing:1.4px;
}

.ride-safety-content h2{
    margin:12px 0 15px;

    font-size:clamp(34px,4vw,46px);
}

.ride-safety-content > p{
    color:#cbd5e1;

    line-height:1.8;
}

.ride-safety-list{
    display:grid;
    gap:15px;

    margin-top:28px;
}

.ride-safety-list > div{
    display:flex;
    align-items:flex-start;
    gap:14px;
}

.ride-safety-list > div > i{
    width:45px;
    height:45px;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

    border-radius:13px;

    background:rgba(34,197,94,.14);
    color:#22c55e;
}

.ride-safety-list strong,
.ride-safety-list small{
    display:block;
}

.ride-safety-list small{
    margin-top:4px;
    color:#94a3b8;
}

.ride-safety-card{
    padding:35px;

    border:1px solid rgba(255,255,255,.1);
    border-radius:22px;

    background:rgba(255,255,255,.06);
}

.ride-safety-card > i{
    color:#22c55e;
    font-size:45px;
}

.ride-safety-card h3{
    margin:20px 0 12px;
    font-size:25px;
}

.ride-safety-card p{
    color:#cbd5e1;
    line-height:1.75;
}

.ride-safety-card a{
    min-height:46px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    margin-top:24px;
    padding:0 19px;

    border-radius:24px;

    background:#22c55e;
    color:#fff;

    font-weight:800;
}


/* ===================================
   CTA
=================================== */

.ride-cta{
    padding:68px 0;

    background:#22c55e;
    color:#fff;
}

.ride-cta-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.ride-cta-inner span{
    font-size:11px;
    font-weight:800;
    letter-spacing:1.3px;
}

.ride-cta-inner h2{
    margin-top:7px;
    font-size:34px;
}

.ride-cta-inner > a{
    min-height:50px;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;

    padding:0 22px;

    border-radius:26px;

    background:#07111f;
    color:#fff;

    font-weight:800;
}


/* ===================================
   FOOTER
=================================== */

.ride-footer{
    padding:44px 0;

    background:#030712;
    color:#fff;
}

.ride-footer-inner{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:20px;
}

.ride-footer strong{
    color:#22c55e;
}

.ride-footer p{
    margin-top:6px;

    color:#94a3b8;

    font-size:12px;
}

.ride-footer-links{
    display:flex;
    flex-wrap:wrap;
    gap:17px;

    font-size:12px;
}

.ride-footer-links a:hover{
    color:#22c55e;
}

.ride-footer-copy{
    grid-column:1 / -1;

    padding-top:22px;

    border-top:1px solid rgba(255,255,255,.08);
}


/* ===================================
   DASHBOARD
=================================== */

.app-page{
    min-height:100vh;
    background:#f8fafc;
}

.dashboard-main{
    padding:50px 0 80px;
}

.dashboard-welcome{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;

    margin-bottom:34px;
}

.dashboard-label{
    display:inline-block;

    margin-bottom:8px;

    color:#22c55e;

    font-size:12px;
    font-weight:800;
    letter-spacing:1.3px;
}

.dashboard-welcome h1{
    margin-bottom:10px;

    font-size:38px;
    line-height:1.2;
}

.dashboard-welcome p{
    color:#64748b;
    line-height:1.7;
}

.dashboard-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;

    margin-bottom:28px;
}

.dashboard-action-card{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:16px;

    padding:25px;

    border:1px solid #e5e7eb;
    border-radius:18px;

    background:#fff;

    box-shadow:0 12px 30px rgba(15,23,42,.05);
}

.dashboard-action-card:hover{
    border-color:#22c55e;
}

.dashboard-action-icon{
    width:55px;
    height:55px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:15px;

    background:rgba(34,197,94,.12);
    color:#22c55e;

    font-size:21px;
}

.dashboard-action-card h2{
    margin-bottom:5px;
    font-size:19px;
}

.dashboard-action-card p{
    color:#64748b;

    font-size:13px;
    line-height:1.6;
}

.dashboard-location-card{
    padding:28px;

    border:1px solid #e5e7eb;
    border-radius:20px;

    background:#fff;
}

.dashboard-location-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;

    margin-bottom:24px;
}

.dashboard-location-heading span{
    color:#22c55e;

    font-size:12px;
    font-weight:800;
}

.dashboard-location-heading h2{
    margin-top:5px;
}

.location-status{
    padding:9px 13px;

    border-radius:20px;

    background:#f1f5f9;
    color:#475569;

    font-size:12px;
}

.location-result{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}

.location-result div{
    padding:18px;

    border-radius:14px;

    background:#f8fafc;
}

.location-result small,
.location-result strong{
    display:block;
}

.location-result small{
    margin-bottom:7px;
    color:#64748b;
}

.location-result strong{
    word-break:break-word;
}


/* ===================================
   TABLET
=================================== */

@media(max-width:950px){

    .app-container{
        width:min(calc(100% - 32px), 900px);
    }

    .landing-nav,
    .landing-actions{
        display:none;
    }

    .landing-menu-button{
        display:flex;
    }

    .landing-mobile-nav.active{
        display:grid;
        gap:2px;

        padding:12px 16px 18px;

        background:#07111f;
    }

    .landing-mobile-nav a{
        padding:13px;

        border-bottom:1px solid rgba(255,255,255,.08);

        color:#fff;

        font-size:14px;
        font-weight:700;
    }

    .ride-hero-grid,
    .ride-safety-grid{
        grid-template-columns:1fr;
    }

    .quick-ride-card{
        max-width:620px;
        justify-self:start;
    }

    .ride-steps-grid{
        grid-template-columns:1fr;
    }
}


/* ===================================
   MOBILE
=================================== */

@media(max-width:700px){

    .app-container{
        width:calc(100% - 24px);
    }

    .auth-page{
        padding:12px;
    }

    .auth-card{
        padding:26px 20px;
        border-radius:18px;
    }

    .auth-heading h1{
        font-size:27px;
    }

    .app-header-inner,
    .landing-header-inner{
        min-height:68px;
    }

    .app-logo{
        font-size:17px;
    }

    .app-user-menu > span{
        display:none;
    }

    .logout-link{
        min-height:38px;
        padding:0 13px;
    }

    .ride-hero{
        padding:48px 0 54px;
    }

    .ride-hero-grid{
        gap:30px;
    }

    .ride-kicker{
        font-size:11px;
    }

    .ride-hero h1{
        font-size:clamp(34px,10vw,43px);
    }

    .ride-hero-content > p{
        font-size:15px;
    }

    .ride-hero-buttons{
        display:grid;
        grid-template-columns:1fr;
    }

    .primary-ride-button,
    .secondary-ride-button{
        width:100%;
    }

    .ride-trust-row{
        display:grid;
        gap:10px;
    }

    .quick-ride-card{
        max-width:none;
        padding:22px 16px;
        border-radius:18px;
    }

    .quick-ride-heading h2{
        font-size:25px;
    }

    .quick-location-button{
        padding:0 12px;
        font-size:13px;
    }

    .quick-ride-option{
        padding:13px 12px;
        gap:9px;
    }

    .quick-ride-option > div{
        width:42px;
        height:42px;
    }

    .ride-options-section,
    .how-ride-works,
    .ride-safety{
        padding:64px 0;
    }

    .landing-section-heading{
        margin-bottom:35px;
    }

    .landing-section-heading h2,
    .ride-safety-content h2{
        font-size:30px;
    }

    .ride-options-grid{
        grid-template-columns:1fr;
    }

    .ride-option-card,
    .ride-step-card,
    .ride-safety-card{
        padding:23px 18px;
    }

    .ride-cta{
        padding:50px 0;
    }

    .ride-cta-inner{
        align-items:stretch;
        flex-direction:column;
    }

    .ride-cta-inner h2{
        font-size:28px;
    }

    .ride-cta-inner > a{
        width:100%;
    }

    .ride-footer{
        padding:36px 0;
    }

    .ride-footer-inner{
        grid-template-columns:1fr;
    }

    .ride-footer-links{
        flex-direction:column;
    }

    .ride-footer-copy{
        grid-column:auto;
    }

    .dashboard-main{
        padding:32px 0 60px;
    }

    .dashboard-welcome{
        align-items:flex-start;
        flex-direction:column;
    }

    .dashboard-welcome h1{
        font-size:30px;
    }

    .location-button{
        width:100%;
    }

    .dashboard-actions{
        grid-template-columns:1fr;
    }

    .dashboard-action-card{
        padding:20px;
    }

    .dashboard-location-heading{
        align-items:flex-start;
        flex-direction:column;
    }

    .location-result{
        grid-template-columns:1fr;
    }
}


/* ===================================
   SMALL MOBILE
=================================== */

@media(max-width:390px){

    .app-container{
        width:calc(100% - 18px);
    }

    .auth-card{
        padding:22px 16px;
    }

    .ride-hero h1{
        font-size:32px;
    }

    .quick-ride-card{
        padding:20px 14px;
    }

    .quick-ride-option{
        grid-template-columns:auto minmax(0,1fr);
    }

    .quick-ride-option > i{
        display:none;
    }
}


/* ===================================
   ACCESSIBILITY
=================================== */

@media(prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{
        scroll-behavior:auto !important;
        transition:none !important;
        animation:none !important;
    }
}

/* ===================================
   RIDE FOOTER
=================================== */

.ride-footer{
    width:100%;
    padding:55px 0 25px;
    background:#030712;
    color:#fff;
}

.ride-footer-inner{
    display:grid;
    grid-template-columns:1.2fr .8fr .8fr;
    gap:45px;
}

.ride-footer-brand{
    max-width:380px;
}

.ride-footer-logo{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-bottom:16px;
    color:#22c55e;
    font-size:19px;
    font-weight:900;
}

.ride-footer-logo i{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#22c55e;
    color:#fff;
}

.ride-footer-brand p{
    color:#94a3b8;
    font-size:13px;
    line-height:1.8;
}

.ride-footer-links,
.ride-footer-contact{
    display:grid;
    align-content:start;
    gap:13px;
}

.ride-footer-links a,
.ride-footer-contact a{
    display:flex;
    align-items:center;
    gap:9px;
    color:#cbd5e1;
    font-size:13px;
    font-weight:600;
}

.ride-footer-links a:hover,
.ride-footer-contact a:hover{
    color:#22c55e;
}

.ride-footer-contact i{
    width:20px;
    color:#22c55e;
}

.ride-footer-bottom{
    grid-column:1 / -1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-top:10px;
    padding-top:22px;
    border-top:1px solid rgba(255,255,255,.08);
}

.ride-footer-bottom p{
    color:#64748b;
    font-size:12px;
}

.ride-footer-bottom div{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
}

.ride-footer-bottom a{
    color:#94a3b8;
    font-size:12px;
}

.ride-footer-bottom a:hover{
    color:#22c55e;
}


/* ===================================
   FOOTER MOBILE
=================================== */

@media(max-width:800px){

    .ride-footer-inner{
        grid-template-columns:1fr 1fr;
    }

    .ride-footer-brand{
        grid-column:1 / -1;
    }
}

@media(max-width:560px){

    .ride-footer{
        padding:42px 0 22px;
    }

    .ride-footer-inner{
        grid-template-columns:1fr;
        gap:28px;
    }

    .ride-footer-brand{
        grid-column:auto;
    }

    .ride-footer-bottom{
        align-items:flex-start;
        flex-direction:column;
    }
}

/* ===================================
   REQUEST RIDE PAGE
=================================== */

.ride-request-page{
    min-height:70vh;
    background:#f8fafc;
}

.ride-request-section{
    padding:60px 0 85px;
}

.ride-request-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:32px;
    align-items:start;
}

.ride-request-card{
    padding:34px;
    border:1px solid #e5e7eb;
    border-radius:22px;
    background:#fff;
    box-shadow:0 18px 45px rgba(15,23,42,.07);
}

.ride-request-heading{
    margin-bottom:28px;
}

.ride-request-heading > span{
    color:#22c55e;
    font-size:12px;
    font-weight:800;
    letter-spacing:1.4px;
}

.ride-request-heading h1{
    margin:9px 0 11px;
    color:#111827;
    font-size:36px;
    line-height:1.18;
}

.ride-request-heading p{
    max-width:650px;
    color:#64748b;
    font-size:14px;
    line-height:1.75;
}

.ride-request-form{
    display:grid;
    gap:20px;
}

.ride-request-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}

.ride-request-field{
    display:grid;
    gap:8px;
    min-width:0;
}

.ride-request-field label{
    color:#334155;
    font-size:14px;
    font-weight:700;
}

.ride-request-field input,
.ride-request-field select,
.ride-request-field textarea{
    width:100%;
    border:1px solid #dbe3ec;
    border-radius:12px;
    outline:none;
    background:#fff;
    color:#111827;
    font:inherit;
}

.ride-request-field input,
.ride-request-field select{
    min-height:52px;
    padding:0 14px;
}

.ride-request-field textarea{
    min-height:125px;
    padding:14px;
    resize:vertical;
}

.ride-request-field input:focus,
.ride-request-field select:focus,
.ride-request-field textarea:focus{
    border-color:#22c55e;
    box-shadow:0 0 0 4px rgba(34,197,94,.1);
}

.ride-request-input-icon{
    position:relative;
}

.ride-request-input-icon i{
    position:absolute;
    top:50%;
    left:15px;
    transform:translateY(-50%);
    color:#22c55e;
    pointer-events:none;
}

.ride-request-input-icon input{
    padding-left:43px;
}

.ride-current-location-button{
    width:max-content;
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:0 16px;
    border:0;
    border-radius:23px;
    background:#07111f;
    color:#fff;
    font-size:13px;
    font-weight:800;
}

.ride-current-location-button:hover{
    background:#0f172a;
}

.ride-location-message{
    margin-top:-12px;
    color:#64748b;
    font-size:12px;
}

.ride-request-submit{
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    border:0;
    border-radius:28px;
    background:#22c55e;
    color:#fff;
    font-size:14px;
    font-weight:800;
}

.ride-request-submit:hover{
    background:#16a34a;
}

.ride-request-side{
    display:grid;
    gap:20px;
}

.ride-request-status-card,
.ride-request-help{
    padding:27px;
    border:1px solid #e5e7eb;
    border-radius:20px;
    background:#fff;
}

.ride-request-status-icon{
    width:58px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
    border-radius:16px;
    background:rgba(34,197,94,.12);
    color:#22c55e;
    font-size:23px;
}

.ride-request-status-card h2{
    margin-bottom:10px;
    font-size:22px;
}

.ride-request-status-card p{
    color:#64748b;
    font-size:13px;
    line-height:1.7;
}

.ride-request-status-card ul{
    display:grid;
    gap:11px;
    margin-top:20px;
}

.ride-request-status-card li{
    display:flex;
    align-items:center;
    gap:9px;
    color:#475569;
    font-size:13px;
}

.ride-request-status-card li i{
    color:#22c55e;
}

.ride-request-help > span{
    color:#22c55e;
    font-size:11px;
    font-weight:800;
    letter-spacing:1.3px;
}

.ride-request-help h3{
    margin:8px 0 17px;
    font-size:20px;
}

.ride-request-help a{
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    margin-top:10px;
    border:1px solid #dbe3ec;
    border-radius:23px;
    color:#334155;
    font-size:13px;
    font-weight:800;
}

.ride-request-help a:hover{
    border-color:#22c55e;
    color:#16a34a;
}

@media(max-width:900px){

    .ride-request-layout{
        grid-template-columns:1fr;
    }

    .ride-request-side{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:650px){

    .ride-request-section{
        padding:35px 0 60px;
    }

    .ride-request-card{
        padding:23px 17px;
        border-radius:18px;
    }

    .ride-request-heading h1{
        font-size:29px;
    }

    .ride-request-grid,
    .ride-request-side{
        grid-template-columns:1fr;
    }

    .ride-current-location-button{
        width:100%;
    }

    .ride-request-status-card,
    .ride-request-help{
        padding:22px 18px;
    }
}

/* ===================================
   CUSTOMER DASHBOARD
=================================== */

.customer-dashboard{
    min-height:75vh;
    background:#f8fafc;
}

.customer-dashboard-section{
    padding:48px 0 80px;
}

.customer-dashboard-welcome{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    margin-bottom:30px;
}

.customer-dashboard-label{
    display:inline-block;
    margin-bottom:8px;
    color:#22c55e;
    font-size:12px;
    font-weight:800;
    letter-spacing:1.4px;
}

.customer-dashboard-welcome h1{
    margin-bottom:8px;
    color:#111827;
    font-size:38px;
    line-height:1.2;
}

.customer-dashboard-welcome p{
    color:#64748b;
    line-height:1.7;
}

.customer-location-button{
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    flex-shrink:0;
    padding:0 18px;
    border:0;
    border-radius:25px;
    background:#07111f;
    color:#fff;
    font-size:13px;
    font-weight:800;
}

.customer-location-button:hover{
    background:#0f172a;
}

.customer-action-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
    margin-bottom:28px;
}

.customer-action-card{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:17px;
    padding:25px;
    border:1px solid #e5e7eb;
    border-radius:20px;
    background:#fff;
    box-shadow:0 14px 34px rgba(15,23,42,.06);
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.customer-action-card:hover{
    transform:translateY(-4px);
    border-color:#22c55e;
    box-shadow:0 20px 42px rgba(15,23,42,.1);
}

.customer-action-icon{
    width:60px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:17px;
    background:rgba(34,197,94,.12);
    color:#22c55e;
    font-size:23px;
}

.customer-action-card span{
    color:#22c55e;
    font-size:10px;
    font-weight:800;
    letter-spacing:1.2px;
}

.customer-action-card h2{
    margin:5px 0;
    font-size:20px;
}

.customer-action-card p{
    color:#64748b;
    font-size:13px;
    line-height:1.6;
}

.customer-action-card > i{
    color:#94a3b8;
}

.customer-dashboard-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 330px;
    gap:25px;
    align-items:start;
}

.customer-dashboard-main,
.customer-dashboard-sidebar{
    display:grid;
    gap:22px;
}

.customer-dashboard-card,
.customer-profile-card,
.customer-location-card,
.customer-support-card{
    border:1px solid #e5e7eb;
    border-radius:20px;
    background:#fff;
    box-shadow:0 12px 30px rgba(15,23,42,.05);
}

.customer-dashboard-card{
    padding:27px;
}

.customer-card-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:23px;
}

.customer-card-heading span{
    color:#22c55e;
    font-size:10px;
    font-weight:800;
    letter-spacing:1.2px;
}

.customer-card-heading h2{
    margin-top:5px;
    font-size:22px;
}

.customer-card-heading > a{
    color:#16a34a;
    font-size:13px;
    font-weight:800;
}

.ride-status-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:29px;
    padding:0 11px;
    border-radius:16px;
    background:#f1f5f9;
    color:#475569;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
}

.status-waiting{
    background:#fef3c7;
    color:#92400e;
}

.status-accepted,
.status-arrived{
    background:#dbeafe;
    color:#1d4ed8;
}

.status-on_trip{
    background:#dcfce7;
    color:#166534;
}

.status-completed{
    background:#dcfce7;
    color:#166534;
}

.status-cancelled{
    background:#fee2e2;
    color:#991b1b;
}

.active-ride-card{
    padding:22px;
    border-radius:17px;
    background:#f8fafc;
}

.active-ride-route{
    display:grid;
    gap:0;
}

.active-ride-route > div{
    display:flex;
    align-items:flex-start;
    gap:13px;
}

.active-ride-route i{
    margin-top:3px;
    color:#22c55e;
}

.active-ride-route span,
.active-ride-route small,
.active-ride-route strong{
    display:block;
}

.active-ride-route small{
    margin-bottom:3px;
    color:#64748b;
    font-size:11px;
}

.active-ride-route strong{
    color:#111827;
    font-size:14px;
}

.active-route-line{
    width:2px;
    height:35px;
    margin-left:6px;
    background:#cbd5e1;
}

.active-ride-meta{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin-top:22px;
}

.active-ride-meta div{
    padding:13px;
    border-radius:12px;
    background:#fff;
}

.active-ride-meta small,
.active-ride-meta strong{
    display:block;
}

.active-ride-meta small{
    margin-bottom:5px;
    color:#64748b;
    font-size:10px;
}

.active-ride-meta strong{
    color:#111827;
    font-size:12px;
    word-break:break-word;
}

.active-ride-button{
    min-height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    margin-top:18px;
    border-radius:24px;
    background:#22c55e;
    color:#fff;
    font-size:13px;
    font-weight:800;
}

.customer-empty-state{
    padding:42px 20px;
    text-align:center;
}

.customer-empty-state > div{
    width:65px;
    height:65px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 17px;
    border-radius:18px;
    background:rgba(34,197,94,.12);
    color:#22c55e;
    font-size:25px;
}

.customer-empty-state h3{
    margin-bottom:8px;
}

.customer-empty-state p{
    max-width:460px;
    margin:0 auto;
    color:#64748b;
    font-size:13px;
    line-height:1.7;
}

.customer-empty-state > a{
    min-height:43px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:18px;
    padding:0 17px;
    border-radius:23px;
    background:#22c55e;
    color:#fff;
    font-size:13px;
    font-weight:800;
}

.customer-empty-state.small{
    padding:25px 15px;
}

.recent-ride-list{
    display:grid;
}

.recent-ride-item{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:14px;
    padding:16px 0;
    border-bottom:1px solid #edf2f7;
}

.recent-ride-item:last-child{
    border-bottom:0;
}

.recent-ride-icon{
    width:43px;
    height:43px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#f1f5f9;
    color:#22c55e;
}

.recent-ride-route{
    min-width:0;
}

.recent-ride-route strong,
.recent-ride-route span{
    font-size:12px;
}

.recent-ride-route span{
    color:#94a3b8;
}

.recent-ride-route small{
    display:block;
    margin-top:4px;
    color:#64748b;
    font-size:10px;
}

.recent-ride-info{
    display:grid;
    justify-items:end;
    gap:7px;
}

.recent-ride-info > strong{
    font-size:12px;
}

.customer-profile-card,
.customer-location-card,
.customer-support-card{
    padding:24px;
}

.customer-profile-card{
    text-align:center;
}

.customer-profile-avatar{
    width:74px;
    height:74px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    margin:0 auto 15px;
    border-radius:50%;
    background:#07111f;
    color:#22c55e;
    font-size:27px;
}

.customer-profile-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.customer-profile-card h2{
    margin-bottom:5px;
    font-size:19px;
}

.customer-profile-card p{
    color:#64748b;
    font-size:12px;
}

.customer-profile-card > a{
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:17px;
    border:1px solid #dbe3ec;
    border-radius:22px;
    color:#334155;
    font-size:12px;
    font-weight:800;
}

.customer-profile-card > a:hover{
    border-color:#22c55e;
    color:#16a34a;
}

.customer-location-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.customer-location-heading span,
.customer-support-card > span{
    color:#22c55e;
    font-size:10px;
    font-weight:800;
    letter-spacing:1.2px;
}

.customer-location-heading h3{
    margin-top:4px;
    font-size:17px;
}

.customer-location-heading > i{
    color:#22c55e;
    font-size:20px;
}

.customer-location-status{
    margin:16px 0;
    padding:10px 12px;
    border-radius:12px;
    background:#f1f5f9;
    color:#475569;
    font-size:11px;
}

.customer-location-values{
    display:grid;
    gap:9px;
}

.customer-location-values div{
    padding:11px;
    border-radius:11px;
    background:#f8fafc;
}

.customer-location-values small,
.customer-location-values strong{
    display:block;
}

.customer-location-values small{
    color:#64748b;
    font-size:9px;
}

.customer-location-values strong{
    margin-top:4px;
    font-size:11px;
    word-break:break-word;
}

.customer-support-card h3{
    margin:7px 0 10px;
    font-size:18px;
}

.customer-support-card p{
    color:#64748b;
    font-size:12px;
    line-height:1.7;
}

.customer-support-card a{
    min-height:41px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:10px;
    border:1px solid #dbe3ec;
    border-radius:22px;
    color:#334155;
    font-size:12px;
    font-weight:800;
}

.customer-support-card a:hover{
    border-color:#22c55e;
    color:#16a34a;
}

@media(max-width:950px){

    .customer-dashboard-grid{
        grid-template-columns:1fr;
    }

    .customer-dashboard-sidebar{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:700px){

    .customer-dashboard-section{
        padding:32px 0 60px;
    }

    .customer-dashboard-welcome{
        align-items:flex-start;
        flex-direction:column;
    }

    .customer-dashboard-welcome h1{
        font-size:30px;
    }

    .customer-location-button{
        width:100%;
    }

    .customer-action-grid{
        grid-template-columns:1fr;
    }

    .customer-action-card{
        padding:20px 17px;
    }

    .customer-dashboard-card{
        padding:21px 16px;
    }

    .active-ride-meta{
        grid-template-columns:1fr;
    }

    .recent-ride-item{
        grid-template-columns:auto minmax(0,1fr);
    }

    .recent-ride-info{
        grid-column:2;
        justify-items:start;
    }

    .customer-dashboard-sidebar{
        grid-template-columns:1fr;
    }
}

@media(max-width:420px){

    .customer-action-card{
        grid-template-columns:auto minmax(0,1fr);
    }

    .customer-action-card > i{
        display:none;
    }

    .customer-card-heading{
        align-items:flex-start;
        flex-direction:column;
    }
}