* {
    box-sizing: border-box;
}

:root {
    --blue: #ff0033;
    --dark-blue: #cc0029;
    --red: #e31837;

    --background: #f4f7fb;
    --card: #ffffff;

    --text: #14213d;
    --muted: #737a86;
    --border: #dbe3ee;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        var(--background);

    color:
        var(--text);
}

body.dark-mode {
    --background: #10151d;
    --card: #1a212c;

    --text: #f4f7fb;
    --muted: #9daabd;
    --border: #303b4a;
}

a {
    color: inherit;
}

.container {
    width:
        min(
            1100px,
            92%
        );

    margin: auto;
}


/* =========================================================
   OFFICIAL LOGO
========================================================= */

.toda-logo-link {
    display: inline-flex;
    align-items: center;

    text-decoration: none;
}

.toda-logo {
    width: auto;
    height: 55px;

    display: block;

    object-fit: contain;
}

.account-logo {
    width: auto;
    height: 42px;

    object-fit: contain;
}

.toda-auth-logo {
    width:
        min(
            330px,
            90%
        );

    height: auto;

    display: block;

    margin:
        0 auto 20px;
}


/* =========================================================
   PAGE / CARD
========================================================= */

.page-center {
    min-height: 100vh;

    display: grid;
    place-items: center;

    padding: 24px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f7f7f7
        );
}

body.dark-mode
.page-center {
    background:
        #10151d;
}

.card {
    background:
        var(--card);

    border-radius:
        22px;

    border-top:
        5px solid
        var(--blue);

    box-shadow:
        0 12px 35px
        rgba(
            0,
            57,
            166,
            .12
        );
}

.auth-card,
.success-card {
    width:
        min(
            460px,
            100%
        );

    padding: 28px;
}


/* =========================================================
   FORM
========================================================= */

label {
    display: block;

    margin:
        14px 0 7px;

    font-size: 14px;

    font-weight: 800;
}

input,
select {
    width: 100%;

    padding: 14px;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    outline: none;

    font-size: 16px;

    background:
        var(--card);

    color:
        var(--text);
}

input:focus,
select:focus {
    border-color:
        var(--blue);

    box-shadow:
        0 0 0 3px
        rgba(
            0,
            87,
            184,
            .10
        );
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display:
        inline-flex;

    justify-content:
        center;

    align-items:
        center;

    gap: 8px;

    border: 0;

    padding:
        14px 18px;

    border-radius: 12px;

    text-decoration: none;

    font-weight: 800;

    cursor: pointer;
}

.btn.primary {
    width: 100%;

    margin-top: 18px;

    background:
        var(--blue);

    color: white;
}

.btn.primary:hover {
    background:
        var(--red);
}

.btn.secondary {
    background:
        var(--card);

    color:
        var(--blue);

    border:
        1px solid
        #e5e5e5;
}

.btn:disabled {
    opacity: .5;

    cursor:
        not-allowed;
}

.full-button {
    width: 100%;

    margin-top: 10px;
}

.bottom-text {
    text-align: center;
}

.bottom-text a {
    color:
        var(--blue);

    font-weight:
        800;
}


/* =========================================================
   HEADER
========================================================= */

.topbar {
    position:
        sticky;

    top: 0;

    z-index:
        1000;

    background:
        var(--card);

    border-bottom:
        3px solid
        var(--blue);
}

.nav {
    min-height: 75px;

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    gap: 20px;
}

.back-link {
    color:
        var(--blue);

    text-decoration:
        none;

    font-weight:
        800;
}


/* =========================================================
   ACCOUNT
========================================================= */

.account-wrapper {
    position: relative;
}

.account-button {
    position: relative;

    display: flex;

    align-items: center;

    gap: 7px;

    border: 0;

    background:
        transparent;

    cursor: pointer;
}

.account-arrow {
    color:
        var(--text);
}

.account-dropdown {
    display: none;

    position:
        absolute;

    right: 0;

    top:
        calc(100% + 10px);

    width: 290px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    background:
        var(--card);

    box-shadow:
        0 18px 45px
        rgba(
            0,
            0,
            0,
            .18
        );
}

.account-dropdown.show {
    display: block;
}

.account-user {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 17px;

    background:
        #f7f7f7;
}

.dark-mode
.account-user {
    background:
        #242424;
}

.profile-avatar {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    overflow: hidden;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        var(--blue);

    color: white;

    font-weight: 900;
}

.profile-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.account-user small {
    display: block;

    margin-top: 3px;

    color:
        var(--muted);
}

.account-option {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        14px 17px;

    border: 0;

    background:
        transparent;

    color:
        var(--text);

    text-align: left;

    font-weight: 700;

    cursor: pointer;
}

.account-option:hover {
    background:
        #f7f7f7;
}

.dark-mode
.account-option:hover {
    background:
        #263344;
}

.signout-option {
    color:
        var(--red);
}

.account-divider {
    height: 1px;

    background:
        var(--border);
}

.settings-title {
    padding:
        12px 17px 5px;

    color:
        var(--muted);

    font-size: 12px;

    font-weight: 900;
}

.dark-mode-setting {
    display: flex;

    justify-content:
        space-between;

    align-items:
        center;

    padding:
        10px 17px 15px;

    cursor: pointer;
}

.dark-mode-setting
small {
    display: block;

    margin-top: 3px;

    color:
        var(--muted);
}

.dark-mode-setting
input {
    display: none;
}

.toggle-switch {
    position: relative;

    width: 44px;
    height: 24px;

    border-radius:
        999px;

    background:
        #c6d1df;
}

.toggle-switch::after {
    content: "";

    position: absolute;

    left: 3px;
    top: 3px;

    width: 18px;
    height: 18px;

    border-radius:
        50%;

    background: white;

    transition: .2s;
}

.dark-mode-setting
input:checked
+
.toggle-switch {
    background:
        var(--blue);
}

.dark-mode-setting
input:checked
+
.toggle-switch::after {
    transform:
        translateX(20px);
}

.notification-badge {
    display: none;

    position: absolute;

    right: -7px;
    top: -5px;

    width: 20px;
    height: 20px;

    place-items: center;

    border-radius:
        50%;

    background:
        var(--red);

    color: white;

    font-size: 10px;

    font-weight: 900;
}

.menu-count {
    margin-left: auto;

    color:
        var(--red);
}


/* =========================================================
   DASHBOARD
========================================================= */

.dashboard {
    padding:
        28px 0 50px;
}

.hero {
    display: flex;

    justify-content:
        space-between;

    align-items:
        center;

    gap: 20px;

    padding: 28px;

    border-radius:
        24px;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--dark-blue)
        );

    color: white;
}

.hero h2 {
    margin:
        5px 0;
}

.btn.light {
    background:
        white;

    color:
        var(--blue);
}

.dashboard-info-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;

    margin:
        22px 0;
}

.time-card,
.dashboard-weather-card {
    padding: 22px;

    border-top:
        4px solid
        var(--blue);

    border-radius:
        18px;

    background:
        var(--card);
}

.info-label {
    color:
        var(--muted);

    font-size: 11px;

    font-weight: 900;
}

.current-time {
    margin:
        8px 0 3px;

    color:
        var(--blue);

    font-size: 34px;

    font-weight: 900;
}

.current-date,
.weather-condition {
    color:
        var(--muted);
}

.time-greeting {
    margin-top: 15px;

    font-weight: 800;
}

.weather-main {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 10px;
}

.weather-big-icon {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    border-radius: 18px;

    background:
        #f7f7f7;

    font-size: 32px;
}

.weather-temp {
    margin: 0;

    color:
        var(--blue);

    font-size: 34px;
}

.weather-details {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 8px;

    margin-top: 15px;
}

.weather-detail {
    padding: 10px;

    border-radius: 10px;

    background:
        #f7f9fc;
}

.dark-mode
.weather-detail {
    background:
        #202936;
}

.weather-detail span {
    display: block;

    margin-bottom: 4px;

    color:
        var(--muted);

    font-size: 10px;

    font-weight: 800;
}

.rain-warning {
    display: none;

    margin-top: 12px;

    padding: 10px;

    border-radius: 10px;

    background:
        #f7f7f7;

    color:
        var(--blue);

    font-size: 12px;

    font-weight: 800;
}

.rain-warning.show {
    display: block;
}

.quick-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 18px;

    margin:
        22px 0;
}

.quick-card {
    padding: 22px;

    border-top:
        4px solid
        var(--blue);

    border-radius:
        18px;

    background:
        var(--card);

    text-decoration: none;
}

.quick-card h3 {
    color:
        var(--blue);
}

.quick-card p {
    color:
        var(--muted);
}

.emoji {
    font-size: 30px;
}

.history {
    padding: 22px;

    border-top-color:
        var(--red);
}

.ride-item {
    display: flex;

    justify-content:
        space-between;

    gap: 15px;

    padding:
        16px 0;

    border-top:
        1px solid
        var(--border);
}

.ride-item p {
    color:
        var(--muted);
}

.badge {
    align-self:
        center;

    padding:
        7px 10px;

    border-radius:
        999px;

    background:
        #f7f7f7;

    color:
        var(--blue);

    font-size: 12px;

    font-weight: 900;
}

.cancel-ride-btn {
    margin-top: 9px;

    padding:
        8px 12px;

    border:
        1px solid
        var(--red);

    border-radius: 9px;

    background:
        transparent;

    color:
        var(--red);

    font-weight: 800;

    cursor: pointer;
}


/* =========================================================
   BOOKING
========================================================= */

.form-page {
    padding:
        32px 0 60px;
}

.booking-card {
    max-width: 700px;

    margin: auto;

    padding: 28px;
}

.booking-card h2 {
    color:
        var(--blue);
}

.rosario-chip {
    display:
        inline-block;

    padding:
        7px 11px;

    border-radius:
        999px;

    background:
        #f7f7f7;

    color:
        var(--blue);

    font-size: 12px;

    font-weight: 900;
}

.location-search-wrapper {
    position: relative;
}

.location-suggestions {
    display: none;

    position: absolute;

    left: 0;
    right: 0;

    top:
        calc(
            100% + 5px
        );

    z-index: 500;

    max-height: 300px;

    overflow-y: auto;

    border:
        1px solid
        var(--border);

    border-radius: 14px;

    background:
        var(--card);

    box-shadow:
        0 12px 30px
        rgba(
            0,
            0,
            0,
            .15
        );
}

.location-suggestions.show {
    display: block;
}

.location-suggestion {
    display: flex;

    gap: 10px;

    padding:
        12px;

    border-bottom:
        1px solid
        var(--border);

    cursor: pointer;
}

.location-suggestion:hover {
    background:
        #f7f7f7;
}

.dark-mode
.location-suggestion:hover {
    background:
        #263344;
}

.location-name {
    color:
        var(--blue);

    font-weight: 800;
}

.location-address {
    margin-top: 3px;

    color:
        var(--muted);

    font-size: 11px;
}

.location-category {
    padding:
        8px 12px;

    background:
        #f5f7fa;

    color:
        var(--muted);

    font-size: 11px;

    font-weight: 900;
}

.dark-mode
.location-category {
    background:
        #202936;
}

.private-ride-box {
    display: flex;

    gap: 13px;

    margin-top: 18px;

    padding: 16px;

    border-radius: 15px;

    background:
        #f7f7f7;
}

.dark-mode
.private-ride-box {
    background:
        #242424;
}

.private-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        var(--blue);

    color: white;
}

.private-ride-box strong {
    color:
        var(--blue);
}

.private-ride-box p,
.small-note {
    color:
        var(--muted);

    font-size: 12px;

    line-height: 1.5;
}

.weather-box {
    margin-top: 18px;

    padding: 16px;

    border:
        1px solid
        var(--border);

    border-radius: 15px;
}

.weather-head {
    display: flex;

    justify-content:
        space-between;
}

.weather-status {
    color:
        var(--blue);

    font-weight: 900;
}

.weather-note {
    color:
        var(--muted);

    font-size: 12px;
}

.weather-box.raining {
    background:
        #f7f7f7;
}

.dark-mode
.weather-box.raining {
    background:
        #242424;
}

.route-box {
    margin-top: 18px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 15px;
}

.route-row {
    display: flex;

    justify-content:
        space-between;

    gap: 15px;

    padding:
        14px 15px;

    border-bottom:
        1px solid
        var(--border);
}

.route-total {
    background:
        #f7f7f7;
}

.dark-mode
.route-total {
    background:
        #242424;
}

.route-total strong {
    color:
        var(--blue);

    font-size: 20px;
}

.service-fee-row {
    background:
        #fff8e7;
}

.dark-mode
.service-fee-row {
    background:
        #332b17;
}

.surcharge {
    color:
        var(--red);
}

.route-actions {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    margin-top: 14px;
}


/* =========================================================
   MODAL
========================================================= */

.toda-modal-overlay {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 9999;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background:
        rgba(
            0,
            0,
            0,
            .5
        );
}

.toda-modal-overlay.show {
    display: flex;
}

.toda-modal {
    position: relative;

    width:
        min(
            480px,
            100%
        );

    max-height: 90vh;

    overflow-y: auto;

    padding: 26px;

    border-radius: 22px;

    background:
        var(--card);
}

.modal-close {
    position: absolute;

    right: 14px;
    top: 10px;

    border: 0;

    background:
        transparent;

    color:
        var(--muted);

    font-size: 28px;

    cursor: pointer;
}

.big-profile-avatar {
    width: 82px;
    height: 82px;

    overflow: hidden;

    display: grid;
    place-items: center;

    margin: auto;

    border-radius: 50%;

    background:
        var(--blue);

    color: white;

    font-size: 30px;

    font-weight: 900;
}

.big-profile-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.toda-modal h2,
.profile-role {
    text-align: center;
}

.profile-role {
    color:
        var(--muted);
}

.profile-information div {
    display: flex;

    justify-content:
        space-between;

    gap: 15px;

    padding:
        13px 0;

    border-bottom:
        1px solid
        var(--border);
}

.profile-information span {
    color:
        var(--muted);
}

.face-verification-box {
    padding: 14px;

    border:
        1px solid
        var(--border);

    border-radius: 15px;
}

#faceVideo,
#facePreview {
    width: 100%;

    max-height: 300px;

    object-fit: cover;

    border-radius: 12px;

    margin-bottom: 10px;
}

.notification-item {
    padding: 14px;

    margin-top: 10px;

    border:
        1px solid
        var(--border);

    border-radius: 12px;
}

.notification-item p,
.notification-item small {
    color:
        var(--muted);
}

.empty-notifications {
    padding: 30px;

    text-align: center;
}


/* =========================================================
   DRIVER TOAST
========================================================= */

.driver-toast {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 10000;

    width:
        min(
            360px,
            calc(
                100% - 40px
            )
        );

    display: flex;

    gap: 13px;

    align-items: center;

    padding: 16px;

    border-radius: 16px;

    background:
        var(--blue);

    color: white;

    transform:
        translateY(150%);

    transition:
        .3s;
}

.driver-toast.show {
    transform:
        translateY(0);
}

.driver-toast-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: white;

    font-size: 24px;
}


/* =========================================================
   SUCCESS
========================================================= */

.success-card {
    text-align: center;
}

.success-icon {
    width: 70px;
    height: 70px;

    display: grid;
    place-items: center;

    margin: auto;

    border-radius: 50%;

    background:
        var(--blue);

    color: white;

    font-size: 32px;
}

.booking-summary {
    margin-top: 20px;

    padding: 16px;

    border-radius: 14px;

    background:
        #f7f9fb;

    text-align: left;
}

.dark-mode
.booking-summary {
    background:
        #202936;
}

.booking-summary p {
    display: flex;

    justify-content:
        space-between;

    gap: 15px;
}

.booking-summary span {
    color:
        var(--muted);
}


/* =========================================================
   MOBILE
========================================================= */

@media(
    max-width:700px
) {

    .toda-logo {
        height: 43px;
    }

    .account-logo {
        height: 34px;
    }

    .dashboard-info-grid,
    .quick-grid,
    .route-actions {
        grid-template-columns:
            1fr;
    }

    .hero {
        flex-direction:
            column;

        align-items:
            flex-start;
    }

    .ride-item {
        flex-direction:
            column;
    }

    .account-dropdown {
        width: 270px;
    }

}
/* PHP VERSION ADDITIONS */
.alert{padding:12px 14px;border-radius:12px;margin:12px 0;font-size:14px}.alert.error{background:#fff0f2;color:#c51230;border-left:4px solid #e31837}.alert.success{background:#f7f7f7;color:#ff0033;border-left:4px solid #ff0033}.account-name{color:var(--text);font-weight:800}.profile-page{padding:32px 0 60px}.profile-card{max-width:620px;margin:auto;padding:28px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.notification-page{padding:32px 0 60px}.notification-card{max-width:760px;margin:auto;padding:24px}.status-accepted{color:#15803d}.status-cancelled{color:#e31837}.status-searching{color:#ff0033}.selected-location{display:none;margin-top:8px;padding:10px 12px;border-radius:11px;background:#f7f7f7;color:#ff0033;font-size:12px;font-weight:700}.selected-location.show{display:block}.location-help{font-size:11px;color:var(--muted);line-height:1.45}.current-location-button{width:100%;margin-top:9px}@media(max-width:700px){.profile-grid{grid-template-columns:1fr}}

/* ===== Password Eyes ===== */
.password-wrapper{position:relative}.password-wrapper input{padding-right:52px}.password-eye{position:absolute;right:12px;top:50%;transform:translateY(-50%);border:0;background:transparent;font-size:19px;cursor:pointer;padding:7px;line-height:1}.center-title{text-align:center}.portal-divider{display:flex;align-items:center;gap:10px;margin:20px 0;color:var(--muted);font-size:12px;font-weight:800}.portal-divider:before,.portal-divider:after{content:"";height:1px;flex:1;background:var(--border)}

/* ===== Customer assigned driver ===== */
.driver-customer-card,.assigned-driver-card{margin-top:12px;padding:14px;border:1px solid #e5e5e5;border-radius:14px;background:#f7f7f7}.dark-mode .driver-customer-card,.dark-mode .assigned-driver-card{background:#242424}.driver-customer-card p{margin:5px 0}.assigned-driver-card{display:flex;gap:14px;text-align:left}.assigned-driver-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:16px;background:var(--blue);color:white;font-size:28px;flex:0 0 auto}.assigned-driver-card h3{margin:3px 0 8px;color:var(--blue)}.assigned-driver-card p{margin:4px 0}.searching-driver-box{margin:16px 0;padding:14px;border-radius:14px;background:#fff8e7;color:#735b00;font-weight:700}

/* ===== Driver Portal ===== */
.driver-body{background:#f4f7fb}.driver-topbar{border-bottom-color:var(--red)}.portal-label{margin-left:10px;padding:5px 8px;border-radius:8px;background:var(--red);color:white;font-size:10px;font-weight:900;letter-spacing:1px}.driver-nav-links{display:flex;align-items:center;gap:16px}.driver-nav-links a{text-decoration:none;font-weight:800;color:var(--blue)}.driver-nav-links .driver-logout{color:var(--red)}.driver-auth-bg{background:linear-gradient(135deg,#f7f7f7,#fff3f5)}.driver-auth-card{border-top-color:var(--red)}.driver-register-card{width:min(650px,100%);padding:28px}.driver-portal-title{text-align:center;font-weight:900;color:var(--red);letter-spacing:1px;margin-bottom:14px}.driver-license-note{padding:12px;border-radius:12px;background:#fff8e7;color:#685800;font-size:12px;line-height:1.5}.driver-dashboard{padding:28px 0 60px}.driver-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px;border-radius:22px;background:linear-gradient(135deg,#ff0033,#cc0029);color:white}.driver-hero h1{margin:8px 0}.driver-badge{display:inline-block;padding:5px 9px;border-radius:999px;background:var(--red);font-size:10px;font-weight:900}.license-mini{padding:14px 16px;border-radius:14px;background:rgba(255,255,255,.14)}.license-mini span,.license-mini small{display:block}.license-mini strong{display:block;margin:4px 0}.driver-section{margin-top:22px;padding:22px;border-radius:20px;background:var(--card);border:1px solid var(--border)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-heading h2{margin-bottom:4px}.section-heading p{margin-top:0;color:var(--muted)}.count-pill{min-width:34px;height:34px;padding:0 10px;display:grid;place-items:center;border-radius:999px;background:var(--blue);color:white;font-weight:900}.driver-booking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.driver-booking-card{padding:18px;border:1px solid var(--border);border-radius:16px}.booking-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.driver-booking-card h3{line-height:1.4}.driver-booking-meta{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.driver-booking-meta span{padding:6px 8px;border-radius:8px;background:#f4f7fb;font-size:12px}.dark-mode .driver-booking-meta span{background:#202936}.privacy-note{font-size:11px;color:var(--muted)}.driver-empty{padding:24px;text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:14px}.active-driver-ride{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:18px 0;border-top:1px solid var(--border)}.accepted-badge{background:#e7f8ee;color:#16753d}.customer-details-box{padding:16px;border-radius:14px;background:#f7f7f7}.dark-mode .customer-details-box{background:#242424}.customer-details-box h4{margin-top:0}.customer-details-box p{margin:7px 0}.driver-action-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.driver-action-row form .btn{width:100%;margin-top:0}.completed-row{display:grid;grid-template-columns:1fr 2fr auto;gap:12px;padding:12px 0;border-top:1px solid var(--border)}.license-preview{display:flex;gap:16px;align-items:center;margin:16px 0;padding:14px;border:1px solid var(--border);border-radius:14px}.license-preview img{width:150px;max-height:100px;object-fit:cover;border-radius:10px}.license-preview p{margin:4px 0;color:var(--muted)}
@media(max-width:700px){.driver-nav-links{gap:8px;font-size:12px}.portal-label{display:none}.driver-hero{flex-direction:column;align-items:flex-start}.driver-booking-grid,.active-driver-ride,.driver-action-row{grid-template-columns:1fr}.completed-row{grid-template-columns:1fr}.license-preview{flex-direction:column;align-items:flex-start}.license-preview img{width:100%;max-height:220px}}

/* =========================================================
   CUSTOMER ↔ DRIVER CHAT
========================================================= */
.chat-btn{background:#ff0033;color:#fff!important;text-decoration:none}.chat-btn:hover{background:#e31837}.compact-chat-btn{margin-top:9px;width:auto;padding:9px 13px}.chat-page-body{background:var(--background)}.chat-page{padding:28px 0 50px}.chat-shell{width:min(820px,100%);margin:auto;background:var(--card);border:1px solid var(--border);border-radius:22px;overflow:hidden;box-shadow:0 16px 45px rgba(0,0,0,.08)}.chat-header-card{display:flex;gap:14px;align-items:center;padding:20px 22px;background:linear-gradient(135deg,#ff0033,#cc0029);color:#fff}.chat-header-card h2{margin:2px 0 4px}.chat-header-card p,.chat-header-card small{margin:0;opacity:.9}.chat-person-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;background:#fff;font-size:27px}.chat-trip-strip{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center;padding:14px 18px;border-bottom:1px solid var(--border);background:#fafafa}.dark-mode .chat-trip-strip{background:#212121}.chat-trip-strip div{min-width:0}.chat-trip-strip small{display:block;color:var(--muted);font-size:10px;font-weight:900;margin-bottom:4px}.chat-trip-strip strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-messages{height:430px;overflow-y:auto;padding:20px;background:#f5f5f5}.dark-mode .chat-messages{background:#0f0f0f}.chat-row{display:flex;margin:9px 0}.chat-row.mine{justify-content:flex-end}.chat-row.theirs{justify-content:flex-start}.chat-bubble{max-width:76%;padding:11px 13px;border-radius:16px;background:#fff;color:#14213d;box-shadow:0 3px 10px rgba(0,0,0,.06);overflow-wrap:anywhere}.chat-row.mine .chat-bubble{background:#ff0033;color:#fff;border-bottom-right-radius:5px}.chat-row.theirs .chat-bubble{border-bottom-left-radius:5px}.chat-bubble small{display:block;margin-top:6px;font-size:10px;opacity:.7;text-align:right}.chat-system-message{width:max-content;max-width:90%;margin:12px auto;padding:8px 12px;border-radius:999px;background:#eeeeee;color:#3d536d;font-size:12px;text-align:center}.chat-form{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px;border-top:1px solid var(--border);background:var(--card)}.chat-form textarea{resize:none;min-height:52px;max-height:130px;border:1px solid var(--border);border-radius:14px;padding:13px;font:inherit;background:var(--card);color:var(--text);outline:none}.chat-form textarea:focus{border-color:#ff0033;box-shadow:0 0 0 3px rgba(0,87,184,.1)}.chat-send-btn{width:auto!important;margin:0!important;align-self:stretch}.chat-safety-note{margin:0;padding:0 16px 14px;color:var(--muted);font-size:11px;text-align:center}.chat-readonly,.chat-loading,.chat-empty,.chat-error{padding:18px;text-align:center;color:var(--muted)}.chat-error{color:#e31837}@media(max-width:700px){.chat-page{padding:14px 0}.chat-shell{border-radius:14px}.chat-header-card{padding:16px}.chat-trip-strip{grid-template-columns:1fr;gap:6px}.chat-trip-strip>span{display:none}.chat-messages{height:55vh;padding:13px}.chat-bubble{max-width:86%}.chat-form{grid-template-columns:1fr}.chat-send-btn{width:100%!important}}

/* ===== Face avatars, rider phone & reports ===== */
.assigned-driver-photo{width:72px;height:72px;flex:0 0 72px;border-radius:50%;overflow:hidden;border:3px solid #fff;box-shadow:0 3px 12px rgba(0,0,0,.15)}.assigned-driver-photo img{width:100%;height:100%;object-fit:cover}.driver-phone-link{font-size:17px;font-weight:900;color:var(--blue);text-decoration:none}.customer-ride-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.report-btn,.danger-btn{background:#e31837;color:#fff!important;text-decoration:none}.report-btn:hover,.danger-btn:hover{background:#b90f29}.report-driver-card{display:flex;align-items:center;gap:14px;padding:14px;margin:14px 0;border:1px solid var(--border);border-radius:14px;background:#f7f7f7}.report-driver-card img,.report-avatar-fallback{width:66px;height:66px;border-radius:50%;object-fit:cover}.report-avatar-fallback{display:grid;place-items:center;background:var(--blue);color:white;font-size:28px}.report-driver-card p{margin:5px 0}.profile-card textarea{width:100%;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--text);font:inherit;resize:vertical}.chat-person-avatar{width:58px;height:58px;flex:0 0 58px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#fff;color:#ff0033;font-size:24px;font-weight:900}.chat-person-avatar img{width:100%;height:100%;object-fit:cover}.chat-row{align-items:flex-end;gap:8px}.chat-row.mine{flex-direction:row-reverse}.chat-message-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#fff;color:#ff0033;border:1px solid #dbe3ee;font-size:13px;font-weight:900}.chat-message-avatar img{width:100%;height:100%;object-fit:cover}.chat-message-avatar span{display:block}.face-verification-box img{width:100%;max-height:320px;object-fit:cover;border-radius:12px;margin-bottom:10px}@media(max-width:700px){.customer-ride-actions{grid-template-columns:1fr}.assigned-driver-photo{width:60px;height:60px;flex-basis:60px}}

/* HATID SUNDO language switch */
.language-switch{position:fixed;right:18px;bottom:18px;z-index:20000;border:0;border-radius:999px;padding:11px 16px;background:#ff0033;color:#fff;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.2);cursor:pointer}.language-switch:hover{background:#e31837}@media(max-width:700px){.language-switch{right:12px;bottom:12px;padding:10px 13px;font-size:12px}}

/* =========================================================
   ADMIN PORTAL
========================================================= */
.admin-body{background:#f4f7fb;color:#14213d;min-height:100vh}.admin-topbar{height:76px;background:#fff;border-bottom:1px solid #dfe7f1;display:flex;align-items:center;justify-content:space-between;padding:0 26px;position:sticky;top:0;z-index:1200}.admin-brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:#0a4f9b;font-weight:900;letter-spacing:.08em}.admin-brand img{height:46px;width:auto}.admin-top-actions{display:flex;align-items:center;gap:12px}.admin-name{font-weight:700}.admin-logout-btn{padding:9px 13px!important}.admin-shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:calc(100vh - 76px)}.admin-sidebar{background:#0b4f96;padding:24px 14px}.admin-sidebar nav{position:sticky;top:100px;display:grid;gap:8px}.admin-sidebar a{color:#dcecff;text-decoration:none;padding:13px 15px;border-radius:11px;font-weight:700}.admin-sidebar a:hover,.admin-sidebar a.active{background:#fff;color:#0757ad}.admin-content{padding:28px;min-width:0}.admin-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.admin-page-heading h1{margin:3px 0 5px;font-size:30px}.admin-page-heading p{margin:0;color:#667085}.admin-eyebrow{color:#0757ad!important;font-size:11px;font-weight:900;letter-spacing:.12em}.admin-date{background:#fff;border:1px solid #dfe7f1;border-radius:12px;padding:11px 15px;font-weight:700}.admin-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.admin-stat{background:#fff;border:1px solid #e2e8f0;border-radius:17px;padding:18px;display:flex;align-items:center;gap:14px;box-shadow:0 7px 20px rgba(0,50,100,.05)}.admin-stat>span{width:46px;height:46px;display:grid;place-items:center;background:#fff0f3;border-radius:13px;font-size:22px}.admin-stat small{display:block;color:#667085;font-weight:700;margin-bottom:4px}.admin-stat strong{display:block;font-size:24px;color:#0757ad}.admin-stat.warning>span{background:#fff1f1}.admin-stat.warning strong{color:#d92d20}.admin-stat.money>span{background:#ecfdf3}.admin-stat.money strong{color:#067647}.admin-two-column{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);gap:18px}.admin-panel{background:#fff;border:1px solid #e2e8f0;border-radius:17px;padding:18px;box-shadow:0 7px 20px rgba(0,50,100,.04);min-width:0}.admin-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:14px}.admin-panel-head h2{margin:0 0 3px;font-size:19px}.admin-panel-head p{margin:0;color:#667085;font-size:13px}.admin-panel-head a{color:#0757ad;text-decoration:none;font-weight:800;font-size:13px}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;font-size:13px}.admin-table th{background:#f8fafc;text-align:left;padding:11px 10px;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.admin-table td{padding:12px 10px;border-top:1px solid #eef2f6;vertical-align:top}.admin-table td small{display:block;color:#667085;margin-top:4px}.admin-table-wide{min-width:1250px}.route-mini{display:block;max-width:280px;line-height:1.4}.admin-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#eef2f6;color:#344054;font-size:11px;font-weight:800;white-space:nowrap}.admin-status.completed,.admin-status.resolved,.admin-status.active,.admin-status.verified{background:#ecfdf3;color:#067647}.admin-status.accepted,.admin-status.reviewing,.admin-status.on-the-way{background:#eff8ff;color:#175cd3}.admin-status.searching-driver,.admin-status.submitted{background:#fff6ed;color:#b54708}.admin-status.cancelled,.admin-status.dismissed,.admin-status.suspended,.admin-status.rejected{background:#fef3f2;color:#b42318}.admin-report-preview{display:flex;justify-content:space-between;gap:10px;padding:13px 0;border-top:1px solid #eef2f6;text-decoration:none;color:inherit}.admin-report-preview:first-of-type{border-top:0}.admin-report-preview p{margin:4px 0 0;color:#667085;font-size:12px}.admin-empty{text-align:center;color:#667085;padding:25px}.admin-filter-bar{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #e2e8f0;padding:12px;border-radius:15px;margin-bottom:18px}.admin-filter-bar input{min-width:260px;flex:1}.admin-filter-bar select{width:auto;min-width:170px}.admin-filter-bar .btn{width:auto!important;margin:0!important;white-space:nowrap}.admin-report-list{display:grid;gap:16px}.admin-report-card{background:#fff;border:1px solid #e2e8f0;border-radius:17px;padding:20px}.admin-report-card-head h3{margin:9px 0 3px}.admin-report-card-head p{margin:0;color:#667085;font-size:12px}.admin-report-body{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:17px 0}.admin-person-block{background:#f8fafc;border-radius:13px;padding:14px}.admin-person-block h4{margin:0 0 8px;color:#0757ad}.admin-person-block p{margin:6px 0;font-size:13px}.admin-driver-face{width:56px;height:56px;border-radius:50%;object-fit:cover;float:right}.admin-report-details{border-left:4px solid #e31837;background:#fff7f7;border-radius:10px;padding:13px;margin-bottom:13px}.admin-report-details p{margin:7px 0 0;line-height:1.5}.admin-report-actions,.admin-driver-actions{display:flex;gap:10px;align-items:center}.admin-report-actions select,.admin-driver-actions select{width:auto;min-width:150px}.admin-report-actions .btn,.admin-driver-actions .btn{width:auto!important;margin:0!important}.admin-driver-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-driver-card{background:#fff;border:1px solid #e2e8f0;border-radius:17px;padding:18px}.admin-driver-head{display:flex;align-items:center;gap:13px;border-bottom:1px solid #eef2f6;padding-bottom:14px}.admin-driver-head img,.admin-driver-fallback{width:64px;height:64px;border-radius:50%;object-fit:cover}.admin-driver-fallback{display:grid;place-items:center;background:#fff0f3;font-size:28px}.admin-driver-head h3{margin:0 0 3px}.admin-driver-head p{margin:0 0 6px;color:#667085;font-size:12px}.admin-driver-info{display:grid;grid-template-columns:1fr 1fr;gap:5px 14px;padding:12px 0}.admin-driver-info p{margin:4px 0;font-size:13px}.admin-auth-note{text-align:center;color:#667085;font-size:13px}.admin-login-badge{margin:-5px auto 18px;width:max-content;padding:6px 12px;border-radius:999px;background:#fff0f3;color:#0757ad;font-size:11px;font-weight:900;letter-spacing:.1em}.password-wrapper{position:relative}.password-wrapper input{padding-right:52px}.password-eye{position:absolute;right:12px;top:50%;transform:translateY(-50%);border:0;background:transparent;cursor:pointer;font-size:18px}.alert{padding:11px 13px;border-radius:10px;margin:11px 0;font-weight:700;font-size:13px}.alert.error{background:#fef3f2;color:#b42318}.alert.success{background:#ecfdf3;color:#067647}
@media(max-width:1000px){.admin-stat-grid{grid-template-columns:repeat(2,1fr)}.admin-two-column{grid-template-columns:1fr}.admin-driver-grid{grid-template-columns:1fr}.admin-report-body{grid-template-columns:1fr}}
@media(max-width:760px){.admin-topbar{padding:0 12px}.admin-brand span,.admin-name{display:none}.admin-shell{grid-template-columns:1fr}.admin-sidebar{padding:8px;overflow:auto}.admin-sidebar nav{position:static;display:flex;min-width:max-content}.admin-sidebar a{padding:9px 11px}.admin-content{padding:16px}.admin-stat-grid{grid-template-columns:1fr}.admin-filter-bar{align-items:stretch;flex-direction:column}.admin-filter-bar input,.admin-filter-bar select{width:100%;min-width:0}.admin-report-actions,.admin-driver-actions{align-items:stretch;flex-direction:column}.admin-report-actions select,.admin-driver-actions select{width:100%}.admin-driver-info{grid-template-columns:1fr}}

/* ===== Realtime booking + live rider map ===== */
.searching-live{display:flex;align-items:center;gap:8px;width:max-content;margin:12px 0;padding:10px 14px;border-radius:999px;background:#fff8e7;color:#735b00;font-weight:900}.waiting-dots{display:inline-flex;gap:4px}.waiting-dots i{width:7px;height:7px;border-radius:50%;background:currentColor;animation:todaDot 1.2s infinite ease-in-out}.waiting-dots i:nth-child(2){animation-delay:.15s}.waiting-dots i:nth-child(3){animation-delay:.3s}@keyframes todaDot{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-6px);opacity:1}}.customer-live-map,.driver-live-map{height:280px;margin-top:14px;border-radius:16px;overflow:hidden;border:1px solid var(--border);background:#f7f7f7;position:relative;z-index:1}.map-waiting{height:100%;display:grid;place-items:center;text-align:center;padding:20px;color:var(--muted);font-weight:800}.rider-distance,.location-share-status{margin-top:8px;font-size:12px;font-weight:800;color:#0757ad}.live-location-notice{margin-bottom:16px;padding:12px 15px;border-radius:13px;background:#fff0f3;color:#0757ad;font-size:13px;font-weight:700}.leaflet-container{font-family:inherit}.driver-action-row{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:700px){.customer-live-map,.driver-live-map{height:230px}.driver-action-row{grid-template-columns:1fr}}

/* Admin report deletion */
.admin-report-action-row{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:16px}.admin-report-action-row .admin-report-actions{margin:0;flex:1;min-width:280px}.admin-delete-btn{background:#fff1f2!important;color:#b42318!important;border:1px solid #fda4af!important}.admin-delete-btn:hover{background:#ffe4e6!important}.admin-flash{padding:12px 15px;border-radius:12px;margin:0 0 16px;font-weight:700}.admin-flash.success{background:#ecfdf3;color:#027a48;border:1px solid #abefc6}

/* Driver live time, weather and safety */
.driver-live-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.driver-live-card{background:#fff;border:1px solid #dce6f4;border-radius:18px;padding:16px 18px;display:flex;gap:14px;align-items:center;box-shadow:0 8px 24px rgba(0,35,85,.06)}.driver-live-icon{width:46px;height:46px;border-radius:14px;background:#f7f7f7;display:grid;place-items:center;font-size:24px;flex:0 0 auto}.driver-live-card span{font-size:11px;font-weight:800;letter-spacing:.08em;color:#667085;display:block}.driver-live-card strong{font-size:24px;line-height:1.2;color:#0b3a73;display:block;margin:2px 0}.driver-live-card small{color:#667085;line-height:1.4}.driver-safety-panel{background:linear-gradient(180deg,#fafafa 0%,#fff 100%);border:1px solid #cfe0f5;border-radius:20px;padding:20px;margin:0 0 18px;box-shadow:0 8px 24px rgba(0,35,85,.06)}.driver-safety-head{display:flex;gap:18px;align-items:flex-start;justify-content:space-between;margin-bottom:16px}.driver-safety-head h2{margin:3px 0 5px;color:#0b3a73}.driver-safety-head p{margin:0;color:#667085}.driver-safety-kicker{font-size:11px;font-weight:900;letter-spacing:.1em;color:#ff0033}.driver-safety-shield{font-size:36px}.driver-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.driver-rule-item{border:1px solid #e3ebf6;border-radius:14px;padding:12px;display:flex;gap:10px;background:#fff}.driver-rule-item>b{width:28px;height:28px;border-radius:50%;background:#ff0033;color:#fff;display:grid;place-items:center;flex:0 0 auto;font-size:13px}.driver-rule-item p{margin:0;font-size:13px;line-height:1.45;color:#475467}.driver-rule-item strong{color:#101828}.driver-safety-note{margin:14px 0 0;padding-top:13px;border-top:1px dashed #cdd9e8;font-size:12px;color:#667085;font-weight:600}
@media(max-width:720px){.driver-live-info-grid,.driver-rule-grid{grid-template-columns:1fr}.driver-live-card strong{font-size:21px}.driver-safety-panel{padding:15px}.admin-report-action-row{align-items:stretch}.admin-report-action-row .admin-report-actions{min-width:0;width:100%}.admin-delete-btn{width:100%}}

/* ===== Customer recent bookings tab ===== */
.customer-main-tabs{display:flex;align-items:center;gap:8px;margin-left:auto;margin-right:16px}.customer-main-tabs a{text-decoration:none;color:var(--text);font-weight:800;font-size:13px;padding:9px 11px;border-radius:10px}.customer-main-tabs a:hover{background:#f7f7f7;color:var(--blue)}.dark-mode .customer-main-tabs a:hover{background:#242424}.dashboard-history-shortcut{margin-top:22px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px}.dashboard-history-shortcut h3{margin:4px 0}.dashboard-history-shortcut p{margin:0}.history-kicker{font-size:11px;font-weight:900;letter-spacing:.1em;color:var(--blue)}.recent-bookings-page{padding:30px 0 60px}.recent-bookings-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;padding:24px;border-radius:20px;background:linear-gradient(135deg,#ff0033,#cc0029);color:#fff}.recent-bookings-hero h1{margin:5px 0 6px}.recent-bookings-hero p{margin:0;opacity:.9}.recent-bookings-hero .history-kicker{color:#ffe0e6}.booking-status-tabs{display:flex;gap:8px;overflow:auto;padding:4px 0 14px;margin-bottom:10px}.booking-status-tabs a{white-space:nowrap;text-decoration:none;padding:9px 13px;border-radius:999px;border:1px solid var(--border);background:var(--card);color:var(--text);font-size:12px;font-weight:800}.booking-status-tabs a.active{background:var(--blue);border-color:var(--blue);color:#fff}.recent-booking-list{display:grid;gap:16px}.recent-booking-card{padding:20px;border-radius:18px;border:1px solid var(--border);background:var(--card);box-shadow:0 7px 22px rgba(0,35,85,.05)}.recent-booking-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--border)}.recent-booking-top small,.recent-meta-grid small,.recent-route small,.recent-driver-info small{display:block;color:var(--muted);font-size:10px;font-weight:900;letter-spacing:.08em;margin-bottom:4px}.recent-status.completed{background:#e9f8ef;color:#168248}.recent-status.cancelled{background:#fff0f2;color:#c51230}.recent-status.accepted,.recent-status.on-the-way{background:#f7f7f7;color:#ff0033}.recent-route{padding:18px 0}.route-point{display:flex;gap:12px;align-items:flex-start}.route-point>span{width:13px;height:13px;border-radius:50%;background:var(--blue);margin-top:3px;box-shadow:0 0 0 4px #fff0f3}.route-point.destination>span{background:var(--red);box-shadow:0 0 0 4px #fff0f2}.route-point strong{line-height:1.4}.route-line{width:2px;height:24px;background:var(--border);margin:3px 0 3px 5px}.recent-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.recent-meta-grid>div{padding:11px;border-radius:12px;background:#f7f9fb}.dark-mode .recent-meta-grid>div{background:#202936}.recent-driver-card{display:flex;align-items:center;gap:13px;margin-top:12px;padding:14px;border-radius:14px;background:#f7f7f7}.dark-mode .recent-driver-card{background:#242424}.recent-driver-avatar{width:52px;height:52px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--blue);color:white;font-weight:900;font-size:19px;flex:0 0 auto}.recent-driver-avatar img{width:100%;height:100%;object-fit:cover}.recent-driver-info{min-width:0}.recent-driver-info strong{display:block}.recent-driver-info span{display:block;color:var(--muted);font-size:12px;margin-top:4px;line-height:1.5}.recent-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.recent-actions .btn,.recent-actions form,.recent-actions button{margin:0}.recent-empty{text-align:center;padding:42px 20px}.recent-empty-icon{font-size:42px}.recent-empty h3{margin-bottom:5px}
@media(max-width:900px){.customer-main-tabs{display:none}.recent-meta-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.dashboard-history-shortcut,.recent-bookings-hero{align-items:flex-start;flex-direction:column}.recent-bookings-hero .btn,.dashboard-history-shortcut .btn{width:100%}.recent-meta-grid{grid-template-columns:1fr 1fr}.recent-booking-top{align-items:flex-start}.recent-actions{flex-direction:column}.recent-actions .btn,.recent-actions form,.recent-actions form button{width:100%}}

/* ===== HATID SUNDO 2-second page transition ===== */
.toda-page-loader{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;background:rgba(255,255,255,.97);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease}.toda-page-loader.show{opacity:1;visibility:visible;pointer-events:all}.dark-mode .toda-page-loader{background:rgba(12,20,31,.98)}.toda-loader-card{text-align:center;padding:28px}.toda-loader-logo{width:min(230px,62vw);height:auto;display:block;margin:0 auto 18px;animation:todaLogoPulse 1.05s ease-in-out infinite}.toda-loader-card strong{display:block;margin-top:12px;color:#ff0033;font-size:14px;letter-spacing:.06em}.dark-mode .toda-loader-card strong{color:#ff6b86}.toda-loader-dots{height:18px;display:flex;justify-content:center;align-items:center;gap:7px}.toda-loader-dots i{width:9px;height:9px;border-radius:50%;background:#ff0033;animation:todaLoadDot 1s infinite ease-in-out}.toda-loader-dots i:nth-child(2){animation-delay:.15s;background:#e31837}.toda-loader-dots i:nth-child(3){animation-delay:.3s}@keyframes todaLoadDot{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-7px);opacity:1}}@keyframes todaLogoPulse{0%,100%{transform:scale(1);opacity:.92}50%{transform:scale(1.045);opacity:1}}@media(prefers-reduced-motion:reduce){.toda-loader-logo,.toda-loader-dots i{animation:none}}

.nav-badge{display:inline-flex;min-width:22px;height:22px;padding:0 6px;border-radius:999px;align-items:center;justify-content:center;background:#e31837;color:#fff;font-size:12px;font-weight:900}.promo-hero{min-height:72vh;background:linear-gradient(135deg,#f5f9ff,#fff);padding:24px 6vw}.promo-nav{display:flex;justify-content:space-between;align-items:center}.promo-nav img{width:150px}.promo-nav a{margin-left:14px;font-weight:800;color:#ff0033;text-decoration:none}.promo-content{max-width:1180px;margin:70px auto;display:grid;grid-template-columns:1.3fr .7fr;gap:48px;align-items:center}.promo-content h1{font-size:clamp(38px,6vw,72px);line-height:1.02;margin:18px 0;color:#102a43}.promo-content p{font-size:18px;line-height:1.7}.promo-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.promo-card{background:#fff;padding:36px;border-radius:28px;box-shadow:0 18px 50px #002b5c1c;text-align:center}.promo-card img{max-width:240px}.promo-features{max-width:1180px;margin:30px auto 80px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:0 20px}.promo-features article{padding:28px;border-radius:22px;background:#fff;box-shadow:0 10px 35px #002b5c12}@media(max-width:760px){.promo-content,.promo-features{grid-template-columns:1fr}.promo-nav{align-items:flex-start}.promo-nav div{display:flex;flex-direction:column;gap:8px}.promo-nav a{margin:0}.promo-content{margin:45px auto}}
/* Admin direct driver account creation */
.admin-create-driver-card{max-width:900px;padding:24px}.admin-create-driver-card label{display:block;margin:12px 0 7px;font-weight:800}.admin-create-driver-card input,.admin-create-driver-card select{width:100%}.admin-create-note{margin:18px 0;padding:13px 15px;border-radius:12px;background:#f7f7f7;color:#0b3a73;font-size:13px;line-height:1.5;border-left:4px solid #ff0033}

/* =========================================================
   HATID SUNDO PROFESSIONAL RIDE-APP UI REFRESH
   Original HATID SUNDO visual system: clean, mobile-first, familiar ride-app UX.
========================================================= */
:root{--pro-bg:#f5f7fa;--pro-card:#fff;--pro-ink:#17212b;--pro-muted:#68737d;--pro-line:#e7ebef;--pro-shadow:0 10px 32px rgba(17,34,51,.08);--pro-radius:20px}
body{background:var(--pro-bg);color:var(--pro-ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.container{width:min(1180px,calc(100% - 32px));margin-inline:auto}.topbar{background:rgba(255,255,255,.96);backdrop-filter:blur(14px);box-shadow:0 1px 0 var(--pro-line);border:0;position:sticky;top:0;z-index:900}.nav{min-height:72px}.toda-logo{height:46px;object-fit:contain}.customer-main-tabs a,.driver-nav-links a{border-radius:999px;padding:10px 14px;transition:.2s ease}.customer-main-tabs a:hover,.driver-nav-links a:hover{background:#edf4ff;transform:translateY(-1px)}
.card,.profile-card,.notification-card,.booking-card,.recent-booking-card,.admin-card,.driver-live-card,.driver-safety-panel{border:1px solid var(--pro-line);border-radius:var(--pro-radius);box-shadow:var(--pro-shadow);background:var(--pro-card)}
.btn,button.btn{border-radius:14px;min-height:46px;padding:0 18px;font-weight:850;box-shadow:none;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}.btn:hover,button.btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(0,87,184,.14)}.btn.primary{background:linear-gradient(135deg,#ff0033,#0877e6)}.btn.secondary{background:#fff;border:1px solid #d9e1ea;color:#203040}.btn.danger{background:#fff0f2;color:#c51230;border:1px solid #ffd0d8}
input,select,textarea{min-height:50px;border:1px solid #dce3ea!important;border-radius:14px!important;background:#fff!important;padding:12px 14px!important;font-size:15px!important;transition:border .16s,box-shadow .16s}input:focus,select:focus,textarea:focus{outline:none;border-color:#438dd8!important;box-shadow:0 0 0 4px rgba(0,87,184,.10)}
.hero{border-radius:26px;padding:30px;background:linear-gradient(135deg,#ff0033 0%,#0877e6 72%,#36a0ff 100%);box-shadow:0 16px 38px rgba(0,87,184,.20);color:#fff}.hero h1,.hero h2,.hero p{color:#fff}.quick-grid{gap:14px}.quick-grid .card{transition:.18s ease}.quick-grid .card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(17,34,51,.11)}
.recent-bookings-hero{border-radius:26px;box-shadow:0 16px 38px rgba(0,87,184,.18)}.booking-status-tabs{scrollbar-width:none}.booking-status-tabs::-webkit-scrollbar{display:none}.booking-status-tabs a{border:0;background:#e9edf2;padding:10px 15px}.booking-status-tabs a.active{box-shadow:0 6px 15px rgba(0,87,184,.16)}.recent-booking-card{padding:22px}.recent-route{position:relative}.recent-meta-grid>div{background:#f7f9fb;border:1px solid #eef1f4}.recent-driver-card{border:1px solid #d8e8fb;background:#f3f8ff}
.searching-driver-box{background:#fff9e8;border:1px solid #f8e5a7;border-radius:18px;color:#715a00;padding:18px}.assigned-driver-card,.driver-customer-card{border-radius:18px;background:#f3f8ff;border:1px solid #d8e8fb}
/* Driver workspace */
.driver-body{background:#f4f7fa}.driver-topbar{border:0;box-shadow:0 1px 0 var(--pro-line)}.portal-label{border-radius:999px;padding:6px 10px}.driver-live-info-grid{gap:16px}.driver-live-card{padding:18px}.driver-live-card strong{letter-spacing:-.02em}.driver-rule-item{border-radius:16px}.driver-logout{background:#fff0f2;padding-inline:14px!important}
/* Admin: professional operations console */
.admin-body{background:#f4f6f8}.admin-topbar{height:72px;background:#fff;border-bottom:1px solid var(--pro-line);box-shadow:none}.admin-brand img{height:42px}.admin-brand span{font-size:12px;letter-spacing:.12em}.admin-shell{min-height:calc(100vh - 72px)}.admin-sidebar{background:#101d2b;border:0;padding:18px 12px;width:250px}.admin-sidebar nav{display:grid;gap:6px}.admin-sidebar nav a{color:#d9e4ef;border-radius:13px;padding:12px 14px;font-weight:750;text-decoration:none;transition:.18s}.admin-sidebar nav a:hover{background:#192b3d;color:#fff}.admin-sidebar nav a.active{background:#fff;color:#ff0033;box-shadow:0 8px 18px rgba(0,0,0,.12)}.admin-content{padding:28px 30px;max-width:1500px}.admin-content h1{letter-spacing:-.025em}.admin-stat-grid{gap:14px}.admin-stat-card{border:1px solid var(--pro-line)!important;border-radius:18px!important;box-shadow:var(--pro-shadow)!important}.admin-table-wrap{border:1px solid var(--pro-line);border-radius:18px;overflow:auto;background:#fff;box-shadow:var(--pro-shadow)}table{border-collapse:separate;border-spacing:0}th{background:#f7f9fb!important;color:#55616d!important;font-size:11px!important;text-transform:uppercase;letter-spacing:.07em}td,th{padding:13px 14px!important;border-bottom:1px solid #edf0f3!important}
/* Landing / promotion */
.promo-hero{background:radial-gradient(circle at 85% 10%,#dbeeff 0,transparent 32%),linear-gradient(180deg,#fff 0,#f5f9ff 100%);min-height:76vh}.promo-nav{max-width:1180px;margin:auto;background:rgba(255,255,255,.78);backdrop-filter:blur(12px);padding:12px 16px;border:1px solid rgba(221,230,240,.8);border-radius:18px;box-shadow:0 8px 28px rgba(17,34,51,.06)}.promo-content h1{letter-spacing:-.055em}.promo-content p{color:#536170;max-width:650px}.promo-card{border:1px solid #e5ebf2;box-shadow:0 22px 60px rgba(17,50,84,.12)}.promo-features article{border:1px solid #e6ebf0;box-shadow:0 12px 30px rgba(17,34,51,.06);transition:.2s}.promo-features article:hover{transform:translateY(-4px)}
/* Auth screens */
.auth-card,.driver-auth-card{border-radius:24px!important;box-shadow:0 18px 55px rgba(17,34,51,.12)!important;border:1px solid #e6ebf0!important}.auth-bg,.driver-auth-bg{background:radial-gradient(circle at top,#e6f2ff,transparent 42%),#f5f7fa!important}
/* Mobile ride-app navigation */
@media(max-width:900px){body[data-logged-in="1"]{padding-bottom:76px}.topbar .nav{min-height:64px}.customer-main-tabs{display:flex!important;position:fixed;z-index:950;bottom:0;left:0;right:0;margin:0;padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);border-top:1px solid #e2e7ec;box-shadow:0 -8px 25px rgba(17,34,51,.08);justify-content:space-around}.customer-main-tabs a{font-size:10px;line-height:1.15;text-align:center;padding:8px 5px;flex:1;border-radius:12px}.account-name{display:none}.account-button{padding:6px}.admin-sidebar{width:82px;padding:12px 8px}.admin-sidebar nav a{font-size:0;text-align:center;padding:13px 6px}.admin-sidebar nav a::first-letter{font-size:20px}.admin-content{padding:20px 16px}.admin-name{display:none}}
@media(max-width:700px){.container{width:min(100% - 22px,1180px)}.hero{padding:22px;border-radius:22px}.promo-hero{padding:14px}.promo-nav{border-radius:15px}.promo-nav img{width:120px}.promo-content{gap:24px}.promo-content h1{font-size:42px}.promo-card{padding:24px}.recent-booking-card{padding:16px}.recent-meta-grid{gap:7px}.recent-meta-grid>div{padding:10px}.driver-nav-links{gap:4px;overflow:auto}.driver-nav-links a{white-space:nowrap;font-size:11px;padding:9px}.admin-topbar{padding:0 12px}.admin-brand span{display:none}.admin-shell{display:block}.admin-sidebar{position:fixed;bottom:0;left:0;right:0;top:auto;width:auto;height:auto;z-index:970;background:#101d2b;padding:7px 5px calc(7px + env(safe-area-inset-bottom));overflow-x:auto}.admin-sidebar nav{display:flex;min-width:max-content}.admin-sidebar nav a{width:68px}.admin-content{padding-bottom:92px}}

/* ===== Admin date-range analytics ===== */
.analytics-filter{margin:18px 0 16px;padding:14px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 8px 24px rgba(17,34,51,.05)}
.analytics-presets{display:flex;flex-wrap:wrap;gap:8px}.analytics-chip{border:1px solid #d9e2ec;background:#f8fafc;color:#334155;border-radius:999px;padding:9px 14px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.analytics-chip:hover,.analytics-chip.active{background:#ff0033;color:#fff;border-color:#ff0033}.custom-date-fields{display:none;align-items:end;gap:10px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid #edf2f7}.custom-date-fields.show{display:flex}.custom-date-fields label{display:grid;gap:5px;font-size:11px;font-weight:800;color:#64748b}.custom-date-fields input{border:1px solid #d9e2ec;border-radius:10px;padding:9px 11px;font:inherit;color:#0f172a;background:#fff}.analytics-apply{border:0;border-radius:10px;background:#e31837;color:#fff;padding:10px 16px;font-weight:900;cursor:pointer}.analytics-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.analytics-chart-panel{margin-bottom:18px}.trend-chart{height:205px;display:flex;align-items:flex-end;gap:7px;overflow-x:auto;padding:18px 8px 4px;border-bottom:1px solid #e5eaf0}.trend-col{min-width:32px;flex:1;text-align:center}.trend-bars{height:155px;display:flex;align-items:flex-end;justify-content:center;gap:3px}.trend-bars i{display:block;width:min(12px,42%);border-radius:5px 5px 2px 2px}.trend-total{background:#ff0033}.trend-completed{background:#19a463}.trend-col small{display:block;margin-top:7px;font-size:9px;color:#64748b;white-space:nowrap}.trend-legend{display:flex;gap:18px;padding:12px 8px 2px;color:#64748b;font-size:11px;font-weight:700}.trend-legend span{display:flex;align-items:center;gap:6px}.trend-legend i{width:10px;height:10px;border-radius:3px}.legend-total{background:#ff0033}.legend-completed{background:#19a463}
@media(max-width:900px){.analytics-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.analytics-stat-grid{grid-template-columns:1fr}.analytics-chip{flex:1 1 calc(50% - 8px)}.custom-date-fields label{width:100%}.custom-date-fields input,.analytics-apply{width:100%}.trend-col{min-width:38px}}

/* Customer administration */
.btn.danger{background:#dc2626;color:#fff;border-color:#dc2626}.btn.danger:hover{background:#b91c1c;border-color:#b91c1c}.admin-table td small{color:#667085;font-size:11px;white-space:nowrap}


/* HATID SUNDO Premium UI V3 */
:root{--premium-navy:#10233f;--premium-blue:#0757ad;--premium-surface:#ffffff;--premium-bg:#f5f7fa;--premium-border:#e4e9f0;--premium-text:#172033;--premium-muted:#6b778c;--premium-shadow:0 12px 34px rgba(16,35,63,.08)}
body{background:var(--premium-bg);color:var(--premium-text)}
.card,.admin-panel,.admin-stat{border-color:var(--premium-border);box-shadow:var(--premium-shadow)}
.btn{border-radius:12px;min-height:46px;font-weight:800;letter-spacing:.01em}.btn.primary{box-shadow:0 8px 20px rgba(0,87,184,.18)}
input,select,textarea{border:1px solid #d8e0ea;border-radius:12px;min-height:46px;background:#fff;transition:border-color .18s,box-shadow .18s}input:focus,select:focus,textarea:focus{outline:0;border-color:#4c91d7;box-shadow:0 0 0 4px rgba(7,87,173,.09)}
.password-eye{width:38px;height:38px;display:grid;place-items:center;border-radius:9px!important;color:#64748b!important}.password-eye:hover{background:#f0f4f8!important;color:#0757ad!important}.password-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.password-eye.is-visible .password-icon{opacity:.55}
.analytics-filter-clean{display:flex;align-items:center;gap:10px;background:transparent;border:0;padding:0;margin:0 0 20px}.analytics-sort-label{margin:0;font-size:13px;font-weight:800;color:#667085;white-space:nowrap}.analytics-range-select{width:auto;min-width:170px;min-height:42px;font-weight:800;color:#183b64;background:#fff;padding:0 38px 0 14px;border-radius:11px}.custom-date-fields{width:100%;margin-top:0}.custom-date-fields.show{display:flex}.analytics-filter-clean .custom-date-fields.show{margin-left:8px}
.settings-page{padding-top:30px;padding-bottom:50px}.settings-hero{background:linear-gradient(135deg,#0a4f9b,#1670c9);border-radius:22px;padding:28px;color:#fff;margin-bottom:18px}.settings-hero h1{font-size:32px;margin:5px 0}.settings-hero p{margin:0;opacity:.85}.settings-kicker{font-size:11px;font-weight:900;letter-spacing:.14em;opacity:.8}.settings-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px}.settings-nav{background:#fff;border:1px solid var(--premium-border);border-radius:16px;padding:10px;height:max-content}.settings-nav a{display:block;text-decoration:none;color:#526074;font-weight:750;padding:12px;border-radius:10px}.settings-nav a.active,.settings-nav a:hover{background:#edf5ff;color:#0757ad}.settings-card{padding:24px}.settings-card-head{display:flex;gap:14px;align-items:flex-start;padding-bottom:18px;border-bottom:1px solid #edf0f4;margin-bottom:20px}.settings-card-head h2{margin:0 0 5px}.settings-card-head p{margin:0;color:#667085}.settings-icon{width:42px;height:42px;border-radius:12px;background:#fff0f3;color:#0757ad;display:grid;place-items:center;font-size:24px;font-weight:500}.settings-actions{display:flex;justify-content:flex-end;margin-top:18px}.settings-actions .btn{width:auto!important;margin:0!important}.safety-contact-note{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #dce8f5;background:#f7fbff;border-radius:13px;margin:14px 0;font-size:13px}.safety-contact-note strong{color:#183b64}.safety-contact-note span{color:#667085}.safety-contact-note a{margin-left:auto;color:#0757ad;font-weight:800;text-decoration:none}
.admin-content{background:#f6f8fb}.admin-page-heading h1{letter-spacing:-.025em}.admin-stat{border-radius:16px}.admin-panel{border-radius:16px}.admin-sidebar{background:linear-gradient(180deg,#0b4f96,#083e77)}
@media(max-width:760px){.analytics-filter-clean{align-items:flex-start;flex-wrap:wrap}.analytics-filter-clean .custom-date-fields.show{margin-left:0;width:100%;display:grid;grid-template-columns:1fr 1fr}.analytics-filter-clean .custom-date-fields.show .analytics-apply{grid-column:1/-1}.settings-layout{grid-template-columns:1fr}.settings-nav{display:flex;overflow:auto}.settings-nav a{white-space:nowrap}.safety-contact-note{align-items:flex-start;flex-wrap:wrap}.safety-contact-note a{margin-left:0;width:100%}}

/* YouTube Studio-inspired analytics chart */
.youtube-analytics-card{overflow:hidden}.youtube-chart-head{align-items:center}.chart-summary{min-width:130px;text-align:right;padding:8px 12px;border-left:1px solid #e8edf3}.chart-summary strong{display:block;font-size:25px;line-height:1;color:#0f172a}.chart-summary span{display:block;margin-top:5px;font-size:11px;font-weight:700;color:#64748b}.yt-chart-wrap{position:relative;width:100%;min-height:310px;padding-top:4px;overflow-x:auto}.yt-chart-wrap canvas{display:block;width:100%;min-width:600px;height:310px}.yt-chart-tooltip{position:absolute;z-index:5;transform:translateX(-50%);min-width:145px;padding:10px 12px;border:1px solid #dfe6ee;border-radius:12px;background:rgba(255,255,255,.97);box-shadow:0 10px 30px rgba(15,23,42,.14);pointer-events:none;color:#0f172a}.yt-chart-tooltip strong{display:block;margin-bottom:7px;font-size:12px}.yt-chart-tooltip span{display:flex;justify-content:space-between;gap:18px;font-size:11px;color:#64748b;margin-top:4px}.yt-chart-tooltip b{color:#0f172a}.yt-legend{border-top:1px solid #f0f3f7;margin-top:2px}@media(max-width:640px){.youtube-chart-head{align-items:flex-start}.chart-summary{border-left:0;border-top:1px solid #edf1f5;width:100%;text-align:left;padding:10px 0 0}.yt-chart-wrap canvas{min-width:680px}}
/* Rosario-only location search */
.location-suggestion{display:block;width:100%;border:0;background:#fff;text-align:left;padding:12px 14px;cursor:pointer;font:inherit;color:inherit}
.location-suggestion:hover,.location-suggestion:focus{background:#f2f7ff;outline:none}
.location-search-hint{padding:12px 14px;color:#64748b;font-size:13px;background:#fff}
/* Rosario location UX */
.recommended-locations{margin:12px 0 18px;padding:14px;border:1px solid #dbe5f2;border-radius:16px;background:#fafafa}.recommended-title{font-weight:800;margin-bottom:10px;color:#10233f}.recommended-chips{display:flex;gap:8px;flex-wrap:wrap}.recommended-chips button{border:1px solid #cbdcf2;background:#fff;color:#ff0033;border-radius:999px;padding:8px 12px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.recommended-chips button:hover{background:#fff0f3;border-color:#9fc2ed}.recommended-locations small{display:block;margin-top:9px;color:#66758a}.route-message{display:none;margin:-1px 0 12px;padding:10px 12px;border-radius:10px;background:#fff7e8;color:#76520a;font-size:13px}.route-message.show{display:block}
\n/* YouTube-inspired HATID SUNDO theme */
:root{--background:#f9f9f9;--card:#fff;--text:#0f0f0f;--muted:#606060;--border:#e5e5e5;--blue:#ff0033;--dark-blue:#cc0029;--red:#ff0033}
body.dark-mode{--background:#0f0f0f;--card:#212121;--text:#f1f1f1;--muted:#aaa;--border:#3f3f3f}
body.dark-mode input,body.dark-mode select,body.dark-mode textarea{background:#121212;color:#f1f1f1;border-color:#3f3f3f}
body.dark-mode .card,body.dark-mode .driver-section,body.dark-mode .account-dropdown{background:#212121;color:#f1f1f1}
.btn.primary,.booking-status-tabs a.active,.count-pill{background:#ff0033!important;color:#fff!important}.btn.primary:hover{background:#cc0029!important}
input:focus,select:focus,textarea:focus{border-color:#ff0033!important;box-shadow:0 0 0 3px rgba(255,0,51,.12)!important}
.card{border-top-color:#ff0033;box-shadow:0 8px 28px rgba(0,0,0,.08)}
.page-center{background:#f9f9f9}.dark-mode .page-center{background:#0f0f0f}
.register-wide{width:min(680px,100%)}.form-section-title{margin-top:22px;padding-top:18px;border-top:1px solid var(--border);font-size:13px;font-weight:900;letter-spacing:.08em;color:#ff0033;text-transform:uppercase}
.readonly-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.readonly-grid>div{padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--background)}.readonly-grid small,.readonly-grid strong{display:block}.readonly-grid small{color:var(--muted);margin-bottom:5px}.alert.info{background:#f5f5f5;color:var(--text);border:1px solid var(--border)}.dark-mode .alert.info{background:#181818}
@media(max-width:600px){.readonly-grid{grid-template-columns:1fr}}

/* ===== HATID SUNDO full dark-mode contrast fix ===== */
:root{--accent:#c9152b;--accent-hover:#a90f22;--background:#f7f7f7;--card:#fff;--text:#111;--muted:#606060;--border:#dedede;--blue:#c9152b;--dark-blue:#a90f22;--red:#c9152b;--premium-bg:#f7f7f7;--premium-surface:#fff;--premium-text:#111;--premium-muted:#606060;--premium-border:#dedede;--premium-blue:#c9152b;--premium-navy:#181818}
body{background:var(--background)!important;color:var(--text)!important}
.topbar{background:var(--card)!important;border-bottom-color:var(--border)!important}.topbar,.topbar *{color:var(--text)}
.hero,.driver-hero,.settings-hero,.recent-bookings-hero,.chat-header-card{background:linear-gradient(135deg,#c9152b,#8f0d1c)!important;box-shadow:0 14px 34px rgba(120,0,20,.16)!important}
.btn.primary{background:#c9152b!important}.btn.primary:hover{background:#a90f22!important}.profile-avatar,.count-pill,.recent-driver-avatar,.report-avatar-fallback{background:#c9152b!important}
.settings-nav a.active,.settings-nav a:hover{background:#fff1f3!important;color:#a90f22!important}.settings-icon{color:#c9152b!important}.settings-hero{color:#fff!important}
.admin-sidebar{background:#181818!important}.admin-content{background:var(--background)!important}

body.dark-mode{--background:#0f0f0f;--card:#1f1f1f;--text:#f5f5f5;--muted:#b8b8b8;--border:#3d3d3d;--premium-bg:#0f0f0f;--premium-surface:#1f1f1f;--premium-text:#f5f5f5;--premium-muted:#b8b8b8;--premium-border:#3d3d3d;background:#0f0f0f!important;color:#f5f5f5!important}
body.dark-mode .topbar,body.dark-mode header,body.dark-mode .nav{background:#181818!important;border-color:#303030!important;color:#f5f5f5!important}
body.dark-mode .topbar *,body.dark-mode .nav *,body.dark-mode .customer-main-tabs a,body.dark-mode .account-button{color:#f5f5f5!important}
body.dark-mode .customer-main-tabs a:hover,body.dark-mode .account-option:hover{background:#2b2b2b!important;color:#fff!important}
body.dark-mode .account-dropdown,body.dark-mode .card,body.dark-mode .driver-section,body.dark-mode .admin-panel,body.dark-mode .admin-stat,body.dark-mode .profile-card,body.dark-mode .settings-card,body.dark-mode .settings-nav,body.dark-mode .recent-booking-card,body.dark-mode .dashboard-history-shortcut,body.dark-mode .chat-shell{background:#1f1f1f!important;color:#f5f5f5!important;border-color:#3d3d3d!important;box-shadow:none!important}
body.dark-mode h1,body.dark-mode h2,body.dark-mode h3,body.dark-mode h4,body.dark-mode h5,body.dark-mode h6,body.dark-mode strong,body.dark-mode label,body.dark-mode .settings-title,body.dark-mode .account-user strong,body.dark-mode .recent-route strong,body.dark-mode .recent-driver-info strong{color:#f5f5f5!important}
body.dark-mode p,body.dark-mode small,body.dark-mode .muted,body.dark-mode .section-heading p,body.dark-mode .account-user small,body.dark-mode .recent-driver-info span,body.dark-mode .recent-booking-top small,body.dark-mode .recent-meta-grid small,body.dark-mode .recent-route small,body.dark-mode .settings-card-head p,body.dark-mode .settings-nav a,body.dark-mode .safety-contact-note span{color:#b8b8b8!important}
body.dark-mode input,body.dark-mode select,body.dark-mode textarea{background:#121212!important;color:#f5f5f5!important;border-color:#484848!important}body.dark-mode input::placeholder,body.dark-mode textarea::placeholder{color:#8f8f8f!important}body.dark-mode option{background:#181818;color:#f5f5f5}
body.dark-mode .recent-meta-grid>div,body.dark-mode .recent-driver-card,body.dark-mode .driver-customer-card,body.dark-mode .assigned-driver-card,body.dark-mode .customer-details-box,body.dark-mode .readonly-grid>div,body.dark-mode .safety-contact-note,body.dark-mode .recommended-locations{background:#272727!important;border-color:#414141!important;color:#f5f5f5!important}
body.dark-mode .recommended-title,body.dark-mode .safety-contact-note strong{color:#f5f5f5!important}body.dark-mode .recommended-locations small{color:#b8b8b8!important}body.dark-mode .recommended-chips button{background:#1b1b1b!important;border-color:#484848!important;color:#ff6b7c!important}body.dark-mode .recommended-chips button:hover{background:#303030!important}
body.dark-mode .location-suggestion,body.dark-mode .location-search-hint{background:#1b1b1b!important;color:#f5f5f5!important}body.dark-mode .location-suggestion:hover{background:#303030!important}
body.dark-mode .hero,body.dark-mode .driver-hero,body.dark-mode .settings-hero,body.dark-mode .recent-bookings-hero,body.dark-mode .chat-header-card{background:linear-gradient(135deg,#8f0d1c,#3b0a10)!important;color:#fff!important}body.dark-mode .hero *,body.dark-mode .driver-hero *,body.dark-mode .settings-hero *,body.dark-mode .recent-bookings-hero *,body.dark-mode .chat-header-card *{color:#fff!important}
body.dark-mode .btn.secondary{background:#272727!important;border-color:#484848!important;color:#f5f5f5!important}body.dark-mode .btn.secondary:hover{background:#333!important}body.dark-mode .btn:disabled,body.dark-mode button:disabled{background:#292929!important;color:#858585!important;border-color:#3c3c3c!important;opacity:1}
body.dark-mode .booking-status-tabs a{background:#272727!important;border-color:#414141!important;color:#ddd!important}body.dark-mode .booking-status-tabs a.active{background:#a90f22!important;color:#fff!important}
body.dark-mode .dark-mode-setting,body.dark-mode .account-option{color:#f5f5f5!important}body.dark-mode .account-divider,body.dark-mode .settings-card-head{border-color:#3d3d3d!important}
body.dark-mode .page-center,body.dark-mode .driver-body,body.dark-mode .chat-page-body,body.dark-mode .admin-content,body.dark-mode main{background:#0f0f0f!important}
body.dark-mode .chart-summary strong,body.dark-mode .yt-chart-tooltip b,body.dark-mode .yt-chart-tooltip strong{color:#f5f5f5!important}body.dark-mode .chart-summary span,body.dark-mode .yt-chart-tooltip span,body.dark-mode .trend-legend,body.dark-mode .trend-col small{color:#b8b8b8!important}body.dark-mode .yt-chart-tooltip{background:rgba(31,31,31,.98)!important;border-color:#484848!important;color:#f5f5f5!important}
body.dark-mode .analytics-range-select,body.dark-mode .custom-date-fields input{background:#181818!important;color:#f5f5f5!important;border-color:#484848!important}body.dark-mode .analytics-sort-label,body.dark-mode .custom-date-fields label{color:#c8c8c8!important}
body.dark-mode .toda-page-loader{background:rgba(15,15,15,.98)!important}


/* 2026 final UX additions */
.required-mark{display:inline-flex;margin-left:7px;padding:2px 7px;border-radius:999px;background:#7f101c;color:#fff;font-size:10px;font-weight:800;text-transform:uppercase}.forgot-link{text-align:right;margin:-4px 0 12px}.forgot-link a{color:var(--accent,#a90f22);font-weight:700}.driver-more{position:absolute;right:14px;top:14px;z-index:4}.admin-driver-card{position:relative}.driver-more summary{list-style:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-size:25px;font-weight:900;cursor:pointer;background:var(--background);border:1px solid var(--border)}.driver-more summary::-webkit-details-marker{display:none}.driver-more-menu{position:absolute;right:0;top:44px;width:210px;padding:7px;background:var(--card);border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.15)}.driver-more-menu a{display:block;padding:11px;border-radius:8px;color:var(--text);text-decoration:none;font-weight:700}.driver-more-menu a:hover{background:var(--background)}
.toda-dancer{font-size:54px;display:block;line-height:1;margin:0 auto 12px;transform-origin:50% 100%;animation:todaDance .72s ease-in-out infinite alternate}@keyframes todaDance{0%{transform:translateX(-8px) rotate(-9deg) scale(1)}50%{transform:translateY(-7px) rotate(4deg) scale(1.04)}100%{transform:translateX(8px) rotate(9deg) scale(1)}}@media(prefers-reduced-motion:reduce){.toda-dancer{animation:none}}
body.dark-mode .driver-more-menu{background:#1f1f1f;border-color:#3d3d3d}body.dark-mode .driver-more-menu a{color:#f5f5f5}body.dark-mode .driver-more-menu a:hover{background:#303030}

/* Dashboard Book a Ride visibility fix */
.hero .btn.light{background:#fff!important;color:#a90f22!important;border:1px solid rgba(255,255,255,.85)!important;font-weight:800!important;}
.hero .btn.light:hover{background:#f3f3f3!important;color:#7f101c!important;}
body.dark-mode .hero .btn.light,body.dark-mode .hero .btn.light *{background:#fff!important;color:#a90f22!important;}
/* Dancing loader removed: logo + dots only */
.toda-dancer{display:none!important;}

/* Rider found + cancellation confirmation */
.rider-found-overlay{background:rgba(0,0,0,.62);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.rider-found-modal{text-align:center;box-shadow:0 24px 80px rgba(0,0,0,.38);animation:todaFoundPop .28s ease-out}
@keyframes todaFoundPop{from{opacity:0;transform:scale(.92) translateY(12px)}to{opacity:1;transform:scale(1) translateY(0)}}
.found-check{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:var(--primary,#a51d2d);color:#fff;font-size:34px;font-weight:900;box-shadow:0 0 0 8px rgba(165,29,45,.12)}
.found-rider-name{font-size:1.25rem;font-weight:900;margin-top:18px}.found-rider-meta{color:var(--muted);margin:5px 0 20px}.cancel-confirm-modal{text-align:center}.cancel-modal-actions{display:flex;justify-content:center;gap:10px;margin-top:22px;flex-wrap:wrap}.cancel-modal-actions form{margin:0}.cancel-modal-actions .btn,.cancel-modal-actions .cancel-ride-btn{min-width:150px}
/* Recent Bookings filters: client-side buttons, no page reload */
.booking-status-tabs button{appearance:none;border:0;font:inherit;cursor:pointer}
.recent-booking-card[hidden],#recentFilterEmpty[hidden]{display:none!important}


/* ===== GLOBAL DARK MODE REGRESSION FIX ===== */
html.dark-mode{background:#0f0f0f!important;color-scheme:dark}
html.dark-mode body,body.dark-mode{background:#0f0f0f!important;color:#f5f5f5!important}
html.dark-mode body .topbar,html.dark-mode body .nav,html.dark-mode body main,html.dark-mode body .recent-bookings-page,html.dark-mode body .page-center,html.dark-mode body .driver-body{background-color:#0f0f0f!important;color:#f5f5f5!important}
html.dark-mode body .account-dropdown,html.dark-mode body .card,html.dark-mode body .recent-booking-card,html.dark-mode body .settings-card,html.dark-mode body .settings-nav,html.dark-mode body .driver-section,html.dark-mode body .admin-panel,html.dark-mode body .admin-stat,html.dark-mode body .analytics-filter{background:#1f1f1f!important;color:#f5f5f5!important;border-color:#3d3d3d!important}
html.dark-mode body .account-user,html.dark-mode body .account-option,html.dark-mode body .dark-mode-setting{background-color:transparent!important;color:#f5f5f5!important}
html.dark-mode body .account-option:hover{background:#2b2b2b!important}
html.dark-mode body .booking-status-tabs button,html.dark-mode body .booking-status-tabs a{background:#272727!important;color:#ddd!important;border-color:#414141!important}
html.dark-mode body .booking-status-tabs .active{background:#a90f22!important;color:#fff!important;border-color:#a90f22!important}
html.dark-mode body input,html.dark-mode body select,html.dark-mode body textarea{background:#151515!important;color:#f5f5f5!important;border-color:#484848!important}
html.dark-mode body p,html.dark-mode body small,html.dark-mode body .muted{color:#b8b8b8!important}
html.dark-mode body h1,html.dark-mode body h2,html.dark-mode body h3,html.dark-mode body h4,html.dark-mode body strong,html.dark-mode body label{color:#f5f5f5!important}
html.dark-mode body .recent-empty{background:#1f1f1f!important;color:#f5f5f5!important}
.driver-cancel-toast{position:fixed;right:22px;bottom:22px;z-index:99999;max-width:380px;padding:16px 18px;border-radius:14px;background:#171717;color:#fff;border:1px solid #8f0d1d;box-shadow:0 18px 50px rgba(0,0,0,.35);display:flex;flex-direction:column;gap:5px;animation:todaToastIn .25s ease}.driver-cancel-toast strong{color:#fff}.driver-cancel-toast span{color:#ddd;font-size:14px}@keyframes todaToastIn{from{transform:translateY(12px);opacity:0}to{transform:none;opacity:1}}

/* Searching rider animation + 5-second found-driver notice */
.searching-rider-animated{display:flex!important;align-items:center;justify-content:center;gap:16px;overflow:hidden;position:relative;min-height:82px}
.searching-rider-animated small{display:block;margin-top:5px;font-weight:700;opacity:.72}.search-radar{width:44px;height:44px;position:relative;display:grid;place-items:center;flex:0 0 44px}.search-radar b{position:relative;z-index:2;font-size:22px;animation:todaSearchBob 1.1s ease-in-out infinite}.search-radar i,.search-radar:before,.search-radar:after{content:"";position:absolute;inset:8px;border:2px solid currentColor;border-radius:50%;opacity:.6;animation:todaRadar 1.8s ease-out infinite}.search-radar:before{animation-delay:.55s}.search-radar:after{animation-delay:1.1s}.searching-text-dots{display:inline-flex;gap:3px;margin-left:5px}.searching-text-dots i{width:6px;height:6px;border-radius:50%;background:currentColor;animation:todaSearchDot 1s infinite ease-in-out}.searching-text-dots i:nth-child(2){animation-delay:.15s}.searching-text-dots i:nth-child(3){animation-delay:.3s}@keyframes todaRadar{0%{transform:scale(.45);opacity:.75}100%{transform:scale(1.8);opacity:0}}@keyframes todaSearchBob{50%{transform:translateY(-4px) rotate(-7deg)}}@keyframes todaSearchDot{0%,60%,100%{transform:translateY(0);opacity:.3}30%{transform:translateY(-5px);opacity:1}}.found-auto-close{margin-top:14px;font-size:12px;font-weight:800;opacity:.7}.rider-found-overlay.show{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}body.dark-mode .searching-rider-animated{background:#2a251d;color:#ffe39a}.customer-live-map{min-height:230px}

/* Driver/Admin persistent dark mode + settings */
.theme-setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0}.theme-setting-row p{margin:5px 0 0}.switch{position:relative;width:52px;height:30px;flex:0 0 52px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;inset:0;background:#c9c9c9;border-radius:30px;cursor:pointer;transition:.2s}.slider:before{content:"";position:absolute;width:22px;height:22px;left:4px;top:4px;background:white;border-radius:50%;transition:.2s}.switch input:checked+.slider{background:#a90f22}.switch input:checked+.slider:before{transform:translateX(22px)}
html.dark-mode .admin-body,body.admin-body.dark-mode,html.dark-mode .driver-body,body.driver-body.dark-mode{background:#0f0f0f!important;color:#f5f5f5!important}html.dark-mode .admin-topbar,html.dark-mode .admin-sidebar,html.dark-mode .driver-topbar,html.dark-mode .driver-topbar .nav{background:#151515!important;border-color:#333!important}html.dark-mode .admin-content{background:#0f0f0f!important}html.dark-mode .admin-sidebar a{color:#d8d8d8!important}html.dark-mode .admin-sidebar a:hover{background:#292929!important}html.dark-mode .admin-sidebar a.active{background:#8f0d1c!important;color:#fff!important}html.dark-mode .admin-table th{background:#272727!important;color:#eee!important}html.dark-mode .admin-table td{background:#1f1f1f!important;color:#ddd!important;border-color:#3b3b3b!important}html.dark-mode .admin-table tr:hover td{background:#292929!important}html.dark-mode .admin-table a{color:#ff8b99!important}html.dark-mode .driver-nav-links a{color:#ddd!important}html.dark-mode .driver-nav-links a:hover{color:#fff!important}html.dark-mode .admin-page-heading p,html.dark-mode .admin-panel p{color:#b8b8b8!important}
\n/* Final driver settings modal + full driver/admin dark contrast */
.driver-settings-trigger{border:0;background:transparent;color:inherit;font:inherit;font-weight:800;cursor:pointer;padding:8px 10px;border-radius:9px}.driver-settings-trigger:hover{background:rgba(201,21,43,.1)}
.driver-settings-modal[hidden]{display:none!important}.driver-settings-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px}.driver-settings-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.56);backdrop-filter:blur(5px)}.driver-settings-popup{position:relative;width:min(430px,100%);background:var(--card);color:var(--text);border:1px solid var(--border);border-radius:18px;padding:22px;box-shadow:0 24px 80px rgba(0,0,0,.35)}.driver-settings-popup-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--border);padding-bottom:14px}.driver-settings-popup-head small{font-weight:900;letter-spacing:.12em;color:#c9152b}.driver-settings-popup-head h2{margin:4px 0 0}.driver-settings-close{border:0;background:transparent;color:var(--text);font-size:28px;line-height:1;cursor:pointer}
html.dark-mode body.driver-body,html.dark-mode body.driver-body main,html.dark-mode body.driver-body .container{background:#0f0f0f!important;color:#f5f5f5!important}html.dark-mode body.driver-body .card,html.dark-mode body.driver-body .driver-section,html.dark-mode body.driver-body .booking-card,html.dark-mode body.driver-body .driver-card,html.dark-mode body.driver-body .profile-card,html.dark-mode body.driver-body .rules-card{background:#1f1f1f!important;color:#f5f5f5!important;border-color:#3d3d3d!important}html.dark-mode body.driver-body input,html.dark-mode body.driver-body select,html.dark-mode body.driver-body textarea{background:#151515!important;color:#f5f5f5!important;border-color:#484848!important}
html.dark-mode .admin-date{background:#1f1f1f!important;color:#f5f5f5!important;border:1px solid #484848!important}.admin-date{background:#fff;color:#111;border:1px solid #dedede;border-radius:12px;padding:12px 16px;font-weight:800}.yt-chart-wrap{background:transparent}.yt-chart-wrap canvas{border:0}.legend-total{background:#d71935!important}.legend-completed{background:#8f8f8f!important}html.dark-mode .yt-chart-tooltip{background:#202020!important;color:#f5f5f5!important;border-color:#444!important}html.dark-mode .yt-chart-tooltip span{color:#bbb!important}html.dark-mode .yt-chart-tooltip b,html.dark-mode .yt-chart-tooltip strong{color:#fff!important}

/* === HATID SUNDO FINAL PORTAL THEME OVERRIDES === */
html.dark-mode body.driver-body .driver-live-card,
body.driver-body.dark-mode .driver-live-card{background:#1f1f1f!important;border-color:#3b3b3b!important;color:#f5f5f5!important;box-shadow:none!important}
html.dark-mode body.driver-body .driver-live-card span,body.driver-body.dark-mode .driver-live-card span{color:#c9c9c9!important}
html.dark-mode body.driver-body .driver-live-card strong,body.driver-body.dark-mode .driver-live-card strong{color:#fff!important}
html.dark-mode body.driver-body .driver-live-card small,body.driver-body.dark-mode .driver-live-card small{color:#aaa!important}
html.dark-mode body.driver-body .driver-live-icon,body.driver-body.dark-mode .driver-live-icon{background:#2b2b2b!important;color:#f5f5f5!important}
html.dark-mode body.driver-body .live-location-notice,body.driver-body.dark-mode .live-location-notice{background:#241b1d!important;color:#f2c8cf!important;border:1px solid #63303a!important}
html.dark-mode body.driver-body .driver-section,html.dark-mode body.driver-body .driver-booking-card,html.dark-mode body.driver-body .customer-details-box,html.dark-mode body.driver-body .license-preview,html.dark-mode body.driver-body .driver-empty,body.driver-body.dark-mode .driver-section,body.driver-body.dark-mode .driver-booking-card,body.driver-body.dark-mode .customer-details-box{background:#1f1f1f!important;color:#f5f5f5!important;border-color:#3d3d3d!important}
html.dark-mode body.driver-body .driver-booking-meta span{background:#292929!important;color:#ddd!important}
html.dark-mode body.driver-body a:not(.btn):not(.toda-logo-link){color:#f0f0f0!important}
html.dark-mode body.driver-body .driver-nav-links a:hover{color:#ff7f91!important}
.driver-settings-trigger{appearance:none;border:1px solid #d2d2d2;background:#fff;color:#202020;border-radius:11px;padding:9px 14px;font:inherit;font-weight:800;cursor:pointer;transition:.16s}
.driver-settings-trigger:hover{background:#f3f3f3;border-color:#bbb}
html.dark-mode .driver-settings-trigger{background:#262626!important;color:#fff!important;border-color:#494949!important}
html.dark-mode .driver-settings-trigger:hover{background:#333!important;border-color:#666!important}
.driver-nav-links .driver-logout{display:inline-flex;align-items:center;justify-content:center;border:1px solid #e3b8be;background:#fff1f3!important;color:#a90f22!important;border-radius:12px;padding:9px 15px!important}
html.dark-mode .driver-nav-links .driver-logout{background:#2a1b1e!important;color:#ff9baa!important;border-color:#63303a!important}
html.dark-mode body.driver-body .btn.primary{background:#b41227!important;color:#fff!important;border-color:#b41227!important}
html.dark-mode body.driver-body .btn.primary:hover{background:#961020!important}
html.dark-mode body.driver-body .btn.secondary{background:#292929!important;color:#f5f5f5!important;border:1px solid #505050!important}
html.dark-mode body.driver-body .btn.secondary:hover{background:#373737!important}
html.dark-mode body.driver-body .chat-btn{background:#b41227!important;color:#fff!important}
html.dark-mode .driver-settings-popup{background:#1f1f1f!important;color:#f5f5f5!important;border:1px solid #444!important}
html.dark-mode .driver-settings-popup p,html.dark-mode .driver-settings-popup small{color:#aaa!important}

/* Admin: force every major surface into the same dark palette. */
html.dark-mode body.admin-body,body.admin-body.dark-mode,html.dark-mode body.admin-body .admin-shell,html.dark-mode body.admin-body .admin-content{background:#0f0f0f!important;color:#f5f5f5!important}
html.dark-mode body.admin-body .admin-topbar,html.dark-mode body.admin-body .admin-sidebar{background:#151515!important;border-color:#343434!important}
html.dark-mode body.admin-body .admin-panel,html.dark-mode body.admin-body .admin-card,html.dark-mode body.admin-body .admin-stat,html.dark-mode body.admin-body .analytics-stat-card,html.dark-mode body.admin-body .analytics-filter,html.dark-mode body.admin-body .settings-card,html.dark-mode body.admin-body .settings-nav,html.dark-mode body.admin-body .card{background:#1f1f1f!important;color:#f5f5f5!important;border-color:#3d3d3d!important;box-shadow:none!important}
html.dark-mode body.admin-body table,html.dark-mode body.admin-body .admin-table{background:#1f1f1f!important;color:#eee!important;border-color:#3d3d3d!important}
html.dark-mode body.admin-body th{background:#282828!important;color:#fff!important;border-color:#414141!important}
html.dark-mode body.admin-body td{background:#1f1f1f!important;color:#ddd!important;border-color:#3b3b3b!important}
html.dark-mode body.admin-body tr:hover td{background:#292929!important}
html.dark-mode body.admin-body input,html.dark-mode body.admin-body select,html.dark-mode body.admin-body textarea{background:#171717!important;color:#f5f5f5!important;border-color:#4a4a4a!important;color-scheme:dark}
html.dark-mode body.admin-body input::placeholder,html.dark-mode body.admin-body textarea::placeholder{color:#8f8f8f!important}
html.dark-mode body.admin-body .admin-date{background:#202020!important;color:#fff!important;border-color:#505050!important}
html.dark-mode body.admin-body p,html.dark-mode body.admin-body small,html.dark-mode body.admin-body .muted{color:#b9b9b9!important}
html.dark-mode body.admin-body h1,html.dark-mode body.admin-body h2,html.dark-mode body.admin-body h3,html.dark-mode body.admin-body h4,html.dark-mode body.admin-body label,html.dark-mode body.admin-body strong{color:#f5f5f5!important}
html.dark-mode body.admin-body .btn.secondary{background:#292929!important;color:#fff!important;border-color:#505050!important}
html.dark-mode body.admin-body .btn.primary{background:#b41227!important;color:#fff!important;border-color:#b41227!important}
html.dark-mode body.admin-body .admin-sidebar a{color:#d7d7d7!important}
html.dark-mode body.admin-body .admin-sidebar a.active{background:#8f0d1c!important;color:#fff!important}
html.dark-mode body.admin-body .admin-sidebar a:hover{background:#292929!important;color:#fff!important}
html.dark-mode body.admin-body .analytics-range-select,html.dark-mode body.admin-body .custom-date-fields input{background:#181818!important;color:#fff!important;border-color:#505050!important}

/* Admin settings modal + stable analytics controls */
.admin-settings-nav{width:100%;border:0;background:transparent;color:inherit;text-align:left;padding:12px 16px;border-radius:12px;font:inherit;font-weight:800;cursor:pointer}.admin-settings-nav:hover{background:rgba(215,25,53,.10);color:#d71935}.admin-settings-modal[hidden]{display:none}.admin-settings-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center}.admin-settings-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(5px)}.admin-settings-popup{position:relative;width:min(440px,calc(100vw - 32px));padding:22px;background:#fff;color:#171717;border:1px solid #e5e5e5;border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.28)}.admin-settings-popup-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.admin-settings-popup-head small{font-weight:900;color:#a50f24;letter-spacing:.12em}.admin-settings-popup-head h2{margin:4px 0 0}.admin-settings-close{border:0;background:#f1f1f1;color:#222;width:36px;height:36px;border-radius:50%;font-size:24px;cursor:pointer}.analytics-range-apply{min-height:42px}.dark-mode .admin-settings-popup{background:#1f1f1f;color:#f5f5f5;border-color:#444}.dark-mode .admin-settings-close{background:#303030;color:#fff}.dark-mode .admin-settings-nav{color:#e8e8e8}.dark-mode .admin-settings-nav:hover{background:#2b1b1e;color:#fff}
\n/* Passenger AI, FAQ, voice and final-rating UI */\n.passenger-help-dock{position:fixed;right:18px;bottom:20px;z-index:900;display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.help-dock-btn{border:1px solid #d9aab1;background:#fff;color:#941426;border-radius:999px;padding:11px 15px;font-weight:900;box-shadow:0 10px 30px rgba(0,0,0,.12);cursor:pointer}.help-dock-btn:hover{background:#fff3f5}.help-panel{position:fixed;right:18px;bottom:76px;z-index:950;width:min(390px,calc(100vw - 28px));max-height:min(620px,72vh);overflow:hidden;background:#fff;color:#181818;border:1px solid #ddd;border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.25)}.help-panel-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #eee}.help-panel-head div{display:grid}.help-panel-head small{color:#a90f22;font-weight:900;letter-spacing:.08em}.help-close{border:0;background:#f1f1f1;width:34px;height:34px;border-radius:50%;font-size:22px;cursor:pointer}.ai-chat{height:330px;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#fafafa}.ai-bubble{max-width:86%;padding:11px 13px;border-radius:15px;line-height:1.45}.ai-bubble.bot{align-self:flex-start;background:#eee}.ai-bubble.user{align-self:flex-end;background:#a90f22;color:#fff}.ai-form{display:flex;gap:8px;padding:12px;border-top:1px solid #eee}.ai-form input{flex:1;min-width:0}.ai-form button{border:0;border-radius:10px;background:#a90f22;color:#fff;font-weight:800;padding:0 14px}.ai-note{display:block;padding:0 14px 12px;color:#777}.faq-search{margin:14px;width:calc(100% - 28px)}.faq-list{padding:0 14px 16px;overflow:auto;max-height:480px}.faq-list details{border-bottom:1px solid #eee;padding:12px 2px}.faq-list summary{font-weight:800;cursor:pointer}.faq-list p{color:#555;line-height:1.5}.readonly-rating{padding:18px;border:1px solid var(--border);border-radius:14px;background:var(--background)}html.dark-mode .help-dock-btn{background:#252525;color:#ff9baa;border-color:#63303a}html.dark-mode .help-panel{background:#1f1f1f;color:#f5f5f5;border-color:#444}html.dark-mode .help-panel-head,html.dark-mode .ai-form,html.dark-mode .faq-list details{border-color:#3b3b3b}html.dark-mode .help-close{background:#303030;color:#fff}html.dark-mode .ai-chat{background:#141414}html.dark-mode .ai-bubble.bot{background:#2a2a2a;color:#eee}html.dark-mode .faq-list p,html.dark-mode .ai-note{color:#aaa}@media(max-width:700px){.passenger-help-dock{right:12px;bottom:12px}.help-panel{right:10px;bottom:70px}.help-dock-btn{padding:10px 12px;font-size:12px}}\n
/* Passenger help buttons — navbar placement fix */
.passenger-help-nav{display:flex;align-items:center;gap:8px;margin-left:auto;margin-right:10px;flex:0 0 auto}
.help-nav-btn{appearance:none;-webkit-appearance:none;height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border-radius:10px;border:1px solid #3a3a3a;background:#171717;color:#f5f5f5;font:800 12px/1 inherit;letter-spacing:.01em;white-space:nowrap;cursor:pointer;box-shadow:none;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.help-nav-btn:hover{background:#252525;border-color:#5b5b5b;transform:translateY(-1px)}
.help-nav-btn:focus-visible{outline:2px solid #c9192e;outline-offset:2px}
.help-nav-btn .help-nav-icon{width:20px;height:20px;display:grid;place-items:center;border-radius:6px;background:#9f1021;color:#fff;font-size:12px;font-weight:900}
.ai-nav-btn{border-color:#5d252c}.faq-nav-btn .help-nav-icon{background:#333}
html.dark-mode .help-nav-btn{background:#1b1b1b;color:#f5f5f5;border-color:#404040}
html.dark-mode .help-nav-btn:hover{background:#292929;border-color:#666}
.help-panel{top:74px;right:18px;bottom:auto}
@media(max-width:980px){.passenger-help-nav{order:3;width:100%;margin:8px 0 0;justify-content:flex-end}.topbar .nav{flex-wrap:wrap}.help-nav-btn{height:36px}}
@media(max-width:700px){.passenger-help-nav{justify-content:stretch;gap:7px}.help-nav-btn{flex:1;padding:0 10px}.help-panel{top:118px;right:10px;bottom:auto}}

/* Passenger dashboard image icons + dedicated help pages */
.quick-card-icon{width:34px;height:34px;display:block;object-fit:contain;margin-bottom:12px}
.standalone-help-card{max-width:900px;margin:20px auto;padding:24px}
.ai-page-chat{min-height:340px;max-height:520px;overflow:auto;margin-bottom:16px}
.settings-nav a[href="toda_ai.php"],.settings-nav a[href="faq.php"]{border-left:3px solid var(--red)}
@media(max-width:760px){.quick-card-icon{width:30px;height:30px}.standalone-help-card{padding:16px}}


/* Passenger dashboard compact picture icons + account AI link */
.quick-card .quick-card-icon{width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important;min-width:26px!important;min-height:26px!important;display:block!important;object-fit:contain!important;margin:0 0 10px!important}
.quick-card{padding:19px!important}
.account-ai-link{color:inherit}.account-ai-link::before{content:""}
@media(max-width:760px){.quick-card .quick-card-icon{width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;min-width:24px!important;min-height:24px!important}.quick-card{padding:17px!important}}

/* HATID SUNDO AI dedicated messenger-style page */
.ai-assistant-page{padding:28px 0 60px}.ai-chat-shell{max-width:880px;margin:0 auto;padding:0!important;overflow:hidden;border-radius:22px!important}.ai-chat-header{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--border);background:var(--card)}.ai-chat-header h1{font-size:18px;margin:0 0 3px}.ai-chat-header span{font-size:11px;color:var(--muted);font-weight:700}.ai-chat-header span i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#25a55f;margin-right:4px}.ai-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#b41227;color:#fff;font-weight:900}.ai-back-btn{margin-left:auto!important;width:auto!important;margin-top:0!important}.ai-page-chat{height:min(54vh,470px);min-height:330px;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:10px;background:#f7f7f7}.ai-msg{display:flex}.ai-msg.user{justify-content:flex-end}.ai-msg-bubble{max-width:min(72%,620px);padding:11px 14px;border-radius:17px;background:#fff;border:1px solid #e7e7e7;line-height:1.45;font-size:14px}.ai-msg.user .ai-msg-bubble{background:#b41227;color:#fff;border-color:#b41227;border-bottom-right-radius:5px}.ai-msg.bot .ai-msg-bubble{border-bottom-left-radius:5px}.ai-typing .ai-msg-bubble{display:flex;gap:4px;padding:14px}.ai-typing span{width:6px;height:6px;border-radius:50%;background:#888;animation:aiDot 1s infinite ease-in-out}.ai-typing span:nth-child(2){animation-delay:.14s}.ai-typing span:nth-child(3){animation-delay:.28s}@keyframes aiDot{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-4px);opacity:1}}.ai-quick-prompts{display:flex;gap:7px;overflow:auto;padding:10px 14px 0;background:var(--card)}.ai-quick-prompts button{white-space:nowrap;border:1px solid var(--border);background:transparent;color:var(--text);border-radius:999px;padding:7px 10px;font:700 11px inherit;cursor:pointer}.ai-quick-prompts button:hover{border-color:#b41227;color:#b41227}.ai-page-form{display:flex;gap:9px;padding:12px 14px;background:var(--card)}.ai-page-form input{flex:1;min-width:0;margin:0!important}.ai-page-form button{border:0;border-radius:12px;background:#b41227;color:#fff;padding:0 20px;font-weight:900;cursor:pointer}.ai-page-note{margin:0;padding:0 16px 14px!important;background:var(--card);font-size:10px!important;color:var(--muted)!important}.dark-mode .ai-page-chat{background:#151515!important}.dark-mode .ai-msg.bot .ai-msg-bubble{background:#272727;color:#f2f2f2;border-color:#3d3d3d}.dark-mode .ai-quick-prompts button{background:#202020}.dark-mode .ai-chat-header,.dark-mode .ai-quick-prompts,.dark-mode .ai-page-form,.dark-mode .ai-page-note{background:#1f1f1f!important}@media(max-width:700px){.ai-assistant-page{padding-top:14px}.ai-page-chat{height:55vh;padding:14px}.ai-msg-bubble{max-width:86%}.ai-chat-header{padding:13px}.ai-page-form button{padding:0 14px}}

/* Passenger + Driver notification inbox */
.notif-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.notif-page-head h1,.notif-page-head h2{margin:0 0 5px}.notif-subtitle,.notif-page-head p{color:var(--muted);margin:0}.notif-actions{display:flex;gap:9px;flex-wrap:wrap}.notif-actions .btn{margin:0;width:auto}.notif-clear{background:#2b2b2b!important;color:#fff!important;border:1px solid #4a4a4a!important}.notif-read-all{background:var(--red)!important;color:#fff!important}.driver-notification-list{display:grid;gap:10px}.notification-item.notif-clickable{position:relative;width:100%;display:flex;text-align:left;gap:12px;align-items:flex-start;padding:16px;border-radius:14px;border:1px solid var(--border);background:var(--card);color:var(--text);font:inherit;cursor:pointer;transition:.18s ease}.notification-item.notif-clickable:hover{transform:translateY(-1px);border-color:rgba(227,24,55,.55)}.notification-item.is-unread{background:rgba(227,24,55,.08);border-color:rgba(227,24,55,.45)}.notif-dot{width:9px;height:9px;min-width:9px;margin-top:6px;border-radius:50%;background:transparent}.is-unread .notif-dot{background:var(--red);box-shadow:0 0 0 4px rgba(227,24,55,.12)}.notif-copy{display:block;min-width:0;flex:1}.notif-title-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.notif-state{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.6px;color:var(--muted)}.is-unread .notif-state{color:var(--red)}.notif-message{display:block;margin:5px 0;color:var(--text);line-height:1.45}.notif-copy small{color:var(--muted)}.notification-item.is-read{opacity:.78}.notification-item.is-read:hover{opacity:1}.dark-mode .notification-item.notif-clickable,html.dark-mode .notification-item.notif-clickable{background:#1f1f1f;border-color:#3d3d3d;color:#f5f5f5}.dark-mode .notification-item.is-unread,html.dark-mode .notification-item.is-unread{background:#29171a;border-color:#6b2632}.dark-mode .notif-message,html.dark-mode .notif-message{color:#ededed}@media(max-width:700px){.notif-page-head{flex-direction:column}.notif-actions{width:100%}.notif-actions .btn{flex:1}.notif-title-row{align-items:flex-start}}


/* HATID SUNDO notification center redesign */
.notification-page{max-width:980px!important;padding-top:28px!important;padding-bottom:60px!important}
.notification-page>.notification-card,.driver-section:has(.notif-page-head){background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.notif-page-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:18px!important;margin:0 0 22px!important;padding:0!important}
.notif-page-head h1,.notif-page-head h2{font-size:28px!important;line-height:1.15!important;margin:0 0 7px!important;color:var(--text)!important}
.notif-subtitle,.notif-page-head p{font-size:14px!important;line-height:1.45!important;color:var(--muted)!important;margin:0!important}
.notif-actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
.notif-actions .btn{min-height:42px!important;width:auto!important;margin:0!important;padding:0 16px!important;border-radius:11px!important;font-size:13px!important;font-weight:800!important;box-shadow:none!important}
.notif-read-all{background:var(--red)!important;color:#fff!important;border:1px solid var(--red)!important}
.notif-clear{background:transparent!important;color:var(--text)!important;border:1px solid var(--border)!important}
#notificationList,.driver-notification-list{display:grid!important;gap:12px!important;width:100%!important}
.notification-item.notif-clickable,.driver-booking-card.notification-item.notif-clickable{box-sizing:border-box!important;width:100%!important;max-width:none!important;min-height:96px!important;margin:0!important;padding:17px 18px!important;display:flex!important;align-items:flex-start!important;gap:14px!important;text-align:left!important;border:1px solid var(--border)!important;border-radius:16px!important;background:var(--card)!important;color:var(--text)!important;box-shadow:0 4px 16px rgba(0,0,0,.06)!important;cursor:pointer!important;opacity:1!important;appearance:none!important;-webkit-appearance:none!important;transition:transform .16s ease,border-color .16s ease,background .16s ease!important}
.notification-item.notif-clickable:hover{transform:translateY(-1px)!important;border-color:rgba(225,22,53,.55)!important}
.notification-item.is-unread{background:linear-gradient(90deg,rgba(225,22,53,.12),var(--card) 42%)!important;border-color:rgba(225,22,53,.42)!important}
.notif-dot{display:block!important;width:10px!important;height:10px!important;min-width:10px!important;border-radius:999px!important;margin-top:7px!important;background:#777!important;opacity:.35!important}
.is-unread .notif-dot{background:var(--red)!important;opacity:1!important;box-shadow:0 0 0 5px rgba(225,22,53,.11)!important}
.notif-copy{display:flex!important;flex:1!important;min-width:0!important;flex-direction:column!important;gap:6px!important}
.notif-title-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important}
.notif-title-row strong{display:block!important;font-size:15px!important;line-height:1.3!important;color:var(--text)!important;font-weight:850!important}
.notif-new-badge{flex:0 0 auto!important;background:var(--red)!important;color:#fff!important;font-size:10px!important;font-weight:900!important;letter-spacing:.55px!important;padding:4px 8px!important;border-radius:999px!important}
.notif-message{display:block!important;font-size:14px!important;line-height:1.48!important;color:var(--text)!important;font-weight:500!important;white-space:normal!important;overflow-wrap:anywhere!important}
.notif-copy small{display:block!important;margin-top:2px!important;font-size:11px!important;line-height:1.3!important;color:var(--muted)!important;font-weight:600!important}
.notification-item.is-read{opacity:.82!important}
.notification-item.is-read:hover{opacity:1!important}
.empty-notifications,.driver-empty{padding:46px 20px!important;border:1px dashed var(--border)!important;border-radius:16px!important;text-align:center!important;color:var(--muted)!important;background:var(--card)!important}
.dark-mode .notification-item.notif-clickable,html.dark-mode .notification-item.notif-clickable,.dark-mode .driver-booking-card.notification-item.notif-clickable,html.dark-mode .driver-booking-card.notification-item.notif-clickable{background:#1b1b1d!important;border-color:#343438!important;color:#f5f5f5!important;box-shadow:0 5px 18px rgba(0,0,0,.2)!important}
.dark-mode .notification-item.is-unread,html.dark-mode .notification-item.is-unread{background:linear-gradient(90deg,#2b171b 0%,#1b1b1d 46%)!important;border-color:#702634!important}
.dark-mode .notif-title-row strong,html.dark-mode .notif-title-row strong,.dark-mode .notif-message,html.dark-mode .notif-message{color:#f4f4f5!important}
@media(max-width:700px){.notification-page{padding-top:20px!important}.notif-page-head{align-items:stretch!important;flex-direction:column!important}.notif-actions{width:100%!important}.notif-actions .btn{flex:1!important}.notification-item.notif-clickable,.driver-booking-card.notification-item.notif-clickable{padding:15px!important;border-radius:14px!important}.notif-title-row{align-items:flex-start!important}.notif-message{font-size:13px!important}}
/* HATID SUNDO 3D live navigation */
.customer-live-map,.driver-live-map{min-height:330px;border-radius:18px;overflow:hidden;background:#171717}.maplibregl-canvas{outline:none}.toda3d-marker{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-size:23px;background:#fff;border:3px solid #e31837;box-shadow:0 5px 18px rgba(0,0,0,.38)}.toda3d-marker.rider{background:#e31837;border-color:#fff}.gps-accuracy-good{color:#48d17a}.gps-accuracy-warn{color:#ffc857}
.rider-found-modal .modal-close:disabled{opacity:.35;cursor:not-allowed;pointer-events:none}
/* Passenger 3D live route refinements */
.customer-live-map .maplibregl-canvas,.driver-live-map .maplibregl-canvas{cursor:grab}.customer-live-map .maplibregl-canvas:active,.driver-live-map .maplibregl-canvas:active{cursor:grabbing}.toda3d-marker.destination{background:#fff;border-color:#d91632;font-size:20px}.toda3d-marker.pickup{background:#fff;border-color:#d91632}.maplibregl-ctrl-group{border-radius:10px!important;overflow:hidden}.dark-mode .maplibregl-ctrl-group,html.dark-mode .maplibregl-ctrl-group{filter:brightness(.86)}

/* 2026-09-20: passenger 3D drag pickup + required form markers */
.pickup-location-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.required-star{color:#d91632;font-weight:900}.required-fields-note{margin:0 0 14px;color:var(--muted,#6b7280);font-size:.93rem}.field-help{display:block;margin:-4px 0 12px;color:var(--muted,#6b7280);font-size:.82rem}.drag-location-modal{position:fixed;inset:0;z-index:10050;background:rgba(0,0,0,.68);backdrop-filter:blur(7px);display:none;align-items:center;justify-content:center;padding:18px}.drag-location-modal.show{display:flex}.drag-location-dialog{width:min(900px,96vw);max-height:94vh;overflow:auto;background:#fff;border:1px solid #dedede;border-radius:20px;box-shadow:0 22px 60px rgba(0,0,0,.36);padding:16px}.dark-mode .drag-location-dialog,html.dark-mode .drag-location-dialog{background:#171717;border-color:#333;color:#f5f5f5}.drag-location-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}.drag-location-head strong{font-size:1.18rem}.drag-location-head p{margin:4px 0 0;color:#737373}.dark-mode .drag-location-head p,html.dark-mode .drag-location-head p{color:#bdbdbd}.drag-location-close{width:38px;height:38px;border:0;border-radius:50%;background:#ececec;color:#161616;font-size:26px;line-height:1;cursor:pointer}.dark-mode .drag-location-close,html.dark-mode .drag-location-close{background:#2b2b2b;color:#fff}.drag-pickup-map{height:min(54vh,510px);min-height:350px;border-radius:16px;overflow:hidden;background:#1b1b1b}.drag-pickup-marker{width:48px;height:48px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#d91632;border:3px solid #fff;box-shadow:0 8px 22px rgba(0,0,0,.4);display:grid;place-items:center;font-size:23px;cursor:grab}.drag-pickup-marker span{display:block;transform:rotate(45deg)}.drag-location-status{margin:11px 2px;padding:10px 12px;border-radius:12px;background:#f5f5f5;color:#333;font-size:.9rem}.dark-mode .drag-location-status,html.dark-mode .drag-location-status{background:#242424;color:#ddd}.drag-location-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.applicant-doc-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.compact-alert{margin:0;padding:10px;font-size:.82rem}.modal-open{overflow:hidden}@media(max-width:620px){.pickup-location-actions{grid-template-columns:1fr}.drag-location-modal{padding:8px}.drag-location-dialog{padding:10px;border-radius:15px}.drag-pickup-map{min-height:330px;height:50vh}.drag-location-actions .btn{flex:1 1 100%}.applicant-doc-actions{grid-template-columns:1fr}}

.document-preview{display:block;width:min(100%,420px);max-height:260px;object-fit:contain;margin:10px 0 12px;border:1px solid #d5d5d5;border-radius:12px;background:#f7f7f7;padding:6px}.document-preview[hidden]{display:none}.dark-mode .document-preview,html.dark-mode .document-preview{background:#202020;border-color:#3a3a3a}

/* 2026-09-20 Report Rider contrast + submit reliability UI */
.report-driver-card{background:#f7f7f7!important;color:#111!important;border-color:#dedede!important}
.report-driver-card .report-driver-copy,.report-driver-card strong,.report-driver-card p{color:#111!important}
.report-driver-card a{color:#b41227!important;font-weight:900!important;text-decoration:underline!important;text-underline-offset:2px}
.report-driver-card .report-avatar-fallback{background:#d91632!important;color:#fff!important}
.report-rider-page .danger-btn:disabled{opacity:.65!important;cursor:wait!important}
.dark-mode .report-driver-card,html.dark-mode .report-driver-card{background:#292929!important;color:#f5f5f5!important;border-color:#444!important}
.dark-mode .report-driver-card .report-driver-copy,.dark-mode .report-driver-card strong,.dark-mode .report-driver-card p,html.dark-mode .report-driver-card .report-driver-copy,html.dark-mode .report-driver-card strong,html.dark-mode .report-driver-card p{color:#f5f5f5!important}
.dark-mode .report-driver-card a,html.dark-mode .report-driver-card a{color:#ff8a99!important}


/* =========================================================
   2026-09-22 MOBILE UI / BUTTON NAV FIX
   Keeps passenger controls readable and tappable on phones.
========================================================= */
@media (max-width: 900px) {
    body[data-logged-in="1"] {
        padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important;
        overflow-x: hidden;
    }

    .topbar {
        position: sticky !important;
        top: 0 !important;
        z-index: 980 !important;
        min-height: 62px;
    }

    .topbar .nav {
        width: calc(100% - 24px) !important;
        min-height: 62px !important;
        gap: 10px !important;
        padding: 6px 0 !important;
        flex-wrap: nowrap !important;
    }

    .toda-logo-link {
        flex: 0 0 auto !important;
        max-width: 145px;
        overflow: hidden;
    }

    .toda-logo {
        height: 44px !important;
        width: auto !important;
        max-width: 140px !important;
        object-fit: contain !important;
    }

    .account-wrapper {
        margin-left: auto !important;
        flex: 0 0 auto !important;
        min-width: 44px;
    }

    .account-button {
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 4px !important;
        justify-content: center !important;
        border-radius: 999px !important;
    }

    .account-button .profile-avatar {
        width: 38px !important;
        height: 38px !important;
        flex: 0 0 38px !important;
    }

    .account-button > span:not(.profile-avatar):not(.notification-badge) {
        display: none !important;
    }

    .account-button .notification-badge {
        position: absolute !important;
        top: -2px !important;
        right: -4px !important;
        z-index: 2;
    }

    .account-dropdown {
        position: fixed !important;
        top: 66px !important;
        right: 10px !important;
        left: auto !important;
        width: min(360px, calc(100vw - 20px)) !important;
        max-height: calc(100vh - 150px) !important;
        overflow-y: auto !important;
        z-index: 1100 !important;
        border: 1px solid var(--border) !important;
        box-shadow: 0 16px 42px rgba(0,0,0,.22) !important;
    }

    .customer-main-tabs {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        position: fixed !important;
        z-index: 1050 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        gap: 4px !important;
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom)) !important;
        background: rgba(255,255,255,.98) !important;
        border-top: 1px solid #dedede !important;
        box-shadow: 0 -8px 26px rgba(0,0,0,.10) !important;
        backdrop-filter: blur(14px);
    }

    .customer-main-tabs a {
        min-width: 0 !important;
        min-height: 52px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        padding: 7px 3px !important;
        margin: 0 !important;
        border-radius: 12px !important;
        color: #242424 !important;
        background: transparent !important;
        font-size: 10px !important;
        font-weight: 850 !important;
        line-height: 1.15 !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }

    .customer-main-tabs a:active,
    .customer-main-tabs a:focus-visible {
        background: #fff0f2 !important;
        color: #a90f22 !important;
        outline: none !important;
    }

    body.dark-mode .customer-main-tabs,
    html.dark-mode .customer-main-tabs {
        background: rgba(24,24,24,.98) !important;
        border-top-color: #343434 !important;
        box-shadow: 0 -8px 28px rgba(0,0,0,.38) !important;
    }

    body.dark-mode .customer-main-tabs a,
    html.dark-mode .customer-main-tabs a {
        color: #f5f5f5 !important;
        background: transparent !important;
    }

    body.dark-mode .customer-main-tabs a:active,
    body.dark-mode .customer-main-tabs a:focus-visible,
    html.dark-mode .customer-main-tabs a:active,
    html.dark-mode .customer-main-tabs a:focus-visible {
        background: #32161b !important;
        color: #ff8b99 !important;
    }

    body.dark-mode .topbar,
    html.dark-mode .topbar {
        background: #181818 !important;
        border-bottom: 1px solid #303030 !important;
    }

    .btn,
    button.btn,
    a.btn {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 700px) {
    .container {
        width: calc(100% - 20px) !important;
    }

    .dashboard {
        padding-top: 14px !important;
    }

    .hero {
        padding: 22px !important;
        gap: 18px !important;
    }

    .hero .btn {
        width: 100% !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    .dashboard-info-grid,
    .quick-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .time-card,
    .dashboard-weather-card,
    .quick-card {
        min-width: 0 !important;
        width: 100% !important;
    }

    .weather-details {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }

    .dashboard-history-shortcut {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 15px !important;
        padding: 18px !important;
    }

    .dashboard-history-shortcut .btn {
        width: 100% !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .recent-actions,
    .customer-ride-actions,
    .driver-action-row,
    .pickup-location-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
    }

    .recent-actions .btn,
    .recent-actions form,
    .recent-actions form .btn,
    .customer-ride-actions .btn,
    .driver-action-row .btn,
    .driver-action-row form,
    .driver-action-row form .btn,
    .pickup-location-actions .btn {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .booking-status-tabs {
        margin-left: -2px !important;
        margin-right: -2px !important;
        padding-bottom: 10px !important;
    }

    .booking-status-tabs a {
        min-height: 40px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .current-time {
        font-size: clamp(32px, 9vw, 46px) !important;
        line-height: 1.05 !important;
        overflow-wrap: anywhere;
    }

    .weather-main {
        align-items: center !important;
        gap: 14px !important;
    }

    .weather-temp {
        font-size: clamp(30px, 9vw, 42px) !important;
    }
}

@media (max-width: 390px) {
    .topbar .nav {
        width: calc(100% - 16px) !important;
    }

    .toda-logo-link {
        max-width: 118px !important;
    }

    .toda-logo {
        max-width: 112px !important;
        height: 40px !important;
    }

    .customer-main-tabs a {
        font-size: 9px !important;
        padding-inline: 2px !important;
    }
}


/* =========================================================
   2026-09-22 MOBILE STICKY TOP NAV FIX
   Keeps logo + passenger navigation + account visible at top.
========================================================= */
@media (max-width: 900px) {
    body[data-logged-in="1"] { padding-bottom: 0 !important; }
    .topbar {
        position: sticky !important; top: 0 !important; z-index: 1300 !important;
        width: 100% !important; min-height: 0 !important;
        background: rgba(255,255,255,.98) !important;
        border-bottom: 1px solid #dedede !important;
        box-shadow: 0 6px 18px rgba(0,0,0,.08) !important;
        backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    }
    .topbar .nav {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        grid-template-areas: "logo spacer account" "tabs tabs tabs" !important;
        align-items: center !important;
        width: calc(100% - 20px) !important;
        min-height: 0 !important; gap: 4px 10px !important;
        padding: 6px 0 7px !important; flex-wrap: initial !important;
    }
    .toda-logo-link {
        grid-area: logo !important; display:flex !important; align-items:center !important;
        max-width:128px !important; overflow:visible !important;
    }
    .toda-logo {
        display:block !important; height:40px !important; width:auto !important;
        max-width:122px !important; object-fit:contain !important;
    }
    .account-wrapper {
        grid-area: account !important; justify-self:end !important; margin-left:0 !important;
        min-width:44px !important; z-index:2 !important;
    }
    .account-button { min-width:44px !important; min-height:44px !important; padding:3px !important; justify-content:center !important; }
    .account-button .profile-avatar { width:38px !important; height:38px !important; flex:0 0 38px !important; }
    .account-button > span:not(.profile-avatar):not(.notification-badge) { display:none !important; }
    .customer-main-tabs {
        grid-area:tabs !important; position:static !important; inset:auto !important;
        width:100% !important; display:grid !important;
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
        gap:4px !important; margin:0 !important; padding:5px 0 0 !important;
        background:transparent !important; border:0 !important;
        border-top:1px solid rgba(0,0,0,.08) !important;
        box-shadow:none !important; backdrop-filter:none !important;
    }
    .customer-main-tabs a {
        min-width:0 !important; min-height:38px !important;
        display:flex !important; align-items:center !important; justify-content:center !important;
        padding:6px 3px !important; margin:0 !important; border-radius:10px !important;
        font-size:10px !important; font-weight:850 !important; line-height:1.1 !important;
        text-align:center !important; white-space:normal !important; overflow-wrap:anywhere !important;
        color:#202020 !important; background:transparent !important; text-decoration:none !important;
    }
    .customer-main-tabs a:hover,.customer-main-tabs a:active,.customer-main-tabs a:focus-visible {
        background:#fff0f2 !important; color:#a90f22 !important; transform:none !important; outline:none !important;
    }
    .account-dropdown {
        position:fixed !important; top:104px !important; right:10px !important; left:auto !important;
        width:min(360px,calc(100vw - 20px)) !important;
        max-height:calc(100vh - 118px) !important; overflow-y:auto !important; z-index:1400 !important;
    }
    body.dark-mode .topbar, html.dark-mode .topbar {
        background:rgba(17,17,17,.98) !important; border-bottom-color:#343434 !important;
        box-shadow:0 6px 18px rgba(0,0,0,.35) !important;
    }
    body.dark-mode .customer-main-tabs, html.dark-mode .customer-main-tabs {
        background:transparent !important; border-top-color:#303030 !important; box-shadow:none !important;
    }
    body.dark-mode .customer-main-tabs a, html.dark-mode .customer-main-tabs a { color:#f5f5f5 !important; }
    body.dark-mode .customer-main-tabs a:hover,body.dark-mode .customer-main-tabs a:active,
    html.dark-mode .customer-main-tabs a:hover,html.dark-mode .customer-main-tabs a:active {
        background:#32161b !important; color:#ff9aa7 !important;
    }
}
@media (max-width:390px) {
    .topbar .nav { width:calc(100% - 14px) !important; }
    .toda-logo-link { max-width:108px !important; }
    .toda-logo { height:36px !important; max-width:104px !important; }
    .customer-main-tabs a { min-height:36px !important; font-size:9px !important; padding-inline:2px !important; }
    .account-dropdown { top:98px !important; max-height:calc(100vh - 108px) !important; }
}


/* ===== HATID SUNDO 3D LANDING BRANDING ===== */
.hatid-landing-page{background:#f6f6f6;color:#171717;overflow-x:hidden}
.hatid-promo-hero{position:relative;min-height:82vh;padding:22px 5vw 70px;background:
radial-gradient(circle at 82% 25%,rgba(227,24,55,.15),transparent 28%),
radial-gradient(circle at 68% 54%,rgba(0,0,0,.07),transparent 31%),
linear-gradient(145deg,#fff 0%,#f7f7f7 55%,#efefef 100%);overflow:hidden}
.hatid-promo-hero:before{content:"";position:absolute;inset:auto -12vw -24vw 42vw;height:42vw;background:linear-gradient(135deg,transparent 35%,rgba(211,16,43,.09));transform:skewY(-8deg);pointer-events:none}
.hatid-promo-nav{position:relative;z-index:8;max-width:1180px;margin:0 auto;background:rgba(255,255,255,.78);border:1px solid rgba(210,210,210,.8);box-shadow:0 10px 35px rgba(0,0,0,.08);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.hatid-promo-nav .landing-brand{display:flex;align-items:center;text-decoration:none}
.hatid-promo-nav .landing-brand img{width:auto;height:66px;max-width:190px;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.14))}
.hatid-promo-nav .landing-nav-actions{display:flex;align-items:center;gap:8px}
.hatid-promo-nav .landing-nav-actions a{margin:0;padding:11px 14px;border-radius:12px;color:#181818;transition:.18s ease}
.hatid-promo-nav .landing-nav-actions a:hover{background:#f1f1f1;color:#c5102b}
.hatid-promo-content{position:relative;z-index:2;grid-template-columns:minmax(0,1.02fr) minmax(390px,.98fr);gap:42px;margin:66px auto 18px}
.hatid-eyebrow{margin:22px 0 0!important;font-size:12px!important;line-height:1!important;font-weight:950!important;letter-spacing:.16em;color:#bf1028!important}
.hatid-hero-copy h1{max-width:720px;color:#161616!important;font-size:clamp(44px,6.4vw,82px)!important;letter-spacing:-.06em!important}
.hatid-hero-copy h1 span{display:block;color:#c7102b}
.hatid-hero-copy>p:not(.hatid-eyebrow){color:#5d5d5d!important;max-width:680px}
.hatid-trust-row{display:flex;gap:16px;flex-wrap:wrap;margin-top:24px;color:#4c4c4c;font-size:13px;font-weight:800}
.hatid-trust-row span{display:inline-flex;align-items:center;gap:5px}

.landing-logo-stage{--mx:0px;--my:0px;position:relative;min-height:470px;display:grid;place-items:center;perspective:1100px;isolation:isolate;transform:translate3d(var(--mx),var(--my),0);transition:transform .18s ease-out}
.landing-logo-glow{position:absolute;width:72%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(227,24,55,.24),rgba(227,24,55,.06) 45%,transparent 70%);filter:blur(16px);transform:translateY(8%);z-index:-2;animation:hatidGlow 4.5s ease-in-out infinite}
.landing-logo-shadow{position:absolute;bottom:40px;width:62%;height:42px;border-radius:50%;background:rgba(0,0,0,.24);filter:blur(24px);transform:translateZ(-80px) scaleX(.92);z-index:-1;animation:hatidShadow 4.2s ease-in-out infinite}
.landing-logo-3d{--rx:0deg;--ry:0deg;display:block;width:min(100%,620px);height:auto;object-fit:contain;transform-style:preserve-3d;transform:rotateX(var(--rx)) rotateY(var(--ry)) translateZ(42px);filter:drop-shadow(0 26px 30px rgba(0,0,0,.24));will-change:transform;transition:transform .16s ease-out,filter .25s ease;animation:hatidLogoFloat 4.2s ease-in-out infinite}
.landing-logo-stage:hover .landing-logo-3d{filter:drop-shadow(0 34px 38px rgba(0,0,0,.30))}
.landing-mini-card{position:absolute;right:2%;bottom:18px;display:flex;align-items:center;gap:11px;padding:12px 16px;background:rgba(255,255,255,.84);border:1px solid rgba(255,255,255,.75);border-radius:18px;box-shadow:0 16px 40px rgba(0,0,0,.13);backdrop-filter:blur(14px);transform:translateZ(80px) rotate(-2deg)}
.landing-mini-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#d61230;color:#fff;font-size:19px}
.landing-mini-card strong,.landing-mini-card small{display:block}.landing-mini-card strong{font-size:13px}.landing-mini-card small{margin-top:3px;color:#686868;font-size:11px}
@keyframes hatidLogoFloat{0%,100%{transform:rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0,-3px,42px)}50%{transform:rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0,-19px,58px)}}
@keyframes hatidShadow{0%,100%{opacity:.72;transform:scaleX(.94)}50%{opacity:.45;transform:scaleX(.78)}}
@keyframes hatidGlow{0%,100%{opacity:.72;transform:scale(.96)}50%{opacity:1;transform:scale(1.08)}}
.hatid-promo-features{position:relative;margin-top:-26px;z-index:5}
.hatid-promo-features article{position:relative;background:#fff;border-color:#e2e2e2;box-shadow:0 14px 40px rgba(0,0,0,.07)}
.hatid-promo-features article:before{content:"";position:absolute;left:0;top:22px;bottom:22px;width:4px;border-radius:4px;background:#d61230}
.hatid-promo-features .feature-icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:16px;border-radius:14px;background:#fff0f2;font-size:22px}
.hatid-promo-features p{color:#666;line-height:1.62}
.hatid-landing-cta{width:min(1140px,calc(100% - 40px));margin:22px auto 82px;padding:34px 38px;border-radius:28px;background:linear-gradient(135deg,#171717,#272727);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 18px 46px rgba(0,0,0,.18)}
.hatid-landing-cta span{font-size:11px;font-weight:950;letter-spacing:.16em;color:#ff8494}.hatid-landing-cta h2{margin:7px 0 0;font-size:clamp(24px,4vw,38px)}
.hatid-landing-cta .btn{flex:0 0 auto}
@media(max-width:900px){.hatid-promo-content{grid-template-columns:1fr;margin-top:42px}.landing-logo-stage{min-height:370px;order:-1}.landing-logo-3d{width:min(88vw,520px)}.landing-mini-card{right:5%}.hatid-hero-copy{text-align:center}.hatid-hero-copy>p{margin-left:auto;margin-right:auto}.hatid-promo-content .promo-actions,.hatid-trust-row{justify-content:center}}
@media(max-width:620px){.hatid-promo-hero{padding:12px 12px 52px}.hatid-promo-nav{padding:9px 10px;border-radius:15px}.hatid-promo-nav .landing-brand img{height:48px;max-width:136px}.hatid-promo-nav .landing-nav-actions{gap:2px}.hatid-promo-nav .landing-nav-actions a{padding:9px 7px;font-size:11px}.hatid-promo-content{margin:30px auto 8px}.landing-logo-stage{min-height:300px}.landing-logo-3d{width:min(96%,430px)}.landing-mini-card{display:none}.hatid-hero-copy h1{font-size:clamp(38px,13vw,56px)!important}.hatid-trust-row{gap:9px 12px}.hatid-promo-features{margin-top:8px}.hatid-landing-cta{width:calc(100% - 24px);margin-bottom:42px;padding:26px 22px;flex-direction:column;align-items:stretch;text-align:center}.hatid-landing-cta .btn{justify-content:center}}
@media(prefers-reduced-motion:reduce){.landing-logo-3d,.landing-logo-glow,.landing-logo-shadow{animation:none!important;transition:none!important}}

/* =========================================================
   HATID SUNDO LANDING PAGE V2 — FULL RESPONSIVE FIX
   2026-09-22
========================================================= */
.hatid-landing-page{
    min-height:100vh;
    background:#f7f7f7!important;
    color:#171717!important;
    overflow-x:hidden;
}

.hatid-landing-page .hatid-promo-hero{
    min-height:auto!important;
    padding:22px clamp(18px,4vw,56px) 82px!important;
    background:
        radial-gradient(circle at 82% 22%,rgba(214,18,48,.13),transparent 27%),
        radial-gradient(circle at 72% 50%,rgba(0,0,0,.035),transparent 34%),
        linear-gradient(180deg,#ffffff 0%,#fafafa 62%,#f5f5f5 100%)!important;
}

.hatid-landing-page .hatid-promo-nav{
    width:min(1180px,100%);
    min-height:82px;
    margin:0 auto!important;
    padding:10px 16px!important;
    border-radius:20px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:18px!important;
    background:rgba(255,255,255,.88)!important;
    border:1px solid #e7e7e7!important;
    box-shadow:0 10px 35px rgba(0,0,0,.07)!important;
}

.hatid-landing-page .hatid-promo-nav .landing-brand img{
    height:62px!important;
    width:auto!important;
    max-width:190px!important;
}

.hatid-landing-page .landing-nav-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:8px!important;
    flex-wrap:wrap!important;
}

.hatid-landing-page .landing-nav-actions a{
    margin:0!important;
    padding:11px 15px!important;
    border-radius:12px!important;
    font-size:13px!important;
    font-weight:850!important;
    color:#1b1b1b!important;
    white-space:nowrap!important;
}

.hatid-landing-page .landing-nav-actions a:first-child{
    background:#d61230!important;
    color:#fff!important;
}

.hatid-landing-page .landing-nav-actions a:last-child{
    background:#fff!important;
    border:1px solid #dadada!important;
}

.hatid-landing-page .hatid-promo-content{
    width:min(1180px,100%);
    max-width:1180px!important;
    margin:58px auto 0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1.03fr) minmax(380px,.97fr)!important;
    align-items:center!important;
    gap:clamp(28px,4vw,58px)!important;
}

.hatid-landing-page .hatid-hero-copy{
    min-width:0!important;
}

.hatid-landing-page .rosario-chip{
    display:inline-flex!important;
    align-items:center!important;
    width:max-content!important;
    max-width:100%!important;
    padding:8px 12px!important;
    border-radius:999px!important;
    background:#fff!important;
    border:1px solid #ececec!important;
    color:#c5102b!important;
    font-size:12px!important;
    font-weight:850!important;
    box-shadow:0 6px 20px rgba(0,0,0,.05)!important;
}

.hatid-landing-page .hatid-eyebrow{
    margin:20px 0 12px!important;
    font-size:11px!important;
    font-weight:950!important;
    letter-spacing:.17em!important;
    color:#bd1027!important;
}

.hatid-landing-page .hatid-hero-copy h1{
    margin:0 0 18px!important;
    max-width:700px!important;
    font-size:clamp(48px,5.25vw,76px)!important;
    line-height:.98!important;
    letter-spacing:-.055em!important;
    text-wrap:balance;
    color:#171717!important;
}

.hatid-landing-page .hatid-hero-copy h1 span{
    display:block!important;
    margin-top:7px!important;
    color:#d3112f!important;
}

.hatid-landing-page .hatid-hero-copy>p:not(.hatid-eyebrow){
    max-width:650px!important;
    margin:0!important;
    color:#5e5e5e!important;
    font-size:16px!important;
    line-height:1.7!important;
}

.hatid-landing-page .promo-actions{
    display:flex!important;
    align-items:center!important;
    gap:11px!important;
    flex-wrap:wrap!important;
    margin-top:28px!important;
}

.hatid-landing-page .promo-actions .btn,
.hatid-landing-page .hatid-landing-cta .btn{
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    min-height:48px!important;
    padding:0 20px!important;
    border-radius:13px!important;
    flex:0 0 auto!important;
}

.hatid-landing-page .promo-actions .btn.primary,
.hatid-landing-page .hatid-landing-cta .btn.primary{
    background:#d61230!important;
    color:#fff!important;
    box-shadow:0 10px 24px rgba(214,18,48,.18)!important;
}

.hatid-landing-page .promo-actions .btn.primary:hover,
.hatid-landing-page .hatid-landing-cta .btn.primary:hover{
    background:#b80f28!important;
    transform:translateY(-1px)!important;
}

.hatid-landing-page .promo-actions .btn.secondary{
    background:#fff!important;
    color:#1b1b1b!important;
    border:1px solid #dcdcdc!important;
}

.hatid-landing-page .hatid-trust-row{
    margin-top:22px!important;
    display:flex!important;
    gap:10px 16px!important;
    flex-wrap:wrap!important;
    color:#555!important;
    font-size:12px!important;
    font-weight:800!important;
}

.hatid-landing-page .landing-logo-stage{
    min-width:0!important;
    min-height:460px!important;
    width:100%!important;
}

.hatid-landing-page .landing-logo-3d{
    width:min(100%,590px)!important;
    max-height:520px!important;
    object-fit:contain!important;
}

.hatid-landing-page .landing-mini-card{
    right:3%!important;
    bottom:34px!important;
}

.hatid-landing-page .hatid-promo-features{
    width:min(1180px,calc(100% - 36px))!important;
    max-width:1180px!important;
    margin:-34px auto 58px!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:18px!important;
}

.hatid-landing-page .hatid-promo-features article{
    min-width:0!important;
    min-height:210px!important;
    padding:26px 25px 26px 28px!important;
    border-radius:22px!important;
    background:#fff!important;
    border:1px solid #e5e5e5!important;
    box-shadow:0 13px 34px rgba(0,0,0,.06)!important;
}

.hatid-landing-page .hatid-promo-features h3{
    margin:0 0 10px!important;
    font-size:18px!important;
    line-height:1.25!important;
}

.hatid-landing-page .hatid-promo-features p{
    margin:0!important;
    font-size:14px!important;
    line-height:1.65!important;
    color:#666!important;
}

.hatid-landing-page .hatid-landing-cta{
    width:min(1140px,calc(100% - 36px))!important;
    margin:0 auto 54px!important;
    padding:34px 36px!important;
    border-radius:26px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:34px!important;
    background:linear-gradient(135deg,#181818 0%,#242424 100%)!important;
    box-shadow:0 18px 44px rgba(0,0,0,.16)!important;
}

.hatid-landing-page .hatid-landing-cta>div{
    min-width:0!important;
}

.hatid-landing-page .hatid-landing-cta span{
    display:block!important;
    margin:0!important;
    color:#ff9aa7!important;
    font-size:10px!important;
    font-weight:950!important;
    letter-spacing:.16em!important;
}

.hatid-landing-page .hatid-landing-cta h2{
    max-width:700px!important;
    margin:7px 0 0!important;
    color:#fff!important;
    font-size:clamp(28px,3.3vw,42px)!important;
    line-height:1.08!important;
    letter-spacing:-.035em!important;
    text-wrap:balance;
}

.hatid-landing-footer{
    width:min(1140px,calc(100% - 36px));
    margin:0 auto 32px;
    padding:18px 4px 4px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    border-top:1px solid #dedede;
    color:#6b6b6b;
    font-size:12px;
}

.hatid-landing-footer strong{color:#222}
.hatid-landing-footer a{color:#b80f28;text-decoration:none;font-weight:800}

@media(max-width:960px){
    .hatid-landing-page .hatid-promo-content{
        grid-template-columns:1fr!important;
        gap:18px!important;
        margin-top:38px!important;
    }
    .hatid-landing-page .landing-logo-stage{
        order:-1!important;
        min-height:360px!important;
    }
    .hatid-landing-page .landing-logo-3d{width:min(78vw,540px)!important}
    .hatid-landing-page .hatid-hero-copy{text-align:center!important}
    .hatid-landing-page .rosario-chip{margin-inline:auto!important}
    .hatid-landing-page .hatid-hero-copy h1,
    .hatid-landing-page .hatid-hero-copy>p:not(.hatid-eyebrow){margin-left:auto!important;margin-right:auto!important}
    .hatid-landing-page .promo-actions,
    .hatid-landing-page .hatid-trust-row{justify-content:center!important}
    .hatid-landing-page .hatid-promo-features{margin-top:-16px!important}
}

@media(max-width:760px){
    .hatid-landing-page .hatid-promo-hero{padding:12px 12px 58px!important}
    .hatid-landing-page .hatid-promo-nav{
        min-height:70px!important;
        padding:8px 10px!important;
        border-radius:16px!important;
    }
    .hatid-landing-page .hatid-promo-nav .landing-brand img{
        height:48px!important;
        max-width:138px!important;
    }
    .hatid-landing-page .landing-nav-actions{gap:4px!important}
    .hatid-landing-page .landing-nav-actions a{
        padding:9px 9px!important;
        font-size:10px!important;
    }
    .hatid-landing-page .hatid-promo-content{margin-top:24px!important}
    .hatid-landing-page .landing-logo-stage{min-height:290px!important}
    .hatid-landing-page .landing-logo-3d{width:min(94vw,430px)!important}
    .hatid-landing-page .landing-logo-shadow{bottom:24px!important}
    .hatid-landing-page .landing-mini-card{display:none!important}
    .hatid-landing-page .hatid-hero-copy h1{
        font-size:clamp(40px,12vw,58px)!important;
        line-height:1!important;
    }
    .hatid-landing-page .hatid-hero-copy>p:not(.hatid-eyebrow){font-size:14px!important}
    .hatid-landing-page .promo-actions{
        display:grid!important;
        grid-template-columns:1fr!important;
        width:100%!important;
    }
    .hatid-landing-page .promo-actions .btn{
        width:100%!important;
    }
    .hatid-landing-page .hatid-promo-features{
        width:calc(100% - 24px)!important;
        grid-template-columns:1fr!important;
        margin:14px auto 34px!important;
    }
    .hatid-landing-page .hatid-promo-features article{
        min-height:0!important;
        padding:22px 22px 22px 25px!important;
    }
    .hatid-landing-page .hatid-landing-cta{
        width:calc(100% - 24px)!important;
        grid-template-columns:1fr!important;
        gap:20px!important;
        padding:26px 22px!important;
        margin-bottom:30px!important;
        text-align:center!important;
    }
    .hatid-landing-page .hatid-landing-cta .btn{
        width:100%!important;
    }
    .hatid-landing-footer{
        width:calc(100% - 24px);
        flex-direction:column;
        text-align:center;
        margin-bottom:24px;
    }
}

@media(max-width:430px){
    .hatid-landing-page .hatid-promo-nav{
        align-items:center!important;
        gap:6px!important;
    }
    .hatid-landing-page .hatid-promo-nav .landing-brand img{
        height:42px!important;
        max-width:118px!important;
    }
    .hatid-landing-page .landing-nav-actions a{
        padding:8px 7px!important;
        font-size:9px!important;
    }
    .hatid-landing-page .landing-logo-stage{min-height:245px!important}
    .hatid-landing-page .hatid-hero-copy h1{font-size:clamp(38px,13vw,52px)!important}
    .hatid-landing-page .hatid-trust-row{font-size:11px!important}
}


/* HATID SUNDO Driver Wallet + GCash/Maya */
.driver-wallet-mini,.driver-wallet-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;background:linear-gradient(135deg,#151515,#272727);color:#fff;border:1px solid #333;border-top:4px solid #d3162c;border-radius:22px;padding:22px 24px;margin:18px 0}.driver-wallet-mini div,.driver-wallet-hero>div:first-child{display:grid;gap:4px}.driver-wallet-mini small,.driver-wallet-hero .driver-badge{font-size:11px;font-weight:900;letter-spacing:.09em}.driver-wallet-mini strong,.driver-wallet-hero h1{font-size:34px;line-height:1;margin:0}.driver-wallet-mini span,.driver-wallet-hero p{color:#d9d9d9;margin:0}.wallet-quick-note{min-width:240px;padding:14px 16px;border-radius:16px;background:#fff;color:#171717!important;display:grid!important}.wallet-quick-note span{color:#5d5d5d!important;font-size:13px}.wallet-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.wallet-card{padding:22px}.wallet-form{display:grid;gap:10px}.wallet-form label,.admin-wallet-settings label{font-weight:800}.wallet-form input,.wallet-form select,.admin-wallet-settings input{width:100%;min-height:46px;border:1px solid #d3d6da;border-radius:12px;padding:10px 12px;background:var(--card,#fff);color:inherit}.wallet-provider-box,.customer-payment-destination{display:grid;gap:3px;padding:13px 15px;margin:9px 0;border-radius:14px;background:#f7f7f8;border:1px solid #e3e3e3}.customer-payment-destination{margin-top:12px;border-left:4px solid #d3162c}.customer-payment-destination strong{color:#b80f23}.wallet-table-wrap{overflow-x:auto}.wallet-table{width:100%;border-collapse:collapse;min-width:680px}.wallet-table th,.wallet-table td{text-align:left;padding:12px 10px;border-bottom:1px solid #e2e2e2}.wallet-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:900;background:#eee}.wallet-status.pending{background:#fff4d6;color:#8a6200}.wallet-status.approved,.wallet-status.completed{background:#e8f8ed;color:#19743a}.wallet-status.rejected{background:#fde8eb;color:#a00}.wallet-credit{color:#19743a;font-weight:900}.wallet-debit{color:#c7192e;font-weight:900}.admin-wallet-total{background:#171717;color:#fff;border-radius:16px;padding:12px 18px;display:grid}.admin-wallet-total small{color:#ccc}.admin-wallet-total strong{font-size:25px}.admin-wallet-settings{display:grid;grid-template-columns:1fr 1fr;gap:14px}.admin-wallet-settings button{grid-column:1/-1}.admin-topup-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.admin-topup-card{border:1px solid #dedede;border-radius:16px;padding:17px}.topup-amount{font-size:27px;font-weight:950;color:#c8142a;margin:10px 0}.topup-actions{display:flex;gap:8px;margin-top:12px}.customer-payment-line{padding:8px 10px!important;border-radius:10px;background:#fff1f3}.dark-mode .wallet-provider-box,.dark-mode .customer-payment-destination,.dark-mode .admin-topup-card{background:#222;border-color:#3a3a3a;color:#f5f5f5}.dark-mode .wallet-table th,.dark-mode .wallet-table td{border-color:#333}.dark-mode .wallet-form input,.dark-mode .wallet-form select,.dark-mode .admin-wallet-settings input{background:#161616;border-color:#414141;color:#fff}.dark-mode .customer-payment-line{background:#34181d}
@media(max-width:760px){.wallet-grid{grid-template-columns:1fr}.driver-wallet-mini,.driver-wallet-hero{align-items:stretch;flex-direction:column}.driver-wallet-mini .btn{width:100%}.wallet-quick-note{min-width:0}.admin-wallet-settings{grid-template-columns:1fr}.topup-actions{flex-direction:column}.topup-actions form,.topup-actions .btn{width:100%}}


/* 2026-09-25 DARK MODE CONTRAST OPTIMIZATION */
body.dark-mode, html.dark-mode body{
  background:#101010 !important;
  color:#f3f3f3 !important;
}
body.dark-mode .card,
body.dark-mode .panel,
body.dark-mode .settings-card,
body.dark-mode .wallet-card,
body.dark-mode .form-card,
body.dark-mode .modal-content,
body.dark-mode .booking-card,
body.dark-mode .profile-card{
  background:#1c1c1c !important;
  color:#f4f4f4 !important;
  border-color:#3a3a3a !important;
}
body.dark-mode h1,body.dark-mode h2,body.dark-mode h3,body.dark-mode h4,
body.dark-mode h5,body.dark-mode h6,body.dark-mode strong,body.dark-mode b,
body.dark-mode label,body.dark-mode legend{
  color:#fafafa !important;
}
body.dark-mode p,body.dark-mode li,body.dark-mode td,body.dark-mode th,
body.dark-mode .text,body.dark-mode .details,body.dark-mode .description{
  color:#e6e6e6 !important;
}
body.dark-mode small,body.dark-mode .muted,body.dark-mode .subtitle,
body.dark-mode .helper-text,body.dark-mode .hint,body.dark-mode .meta{
  color:#bdbdbd !important;
}
body.dark-mode input,body.dark-mode select,body.dark-mode textarea{
  background:#151515 !important;
  color:#f7f7f7 !important;
  border-color:#4a4a4a !important;
}
body.dark-mode input::placeholder,body.dark-mode textarea::placeholder{
  color:#9f9f9f !important;
  opacity:1 !important;
}
body.dark-mode select option{
  background:#181818 !important;
  color:#f5f5f5 !important;
}
body.dark-mode a:not(.btn){
  color:#ff9aa6;
}
body.dark-mode .required-star{
  color:#ff5367 !important;
}
body.dark-mode input:disabled,body.dark-mode select:disabled,body.dark-mode textarea:disabled{
  background:#242424 !important;
  color:#bdbdbd !important;
  opacity:1 !important;
}
body.dark-mode table,body.dark-mode tr,body.dark-mode td,body.dark-mode th{
  border-color:#3b3b3b !important;
}


/* Driver linked payment accounts: keep GCash and Maya independently accessible */
.driver-payment-accounts,
.payment-account-card,
.wallet-payment-account{
  overflow:visible !important;
}
body.dark-mode .driver-payment-accounts,
body.dark-mode .payment-account-card,
body.dark-mode .wallet-payment-account{
  background:#1c1c1c !important;
  color:#f4f4f4 !important;
  border-color:#3a3a3a !important;
}

.payment-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:12px 0}
.payment-review-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 0;border-top:1px solid #ddd}
.inline-actions{display:flex;gap:8px;flex-wrap:wrap}
body.dark-mode .payment-review-row{border-color:#3b3b3b}
@media(max-width:700px){.payment-review-row{align-items:stretch;flex-direction:column}}

.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.stats-grid>div{padding:14px;border:1px solid #ddd;border-radius:12px;display:flex;flex-direction:column}.contributor-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #ddd}body.dark-mode .stats-grid>div,body.dark-mode .contributor-row{border-color:#3b3b3b}

.ui-icon{width:1.05em;height:1.05em;display:inline-block;vertical-align:-.16em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.admin-sidebar a,.admin-settings-nav{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px!important}.admin-sidebar a>span,.admin-settings-nav>span{display:flex;align-items:center;gap:9px}.side-nav-notify{display:inline-flex;align-items:center;gap:3px}.nav-bell{width:14px;height:14px;opacity:.75}.nav-badge{min-width:18px;height:18px;padding:0 5px;border-radius:999px;display:inline-grid;place-items:center;background:#d91632;color:#fff!important;font-size:10px}.admin-settings-nav{width:100%;border:0;background:transparent;color:#dcecff;padding:13px 15px;border-radius:11px;font:700 inherit;cursor:pointer}.admin-global-alert{position:relative;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f2f2f2}.admin-global-alert b{position:absolute;right:-5px;top:-5px;background:#d91632;color:#fff;border-radius:999px;min-width:18px;height:18px;display:grid;place-items:center;font-size:9px}
.document-preview-wrap{position:relative;width:min(100%,420px);margin:9px 0 12px}.document-preview-wrap[hidden]{display:none!important}.document-preview-wrap .document-preview{margin:0;width:100%}.document-preview-close{position:absolute;right:8px;top:8px;z-index:2;width:34px;height:34px;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.82);color:#fff;cursor:pointer}
.document-viewer{position:fixed;inset:0;z-index:30000;display:grid;place-items:center;padding:16px}.document-viewer[hidden]{display:none}.document-viewer-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.8);backdrop-filter:blur(4px)}.document-viewer-dialog{position:relative;z-index:1;width:min(880px,96vw);max-height:94vh;background:#fff;border-radius:18px;padding:14px}.document-viewer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.document-viewer-x{width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer}.document-viewer-dialog img{display:block;width:100%;max-height:80vh;object-fit:contain;border-radius:12px}
.hatid-team-section{width:min(1180px,calc(100% - 32px));margin:18px auto 50px;padding:32px;border:1px solid #e7e7e7;border-radius:24px;background:#fff}.hatid-team-head{text-align:center;margin-bottom:22px}.hatid-team-head>span{font-size:11px;font-weight:900;letter-spacing:.14em;color:#b80f28}.hatid-team-head h2{margin:7px 0;font-size:clamp(28px,4vw,44px)}.hatid-team-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.hatid-team-grid article{min-width:0;padding:18px 12px;border:1px solid #ececec;border-radius:17px;text-align:center;background:#fafafa}.team-avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;margin:0 auto 10px;background:#fff0f3;color:#bf1830}.hatid-team-grid strong,.hatid-team-grid small{display:block}.hatid-team-grid small{margin-top:5px;color:#777}.mentor-card{border-color:#d91632!important;background:#fff7f8!important}
.payment-request-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:15px}.provider-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.request-count-card{background:#171717;color:#fff;border-radius:15px;padding:12px 16px;min-width:125px}.request-count-card small,.request-count-card strong{display:block}.request-count-card strong{font-size:26px}.linked-provider{border:1px solid #e2e2e2;border-radius:14px;padding:13px;margin-bottom:5px}
body.dark-mode.admin-body,html.dark-mode body.admin-body{background:#101010!important;color:#f2f2f2!important}body.dark-mode .admin-topbar,html.dark-mode .admin-topbar{background:#171717!important;border-color:#303030!important}body.dark-mode .admin-sidebar,html.dark-mode .admin-sidebar{background:#151515!important;border-right:1px solid #303030!important}body.dark-mode .admin-sidebar a,body.dark-mode .admin-settings-nav,html.dark-mode .admin-sidebar a,html.dark-mode .admin-settings-nav{color:#ddd!important}body.dark-mode .admin-sidebar a:hover,body.dark-mode .admin-sidebar a.active,body.dark-mode .admin-settings-nav:hover,html.dark-mode .admin-sidebar a:hover,html.dark-mode .admin-sidebar a.active,html.dark-mode .admin-settings-nav:hover{background:#2c171b!important;color:#ff8998!important}body.dark-mode .admin-driver-card,body.dark-mode .admin-panel,body.dark-mode .admin-filter-bar,html.dark-mode .admin-driver-card,html.dark-mode .admin-panel,html.dark-mode .admin-filter-bar{background:#1c1c1c!important;border-color:#363636!important;color:#f3f3f3!important}body.dark-mode .admin-driver-head,html.dark-mode .admin-driver-head{border-color:#343434!important}body.dark-mode .admin-driver-head p,body.dark-mode .admin-page-heading p,html.dark-mode .admin-driver-head p,html.dark-mode .admin-page-heading p{color:#bbb!important}body.dark-mode .document-viewer-dialog,html.dark-mode .document-viewer-dialog{background:#1b1b1b;color:#fff}body.dark-mode .linked-provider,html.dark-mode .linked-provider{background:#1c1c1c;border-color:#3a3a3a}
@media(max-width:900px){.hatid-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mentor-card{grid-column:1/-1}}
@media(max-width:760px){.admin-topbar{height:auto;min-height:64px;padding:8px 10px!important}.admin-brand img{height:40px}.admin-shell{display:block!important;min-width:0}.admin-sidebar{position:sticky;top:64px;z-index:1100;width:100%;overflow-x:auto;overflow-y:hidden;padding:7px!important}.admin-sidebar nav{display:flex!important;position:static!important;width:max-content;min-width:100%;gap:5px!important}.admin-sidebar a,.admin-settings-nav{flex:0 0 auto;width:auto!important;white-space:nowrap;padding:9px 10px!important}.admin-content{padding:14px!important;min-width:0;overflow:hidden}.admin-page-heading{flex-direction:column;align-items:stretch}.admin-driver-grid,.payment-request-grid{grid-template-columns:1fr!important}.admin-driver-card,.admin-panel{min-width:0;overflow-wrap:anywhere}.admin-filter-bar,.admin-driver-actions,.inline-actions{width:100%;flex-direction:column;align-items:stretch}.admin-filter-bar input,.admin-filter-bar select,.admin-driver-actions select{width:100%!important;min-width:0!important}.inline-actions .btn,.admin-driver-actions .btn{width:100%!important}.document-upload-grid{grid-template-columns:1fr!important}.document-viewer{padding:7px}.document-viewer-dialog{width:100%}.wallet-table-wrap,.admin-table-wrap{max-width:100%;overflow-x:auto}.hatid-team-section{width:calc(100% - 24px);padding:24px 15px}}
@media(max-width:480px){.hatid-team-grid{grid-template-columns:1fr}.mentor-card{grid-column:auto}.admin-name{display:none!important}.admin-sidebar a,.admin-settings-nav{font-size:11px}}

/* 2026-09-28 compact landing project team */
.hatid-team-section{
  max-width:860px !important;
  padding:18px 20px !important;
  margin-top:12px !important;
  margin-bottom:30px !important;
}
.hatid-team-head{margin-bottom:12px !important;}
.hatid-team-head>span{font-size:8px !important;}
.hatid-team-head h2{
  font-size:clamp(20px,2.8vw,28px) !important;
  margin:3px 0 !important;
}
.hatid-team-head p{font-size:11px !important;margin:0 !important;}
.hatid-team-grid{gap:7px !important;}
.hatid-team-grid article{padding:10px 7px !important;border-radius:12px !important;}
.hatid-team-grid strong{font-size:11px !important;line-height:1.22 !important;}
.hatid-team-grid small{font-size:9px !important;margin-top:2px !important;}
.team-avatar{width:30px !important;height:30px !important;margin-bottom:6px !important;}
.team-avatar .ui-icon{width:15px !important;height:15px !important;}
@media(max-width:760px){
  .hatid-team-section{width:calc(100% - 24px) !important;padding:16px 12px !important;}
}

/* Compact PROJECT TEAM box — override previous oversized landing styles */
.hatid-team-section{
  box-sizing:border-box !important;
  width:min(94%,720px) !important;
  max-width:720px !important;
  min-height:0 !important;
  height:auto !important;
  margin:26px auto !important;
  padding:16px !important;
  border:1px solid #e3e3e3 !important;
  border-radius:16px !important;
  background:#fff !important;
  overflow:visible !important;
}
.hatid-team-head{
  margin:0 0 12px !important;
  padding:0 !important;
  text-align:left !important;
}
.hatid-team-head>span{
  display:block !important;
  margin:0 0 3px !important;
  font-size:9px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
}
.hatid-team-head h2{
  margin:0 0 3px !important;
  font-size:19px !important;
  line-height:1.2 !important;
}
.hatid-team-head p{
  margin:0 !important;
  font-size:10px !important;
  line-height:1.35 !important;
}
.hatid-team-grid{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:7px !important;
  min-height:0 !important;
  height:auto !important;
}
.hatid-team-grid article{
  box-sizing:border-box !important;
  min-width:0 !important;
  min-height:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:9px 6px !important;
  border-radius:10px !important;
}
.team-avatar{
  width:27px !important;
  height:27px !important;
  margin:0 auto 5px !important;
}
.team-avatar .ui-icon{
  width:13px !important;
  height:13px !important;
}
.hatid-team-grid strong{
  font-size:9px !important;
  line-height:1.2 !important;
}
.hatid-team-grid small{
  margin-top:2px !important;
  font-size:8px !important;
  line-height:1.2 !important;
}
body.dark-mode .hatid-team-section{
  background:#181818 !important;
  border-color:#353535 !important;
}
@media(max-width:700px){
  .hatid-team-section{width:calc(100% - 24px) !important;padding:13px !important;}
  .hatid-team-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  .mentor-card{grid-column:1/-1 !important;}
}
@media(max-width:420px){
  .hatid-team-grid{grid-template-columns:1fr !important;}
  .mentor-card{grid-column:auto !important;}
}


/* 2026-09-28 OLD LANDING PAGE — compact About Us + organized team */
.landing-about-link{
  background:transparent !important;
  border:0 !important;
  color:#333 !important;
  padding-left:8px !important;
  padding-right:8px !important;
}

.hatid-about-section{
  box-sizing:border-box !important;
  width:min(1180px,calc(100% - 32px)) !important;
  margin:26px auto 30px !important;
  padding:20px !important;
  display:grid !important;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr) !important;
  gap:18px !important;
  align-items:stretch !important;
  background:#fff !important;
  border:1px solid #e8e8e8 !important;
  border-radius:20px !important;
  box-shadow:0 14px 35px rgba(0,0,0,.045) !important;
  min-height:0 !important;
  height:auto !important;
  overflow:visible !important;
}

.hatid-about-copy{
  min-width:0 !important;
  padding:8px 10px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}

.hatid-about-kicker{
  display:block !important;
  margin:0 0 7px !important;
  color:#d91632 !important;
  font-size:9px !important;
  font-weight:900 !important;
  letter-spacing:.15em !important;
}

.hatid-about-copy h2{
  margin:0 0 8px !important;
  max-width:430px !important;
  font-size:clamp(22px,3vw,32px) !important;
  line-height:1.08 !important;
  color:#171717 !important;
}

.hatid-about-copy p{
  margin:0 !important;
  max-width:480px !important;
  color:#686868 !important;
  font-size:12px !important;
  line-height:1.6 !important;
}

.hatid-about-points{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:7px !important;
  margin-top:14px !important;
}

.hatid-about-points span{
  display:inline-flex !important;
  align-items:center !important;
  gap:5px !important;
  min-height:28px !important;
  padding:5px 9px !important;
  border:1px solid #ededed !important;
  border-radius:999px !important;
  background:#fafafa !important;
  color:#454545 !important;
  font-size:9px !important;
  font-weight:800 !important;
}

.hatid-about-points .ui-icon{
  width:12px !important;
  height:12px !important;
  color:#d91632 !important;
}

.hatid-team-compact{
  min-width:0 !important;
  padding:14px !important;
  border:1px solid #ececec !important;
  border-radius:16px !important;
  background:#fafafa !important;
}

.hatid-team-compact-head{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:10px !important;
  margin-bottom:10px !important;
}

.hatid-team-compact-head span{
  display:block !important;
  margin-bottom:2px !important;
  color:#d91632 !important;
  font-size:8px !important;
  font-weight:900 !important;
  letter-spacing:.12em !important;
}

.hatid-team-compact-head h3{
  margin:0 !important;
  color:#171717 !important;
  font-size:17px !important;
  line-height:1.2 !important;
}

.hatid-team-compact-head>small{
  color:#888 !important;
  font-size:8px !important;
  white-space:nowrap !important;
}

.hatid-team-compact-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:7px !important;
}

.hatid-team-compact-grid article{
  min-width:0 !important;
  min-height:0 !important;
  height:auto !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  padding:8px !important;
  margin:0 !important;
  border:1px solid #e9e9e9 !important;
  border-radius:11px !important;
  background:#fff !important;
}

.hatid-team-compact-grid .compact-mentor{
  grid-column:1/-1 !important;
  border-color:#f0cbd1 !important;
  background:#fff8f9 !important;
}

.compact-team-icon{
  width:29px !important;
  height:29px !important;
  flex:0 0 29px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:50% !important;
  background:#f6e7ea !important;
  color:#c7152f !important;
}

.compact-team-icon .ui-icon{
  width:14px !important;
  height:14px !important;
}

.hatid-team-compact-grid strong{
  display:block !important;
  margin:0 !important;
  color:#242424 !important;
  font-size:9px !important;
  line-height:1.25 !important;
}

.hatid-team-compact-grid small{
  display:block !important;
  margin-top:1px !important;
  color:#7d7d7d !important;
  font-size:8px !important;
  line-height:1.2 !important;
}

body.dark-mode .hatid-about-section{
  background:#181818 !important;
  border-color:#353535 !important;
}

body.dark-mode .hatid-about-copy h2,
body.dark-mode .hatid-team-compact-head h3,
body.dark-mode .hatid-team-compact-grid strong{
  color:#f5f5f5 !important;
}

body.dark-mode .hatid-about-copy p,
body.dark-mode .hatid-team-compact-head>small,
body.dark-mode .hatid-team-compact-grid small{
  color:#bdbdbd !important;
}

body.dark-mode .hatid-about-points span,
body.dark-mode .hatid-team-compact,
body.dark-mode .hatid-team-compact-grid article{
  background:#202020 !important;
  border-color:#383838 !important;
  color:#e7e7e7 !important;
}

body.dark-mode .hatid-team-compact-grid .compact-mentor{
  background:#26191c !important;
  border-color:#553039 !important;
}

@media(max-width:800px){
  .hatid-about-section{
    grid-template-columns:1fr !important;
    padding:16px !important;
  }
}

@media(max-width:560px){
  .landing-about-link{
    display:none !important;
  }
  .hatid-about-section{
    width:calc(100% - 24px) !important;
    margin:20px auto 24px !important;
    padding:13px !important;
    gap:12px !important;
  }
  .hatid-about-copy{
    padding:4px !important;
  }
  .hatid-about-copy h2{
    font-size:23px !important;
  }
  .hatid-team-compact{
    padding:10px !important;
  }
  .hatid-team-compact-grid{
    grid-template-columns:1fr !important;
  }
  .hatid-team-compact-grid .compact-mentor{
    grid-column:auto !important;
  }
}


/* 2026-09-28 dedicated About Us page */
.hatid-about-page{
  margin:0;
  min-height:100vh;
  background:#fafafa;
  color:#171717;
}

.hatid-about-nav{
  box-sizing:border-box;
  width:min(1180px,calc(100% - 32px));
  min-height:82px;
  margin:16px auto 0;
  padding:10px 16px;
  display:flex;
  align-items:center;
  gap:16px;
  border:1px solid #e5e5e5;
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 30px rgba(0,0,0,.045);
}

.hatid-about-brand{
  display:flex;
  align-items:center;
  margin-right:auto;
}

.hatid-about-brand img{
  width:110px;
  height:58px;
  object-fit:contain;
}

.hatid-about-nav-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.hatid-about-main{
  width:min(100%,1240px);
  margin:0 auto;
  padding:36px 16px 50px;
}

.hatid-about-only{
  box-sizing:border-box;
  width:min(920px,100%);
  margin:0 auto;
  padding:22px;
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:20px;
  align-items:stretch;
  border:1px solid #e6e6e6;
  border-radius:22px;
  background:#fff;
  box-shadow:0 16px 40px rgba(0,0,0,.055);
}

.hatid-about-page .hatid-about-copy{
  padding:10px 8px !important;
}

.hatid-about-page .hatid-about-copy h1{
  margin:0 0 10px;
  font-size:clamp(28px,4vw,42px);
  line-height:1.05;
  color:#171717;
}

.hatid-about-page .hatid-about-copy p{
  font-size:13px !important;
}

.hatid-about-page .hatid-team-compact{
  padding:14px !important;
}

.hatid-about-page .hatid-team-compact-grid article{
  padding:9px !important;
}

body.dark-mode.hatid-about-page,
html.dark-mode body.hatid-about-page{
  background:#101010;
  color:#f5f5f5;
}

body.dark-mode .hatid-about-nav,
body.dark-mode .hatid-about-only{
  background:#181818;
  border-color:#363636;
}

body.dark-mode .hatid-about-page .hatid-about-copy h1{
  color:#f5f5f5;
}

@media(max-width:760px){
  .hatid-about-nav{
    width:calc(100% - 24px);
    min-height:0;
    padding:9px 10px;
    align-items:flex-start;
  }

  .hatid-about-brand img{
    width:86px;
    height:50px;
  }

  .hatid-about-nav-actions{
    justify-content:flex-end;
  }

  .hatid-about-nav-actions .btn{
    font-size:10px;
    padding:8px 10px;
  }

  .hatid-about-only{
    grid-template-columns:1fr;
    padding:15px;
  }
}

@media(max-width:480px){
  .hatid-about-nav{
    flex-direction:column;
    align-items:stretch;
  }

  .hatid-about-brand{
    justify-content:center;
    margin:0;
  }

  .hatid-about-nav-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .hatid-about-nav-actions .btn:first-child{
    grid-column:1/-1;
  }
}


/* 2026-10-02 notification + wallet flow fixes */
.admin-notification-wrap{position:relative}.admin-global-alert{border:0;cursor:pointer;color:#202020}.admin-global-alert:hover{background:#e7e7e7}.admin-notification-dropdown{position:absolute;right:0;top:44px;width:min(390px,calc(100vw - 24px));max-height:520px;overflow:auto;background:#fff;border:1px solid #ddd;border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.2);z-index:5000}.admin-notification-dropdown[hidden]{display:none!important}.admin-notification-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;background:#fff;border-bottom:1px solid #eee}.admin-notification-head strong,.admin-notification-head small{display:block}.admin-notification-head small{margin-top:2px;color:#777;font-size:11px}.admin-notif-read-all{border:0;background:transparent;color:#d91632;font-weight:800;cursor:pointer}.admin-notification-list{display:flex;flex-direction:column}.admin-notification-item{display:flex;flex-direction:column;gap:4px;padding:13px 15px;border-bottom:1px solid #eee;color:#222;text-decoration:none}.admin-notification-item:hover{background:#fff5f7}.admin-notification-item span{font-size:12px;line-height:1.45;color:#555}.admin-notification-item small{font-size:10px;color:#888}.admin-notification-empty{padding:24px 15px;text-align:center;color:#777}.side-nav-notify,.nav-bell{display:none!important}.nav-badge{margin-left:6px}
body.dark-mode .admin-global-alert,html.dark-mode .admin-global-alert{background:#2a2a2a;color:#f6f6f6}body.dark-mode .admin-global-alert:hover,html.dark-mode .admin-global-alert:hover{background:#353535}body.dark-mode .admin-notification-dropdown,body.dark-mode .admin-notification-head,html.dark-mode .admin-notification-dropdown,html.dark-mode .admin-notification-head{background:#1c1c1c;border-color:#383838;color:#f5f5f5}body.dark-mode .admin-notification-item,html.dark-mode .admin-notification-item{color:#f3f3f3;border-color:#333}body.dark-mode .admin-notification-item:hover,html.dark-mode .admin-notification-item:hover{background:#2b171b}body.dark-mode .admin-notification-item span,body.dark-mode .admin-notification-head small,body.dark-mode .admin-notification-empty,html.dark-mode .admin-notification-item span,html.dark-mode .admin-notification-head small,html.dark-mode .admin-notification-empty{color:#bbb}
.driver-insufficient-banner{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 20px;padding:24px;border:2px solid #d91632;border-radius:20px;background:linear-gradient(135deg,#fff1f3,#fff);box-shadow:0 12px 35px rgba(217,22,50,.13)}.driver-insufficient-banner h2{margin:4px 0 6px;font-size:clamp(24px,3vw,34px);color:#b90f28}.driver-insufficient-banner p{margin:0 0 7px;max-width:760px}.driver-insufficient-banner small{display:block;color:#6f4650}.driver-insufficient-kicker{font-size:11px;font-weight:900;letter-spacing:.16em;color:#d91632}.driver-booking-card button:disabled{opacity:.62;cursor:not-allowed}
.wallet-payment-hub{padding:22px}.wallet-hub-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.wallet-hub-pane{min-width:0;padding:17px;border:1px solid #e2e2e2;border-radius:16px;background:#fafafa}.wallet-hub-pane h3{margin-top:0}.admin-payment-destinations{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.selected-admin-account{display:flex;flex-direction:column;gap:4px;padding:12px 13px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;margin:8px 0 2px}.selected-admin-account strong{color:#b90f28}.reference-number-wrap{padding:12px;border:1px dashed #d91632;border-radius:12px;background:#fff7f8}.reference-number-wrap[hidden]{display:none!important}.reference-number-wrap small{display:block;margin-top:5px;color:#777}.topup-payment-confirm{width:100%;margin-top:3px}.wallet-status.approved{background:#dcfce7!important;color:#166534!important}.wallet-status.pending{background:#fff7d6!important;color:#8a6200!important}.wallet-status.rejected{background:#ffe4e8!important;color:#a70f28!important}
body.dark-mode .driver-insufficient-banner,html.dark-mode .driver-insufficient-banner{background:linear-gradient(135deg,#35161c,#1d1d1d);border-color:#ff5367;color:#f5f5f5}body.dark-mode .driver-insufficient-banner h2,html.dark-mode .driver-insufficient-banner h2{color:#ff8190}body.dark-mode .driver-insufficient-banner small,html.dark-mode .driver-insufficient-banner small{color:#d3adb4}body.dark-mode .wallet-hub-pane,body.dark-mode .selected-admin-account,body.dark-mode .reference-number-wrap,html.dark-mode .wallet-hub-pane,html.dark-mode .selected-admin-account,html.dark-mode .reference-number-wrap{background:#202020;border-color:#3d3d3d;color:#f2f2f2}
@media(max-width:800px){.wallet-hub-grid{grid-template-columns:1fr}.driver-insufficient-banner{align-items:stretch;flex-direction:column}.driver-insufficient-banner .btn{width:100%}.admin-payment-destinations{grid-template-columns:1fr}}


/* 2026-10-05 live notifications, rating picker, top-up proof and landing FAQ */
.star-rating-picker{display:flex;gap:6px;margin:8px 0 4px;flex-wrap:wrap}
.rating-star{border:0;background:transparent;padding:2px;font-size:42px;line-height:1;color:#c8c8c8;cursor:pointer;transition:transform .15s ease,color .15s ease}
.rating-star:hover{transform:translateY(-2px) scale(1.04)}
.rating-star.active{color:#f6b900}
.rating-value-label{font-size:13px;font-weight:800;color:var(--muted);margin-bottom:18px}
.rating-help{margin-top:-5px}
.rating-phrase-grid{display:flex;flex-wrap:wrap;gap:9px;margin:8px 0 20px}
.rating-phrase input{position:absolute;opacity:0;pointer-events:none}
.rating-phrase span{display:inline-flex;align-items:center;min-height:38px;padding:8px 13px;border:1px solid var(--border);border-radius:999px;background:var(--card);font-weight:750;cursor:pointer;transition:.15s}
.rating-phrase input:checked+span{background:#fff1f3;border-color:#d91632;color:#b30f27;box-shadow:0 0 0 2px rgba(217,22,50,.08)}
.rating-stars-readonly{display:flex;align-items:center;gap:4px;color:#f6b900;font-size:24px}
.rating-stars-readonly span{color:var(--text);font-size:14px;margin-left:7px}
.rating-summary-readonly{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}
.rating-summary-readonly span{padding:6px 10px;border-radius:999px;background:#f3f3f3;font-size:12px;font-weight:800}
html.dark-mode .rating-phrase input:checked+span{background:#4b1d24;color:#ffadb9;border-color:#8a3442}
html.dark-mode .rating-summary-readonly span{background:#303030}

.wallet-form input[type=file]{padding:10px;background:var(--card);border:1px dashed var(--border);border-radius:10px}

.landing-faq-section{max-width:1180px;margin:24px auto 80px;padding:46px 28px;border-radius:28px;background:#fff;box-shadow:0 12px 40px rgba(0,0,0,.06)}
.landing-faq-head{max-width:720px;margin-bottom:24px}
.landing-faq-head h2{font-size:clamp(28px,4vw,44px);margin:8px 0 10px;color:#171717}
.landing-faq-head p{color:#666;line-height:1.6}
.landing-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.landing-faq-grid details{border:1px solid #e5e5e5;border-radius:16px;padding:0 16px;background:#fafafa}
.landing-faq-grid summary{cursor:pointer;font-weight:850;padding:16px 0;list-style:none}
.landing-faq-grid summary::-webkit-details-marker{display:none}
.landing-faq-grid summary:after{content:'+';float:right;font-size:20px;color:#c9152b}
.landing-faq-grid details[open] summary:after{content:'−'}
.landing-faq-grid p{margin:0 0 16px;color:#5e5e5e;line-height:1.55}
.landing-faq-more{display:inline-block;margin-top:18px;font-weight:850;color:#c9152b;text-decoration:none}
@media(max-width:760px){.landing-faq-section{margin:18px 14px 55px;padding:28px 18px}.landing-faq-grid{grid-template-columns:1fr}.rating-star{font-size:38px}}


/* =========================================================
   2026-10-05 navigation, wallet admin, dark-mode visibility fixes
========================================================= */
.wallet-admin-adjust-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.wallet-admin-adjust-actions .btn{width:100%;margin:0}

/* Keep driver navigation aligned, compact and fully visible without page-down scrolling. */
.driver-topbar .nav{width:min(1460px,calc(100% - 24px));min-height:64px;gap:12px}
.driver-topbar .toda-logo{max-height:42px}
.driver-nav-links{flex:1;justify-content:flex-end;gap:5px;min-width:0;flex-wrap:wrap}
.driver-nav-links>a,.driver-nav-links>.driver-settings-trigger{min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:7px 9px!important;border-radius:9px;font-size:12px;line-height:1.1;white-space:nowrap}

/* Admin navigation: equal row heights and no overlapping labels/badges. */
.admin-shell{grid-template-columns:244px minmax(0,1fr)}
.admin-sidebar{padding:14px 12px}
.admin-sidebar nav{top:88px;gap:5px;max-height:calc(100vh - 102px);overflow-y:auto;scrollbar-width:thin}
.admin-sidebar a,.admin-settings-nav{min-height:42px;box-sizing:border-box;padding:9px 11px!important}
.admin-sidebar a>span,.admin-settings-nav>span{min-width:0;line-height:1.15}
.admin-sidebar .nav-badge{flex:0 0 auto;margin-left:auto}
.admin-content{overflow-x:hidden}

/* Rider report and Rules & Safety must stay readable in dark mode. */
body.dark-mode .report-rider-page .profile-card,
html.dark-mode .report-rider-page .profile-card,
body.dark-mode .report-driver-card,
html.dark-mode .report-driver-card,
body.dark-mode .driver-safety-panel,
html.dark-mode .driver-safety-panel,
body.dark-mode .driver-rule-item,
html.dark-mode .driver-rule-item,
body.dark-mode .driver-safety-note,
html.dark-mode .driver-safety-note{
  background:#1b1b1b!important;
  color:#f4f4f4!important;
  border-color:#3c3c3c!important;
}
body.dark-mode .report-driver-copy p,
html.dark-mode .report-driver-copy p,
body.dark-mode .driver-safety-panel p,
html.dark-mode .driver-safety-panel p,
body.dark-mode .driver-rule-item p,
html.dark-mode .driver-rule-item p{
  color:#dedede!important;
}
body.dark-mode .driver-rule-item b,
html.dark-mode .driver-rule-item b{
  background:#8f0d1c!important;
  color:#fff!important;
}
body.dark-mode .driver-safety-kicker,
html.dark-mode .driver-safety-kicker{
  color:#ff8a99!important;
}

/* Mobile: navigation becomes a tidy grid instead of overlapping or horizontal scrolling. */
@media(max-width:760px){
  .driver-topbar{position:sticky;top:0}
  .driver-topbar .nav{width:100%;padding:7px 10px;display:grid;grid-template-columns:auto 1fr;align-items:start;gap:7px;min-height:0}
  .driver-topbar .toda-logo-link{grid-column:1/-1;justify-self:center}
  .driver-nav-links{grid-column:1/-1;width:100%;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;overflow:visible!important}
  .driver-nav-links>a,.driver-nav-links>.driver-settings-trigger{width:100%;min-width:0!important;min-height:34px;padding:6px 4px!important;font-size:10px!important;white-space:normal;text-align:center}
  .driver-nav-links .count-pill{min-width:18px;height:18px;padding:0 4px;font-size:9px}

  .admin-topbar{position:sticky;top:0}
  .admin-shell{display:block!important}
  .admin-sidebar{position:sticky!important;top:64px!important;bottom:auto!important;left:auto!important;right:auto!important;width:100%!important;height:auto!important;padding:6px!important;overflow:visible!important}
  .admin-sidebar nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%!important;min-width:0!important;max-height:none!important;overflow:visible!important;gap:5px!important;position:static!important}
  .admin-sidebar a,.admin-settings-nav{width:100%!important;min-width:0!important;min-height:38px!important;padding:6px 5px!important;white-space:normal!important;font-size:10px!important;text-align:center;justify-content:center!important}
  .admin-sidebar a>span,.admin-settings-nav>span{justify-content:center;gap:4px;min-width:0}
  .admin-sidebar .ui-icon{width:14px;height:14px}
  .admin-sidebar .nav-badge{position:absolute;right:3px;top:3px;min-width:16px;height:16px;font-size:8px;padding:0 3px}
  .admin-sidebar a,.admin-settings-nav{position:relative}
  .admin-content{padding:12px!important;padding-bottom:24px!important}
  .wallet-admin-adjust-actions{grid-template-columns:1fr}
}
@media(max-width:430px){
  .admin-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .driver-nav-links{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* =========================================================
   2026-10-06 FINAL RESPONSIVE LAYER
   Desktop layout is preserved. Only dark-mode colors are
   hardened globally; layout changes below are <= 1024px.
========================================================= */

/* Mobile-only controls stay completely out of the desktop layout. */
.mobile-nav-toggle,
.mobile-drawer-head,
.mobile-nav-backdrop{
  display:none;
}

/* ---------- DARK MODE HARDENING (COLOR/VISIBILITY ONLY) ---------- */
html.dark-mode body,
body.dark-mode{
  --background:#0f1115;
  --card:#181b20;
  --text:#f5f7fa;
  --muted:#aab1bc;
  --border:#343941;
  background:var(--background)!important;
  color:var(--text)!important;
}

html.dark-mode body .topbar,
body.dark-mode .topbar,
html.dark-mode body .admin-topbar,
body.dark-mode .admin-topbar,
html.dark-mode body .driver-topbar,
body.dark-mode .driver-topbar{
  background:#17191d!important;
  border-color:#343941!important;
  color:#f5f7fa!important;
}

html.dark-mode body .card,
html.dark-mode body .profile-card,
html.dark-mode body .notification-card,
html.dark-mode body .settings-card,
html.dark-mode body .wallet-card,
html.dark-mode body .form-card,
html.dark-mode body .booking-card,
html.dark-mode body .recent-booking-card,
html.dark-mode body .driver-section,
html.dark-mode body .driver-booking-card,
html.dark-mode body .driver-live-card,
html.dark-mode body .driver-wallet-mini,
html.dark-mode body .admin-panel,
html.dark-mode body .admin-stat,
html.dark-mode body .admin-driver-card,
html.dark-mode body .admin-report-card,
html.dark-mode body .admin-filter-bar,
html.dark-mode body .admin-date,
html.dark-mode body .admin-person-block,
html.dark-mode body .admin-topup-card,
html.dark-mode body .wallet-hub-pane,
html.dark-mode body .linked-provider,
html.dark-mode body .selected-admin-account,
html.dark-mode body .reference-number-wrap,
body.dark-mode .card,
body.dark-mode .profile-card,
body.dark-mode .notification-card,
body.dark-mode .settings-card,
body.dark-mode .wallet-card,
body.dark-mode .form-card,
body.dark-mode .booking-card,
body.dark-mode .recent-booking-card,
body.dark-mode .driver-section,
body.dark-mode .driver-booking-card,
body.dark-mode .driver-live-card,
body.dark-mode .driver-wallet-mini,
body.dark-mode .admin-panel,
body.dark-mode .admin-stat,
body.dark-mode .admin-driver-card,
body.dark-mode .admin-report-card,
body.dark-mode .admin-filter-bar,
body.dark-mode .admin-date,
body.dark-mode .admin-person-block,
body.dark-mode .admin-topup-card,
body.dark-mode .wallet-hub-pane,
body.dark-mode .linked-provider,
body.dark-mode .selected-admin-account,
body.dark-mode .reference-number-wrap{
  background:#1a1d22!important;
  border-color:#353b44!important;
  color:#f4f6f8!important;
}

html.dark-mode body input,
html.dark-mode body select,
html.dark-mode body textarea,
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea{
  background:#121419!important;
  border-color:#3f4650!important;
  color:#f7f8fa!important;
  color-scheme:dark;
}

html.dark-mode body input::placeholder,
html.dark-mode body textarea::placeholder,
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder{
  color:#9299a4!important;
  opacity:1!important;
}

html.dark-mode body select option,
body.dark-mode select option{
  background:#17191d!important;
  color:#f7f8fa!important;
}

html.dark-mode body .account-dropdown,
html.dark-mode body .driver-settings-popup,
html.dark-mode body .admin-settings-popup,
html.dark-mode body .toda-modal,
html.dark-mode body .document-viewer-dialog,
html.dark-mode body .admin-notification-dropdown,
html.dark-mode body .admin-notification-head,
body.dark-mode .account-dropdown,
body.dark-mode .driver-settings-popup,
body.dark-mode .admin-settings-popup,
body.dark-mode .toda-modal,
body.dark-mode .document-viewer-dialog,
body.dark-mode .admin-notification-dropdown,
body.dark-mode .admin-notification-head{
  background:#1a1d22!important;
  border-color:#393f48!important;
  color:#f5f7fa!important;
}

html.dark-mode body .account-user,
body.dark-mode .account-user,
html.dark-mode body .customer-details-box,
body.dark-mode .customer-details-box,
html.dark-mode body .driver-booking-meta span,
body.dark-mode .driver-booking-meta span,
html.dark-mode body .rating-summary-readonly span,
body.dark-mode .rating-summary-readonly span{
  background:#24282f!important;
  color:#f0f2f5!important;
}

html.dark-mode body .admin-table th,
body.dark-mode .admin-table th,
html.dark-mode body .wallet-table th,
body.dark-mode .wallet-table th{
  background:#252930!important;
  color:#dfe3e8!important;
  border-color:#383e47!important;
}

html.dark-mode body .admin-table td,
body.dark-mode .admin-table td,
html.dark-mode body .wallet-table td,
body.dark-mode .wallet-table td{
  background:#1a1d22!important;
  color:#eef1f4!important;
  border-color:#343a43!important;
}

html.dark-mode body .admin-table td small,
html.dark-mode body .admin-panel-head p,
html.dark-mode body .admin-page-heading p,
html.dark-mode body .admin-driver-head p,
html.dark-mode body .recent-booking-top small,
html.dark-mode body .recent-meta-grid small,
html.dark-mode body .recent-route small,
body.dark-mode .admin-table td small,
body.dark-mode .admin-panel-head p,
body.dark-mode .admin-page-heading p,
body.dark-mode .admin-driver-head p,
body.dark-mode .recent-booking-top small,
body.dark-mode .recent-meta-grid small,
body.dark-mode .recent-route small{
  color:#abb2bc!important;
}

html.dark-mode body .btn.secondary,
body.dark-mode .btn.secondary{
  background:#24282f!important;
  border-color:#414853!important;
  color:#f4f6f8!important;
}

html.dark-mode body .admin-global-alert,
body.dark-mode .admin-global-alert{
  background:#272b31!important;
  color:#f7f8fa!important;
}

html.dark-mode body .admin-status:not(.completed):not(.resolved):not(.active):not(.verified):not(.accepted):not(.reviewing):not(.on-the-way):not(.searching-driver):not(.submitted):not(.cancelled):not(.dismissed):not(.suspended):not(.rejected),
body.dark-mode .admin-status:not(.completed):not(.resolved):not(.active):not(.verified):not(.accepted):not(.reviewing):not(.on-the-way):not(.searching-driver):not(.submitted):not(.cancelled):not(.dismissed):not(.suspended):not(.rejected){
  background:#2a2f36!important;
  color:#e8ebef!important;
}

html.dark-mode body hr,
body.dark-mode hr{
  border-color:#353b44!important;
}

/* ---------- NEW MOBILE/TABLET EXPERIENCE ---------- */
@media (max-width:1024px){
  html,
  body{
    max-width:100%;
    overflow-x:hidden!important;
  }

  body.admin-mobile-nav-open,
  body.driver-mobile-nav-open{
    overflow:hidden!important;
  }

  .container{
    width:calc(100% - 32px)!important;
    max-width:none!important;
  }

  .mobile-nav-toggle{
    width:44px;
    height:44px;
    flex:0 0 44px;
    border:1px solid var(--border);
    border-radius:13px;
    background:var(--card);
    color:var(--text);
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:4px;
    padding:0;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }

  .mobile-nav-toggle span{
    display:block;
    width:18px;
    height:2px;
    border-radius:999px;
    background:currentColor;
  }

  .mobile-drawer-head{
    min-height:62px;
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:10px 14px 10px 16px;
    border-bottom:1px solid rgba(255,255,255,.14);
    color:#fff;
  }

  .mobile-drawer-head strong{
    color:inherit!important;
    font-size:15px;
  }

  .mobile-drawer-close{
    width:42px;
    height:42px;
    border:0;
    border-radius:12px;
    background:rgba(255,255,255,.1);
    color:#fff;
    font-size:28px;
    line-height:1;
    cursor:pointer;
  }

  .mobile-nav-backdrop:not([hidden]){
    display:block!important;
    position:fixed;
    inset:0;
    z-index:4990;
    background:rgba(7,10,15,.62);
    backdrop-filter:blur(3px);
    -webkit-backdrop-filter:blur(3px);
  }

  /* Customer portal: compact top bar + native-app style bottom nav. */
  body[data-logged-in="1"]{
    padding-bottom:calc(78px + env(safe-area-inset-bottom))!important;
  }

  body[data-logged-in="1"] .topbar:not(.driver-topbar){
    min-height:64px!important;
    background:rgba(255,255,255,.96)!important;
    border-bottom:1px solid var(--border)!important;
    box-shadow:0 8px 24px rgba(15,23,42,.08)!important;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
  }

  body[data-logged-in="1"] .topbar:not(.driver-topbar) .nav{
    width:calc(100% - 28px)!important;
    min-height:64px!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    padding:7px 0!important;
  }

  body[data-logged-in="1"] .topbar:not(.driver-topbar) .toda-logo-link{
    max-width:148px!important;
    overflow:visible!important;
  }

  body[data-logged-in="1"] .topbar:not(.driver-topbar) .toda-logo{
    height:42px!important;
    max-width:144px!important;
  }

  body[data-logged-in="1"] .customer-main-tabs{
    position:fixed!important;
    left:8px!important;
    right:8px!important;
    bottom:8px!important;
    z-index:4500!important;
    width:auto!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;
    margin:0!important;
    padding:6px 6px calc(6px + env(safe-area-inset-bottom))!important;
    background:rgba(255,255,255,.97)!important;
    border:1px solid #dfe3e8!important;
    border-radius:20px!important;
    box-shadow:0 16px 40px rgba(15,23,42,.18)!important;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
  }

  body[data-logged-in="1"] .customer-main-tabs a{
    min-width:0!important;
    min-height:55px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    padding:6px 2px!important;
    border-radius:14px!important;
    color:#30343a!important;
    background:transparent!important;
    font-size:9.5px!important;
    line-height:1.05!important;
    white-space:normal!important;
    text-align:center!important;
    overflow-wrap:anywhere!important;
  }

  body[data-logged-in="1"] .customer-main-tabs a::before{
    display:block;
    font-size:18px;
    line-height:1;
    font-weight:900;
  }
  body[data-logged-in="1"] .customer-main-tabs a:nth-child(1)::before{content:"⌂";}
  body[data-logged-in="1"] .customer-main-tabs a:nth-child(2)::before{content:"＋";}
  body[data-logged-in="1"] .customer-main-tabs a:nth-child(3)::before{content:"↻";}
  body[data-logged-in="1"] .customer-main-tabs a:nth-child(4)::before{content:"●";font-size:14px;}

  body[data-logged-in="1"] .customer-main-tabs a:hover,
  body[data-logged-in="1"] .customer-main-tabs a:active,
  body[data-logged-in="1"] .customer-main-tabs a:focus-visible{
    background:#fff0f3!important;
    color:#b30e28!important;
    outline:none!important;
  }

  body[data-logged-in="1"] .account-wrapper{
    margin-left:auto!important;
    min-width:44px!important;
  }

  body[data-logged-in="1"] .account-button{
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    padding:3px!important;
    border-radius:14px!important;
    background:#f5f6f8!important;
  }

  body[data-logged-in="1"] .account-button .profile-avatar{
    width:36px!important;
    height:36px!important;
    flex:0 0 36px!important;
  }

  body[data-logged-in="1"] .account-button>span:not(.profile-avatar):not(.notification-badge){
    display:none!important;
  }

  body[data-logged-in="1"] .account-dropdown{
    position:fixed!important;
    top:70px!important;
    right:12px!important;
    left:12px!important;
    width:auto!important;
    max-height:calc(100dvh - 92px)!important;
    overflow-y:auto!important;
    border-radius:20px!important;
    z-index:4800!important;
  }

  html.dark-mode body[data-logged-in="1"] .topbar:not(.driver-topbar),
  body.dark-mode[data-logged-in="1"] .topbar:not(.driver-topbar){
    background:rgba(23,25,29,.97)!important;
    border-color:#363b43!important;
  }

  html.dark-mode body[data-logged-in="1"] .customer-main-tabs,
  body.dark-mode[data-logged-in="1"] .customer-main-tabs{
    background:rgba(25,28,33,.97)!important;
    border-color:#3b414a!important;
    box-shadow:0 16px 40px rgba(0,0,0,.42)!important;
  }

  html.dark-mode body[data-logged-in="1"] .customer-main-tabs a,
  body.dark-mode[data-logged-in="1"] .customer-main-tabs a{
    color:#f1f3f5!important;
  }

  html.dark-mode body[data-logged-in="1"] .customer-main-tabs a:hover,
  html.dark-mode body[data-logged-in="1"] .customer-main-tabs a:active,
  body.dark-mode[data-logged-in="1"] .customer-main-tabs a:hover,
  body.dark-mode[data-logged-in="1"] .customer-main-tabs a:active{
    background:#3a171d!important;
    color:#ff9cab!important;
  }

  html.dark-mode body[data-logged-in="1"] .account-button,
  body.dark-mode[data-logged-in="1"] .account-button{
    background:#24282f!important;
    color:#f5f7fa!important;
  }

  /* Driver portal: dedicated slide-out mobile menu. */
  .driver-topbar{
    min-height:64px!important;
    border-bottom-width:1px!important;
  }

  .driver-topbar .nav{
    width:calc(100% - 28px)!important;
    min-height:64px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"driverlogo drivermenu"!important;
    align-items:center!important;
    gap:10px!important;
    padding:7px 0!important;
  }

  .driver-topbar .toda-logo-link{
    grid-area:driverlogo!important;
    justify-self:start!important;
    min-width:0!important;
    max-width:190px!important;
  }

  .driver-topbar .toda-logo{
    height:42px!important;
    max-width:142px!important;
  }

  .driver-topbar .portal-label{
    display:inline-flex!important;
    margin-left:6px!important;
    padding:4px 6px!important;
    font-size:8px!important;
  }

  .driver-mobile-nav-toggle{
    display:flex!important;
    grid-area:drivermenu!important;
    justify-self:end!important;
  }

  .driver-nav-links{
    position:fixed!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    z-index:5000!important;
    width:min(86vw,330px)!important;
    height:100dvh!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:5px!important;
    padding:0 12px calc(18px + env(safe-area-inset-bottom))!important;
    background:#16191e!important;
    border-left:1px solid #333943!important;
    box-shadow:-20px 0 55px rgba(0,0,0,.32)!important;
    overflow-y:auto!important;
    transform:translateX(105%)!important;
    transition:transform .22s ease!important;
  }

  body.driver-mobile-nav-open .driver-nav-links{
    transform:translateX(0)!important;
  }

  .driver-nav-links .mobile-drawer-head{
    margin:0 -12px 5px!important;
  }

  .driver-nav-links>a,
  .driver-nav-links>.driver-settings-trigger{
    width:100%!important;
    min-height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:9px!important;
    padding:11px 13px!important;
    border:0!important;
    border-radius:13px!important;
    background:transparent!important;
    color:#edf1f5!important;
    font-size:14px!important;
    font-weight:800!important;
    text-align:left!important;
    white-space:normal!important;
  }

  .driver-nav-links>a:hover,
  .driver-nav-links>a:active,
  .driver-nav-links>.driver-settings-trigger:hover,
  .driver-nav-links>.driver-settings-trigger:active{
    background:#2d171c!important;
    color:#ff99a8!important;
  }

  .driver-nav-links .driver-logout{
    margin-top:auto!important;
    background:#35161d!important;
    color:#ff9cab!important;
  }

  .driver-nav-links .count-pill{
    margin-left:auto!important;
    min-width:22px!important;
    height:22px!important;
    padding:0 6px!important;
    font-size:10px!important;
  }

  /* Admin portal: slide-out menu; content is never pushed or overlapped. */
  .admin-topbar{
    height:64px!important;
    min-height:64px!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
    padding:7px 12px!important;
  }

  .admin-mobile-nav-toggle{
    display:flex!important;
  }

  .admin-brand{
    min-width:0!important;
    gap:7px!important;
  }

  .admin-brand img{
    height:40px!important;
    max-width:122px!important;
  }

  .admin-brand span,
  .admin-name{
    display:none!important;
  }

  .admin-top-actions{
    gap:7px!important;
  }

  .admin-global-alert{
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
  }

  .admin-logout-btn{
    min-height:42px!important;
    padding:8px 10px!important;
    border-radius:11px!important;
    font-size:11px!important;
    white-space:nowrap!important;
  }

  .admin-shell{
    display:block!important;
    min-height:calc(100dvh - 64px)!important;
  }

  .admin-sidebar{
    position:fixed!important;
    top:0!important;
    left:0!important;
    bottom:0!important;
    z-index:5000!important;
    width:min(86vw,330px)!important;
    height:100dvh!important;
    padding:0 12px calc(18px + env(safe-area-inset-bottom))!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    background:#111d2b!important;
    border-right:1px solid rgba(255,255,255,.12)!important;
    box-shadow:20px 0 55px rgba(0,0,0,.32)!important;
    transform:translateX(-105%)!important;
    transition:transform .22s ease!important;
  }

  body.admin-mobile-nav-open .admin-sidebar{
    transform:translateX(0)!important;
  }

  .admin-sidebar .mobile-drawer-head{
    margin:0 -12px 5px!important;
  }

  .admin-sidebar nav{
    position:static!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
    max-height:none!important;
    overflow:visible!important;
    gap:5px!important;
    padding-top:4px!important;
  }

  .admin-sidebar a,
  .admin-settings-nav{
    position:relative!important;
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:9px!important;
    padding:11px 12px!important;
    border-radius:13px!important;
    font-size:13px!important;
    line-height:1.2!important;
    white-space:normal!important;
    text-align:left!important;
  }

  .admin-sidebar a>span,
  .admin-settings-nav>span{
    justify-content:flex-start!important;
    gap:9px!important;
  }

  .admin-sidebar .ui-icon{
    width:18px!important;
    height:18px!important;
  }

  .admin-sidebar .nav-badge{
    position:static!important;
    flex:0 0 auto!important;
    margin-left:auto!important;
    min-width:22px!important;
    height:22px!important;
    padding:0 6px!important;
    font-size:10px!important;
  }

  .admin-content{
    width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
    padding:18px 16px 30px!important;
  }

  .admin-notification-dropdown{
    position:fixed!important;
    top:70px!important;
    right:12px!important;
    left:12px!important;
    width:auto!important;
    max-height:calc(100dvh - 90px)!important;
  }

  /* Mobile content system shared across all portals. */
  .dashboard,
  .driver-dashboard,
  .recent-bookings-page,
  .profile-page,
  .notification-page,
  .settings-page,
  .wallet-page,
  .form-page,
  .chat-page{
    padding-top:16px!important;
    padding-bottom:28px!important;
  }

  .hero,
  .driver-hero,
  .recent-bookings-hero,
  .settings-hero,
  .driver-wallet-hero,
  .driver-insufficient-banner{
    width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:14px!important;
    padding:20px!important;
    border-radius:20px!important;
  }

  .hero .btn,
  .driver-hero .btn,
  .recent-bookings-hero .btn,
  .settings-hero .btn,
  .driver-wallet-hero .btn,
  .driver-insufficient-banner .btn{
    width:100%!important;
    min-height:48px!important;
    margin:0!important;
  }

  .dashboard-info-grid,
  .quick-grid,
  .profile-grid,
  .settings-layout,
  .driver-booking-grid,
  .active-driver-ride,
  .driver-rule-grid,
  .wallet-hub-grid,
  .admin-stat-grid,
  .admin-two-column,
  .admin-driver-grid,
  .admin-report-body,
  .payment-request-grid,
  .document-upload-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }

  .admin-page-heading,
  .admin-panel-head,
  .section-heading,
  .recent-booking-top,
  .payment-review-row,
  .provider-title{
    flex-direction:column!important;
    align-items:stretch!important;
    gap:10px!important;
  }

  .admin-page-heading h1{
    font-size:clamp(24px,7vw,30px)!important;
  }

  .admin-date,
  .request-count-card{
    width:100%!important;
  }

  .admin-panel,
  .admin-driver-card,
  .admin-report-card,
  .driver-section,
  .driver-booking-card,
  .recent-booking-card,
  .settings-card,
  .wallet-card,
  .profile-card,
  .notification-card{
    min-width:0!important;
    width:100%!important;
    padding:16px!important;
    border-radius:17px!important;
    overflow-wrap:anywhere!important;
  }

  .admin-filter-bar,
  .admin-report-actions,
  .admin-driver-actions,
  .inline-actions,
  .recent-actions,
  .customer-ride-actions,
  .driver-action-row,
  .pickup-location-actions,
  .topup-actions{
    width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:9px!important;
  }

  .admin-filter-bar input,
  .admin-filter-bar select,
  .admin-report-actions select,
  .admin-driver-actions select,
  .form-group input,
  .form-group select,
  .form-group textarea,
  .wallet-form input,
  .wallet-form select,
  .wallet-form textarea{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }

  .admin-content .btn,
  .admin-content button.btn,
  .admin-report-actions .btn,
  .admin-driver-actions .btn,
  .inline-actions .btn,
  .recent-actions .btn,
  .recent-actions form,
  .recent-actions form .btn,
  .customer-ride-actions .btn,
  .driver-action-row .btn,
  .driver-action-row form,
  .driver-action-row form .btn,
  .pickup-location-actions .btn,
  .topup-actions .btn{
    width:100%!important;
    min-width:0!important;
    min-height:46px!important;
    margin:0!important;
  }

  .booking-status-tabs{
    display:flex!important;
    overflow-x:auto!important;
    gap:7px!important;
    padding:3px 0 10px!important;
    scrollbar-width:none;
  }
  .booking-status-tabs::-webkit-scrollbar{display:none;}
  .booking-status-tabs a{
    flex:0 0 auto!important;
    min-height:42px!important;
    display:inline-flex!important;
    align-items:center!important;
  }

  .admin-table-wrap,
  .wallet-table-wrap,
  .table-wrap{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
    border-radius:13px;
  }

  .admin-table,
  .wallet-table{
    min-width:720px;
  }

  .admin-table-wide{
    min-width:1100px!important;
  }

  .license-preview,
  .assigned-driver-card{
    align-items:stretch!important;
  }

  .license-preview img,
  .document-preview,
  .document-preview-wrap img,
  .admin-report-card img,
  .driver-section img{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:52dvh!important;
    object-fit:contain!important;
  }

  .toda-modal-overlay,
  .driver-settings-modal,
  .admin-settings-modal,
  .document-viewer{
    padding:12px!important;
  }

  .toda-modal,
  .driver-settings-popup,
  .admin-settings-popup,
  .document-viewer-dialog{
    width:calc(100vw - 24px)!important;
    max-width:560px!important;
    max-height:90dvh!important;
    overflow-y:auto!important;
    border-radius:18px!important;
  }

  .document-viewer-dialog img{
    width:100%!important;
    max-width:100%!important;
    max-height:75dvh!important;
    object-fit:contain!important;
  }

  .chat-shell{
    width:100%!important;
    border-radius:17px!important;
  }

  .chat-messages{
    height:min(52dvh,480px)!important;
  }

  .chat-form{
    grid-template-columns:1fr!important;
  }

  .chat-send-btn{
    width:100%!important;
    min-height:48px!important;
  }

  .current-time{
    font-size:clamp(30px,9vw,44px)!important;
  }

  .weather-details{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (max-width:640px){
  .container{
    width:calc(100% - 24px)!important;
  }

  body[data-logged-in="1"] .topbar:not(.driver-topbar) .nav,
  .driver-topbar .nav{
    width:calc(100% - 22px)!important;
  }

  body[data-logged-in="1"] .topbar:not(.driver-topbar) .toda-logo{
    height:38px!important;
    max-width:124px!important;
  }

  .driver-topbar .toda-logo{
    height:38px!important;
    max-width:122px!important;
  }

  .driver-topbar .portal-label{
    font-size:7px!important;
  }

  .admin-brand img{
    height:36px!important;
    max-width:108px!important;
  }

  .admin-logout-btn{
    padding:7px 8px!important;
    font-size:10px!important;
  }

  .admin-content{
    padding:14px 12px 26px!important;
  }

  .hero,
  .driver-hero,
  .recent-bookings-hero,
  .settings-hero,
  .driver-wallet-hero,
  .driver-insufficient-banner{
    padding:17px!important;
  }

  .admin-panel,
  .admin-driver-card,
  .admin-report-card,
  .driver-section,
  .driver-booking-card,
  .recent-booking-card,
  .settings-card,
  .wallet-card,
  .profile-card,
  .notification-card{
    padding:14px!important;
  }

  .admin-driver-head{
    align-items:flex-start!important;
  }

  .admin-driver-info{
    grid-template-columns:1fr!important;
  }

  .recent-meta-grid{
    grid-template-columns:1fr!important;
  }

  .weather-details{
    grid-template-columns:1fr!important;
  }
}

@media (max-width:390px){
  .admin-topbar{
    padding-inline:8px!important;
    gap:6px!important;
  }

  .admin-brand img{
    max-width:92px!important;
  }

  .admin-global-alert,
  .admin-mobile-nav-toggle{
    width:40px!important;
    height:40px!important;
    flex-basis:40px!important;
  }

  .admin-logout-btn{
    min-height:40px!important;
    padding-inline:7px!important;
    font-size:9px!important;
  }

  body[data-logged-in="1"] .customer-main-tabs{
    left:6px!important;
    right:6px!important;
    bottom:6px!important;
    gap:3px!important;
    padding-inline:4px!important;
  }

  body[data-logged-in="1"] .customer-main-tabs a{
    min-height:52px!important;
    font-size:8.5px!important;
  }

  body[data-logged-in="1"] .customer-main-tabs a::before{
    font-size:16px!important;
  }
}


/* =========================================================
   2026-10-06 MOBILE NAV COMPLETION PATCH
   Passenger + Driver use the same top-left hamburger / drawer
   pattern as Admin. Desktop/PC remains untouched.
========================================================= */
.customer-mobile-drawer{display:none;}

@media (max-width:1024px){
  body.customer-mobile-nav-open,
  body.driver-mobile-nav-open{
    overflow:hidden!important;
  }

  /* PASSENGER: replace incomplete bottom tabs with full drawer navigation. */
  body[data-logged-in="1"]{
    padding-bottom:0!important;
  }

  body[data-logged-in="1"] .customer-topbar .nav{
    width:calc(100% - 24px)!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    grid-template-areas:"passmenu passlogo passaccount"!important;
    align-items:center!important;
    gap:8px!important;
  }

  .customer-mobile-nav-toggle{
    display:flex!important;
    grid-area:passmenu!important;
    justify-self:start!important;
  }

  body[data-logged-in="1"] .customer-topbar .toda-logo-link{
    grid-area:passlogo!important;
    justify-self:start!important;
    max-width:150px!important;
    min-width:0!important;
  }

  body[data-logged-in="1"] .customer-topbar .account-wrapper{
    grid-area:passaccount!important;
    justify-self:end!important;
    margin-left:0!important;
  }

  body[data-logged-in="1"] .customer-main-tabs{
    display:none!important;
  }

  .customer-mobile-drawer{
    position:fixed!important;
    top:0!important;
    left:0!important;
    bottom:0!important;
    z-index:5000!important;
    width:min(86vw,330px)!important;
    height:100dvh!important;
    display:flex!important;
    flex-direction:column!important;
    padding:0 12px calc(18px + env(safe-area-inset-bottom))!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    background:#111d2b!important;
    border-right:1px solid rgba(255,255,255,.12)!important;
    box-shadow:20px 0 55px rgba(0,0,0,.32)!important;
    transform:translateX(-105%)!important;
    transition:transform .22s ease!important;
  }

  body.customer-mobile-nav-open .customer-mobile-drawer{
    transform:translateX(0)!important;
  }

  .customer-mobile-drawer .mobile-drawer-head{
    margin:0 -12px 4px!important;
  }

  .customer-mobile-user{
    display:flex!important;
    align-items:center!important;
    gap:11px!important;
    margin:10px 2px 8px!important;
    padding:12px!important;
    border:1px solid rgba(255,255,255,.10)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.06)!important;
    color:#fff!important;
  }

  .customer-mobile-user .profile-avatar{
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
  }

  .customer-mobile-user>div:last-child{
    min-width:0!important;
  }

  .customer-mobile-user strong,
  .customer-mobile-user small{
    display:block!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  .customer-mobile-user small{
    margin-top:2px!important;
    color:#b9c5d2!important;
    font-size:11px!important;
  }

  .customer-mobile-menu{
    display:flex!important;
    flex-direction:column!important;
    gap:5px!important;
    width:100%!important;
    padding-top:3px!important;
  }

  .customer-mobile-menu>a,
  .customer-mobile-theme{
    position:relative!important;
    width:100%!important;
    min-height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:9px!important;
    padding:11px 12px!important;
    border:0!important;
    border-radius:13px!important;
    background:transparent!important;
    color:#edf1f5!important;
    text-decoration:none!important;
    font-size:13px!important;
    font-weight:800!important;
    line-height:1.2!important;
    text-align:left!important;
    white-space:normal!important;
    cursor:pointer!important;
  }

  .customer-mobile-menu>a>span:first-child,
  .customer-mobile-theme>span:first-child{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:9px!important;
    min-width:0!important;
  }

  .customer-mobile-menu .ui-icon{
    width:18px!important;
    height:18px!important;
    flex:0 0 18px!important;
  }

  .customer-mobile-menu>a:hover,
  .customer-mobile-menu>a:active,
  .customer-mobile-menu>a.active,
  .customer-mobile-theme:hover{
    background:#1b3652!important;
    color:#fff!important;
  }

  .customer-mobile-menu .menu-count{
    margin-left:auto!important;
    min-width:22px!important;
    height:22px!important;
    padding:0 6px!important;
    display:inline-flex;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    background:#dc1434!important;
    color:#fff!important;
    font-size:10px!important;
    font-weight:900!important;
  }

  .customer-mobile-theme input{
    position:absolute!important;
    opacity:0!important;
    pointer-events:none!important;
  }

  .customer-mobile-theme .toggle-switch{
    flex:0 0 auto!important;
  }

  .customer-mobile-logout{
    margin-top:6px!important;
    background:#35161d!important;
    color:#ff9cab!important;
  }

  .customer-mobile-nav-backdrop{
    z-index:4950!important;
  }

  /* DRIVER: same placement and left-side drawer behavior as Admin. */
  .driver-topbar .nav{
    grid-template-columns:auto minmax(0,1fr)!important;
    grid-template-areas:"drivermenu driverlogo"!important;
  }

  .driver-mobile-nav-toggle{
    grid-area:drivermenu!important;
    justify-self:start!important;
  }

  .driver-topbar .toda-logo-link{
    grid-area:driverlogo!important;
    justify-self:start!important;
  }

  .driver-nav-links{
    left:0!important;
    right:auto!important;
    background:#111d2b!important;
    border-left:0!important;
    border-right:1px solid rgba(255,255,255,.12)!important;
    box-shadow:20px 0 55px rgba(0,0,0,.32)!important;
    transform:translateX(-105%)!important;
  }

  body.driver-mobile-nav-open .driver-nav-links{
    transform:translateX(0)!important;
  }

  .driver-mobile-nav-backdrop{
    z-index:4950!important;
  }

  .driver-nav-links>a:hover,
  .driver-nav-links>a:active,
  .driver-nav-links>.driver-settings-trigger:hover,
  .driver-nav-links>.driver-settings-trigger:active{
    background:#1b3652!important;
    color:#fff!important;
  }
}

@media (max-width:390px){
  body[data-logged-in="1"] .customer-topbar .nav,
  .driver-topbar .nav{
    width:calc(100% - 16px)!important;
    gap:6px!important;
  }

  body[data-logged-in="1"] .customer-topbar .toda-logo{
    max-width:112px!important;
    height:39px!important;
  }

  .driver-topbar .toda-logo{
    max-width:112px!important;
    height:39px!important;
  }

  .driver-topbar .portal-label{
    font-size:7px!important;
    padding-inline:4px!important;
  }
}


/* =========================================================
   2026-10-06 MOBILE-ONLY FORM/NAV/APPLICANT PATCH
   PC/desktop layout remains unchanged.
========================================================= */
.mobile-applicant-search{display:none;}

@media (max-width:1024px){
  /* Driver drawer must stay crisp: dim the page without blurring the drawer/UI. */
  .driver-topbar{
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .driver-nav-links{
    filter:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    isolation:isolate!important;
  }
  .driver-mobile-nav-backdrop:not([hidden]){
    background:rgba(7,10,15,.64)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  body.driver-mobile-nav-open .driver-nav-links,
  body.driver-mobile-nav-open .driver-nav-links *{
    filter:none!important;
  }

  /* Admin applicants: mobile-only name search. */
  .mobile-applicant-search{
    display:block!important;
    width:100%;
    margin:0 0 14px;
    padding:12px;
    border:1px solid var(--border);
    border-radius:16px;
    background:var(--card);
    color:var(--text);
    box-shadow:0 8px 22px rgba(15,23,42,.06);
  }
  .mobile-applicant-search label{
    display:block;
    margin:0 0 8px;
    font-size:12px;
    font-weight:900;
    color:inherit;
  }
  .mobile-applicant-search-row{
    position:relative;
    display:flex;
    align-items:center;
    gap:8px;
  }
  .mobile-applicant-search-row input{
    width:100%!important;
    min-width:0!important;
    min-height:46px!important;
    margin:0!important;
    padding:10px 44px 10px 12px!important;
    border-radius:12px!important;
    font-size:16px!important;
  }
  .mobile-applicant-search-row button{
    position:absolute;
    right:5px;
    top:50%;
    transform:translateY(-50%);
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:10px;
    background:transparent;
    color:var(--muted);
    font-size:24px;
    line-height:1;
    cursor:pointer;
  }
  .mobile-applicant-search-row button[hidden]{display:none!important;}
  .mobile-applicant-search small{
    display:block;
    min-height:16px;
    margin:7px 2px 0;
    color:var(--muted);
    font-size:11px;
    font-weight:700;
  }
  .admin-driver-card.mobile-applicant-hidden{
    display:none!important;
  }

  html.dark-mode body .mobile-applicant-search,
  body.dark-mode .mobile-applicant-search{
    background:#1a1d22!important;
    border-color:#353b44!important;
    color:#f4f6f8!important;
  }
}

/* =========================================================
   2026-10-06 DRIVER MOBILE DRAWER CLICK/TEXT FIX
   MOBILE/TABLET ONLY — desktop/PC remains unchanged.
========================================================= */
@media (max-width:1024px){
  /* Keep the entire Driver header/drawer stacking context above its backdrop.
     The drawer is a fixed child of .driver-topbar, so the parent stacking
     context must also sit above the backdrop for links to receive taps. */
  body.driver-body.driver-mobile-nav-open .driver-topbar{
    z-index:5100!important;
  }

  body.driver-body .driver-mobile-nav-backdrop{
    z-index:5000!important;
    pointer-events:auto!important;
  }

  body.driver-body .driver-nav-links{
    z-index:5200!important;
    pointer-events:auto!important;
    opacity:1!important;
    visibility:visible!important;
  }

  body.driver-body .driver-nav-links .mobile-drawer-head,
  body.driver-body .driver-nav-links .mobile-drawer-head strong,
  body.driver-body .driver-nav-links>a,
  body.driver-body .driver-nav-links>.driver-settings-trigger{
    color:#fff!important;
    opacity:1!important;
    pointer-events:auto!important;
  }

  body.driver-body .driver-nav-links>a,
  body.driver-body .driver-nav-links>.driver-settings-trigger{
    position:relative!important;
    z-index:1!important;
    cursor:pointer!important;
    -webkit-tap-highlight-color:rgba(255,255,255,.08)!important;
    touch-action:manipulation!important;
  }

  body.driver-body .driver-nav-links .mobile-drawer-close{
    position:relative!important;
    z-index:2!important;
    color:#fff!important;
    pointer-events:auto!important;
    cursor:pointer!important;
    touch-action:manipulation!important;
  }

  body.driver-body .driver-nav-links .driver-logout,
  html.dark-mode body.driver-body .driver-nav-links .driver-logout,
  body.driver-body.dark-mode .driver-nav-links .driver-logout{
    color:#fff!important;
  }

  html.dark-mode body.driver-body .driver-nav-links>a,
  html.dark-mode body.driver-body .driver-nav-links>.driver-settings-trigger,
  body.driver-body.dark-mode .driver-nav-links>a,
  body.driver-body.dark-mode .driver-nav-links>.driver-settings-trigger{
    color:#fff!important;
  }

  /* Never let the floating language switch sit above or steal taps from
     the Driver drawer. It returns automatically after the drawer closes. */
  body.driver-body.driver-mobile-nav-open .language-switch{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}

/* Admin driver documents: License + OR/CR on desktop and mobile */
.admin-doc-unavailable{opacity:.58!important;cursor:not-allowed!important;pointer-events:none!important;text-align:center!important;justify-content:center!important}
.admin-driver-doc-actions{margin:4px 0 12px}
@media(max-width:620px){.admin-driver-doc-actions{grid-template-columns:1fr!important}.admin-driver-doc-actions .btn,.admin-driver-doc-actions .admin-doc-unavailable{width:100%!important}}


/* 2026-10-07 targeted admin notification + mobile landing fixes */
.nav-badge[hidden],.admin-global-alert b:empty{display:none!important}

@media (max-width:760px){
  /* Landing page only — desktop layout remains unchanged. */
  .hatid-landing-page{overflow-x:hidden}
  .hatid-landing-page .hatid-promo-hero{padding:10px 12px 42px!important}
  .hatid-landing-page .hatid-promo-nav{
    width:100%!important;
    min-height:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
    padding:10px!important;
    border-radius:16px!important;
  }
  .hatid-landing-page .landing-brand{
    display:flex!important;
    justify-content:center!important;
    margin:0!important;
  }
  .hatid-landing-page .hatid-promo-nav .landing-brand img{
    width:auto!important;
    height:46px!important;
    max-width:148px!important;
    object-fit:contain!important;
  }
  .hatid-landing-page .landing-nav-actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .hatid-landing-page .landing-nav-actions a{
    min-width:0!important;
    min-height:40px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:8px 7px!important;
    border:1px solid rgba(217,22,50,.12)!important;
    border-radius:10px!important;
    background:#fff!important;
    font-size:11px!important;
    line-height:1.15!important;
    text-align:center!important;
    white-space:normal!important;
  }
  .hatid-landing-page .hatid-promo-content{
    width:100%!important;
    margin:18px auto 0!important;
    gap:14px!important;
  }
  .hatid-landing-page .landing-logo-stage{
    order:-1!important;
    width:100%!important;
    min-height:190px!important;
    margin:0 auto!important;
  }
  .hatid-landing-page .landing-logo-3d{
    width:min(76vw,280px)!important;
    max-width:100%!important;
  }
  .hatid-landing-page .landing-logo-shadow{bottom:13px!important}
  .hatid-landing-page .hatid-hero-copy{
    min-width:0!important;
    text-align:center!important;
  }
  .hatid-landing-page .rosario-chip{
    margin-inline:auto!important;
    max-width:100%!important;
  }
  .hatid-landing-page .hatid-hero-copy h1{
    max-width:100%!important;
    margin:10px auto 12px!important;
    font-size:clamp(34px,10.5vw,46px)!important;
    line-height:1.02!important;
    overflow-wrap:anywhere!important;
  }
  .hatid-landing-page .hatid-hero-copy>p:not(.hatid-eyebrow){
    max-width:34rem!important;
    margin-inline:auto!important;
    font-size:13.5px!important;
    line-height:1.55!important;
  }
  .hatid-landing-page .promo-actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin-top:18px!important;
  }
  .hatid-landing-page .promo-actions .btn{
    width:100%!important;
    min-height:46px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
  }
  .hatid-landing-page .hatid-trust-row{
    display:flex!important;
    justify-content:center!important;
    flex-wrap:wrap!important;
    gap:7px 12px!important;
    margin-top:14px!important;
    font-size:11px!important;
  }
  .hatid-landing-page .hatid-promo-features{
    width:calc(100% - 24px)!important;
    margin:14px auto 28px!important;
    padding:0!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .hatid-landing-page .hatid-promo-features article{
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    padding:18px!important;
    border-radius:17px!important;
  }
  .hatid-landing-page .hatid-promo-features article h3{margin:9px 0 6px!important}
  .hatid-landing-page .hatid-promo-features article p{font-size:13px!important;line-height:1.5!important}
  .hatid-landing-page .landing-faq-section{
    width:calc(100% - 24px)!important;
    margin:14px auto 36px!important;
    padding:22px 16px!important;
    border-radius:20px!important;
  }
  .hatid-landing-page .landing-faq-head{margin-bottom:16px!important}
  .hatid-landing-page .landing-faq-head h2{
    font-size:clamp(25px,8vw,34px)!important;
    line-height:1.08!important;
  }
  .hatid-landing-page .landing-faq-head p{font-size:13px!important;line-height:1.5!important}
  .hatid-landing-page .landing-faq-grid{grid-template-columns:1fr!important;gap:8px!important}
  .hatid-landing-page .landing-faq-grid details{padding:0 13px!important;border-radius:13px!important}
  .hatid-landing-page .landing-faq-grid summary{padding:13px 0!important;font-size:13px!important;line-height:1.35!important}
  .hatid-landing-page .landing-faq-grid p{font-size:12.5px!important;line-height:1.5!important}
  .hatid-landing-page .hatid-landing-cta{
    width:calc(100% - 24px)!important;
    margin:0 auto 24px!important;
    padding:22px 17px!important;
    grid-template-columns:1fr!important;
    gap:15px!important;
    text-align:center!important;
    border-radius:20px!important;
  }
  .hatid-landing-page .hatid-landing-cta h2{
    margin-bottom:0!important;
    font-size:clamp(24px,8vw,34px)!important;
    line-height:1.12!important;
  }
  .hatid-landing-page .hatid-landing-cta .btn{width:100%!important;min-height:46px!important}
  .hatid-landing-page .hatid-landing-footer{
    width:calc(100% - 24px)!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:8px!important;
    margin:0 auto 22px!important;
    padding:0!important;
    text-align:center!important;
    font-size:12px!important;
    line-height:1.5!important;
  }
  .hatid-landing-page .hatid-landing-footer>div{max-width:100%!important;overflow-wrap:anywhere!important}
  .hatid-landing-page .hatid-landing-footer a{display:inline-block!important;margin:2px 3px!important}
}

@media (max-width:360px){
  .hatid-landing-page .landing-nav-actions a{font-size:10px!important;padding-inline:5px!important}
  .hatid-landing-page .landing-logo-stage{min-height:170px!important}
  .hatid-landing-page .landing-logo-3d{width:min(78vw,245px)!important}
  .hatid-landing-page .hatid-hero-copy h1{font-size:clamp(31px,10vw,39px)!important}
}

/* =========================================================
   2026-10-07 ADMIN PORTAL DARK MODE READABILITY FIX ONLY
   Scoped to Admin Portal + dark mode. No layout/logic changes.
========================================================= */
html.dark-mode body.admin-body,
body.admin-body.dark-mode{
  --background:#101114;
  --card:#1b1e23;
  --text:#f4f6f8;
  --muted:#aeb5bf;
  --border:#383e47;
  background:#101114!important;
  color:#f4f6f8!important;
}

html.dark-mode body.admin-body .admin-content,
body.admin-body.dark-mode .admin-content{
  background:#101114!important;
  color:#f4f6f8!important;
}

html.dark-mode body.admin-body .admin-page-heading h1,
html.dark-mode body.admin-body .admin-page-heading h2,
html.dark-mode body.admin-body .admin-page-heading h3,
body.admin-body.dark-mode .admin-page-heading h1,
body.admin-body.dark-mode .admin-page-heading h2,
body.admin-body.dark-mode .admin-page-heading h3{
  color:#f7f8fa!important;
}

html.dark-mode body.admin-body .admin-page-heading p,
html.dark-mode body.admin-body .admin-panel-head p,
html.dark-mode body.admin-body .admin-report-card-head p,
html.dark-mode body.admin-body .admin-report-preview p,
html.dark-mode body.admin-body .admin-driver-head p,
html.dark-mode body.admin-body .admin-empty,
html.dark-mode body.admin-body .muted,
html.dark-mode body.admin-body .field-help,
html.dark-mode body.admin-body .required-fields-note,
body.admin-body.dark-mode .admin-page-heading p,
body.admin-body.dark-mode .admin-panel-head p,
body.admin-body.dark-mode .admin-report-card-head p,
body.admin-body.dark-mode .admin-report-preview p,
body.admin-body.dark-mode .admin-driver-head p,
body.admin-body.dark-mode .admin-empty,
body.admin-body.dark-mode .muted,
body.admin-body.dark-mode .field-help,
body.admin-body.dark-mode .required-fields-note{
  color:#aeb5bf!important;
}

html.dark-mode body.admin-body .admin-eyebrow,
body.admin-body.dark-mode .admin-eyebrow{
  color:#ff8b9b!important;
}

html.dark-mode body.admin-body .admin-panel,
html.dark-mode body.admin-body .admin-stat,
html.dark-mode body.admin-body .admin-driver-card,
html.dark-mode body.admin-body .admin-report-card,
html.dark-mode body.admin-body .admin-filter-bar,
html.dark-mode body.admin-body .admin-date,
html.dark-mode body.admin-body .settings-card,
html.dark-mode body.admin-body .wallet-card,
html.dark-mode body.admin-body .payment-request-card,
html.dark-mode body.admin-body .analytics-filter,
html.dark-mode body.admin-body .youtube-analytics-card,
html.dark-mode body.admin-body .admin-topup-card,
html.dark-mode body.admin-body .linked-provider,
html.dark-mode body.admin-body .mobile-applicant-search,
body.admin-body.dark-mode .admin-panel,
body.admin-body.dark-mode .admin-stat,
body.admin-body.dark-mode .admin-driver-card,
body.admin-body.dark-mode .admin-report-card,
body.admin-body.dark-mode .admin-filter-bar,
body.admin-body.dark-mode .admin-date,
body.admin-body.dark-mode .settings-card,
body.admin-body.dark-mode .wallet-card,
body.admin-body.dark-mode .payment-request-card,
body.admin-body.dark-mode .analytics-filter,
body.admin-body.dark-mode .youtube-analytics-card,
body.admin-body.dark-mode .admin-topup-card,
body.admin-body.dark-mode .linked-provider,
body.admin-body.dark-mode .mobile-applicant-search{
  background:#1b1e23!important;
  border-color:#383e47!important;
  color:#f4f6f8!important;
  box-shadow:none!important;
}

/* Rider Reports: remove the light/pink details panel in dark mode. */
html.dark-mode body.admin-body .admin-report-details,
body.admin-body.dark-mode .admin-report-details{
  background:#25181c!important;
  border-left-color:#e31837!important;
  color:#f4f6f8!important;
}
html.dark-mode body.admin-body .admin-report-details strong,
html.dark-mode body.admin-body .admin-report-details b,
html.dark-mode body.admin-body .admin-report-details p,
body.admin-body.dark-mode .admin-report-details strong,
body.admin-body.dark-mode .admin-report-details b,
body.admin-body.dark-mode .admin-report-details p{
  color:#e9edf2!important;
}
html.dark-mode body.admin-body .admin-report-details a:not(.btn),
body.admin-body.dark-mode .admin-report-details a:not(.btn){
  color:#ff9aaa!important;
}

html.dark-mode body.admin-body .admin-person-block,
body.admin-body.dark-mode .admin-person-block{
  background:#22262c!important;
  color:#eef1f4!important;
}
html.dark-mode body.admin-body .admin-person-block h4,
body.admin-body.dark-mode .admin-person-block h4{
  color:#f5f7fa!important;
}

html.dark-mode body.admin-body .admin-report-preview,
html.dark-mode body.admin-body .admin-driver-head,
html.dark-mode body.admin-body .payment-review-row,
html.dark-mode body.admin-body .theme-setting-row,
body.admin-body.dark-mode .admin-report-preview,
body.admin-body.dark-mode .admin-driver-head,
body.admin-body.dark-mode .payment-review-row,
body.admin-body.dark-mode .theme-setting-row{
  border-color:#353b44!important;
}

/* Admin tables/lists. */
html.dark-mode body.admin-body .admin-table-wrap,
html.dark-mode body.admin-body .wallet-table-wrap,
body.admin-body.dark-mode .admin-table-wrap,
body.admin-body.dark-mode .wallet-table-wrap{
  background:#1b1e23!important;
  border-color:#383e47!important;
  box-shadow:none!important;
}
html.dark-mode body.admin-body .admin-table,
html.dark-mode body.admin-body .wallet-table,
body.admin-body.dark-mode .admin-table,
body.admin-body.dark-mode .wallet-table{
  background:#1b1e23!important;
  color:#edf0f3!important;
}
html.dark-mode body.admin-body .admin-table th,
html.dark-mode body.admin-body .wallet-table th,
body.admin-body.dark-mode .admin-table th,
body.admin-body.dark-mode .wallet-table th{
  background:#252a31!important;
  color:#dce1e7!important;
  border-color:#3a414b!important;
}
html.dark-mode body.admin-body .admin-table td,
html.dark-mode body.admin-body .wallet-table td,
body.admin-body.dark-mode .admin-table td,
body.admin-body.dark-mode .wallet-table td{
  background:#1b1e23!important;
  color:#edf0f3!important;
  border-color:#343a43!important;
}
html.dark-mode body.admin-body .admin-table tr:hover td,
html.dark-mode body.admin-body .wallet-table tr:hover td,
body.admin-body.dark-mode .admin-table tr:hover td,
body.admin-body.dark-mode .wallet-table tr:hover td{
  background:#23272e!important;
}

/* Admin-only form controls. */
html.dark-mode body.admin-body input,
html.dark-mode body.admin-body select,
html.dark-mode body.admin-body textarea,
body.admin-body.dark-mode input,
body.admin-body.dark-mode select,
body.admin-body.dark-mode textarea{
  background:#13161a!important;
  border-color:#414852!important;
  color:#f5f7fa!important;
  color-scheme:dark;
}
html.dark-mode body.admin-body input::placeholder,
html.dark-mode body.admin-body textarea::placeholder,
body.admin-body.dark-mode input::placeholder,
body.admin-body.dark-mode textarea::placeholder{
  color:#929aa5!important;
  opacity:1!important;
}
html.dark-mode body.admin-body select option,
body.admin-body.dark-mode select option{
  background:#171a1f!important;
  color:#f5f7fa!important;
}
html.dark-mode body.admin-body input:focus,
html.dark-mode body.admin-body select:focus,
html.dark-mode body.admin-body textarea:focus,
body.admin-body.dark-mode input:focus,
body.admin-body.dark-mode select:focus,
body.admin-body.dark-mode textarea:focus{
  border-color:#d91632!important;
  outline:none!important;
}

/* Dashboard analytics surfaces. */
html.dark-mode body.admin-body .chart-summary,
html.dark-mode body.admin-body .trend-chart,
html.dark-mode body.admin-body .yt-legend,
body.admin-body.dark-mode .chart-summary,
body.admin-body.dark-mode .trend-chart,
body.admin-body.dark-mode .yt-legend{
  border-color:#353b44!important;
}
html.dark-mode body.admin-body .chart-summary strong,
body.admin-body.dark-mode .chart-summary strong{
  color:#f7f8fa!important;
}
html.dark-mode body.admin-body .chart-summary span,
html.dark-mode body.admin-body .trend-legend,
html.dark-mode body.admin-body .trend-col small,
body.admin-body.dark-mode .chart-summary span,
body.admin-body.dark-mode .trend-legend,
body.admin-body.dark-mode .trend-col small{
  color:#aeb5bf!important;
}
html.dark-mode body.admin-body .yt-chart-tooltip,
body.admin-body.dark-mode .yt-chart-tooltip{
  background:rgba(27,30,35,.98)!important;
  border-color:#414852!important;
  color:#f5f7fa!important;
}
html.dark-mode body.admin-body .yt-chart-tooltip span,
body.admin-body.dark-mode .yt-chart-tooltip span{
  color:#b6bdc7!important;
}
html.dark-mode body.admin-body .yt-chart-tooltip strong,
html.dark-mode body.admin-body .yt-chart-tooltip b,
body.admin-body.dark-mode .yt-chart-tooltip strong,
body.admin-body.dark-mode .yt-chart-tooltip b{
  color:#fff!important;
}

/* Dashboard stat icon tiles: avoid bright light-mode blocks. */
html.dark-mode body.admin-body .admin-stat>span,
body.admin-body.dark-mode .admin-stat>span{
  background:#302126!important;
  color:#ff8b9b!important;
}
html.dark-mode body.admin-body .admin-stat.warning>span,
body.admin-body.dark-mode .admin-stat.warning>span{
  background:#352023!important;
  color:#ff8a80!important;
}
html.dark-mode body.admin-body .admin-stat.money>span,
body.admin-body.dark-mode .admin-stat.money>span{
  background:#193025!important;
  color:#75d69a!important;
}
html.dark-mode body.admin-body .admin-stat strong,
body.admin-body.dark-mode .admin-stat strong{
  color:#f5f7fa!important;
}
html.dark-mode body.admin-body .admin-stat.warning strong,
body.admin-body.dark-mode .admin-stat.warning strong{
  color:#ff8a80!important;
}
html.dark-mode body.admin-body .admin-stat.money strong,
body.admin-body.dark-mode .admin-stat.money strong{
  color:#75d69a!important;
}

/* Wallet/payment/account request surfaces. */
html.dark-mode body.admin-body .admin-topup-card,
html.dark-mode body.admin-body .linked-provider,
body.admin-body.dark-mode .admin-topup-card,
body.admin-body.dark-mode .linked-provider{
  background:#22262c!important;
  border-color:#3b424c!important;
}
html.dark-mode body.admin-body .admin-create-note,
body.admin-body.dark-mode .admin-create-note{
  background:#221b1d!important;
  border-left-color:#d91632!important;
  color:#d9dde2!important;
}

/* Menus, popups, notifications and document viewers used by Admin. */
html.dark-mode body.admin-body .driver-more-menu,
html.dark-mode body.admin-body .admin-settings-popup,
html.dark-mode body.admin-body .admin-notification-dropdown,
html.dark-mode body.admin-body .admin-notification-head,
html.dark-mode body.admin-body .document-viewer-dialog,
body.admin-body.dark-mode .driver-more-menu,
body.admin-body.dark-mode .admin-settings-popup,
body.admin-body.dark-mode .admin-notification-dropdown,
body.admin-body.dark-mode .admin-notification-head,
body.admin-body.dark-mode .document-viewer-dialog{
  background:#1b1e23!important;
  border-color:#3b424c!important;
  color:#f5f7fa!important;
}
html.dark-mode body.admin-body .admin-notification-item,
body.admin-body.dark-mode .admin-notification-item{
  color:#f0f2f5!important;
  border-color:#343a43!important;
}
html.dark-mode body.admin-body .admin-notification-item:hover,
body.admin-body.dark-mode .admin-notification-item:hover{
  background:#2a1d21!important;
}
html.dark-mode body.admin-body .admin-notification-item span,
html.dark-mode body.admin-body .admin-notification-item small,
html.dark-mode body.admin-body .admin-notification-empty,
body.admin-body.dark-mode .admin-notification-item span,
body.admin-body.dark-mode .admin-notification-item small,
body.admin-body.dark-mode .admin-notification-empty{
  color:#aeb5bf!important;
}
html.dark-mode body.admin-body .admin-settings-close,
html.dark-mode body.admin-body .document-viewer-x,
body.admin-body.dark-mode .admin-settings-close,
body.admin-body.dark-mode .document-viewer-x{
  background:#2b3037!important;
  color:#fff!important;
}
html.dark-mode body.admin-body .document-preview,
body.admin-body.dark-mode .document-preview{
  background:#20242a!important;
  border-color:#3b424c!important;
}

/* Keep secondary actions readable without changing their layout/behavior. */
html.dark-mode body.admin-body .btn.secondary,
body.admin-body.dark-mode .btn.secondary{
  background:#262b32!important;
  border-color:#454d58!important;
  color:#f5f7fa!important;
}
html.dark-mode body.admin-body .btn.secondary:hover,
body.admin-body.dark-mode .btn.secondary:hover{
  background:#30363e!important;
}

/* =========================================================
   2026-10-07 PASSENGER DARK-MODE TOGGLE FUNCTIONAL FIX ONLY
   Keeps the existing Passenger UI/layout unchanged.
========================================================= */
@media (max-width:1024px){
  .customer-mobile-theme{
    isolation:isolate;
  }

  /* Make the full existing row a reliable tap target on mobile. */
  .customer-mobile-theme input#mobileDarkModeToggle{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    opacity:0!important;
    cursor:pointer!important;
    pointer-events:auto!important;
    z-index:3!important;
  }

  .customer-mobile-theme>span{
    pointer-events:none!important;
  }

  /* Keep the existing switch design, but reflect the real checkbox state. */
  .customer-mobile-theme input#mobileDarkModeToggle:checked + .toggle-switch{
    background:var(--blue)!important;
  }

  .customer-mobile-theme input#mobileDarkModeToggle:checked + .toggle-switch::after{
    transform:translateX(20px)!important;
  }
}


/* =========================================================
   2026-10-07 PASSENGER MOBILE DRAWER BLACK BACKGROUND ONLY
   No layout/behavior changes. Desktop and other portals untouched.
========================================================= */
@media (max-width:1024px){
  body[data-logged-in="1"] .customer-mobile-drawer{
    background:#151515!important;
  }
}

/* =========================================================
   2026-10-07 PASSENGER DESKTOP DARK BACKGROUND CONSISTENCY ONLY
   Unifies the outer page and main content background without
   changing mobile, light mode, layout, or Passenger functionality.
========================================================= */
@media (min-width:1025px){
  html.dark-mode body[data-logged-in="1"],
  body.dark-mode[data-logged-in="1"],
  html.dark-mode body[data-logged-in="1"] main,
  body.dark-mode[data-logged-in="1"] main,
  html.dark-mode body[data-logged-in="1"] main.container,
  body.dark-mode[data-logged-in="1"] main.container,
  html.dark-mode body[data-logged-in="1"] .form-page,
  body.dark-mode[data-logged-in="1"] .form-page{
    background:#0f0f0f!important;
  }
}

/* =========================================================
   2026-10-07 PASSENGER DESKTOP FULL DARK BACKGROUND CONTINUITY ONLY
   Fixes the outer/body vs centered-main shade split. Desktop + dark mode only.
   Passenger UI/functionality, mobile, light mode, Admin and Driver are untouched.
========================================================= */
@media (min-width:1025px){
  html.dark-mode body[data-logged-in]:not(.admin-body):not(.driver-body),
  body.dark-mode[data-logged-in]:not(.admin-body):not(.driver-body),
  html.dark-mode body[data-logged-in]:not(.admin-body):not(.driver-body) > main,
  body.dark-mode[data-logged-in]:not(.admin-body):not(.driver-body) > main,
  html.dark-mode body[data-logged-in]:not(.admin-body):not(.driver-body) > main.container,
  body.dark-mode[data-logged-in]:not(.admin-body):not(.driver-body) > main.container,
  html.dark-mode body[data-logged-in]:not(.admin-body):not(.driver-body) > main.form-page,
  body.dark-mode[data-logged-in]:not(.admin-body):not(.driver-body) > main.form-page{
    background-color:#151515!important;
  }
}

/* =========================================================
   2026-10-07 PASSENGER DESKTOP DARK HEADER CONTINUITY ONLY
   Keeps the full-width topbar and its centered nav on one shade.
   Desktop + Passenger + dark mode only; no layout/behavior changes.
========================================================= */
@media (min-width:1025px){
  html.dark-mode body[data-logged-in="1"]:not(.admin-body):not(.driver-body) .customer-topbar,
  body.dark-mode[data-logged-in="1"]:not(.admin-body):not(.driver-body) .customer-topbar,
  html.dark-mode body[data-logged-in="1"]:not(.admin-body):not(.driver-body) .customer-topbar .nav,
  body.dark-mode[data-logged-in="1"]:not(.admin-body):not(.driver-body) .customer-topbar .nav{
    background-color:#151515!important;
  }
}

/* 2026-10-07 targeted Admin records visibility guard.
   Scope: Driver Members, Driver Applicants, Customers and Ride History only. */
.admin-records-visible,
.admin-records-visible .admin-filter-bar,
.admin-records-visible .admin-driver-grid,
.admin-records-visible .admin-driver-card,
.admin-records-visible .admin-panel,
.admin-records-visible .admin-table-wrap,
.admin-records-visible .admin-table,
.admin-records-visible .admin-empty{
  visibility:visible!important;
  opacity:1!important;
  max-height:none!important;
  clip-path:none!important;
}
.admin-records-visible{display:block!important;position:relative!important;height:auto!important;overflow:visible!important;transform:none!important}
.admin-records-visible .admin-driver-grid{display:grid!important;height:auto!important;position:relative!important;transform:none!important}
.admin-records-visible .admin-driver-card{display:block!important;height:auto!important;position:relative!important;transform:none!important}
.admin-records-visible .admin-panel{display:block!important;height:auto!important;position:relative!important;transform:none!important;overflow:visible!important}
.admin-records-visible .admin-table-wrap{display:block!important;height:auto!important;min-height:1px!important;position:relative!important}
.admin-records-visible .admin-table{display:table!important;height:auto!important;position:relative!important}
.admin-records-visible .admin-filter-bar{display:flex!important;height:auto!important;position:relative!important;transform:none!important}
.admin-records-visible .admin-filter-bar input,
.admin-records-visible .admin-filter-bar select{display:block!important;visibility:visible!important;opacity:1!important}
.admin-records-visible .admin-filter-bar .btn{display:inline-flex!important;visibility:visible!important;opacity:1!important}
.admin-records-visible .admin-empty{display:block!important;height:auto!important}
@media(max-width:1024px){
  .admin-records-visible .admin-filter-bar{flex-direction:column!important;align-items:stretch!important}
  .admin-records-visible .admin-filter-bar input,
  .admin-records-visible .admin-filter-bar select,
  .admin-records-visible .admin-filter-bar .btn{width:100%!important;min-width:0!important}
  .admin-records-visible .admin-driver-grid{grid-template-columns:1fr!important}
  .admin-records-visible .admin-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
}

/* 2026-10-08: Passenger About Us dark-mode completion */
html.dark-mode body.hatid-about-page .hatid-about-main,
body.dark-mode.hatid-about-page .hatid-about-main{
  color:#f5f5f5;
}
html.dark-mode body.hatid-about-page .hatid-about-copy p,
html.dark-mode body.hatid-about-page .hatid-about-kicker,
html.dark-mode body.hatid-about-page .hatid-about-points span,
html.dark-mode body.hatid-about-page .hatid-team-compact,
html.dark-mode body.hatid-about-page .hatid-team-compact h2,
html.dark-mode body.hatid-about-page .hatid-team-compact article strong,
html.dark-mode body.hatid-about-page .hatid-team-compact article small,
body.dark-mode.hatid-about-page .hatid-about-copy p,
body.dark-mode.hatid-about-page .hatid-about-kicker,
body.dark-mode.hatid-about-page .hatid-about-points span,
body.dark-mode.hatid-about-page .hatid-team-compact,
body.dark-mode.hatid-about-page .hatid-team-compact h2,
body.dark-mode.hatid-about-page .hatid-team-compact article strong,
body.dark-mode.hatid-about-page .hatid-team-compact article small{
  color:#e7e7e7;
}
html.dark-mode body.hatid-about-page .hatid-team-compact,
html.dark-mode body.hatid-about-page .hatid-team-compact-grid article,
body.dark-mode.hatid-about-page .hatid-team-compact,
body.dark-mode.hatid-about-page .hatid-team-compact-grid article{
  background:#202020;
  border-color:#3a3a3a;
}
html.dark-mode body.hatid-about-page .hatid-about-nav .btn.secondary,
body.dark-mode.hatid-about-page .hatid-about-nav .btn.secondary{
  background:#232323;
  border-color:#454545;
  color:#f5f5f5;
}

/* =========================================================
   2026-10-08 PASSWORD VISIBILITY + ONE-WAY REPORT MESSAGING
========================================================= */
.password-wrapper{width:100%}
.password-wrapper>input{width:100%;box-sizing:border-box}
.admin-filter-bar .password-wrapper{flex:1;min-width:260px}
.admin-filter-bar .password-wrapper>input{min-width:0!important}

.admin-flash.error{background:#fef3f2;color:#b42318;border:1px solid #fecdca}
.admin-driver-report-chat{margin:16px 0 0;padding:16px;border:1px solid #e2e8f0;border-radius:15px;background:#f8fafc}
.admin-driver-report-chat-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
.admin-driver-report-chat-head strong{font-size:15px}
.admin-driver-report-chat-head p{margin:4px 0 0;color:#667085;font-size:12px;line-height:1.5}
.admin-one-way-badge{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:999px;padding:5px 9px;background:#fff0f3;color:#a50f24;font-size:10px;font-weight:900;letter-spacing:.08em}
.admin-driver-report-thread{display:grid;gap:9px;max-height:260px;overflow:auto;margin-bottom:12px;padding-right:3px}
.admin-driver-report-empty{padding:12px;border:1px dashed #cbd5e1;border-radius:11px;color:#667085;font-size:12px;text-align:center;background:#fff}
.admin-driver-report-message{max-width:86%;padding:11px 13px;border-radius:13px 13px 4px 13px;background:#fff;border:1px solid #e2e8f0;margin-left:auto}
.admin-driver-report-message-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:5px}
.admin-driver-report-message-meta strong{font-size:12px;color:#a50f24}
.admin-driver-report-message-meta small{font-size:10px;color:#667085}
.admin-driver-report-message p{margin:0;font-size:13px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.admin-driver-report-message-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.admin-driver-report-message-form textarea{margin:0;resize:vertical;min-height:78px}
.admin-driver-report-message-form .btn{width:auto!important;margin:0!important;min-height:44px;white-space:nowrap}

html.dark-mode body.admin-body .admin-driver-report-chat,
body.admin-body.dark-mode .admin-driver-report-chat{background:#181818;border-color:#3d3d3d}
html.dark-mode body.admin-body .admin-driver-report-chat-head p,
body.admin-body.dark-mode .admin-driver-report-chat-head p{color:#b9b9b9!important}
html.dark-mode body.admin-body .admin-driver-report-empty,
body.admin-body.dark-mode .admin-driver-report-empty{background:#202020;border-color:#505050;color:#b9b9b9}
html.dark-mode body.admin-body .admin-driver-report-message,
body.admin-body.dark-mode .admin-driver-report-message{background:#242424;border-color:#454545;color:#f5f5f5}
html.dark-mode body.admin-body .admin-driver-report-message-meta small,
body.admin-body.dark-mode .admin-driver-report-message-meta small{color:#aaa!important}
html.dark-mode body.admin-body .admin-one-way-badge,
body.admin-body.dark-mode .admin-one-way-badge{background:#3a171d;color:#ff98a6}

@media(max-width:760px){
  .admin-filter-bar .password-wrapper{min-width:0;width:100%}
  .admin-driver-report-message{max-width:100%}
  .admin-driver-report-message-form{grid-template-columns:1fr}
  .admin-driver-report-message-form .btn{width:100%!important}
  .admin-driver-report-chat-head{align-items:center}
}

/* =========================================================
   2026-10-08 ABOUT US VISUAL SIZE + NAV BUTTON ALIGNMENT
   Appearance-only overrides; no page logic/feature changes.
========================================================= */
@media (min-width:761px){
  .hatid-about-page .hatid-about-main{
    width:min(100%,1380px);
    padding:42px 24px 64px;
  }

  .hatid-about-page .hatid-about-only{
    width:min(1180px,100%);
    padding:34px 36px;
    grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
    gap:34px;
    border-radius:26px;
    box-shadow:0 22px 54px rgba(0,0,0,.07);
  }

  .hatid-about-page .hatid-about-copy{
    padding:18px 14px !important;
  }

  .hatid-about-page .hatid-about-kicker{
    margin-bottom:10px !important;
    font-size:10px !important;
  }

  .hatid-about-page .hatid-about-copy h1{
    max-width:520px;
    margin-bottom:16px;
    font-size:clamp(38px,3.7vw,54px);
    line-height:1.04;
  }

  .hatid-about-page .hatid-about-copy p{
    max-width:540px !important;
    font-size:15px !important;
    line-height:1.7 !important;
  }

  .hatid-about-page .hatid-about-points{
    gap:9px !important;
    margin-top:20px !important;
  }

  .hatid-about-page .hatid-about-points span{
    min-height:34px !important;
    padding:7px 12px !important;
    font-size:10px !important;
  }

  .hatid-about-page .hatid-team-compact{
    padding:22px !important;
    border-radius:20px !important;
  }

  .hatid-about-page .hatid-team-compact-head{
    margin-bottom:16px !important;
  }

  .hatid-about-page .hatid-team-compact-head span{
    font-size:9px !important;
    margin-bottom:5px !important;
  }

  .hatid-about-page .hatid-team-compact-head h2{
    margin:0 !important;
    font-size:27px !important;
    line-height:1.15 !important;
  }

  .hatid-about-page .hatid-team-compact-head>small{
    font-size:9px !important;
  }

  .hatid-about-page .hatid-team-compact-grid{
    gap:10px !important;
  }

  .hatid-about-page .hatid-team-compact-grid article{
    gap:11px !important;
    padding:13px 14px !important;
    border-radius:14px !important;
  }

  .hatid-about-page .compact-team-icon{
    width:38px !important;
    height:38px !important;
    flex-basis:38px !important;
  }

  .hatid-about-page .compact-team-icon .ui-icon{
    width:18px !important;
    height:18px !important;
  }

  .hatid-about-page .hatid-team-compact-grid strong{
    font-size:11px !important;
    line-height:1.3 !important;
  }

  .hatid-about-page .hatid-team-compact-grid small{
    margin-top:2px !important;
    font-size:9px !important;
  }

  /* Keep all three top navigation buttons visually equal. */
  .hatid-about-page .hatid-about-nav-actions .btn,
  .hatid-about-page .hatid-about-nav-actions .btn.primary,
  .hatid-about-page .hatid-about-nav-actions .btn.secondary{
    box-sizing:border-box !important;
    width:158px !important;
    min-width:158px !important;
    min-height:46px !important;
    margin:0 !important;
    padding:11px 14px !important;
    border-radius:12px !important;
    font-size:13px !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
  }
}

@media (max-width:760px){
  .hatid-about-page .hatid-about-main{
    padding-top:26px;
  }

  .hatid-about-page .hatid-about-only{
    width:100%;
    gap:18px;
  }

  .hatid-about-page .hatid-about-copy h1{
    font-size:clamp(30px,9vw,40px);
  }

  .hatid-about-page .hatid-about-copy p{
    font-size:14px !important;
    line-height:1.65 !important;
  }

  .hatid-about-page .hatid-team-compact{
    padding:14px !important;
  }

  .hatid-about-page .hatid-team-compact-head h2{
    font-size:22px !important;
  }

  .hatid-about-page .hatid-about-nav-actions .btn,
  .hatid-about-page .hatid-about-nav-actions .btn.primary,
  .hatid-about-page .hatid-about-nav-actions .btn.secondary{
    width:auto !important;
    min-width:118px !important;
    min-height:40px !important;
    margin:0 !important;
    padding:9px 11px !important;
  }
}

@media (max-width:480px){
  .hatid-about-page .hatid-about-nav-actions .btn,
  .hatid-about-page .hatid-about-nav-actions .btn.primary,
  .hatid-about-page .hatid-about-nav-actions .btn.secondary{
    width:100% !important;
    min-width:0 !important;
  }
}

/* =========================================================
   2026-10-08 PASSENGER PORTAL ABOUT US — MATCH PUBLIC ABOUT PAGE
   Appearance-only: same enlarged About Us / team presentation.
========================================================= */
.passenger-about-main{
  width:min(100%,1380px) !important;
  margin:0 auto !important;
  padding:42px 24px 64px !important;
}

.passenger-about-main .passenger-about-card{
  box-sizing:border-box;
  width:min(1180px,100%) !important;
  margin:0 auto !important;
  padding:34px 36px !important;
  display:grid !important;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr) !important;
  gap:34px !important;
  align-items:stretch !important;
  border:1px solid #e6e6e6 !important;
  border-radius:26px !important;
  background:#fff !important;
  box-shadow:0 22px 54px rgba(0,0,0,.07) !important;
}

.passenger-about-main .hatid-about-copy{
  padding:18px 14px !important;
}

.passenger-about-main .hatid-about-kicker{
  margin-bottom:10px !important;
  font-size:10px !important;
}

.passenger-about-main .hatid-about-copy h1{
  max-width:520px !important;
  margin:0 0 16px !important;
  font-size:clamp(38px,3.7vw,54px) !important;
  line-height:1.04 !important;
  color:#171717 !important;
}

.passenger-about-main .hatid-about-copy p{
  max-width:540px !important;
  margin:0 !important;
  font-size:15px !important;
  line-height:1.7 !important;
}

.passenger-about-main .hatid-about-points{
  gap:9px !important;
  margin-top:20px !important;
}

.passenger-about-main .hatid-about-points span{
  min-height:34px !important;
  padding:7px 12px !important;
  font-size:10px !important;
}

.passenger-about-main .hatid-team-compact{
  padding:22px !important;
  border-radius:20px !important;
}

.passenger-about-main .hatid-team-compact-head{
  margin-bottom:16px !important;
}

.passenger-about-main .hatid-team-compact-head span{
  margin-bottom:5px !important;
  font-size:9px !important;
}

.passenger-about-main .hatid-team-compact-head h2{
  margin:0 !important;
  font-size:27px !important;
  line-height:1.15 !important;
  color:#171717 !important;
}

.passenger-about-main .hatid-team-compact-head>small{
  font-size:9px !important;
}

.passenger-about-main .hatid-team-compact-grid{
  gap:10px !important;
}

.passenger-about-main .hatid-team-compact-grid article{
  gap:11px !important;
  padding:13px 14px !important;
  border-radius:14px !important;
}

.passenger-about-main .compact-team-icon{
  width:38px !important;
  height:38px !important;
  flex-basis:38px !important;
}

.passenger-about-main .compact-team-icon .ui-icon{
  width:18px !important;
  height:18px !important;
}

.passenger-about-main .hatid-team-compact-grid strong{
  font-size:11px !important;
  line-height:1.3 !important;
}

.passenger-about-main .hatid-team-compact-grid small{
  margin-top:2px !important;
  font-size:9px !important;
}

html.dark-mode body .passenger-about-main .passenger-about-card,
body.dark-mode .passenger-about-main .passenger-about-card{
  background:#181818 !important;
  border-color:#363636 !important;
  box-shadow:0 22px 54px rgba(0,0,0,.22) !important;
}

html.dark-mode body .passenger-about-main .hatid-about-copy h1,
html.dark-mode body .passenger-about-main .hatid-team-compact-head h2,
html.dark-mode body .passenger-about-main .hatid-team-compact-grid strong,
body.dark-mode .passenger-about-main .hatid-about-copy h1,
body.dark-mode .passenger-about-main .hatid-team-compact-head h2,
body.dark-mode .passenger-about-main .hatid-team-compact-grid strong{
  color:#f5f5f5 !important;
}

html.dark-mode body .passenger-about-main .hatid-about-copy p,
html.dark-mode body .passenger-about-main .hatid-team-compact-head>small,
html.dark-mode body .passenger-about-main .hatid-team-compact-grid small,
body.dark-mode .passenger-about-main .hatid-about-copy p,
body.dark-mode .passenger-about-main .hatid-team-compact-head>small,
body.dark-mode .passenger-about-main .hatid-team-compact-grid small{
  color:#bdbdbd !important;
}

html.dark-mode body .passenger-about-main .hatid-about-points span,
html.dark-mode body .passenger-about-main .hatid-team-compact,
html.dark-mode body .passenger-about-main .hatid-team-compact-grid article,
body.dark-mode .passenger-about-main .hatid-about-points span,
body.dark-mode .passenger-about-main .hatid-team-compact,
body.dark-mode .passenger-about-main .hatid-team-compact-grid article{
  background:#202020 !important;
  border-color:#383838 !important;
  color:#e7e7e7 !important;
}

html.dark-mode body .passenger-about-main .hatid-team-compact-grid .compact-mentor,
body.dark-mode .passenger-about-main .hatid-team-compact-grid .compact-mentor{
  background:#26191c !important;
  border-color:#553039 !important;
}

@media(max-width:760px){
  .passenger-about-main{
    padding:26px 12px 42px !important;
  }
  .passenger-about-main .passenger-about-card{
    width:100% !important;
    grid-template-columns:1fr !important;
    gap:18px !important;
    padding:15px !important;
    border-radius:20px !important;
  }
  .passenger-about-main .hatid-about-copy{
    padding:8px 6px !important;
  }
  .passenger-about-main .hatid-about-copy h1{
    font-size:clamp(30px,9vw,40px) !important;
  }
  .passenger-about-main .hatid-about-copy p{
    font-size:14px !important;
    line-height:1.65 !important;
  }
  .passenger-about-main .hatid-team-compact{
    padding:14px !important;
  }
  .passenger-about-main .hatid-team-compact-head h2{
    font-size:22px !important;
  }
}

@media(max-width:560px){
  .passenger-about-main .hatid-team-compact-grid{
    grid-template-columns:1fr !important;
  }
  .passenger-about-main .hatid-team-compact-grid .compact-mentor{
    grid-column:auto !important;
  }
}

/* Admin recent ride bookings: display-only enhancement */
.admin-recent-rides-table{min-width:980px}
.admin-recent-rides-table .recent-booked-time{white-space:nowrap;color:#667085;font-size:12px}
.admin-mini-action{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:7px 10px;border:1px solid #d8e1ec;border-radius:9px;color:#0757ad;background:#fff;text-decoration:none;font-size:11px;font-weight:800}
.admin-mini-action:hover{border-color:#0757ad;background:#f4f8fd}
.admin-focus-ride td{background:#fff8db!important;box-shadow:inset 0 1px #f4d35e,inset 0 -1px #f4d35e}
html.dark-mode body.admin-body .admin-recent-rides-table .recent-booked-time,body.admin-body.dark-mode .admin-recent-rides-table .recent-booked-time{color:#aeb8c3}
html.dark-mode body.admin-body .admin-mini-action,body.admin-body.dark-mode .admin-mini-action{background:#172331;border-color:#314154;color:#dbeafe}
html.dark-mode body.admin-body .admin-mini-action:hover,body.admin-body.dark-mode .admin-mini-action:hover{background:#213246;border-color:#58708b}
html.dark-mode body.admin-body .admin-focus-ride td,body.admin-body.dark-mode .admin-focus-ride td{background:#3a3218!important;box-shadow:inset 0 1px #806b20,inset 0 -1px #806b20}
