:root {
    --asu-green: #07552d;
    --asu-deep: #003d22;
    --asu-leaf: #168348;
    --asu-lime: #e9f7ed;
    --asu-gold: #ffc928;
    --ink: #18201c;
    --muted: #6d756f;
    --line: #e4e9e5;
    --surface: #ffffff;
    --page: #f5f8f5;
    --shadow: 0 18px 50px rgba(0, 67, 35, .10);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--page);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 14px;
}
a { color: var(--asu-green); }
.app-body { min-height: 100vh; }
.public-body { background: radial-gradient(circle at 12% 8%, #dff3e5 0, transparent 29%), #f7faf7; }
.public-main { padding: 38px 20px; }
.public-shell { width: min(1120px, 100%); margin: 0 auto; }

.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
    background: #fff; color: var(--asu-green); font-size: 22px; font-weight: 900;
    box-shadow: inset 0 0 0 4px rgba(255,255,255,.22);
}
.brand-name { font-size: 19px; line-height: 1.05; font-weight: 850; letter-spacing: -.02em; }
.brand-sub { color: var(--asu-gold); font-size: 10px; font-weight: 800; letter-spacing: .045em; }

.app-sidebar {
    position: fixed; inset: 0 auto 0 0; width: 244px; padding: 24px 16px;
    display: flex; flex-direction: column; color: #fff;
    background: linear-gradient(180deg, #003f23, #006238 72%, #004827);
    z-index: 20;
}
.app-sidebar .brand-lockup { margin: 0 8px 28px; }
.sidebar-role { margin: 0 10px 12px; color: var(--asu-gold); font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.side-nav { display: grid; gap: 7px; }
.side-nav a {
    position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 13px;
    color: rgba(255,255,255,.84); text-decoration: none; font-weight: 650; border-radius: 10px;
}
.side-nav a:hover { color: #fff; background: rgba(255,255,255,.09); }
.side-nav a.active { color: #173114; background: var(--asu-gold); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.nav-icon { width: 22px; text-align: center; font-size: 17px; }
.notification-badge {
    min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto; padding: 0 6px; border: 2px solid #fff; border-radius: 12px;
    color: #fff; background: #dc3545; font-size: 10px; font-weight: 850; line-height: 1;
}
.sidebar-spacer { flex: 1; }
.campus-card { padding: 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: rgba(0,35,19,.2); }
.campus-card b { display: block; margin-bottom: 5px; color: var(--asu-gold); }
.campus-card small { color: rgba(255,255,255,.7); line-height: 1.55; }

.app-frame { min-height: 100vh; margin-left: 244px; }
.topbar {
    height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px;
    border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); position: sticky; top: 0; z-index: 15;
    backdrop-filter: blur(12px);
}
.page-eyebrow { color: var(--muted); font-size: 12px; }
.user-chip { display: flex; align-items: center; gap: 10px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-bell, .push-toggle {
    position: relative; width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto;
    border: 1px solid var(--line); border-radius: 50%; color: var(--asu-green); background: #fff;
    text-decoration: none; font-size: 18px;
}
.push-toggle:hover, .push-toggle:focus, .topbar-bell:hover { color: #fff; border-color: var(--asu-green); background: var(--asu-green); }
.topbar-bell .notification-badge { position: absolute; top: -6px; right: -7px; margin: 0; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #dff2e5; color: var(--asu-green); font-weight: 850; }
.user-chip b { display: block; font-size: 13px; }
.user-chip small { color: var(--muted); }
.app-main { max-width: 1420px; padding: 28px 30px 46px; margin: 0 auto; }
.app-main section[id] { scroll-margin-top: 92px; }
.page-title { margin: 0; font-size: 25px; font-weight: 820; letter-spacing: -.025em; }
.page-subtitle { margin: 5px 0 0; color: var(--muted); }
.page-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }

.card, .surface-card {
    border: 1px solid var(--line) !important; border-radius: 15px !important; background: var(--surface);
    box-shadow: 0 4px 16px rgba(22, 54, 35, .035);
}
.surface-card { padding: 20px; }
.section-title { margin: 0; font-size: 15px; font-weight: 800; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.muted { color: var(--muted); }

.btn { border-radius: 9px; font-weight: 700; padding: .67rem 1rem; }
.btn-success { --bs-btn-bg: var(--asu-green); --bs-btn-border-color: var(--asu-green); --bs-btn-hover-bg: #064424; --bs-btn-hover-border-color: #064424; }
.btn-warning { --bs-btn-bg: var(--asu-gold); --bs-btn-border-color: var(--asu-gold); color: #173114; }
.form-control, .form-select {
    min-height: 47px; border-color: #dce3dd; border-radius: 9px; background-color: #fff; box-shadow: none !important;
}
.form-control:focus, .form-select:focus { border-color: var(--asu-leaf); }
label { margin-bottom: 7px; font-size: 12px; font-weight: 750; }

.auth-card { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 700px; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.auth-visual {
    position: relative; padding: 44px; overflow: hidden; color: #fff;
    background: linear-gradient(155deg, rgba(0,45,25,.97), rgba(0,104,56,.92)),
                radial-gradient(circle at 70% 60%, #72b37b, transparent 34%);
}
.auth-visual:before { content: ""; position: absolute; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; right: -105px; top: 185px; }
.auth-visual:after { content: ""; position: absolute; width: 220px; height: 120px; right: 22px; bottom: 70px; border-radius: 90px 90px 18px 18px; background: rgba(0,42,22,.48); box-shadow: -180px 50px 0 -30px rgba(0,42,22,.38); }
.auth-copy { position: relative; z-index: 2; margin-top: 130px; max-width: 330px; }
.auth-copy h1 { margin: 0 0 14px; font-size: 42px; font-weight: 850; line-height: 1.08; letter-spacing: -.04em; }
.auth-copy p { color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.7; }
.trust-row { position: absolute; z-index: 2; left: 44px; right: 44px; bottom: 38px; display: flex; gap: 24px; color: rgba(255,255,255,.76); font-size: 12px; }
.auth-form { display: flex; align-items: flex-start; justify-content: center; padding: 44px 70px 52px; }
.auth-form-inner { width: min(430px, 100%); }
.auth-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: var(--asu-lime); color: var(--asu-green); font-size: 26px; }
.auth-heading { text-align: center; margin-bottom: 28px; }
.auth-heading h2 { margin: 0 0 6px; font-size: 28px; font-weight: 830; }
.auth-heading p { margin: 0; color: var(--muted); }
.input-wrap { position: relative; }
.input-wrap .input-symbol { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); z-index: 2; color: var(--asu-green); }
.input-wrap .form-control { padding-left: 43px; }
.form-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.local-code-note { display: grid; gap: 4px; margin: 0 0 18px; padding: 16px; border: 1px dashed #d59d16; border-radius: 14px; background: #fff8df; text-align: center; color: #705b14; }
.local-code-note span { font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.local-code-note strong { font-size: 28px; letter-spacing: .2em; }
.local-code-note small { font-size: 11px; }
.verification-code { height: 56px; text-align: center; font-size: 24px; font-weight: 800; letter-spacing: .25em; }
.verification-help { margin: 8px 0 16px; color: var(--muted); font-size: 12px; }
.availability-toggle { display:flex; align-items:center; gap:8px; min-width:105px; justify-content:center; padding:10px 14px; border:0; border-radius:999px; font-weight:800; }
.availability-toggle span { width:10px; height:10px; border-radius:50%; background:currentColor; box-shadow:0 0 0 4px rgba(255,255,255,.6); }
.availability-toggle.online { color:#fff; background:#168348; }
.availability-toggle.offline { color:#58635c; background:#e7ece8; }
.current-ride-card { border-top:4px solid var(--asu-green); }
.ride-progress { display:grid; grid-template-columns:repeat(4,1fr); margin:20px 0 24px; }
.ride-step { position:relative; display:grid; justify-items:center; gap:7px; color:#9aa39d; text-align:center; }
.ride-step::before { content:""; position:absolute; top:14px; right:50%; width:100%; height:3px; background:#e0e6e2; z-index:0; }
.ride-step:first-child::before { display:none; }
.ride-step span { position:relative; z-index:1; display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:#e0e6e2; font-weight:800; }
.ride-step.done,.ride-step.current { color:var(--asu-green); font-weight:700; }
.ride-step.done::before,.ride-step.current::before { background:var(--asu-leaf); }
.ride-step.done span,.ride-step.current span { color:#fff; background:var(--asu-leaf); }
.ride-step.current span { box-shadow:0 0 0 5px rgba(22,131,72,.14); }
.current-ride-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.8fr); gap:20px; }
.driver-summary { display:flex; flex-direction:column; padding:12px 14px; border-radius:12px; background:#edf8f2; }
.driver-summary span,.estimate-row span { color:var(--muted); font-size:12px; }
.estimate-row { display:flex; justify-content:space-between; gap:16px; padding:11px 0; border-bottom:1px solid var(--line); }
.cancel-booking-form { margin-top:16px; }
.live-location-panel { min-height:230px; border-radius:14px; overflow:hidden; background:#edf1ee; }
#passenger-live-map { height:205px; }
.live-location-panel small { display:block; padding:7px 10px; }
.empty-state-action { display:flex; align-items:center; justify-content:space-between; text-align:left; }
.empty-state-action p { margin:4px 0 0; }
.empty-state.compact { padding:14px; }
.booking-history-item { padding:16px 0; border-bottom:1px solid var(--line); }
.booking-history-main { display:flex; align-items:flex-start; gap:12px; }
.booking-history-item > .status-pill { float:right; margin-top:-34px; }
.cancellation-note { display:block; margin-top:5px; color:#9b3434; }
.rating-form { margin:12px 0 0 44px; }
.rating-form > label { font-size:12px; }
.rating-row { display:grid; grid-template-columns:110px 1fr auto; gap:8px; }
.booking-estimate { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:16px 0; }
.booking-estimate div { display:flex; flex-direction:column; padding:12px; border-radius:12px; background:#f1f6f2; }
.booking-estimate span { color:var(--muted); font-size:11px; text-transform:uppercase; font-weight:800; }
.report-list > div { display:flex; justify-content:space-between; gap:15px; padding:12px 0; border-bottom:1px solid var(--line); }
.report-list span { color:var(--muted); }
.report-filters { display:grid; grid-template-columns:repeat(4,minmax(120px,1fr)) auto auto; gap:10px; align-items:end; }
.report-filters label { font-size:11px; text-transform:uppercase; letter-spacing:.04em; }
.booking-report-filters { grid-template-columns:minmax(170px,1.6fr) repeat(4,minmax(100px,1fr)) auto auto auto; }
.report-chart { display:grid; gap:12px; }
.chart-row { display:grid; grid-template-columns:95px 1fr 34px; gap:10px; align-items:center; }
.chart-row > span { color:var(--muted); font-size:12px; }
.chart-row > div { height:12px; overflow:hidden; border-radius:999px; background:#e7ede9; }
.chart-row i { display:block; height:100%; min-width:4px; border-radius:999px; background:linear-gradient(90deg,var(--asu-green),var(--asu-leaf)); }
.small-value { font-size:22px; }
.notification-category { display:inline-block; margin-bottom:5px; padding:3px 7px; border-radius:999px; background:#e9f7ed; color:var(--asu-green); font-size:10px; font-weight:800; letter-spacing:.05em; }
.rating-summary { display:flex; align-items:center; gap:16px; }
.rating-summary strong { font-size:30px; color:#b47b00; }
.safety-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.safety-card > span { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; background:#e9f7ed; color:var(--asu-green); font-size:21px; font-weight:900; }
.safety-card h2 { margin:14px 0 8px; font-size:18px; }
.emergency-card { border-top:4px solid #dc3545; }
.hotline-list { display:grid; gap:10px; margin:16px 0 8px; padding:0; list-style:none; }
.hotline-list li { display:grid; grid-template-columns:1fr auto; gap:2px 12px; align-items:center; padding:10px 12px; border-radius:10px; background:#f6f8f7; }
.hotline-list li > a { font-weight:800; color:var(--asu-green); text-decoration:none; white-space:nowrap; }
.hotline-list li small { grid-column:1 / -1; color:var(--muted); }
.hotline-list li small a { color:var(--asu-green); font-weight:700; text-decoration:none; }
.hotline-note { color:var(--muted); }
.legal-links { display:flex; justify-content:center; gap:18px; margin-top:24px; }
.legal-page { max-width:820px; margin:0 auto; line-height:1.7; }
.legal-page h1 { font-weight:850; }
.legal-page h2 { margin-top:24px; font-size:19px; }
.compact-auth { min-height:600px; }
@media (max-width:1000px) { .report-filters { grid-template-columns:repeat(2,1fr); } }
@media (max-width:760px) { .current-ride-grid,.safety-grid,.booking-estimate,.report-filters { grid-template-columns:1fr; } .rating-row { grid-template-columns:1fr; } .rating-form { margin-left:0; } .ride-step small { font-size:10px; } }
.input-wrap .form-select { padding-left: 43px; }
.role-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.role-card { padding: 13px 8px; text-align: center; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 11px; font-weight: 750; }
.role-card.active { border-color: #9ecaab; background: #f0faf3; color: var(--asu-green); }
.auth-role-switch { width: 100%; min-height: 64px; margin: 0 0 26px; }
.auth-role-switch + .auth-icon { margin-top: 0; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric-card { padding: 17px; display: flex; gap: 13px; align-items: center; }
.metric-icon { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: var(--asu-lime); color: var(--asu-green); font-size: 20px; }
.metric-card:nth-child(2) .metric-icon { background: #fff3cf; color: #9a7000; }
.metric-card:nth-child(3) .metric-icon { background: #e5efff; color: #1764b0; }
.metric-card:nth-child(4) .metric-icon { background: #eee8ff; color: #7042b0; }
.metric-label { color: var(--muted); font-size: 11px; font-weight: 650; }
.metric-value { display: block; margin-top: 2px; font-size: 22px; font-weight: 850; }

.dashboard-grid { display: grid; grid-template-columns: 1.65fr .85fr; gap: 18px; margin-top: 18px; }
.admin-recent-bookings { grid-column: 1 / -1; }
.admin-filter-form { display:grid; grid-template-columns:minmax(150px,1.7fr) repeat(4,minmax(85px,1fr)) auto auto auto; gap:10px; align-items:end; padding:20px; }
.admin-filter-form label { margin-bottom:7px; font-size:11px; text-transform:uppercase; letter-spacing:.04em; }
.admin-filter-form .form-control,.admin-filter-form .form-select { min-height:47px; font-size:13px; }
.admin-filter-form .btn { min-height:47px; padding:.55rem .72rem; font-size:12px; white-space:nowrap; }
.admin-filter-form + .surface-card { padding:15px; }
.admin-filter-form + .surface-card .section-head { margin-bottom:11px; }
.admin-simple-filters { grid-template-columns:minmax(240px,2fr) minmax(150px,1fr) minmax(150px,1fr) auto auto; }
.admin-table th { padding:8px 9px; }
.admin-table td { padding:9px; font-size:12px; }
.admin-table .btn { padding:.35rem .55rem; font-size:11px; }
@media (max-width:1250px) { .admin-simple-filters { grid-template-columns:repeat(3,minmax(140px,1fr)); } }
@media (max-width:1000px) { .admin-filter-form { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .admin-filter-form { grid-template-columns:1fr; } }
.booking-list { display: grid; gap: 10px; }
.booking-item { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 11px; }
.route-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: var(--asu-green); background: var(--asu-lime); }
.booking-route { font-weight: 750; }
.booking-meta { margin-top: 4px; color: var(--muted); font-size: 12px; }
.route-map-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 7px; font-size: 11px; font-weight: 750; }
.internal-map-button { padding: 0; border: 0; color: var(--asu-green); background: transparent; font: inherit; font-weight: 800; }
.internal-map-button:hover, .internal-map-button:focus { text-decoration: underline; }
.status-pill { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 20px; font-size: 10px; font-weight: 800; text-transform: capitalize; background: #eef1ef; color: #59615c; }
.status-pending { background: #fff3cf; color: #8b6500; }
.status-accepted, .status-completed, .status-approved { background: #dff4e5; color: #08733b; }
.status-in_progress { background: #e3efff; color: #1764b0; }
.status-cancelled, .status-rejected { background: #ffe5e4; color: #b22f2b; }
.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick-link { min-height: 92px; display: grid; place-items: center; text-align: center; padding: 12px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 11px; font-weight: 700; }
.quick-link span { display: block; color: var(--asu-green); font-size: 22px; }

.booking-shell { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.common-destinations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.common-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.common-heading small { color: var(--muted); font-size: 10px; }
.destination-chip { padding: 11px; color: var(--asu-green); background: #fff; border: 1px solid #a9d1b5; border-radius: 9px; font-weight: 700; text-align: center; cursor: pointer; }
.destination-chip:hover, .destination-chip:focus { border-color: var(--asu-leaf); background: var(--asu-lime); }
.destination-chip span, .destination-chip small { display: block; }
.destination-chip small { margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 600; }
.booking-aside { padding: 25px; color: #fff; border-radius: 15px; background: linear-gradient(145deg, #004728, #08753f); }
.booking-aside h3 { font-weight: 800; }
.booking-aside p, .booking-aside li { color: rgba(255,255,255,.76); line-height: 1.65; }
.booking-route-preview { height: 360px; min-height: 300px; overflow: hidden; border: 2px solid rgba(255,255,255,.22); border-radius: 12px; background: #dbe9df; }
.booking-route-summary { margin: 13px 2px 0; color: #fff !important; font-weight: 750; text-align: center; }
.field-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.location-button { margin-bottom: 7px; padding: 5px 9px; border: 1px solid #b8d8c1; border-radius: 20px; color: var(--asu-green); background: var(--asu-lime); font-size: 10px; font-weight: 800; }
.location-button:hover, .location-button:focus { border-color: var(--asu-green); background: #d9f0df; }
.location-select-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.pin-map-button { min-height: 47px; padding: 0 15px; border: 1px solid var(--asu-green); border-radius: 9px; color: var(--asu-green); background: #fff; font-size: 11px; font-weight: 800; white-space: nowrap; }
.pin-map-button span { margin-right: 4px; font-size: 15px; }
.pin-map-button:hover, .pin-map-button:focus { color: #fff; background: var(--asu-green); box-shadow: 0 7px 16px rgba(7,85,45,.16); }
.map-stage { position: relative; width: 100%; height: min(52vh, 460px); min-height: 330px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(135deg, #e9f3ec, #dbe9df); }
.destination-map { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; border-radius: 12px; background: transparent !important; color: var(--ink); }
.map-visual-fallback { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.map-loading-note { position: absolute; z-index: 4; left: 50%; top: 50%; display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 22px; color: var(--asu-green); background: rgba(255,255,255,.94); box-shadow: 0 5px 20px rgba(0,40,20,.12); font-size: 11px; font-weight: 800; transform: translate(-50%,-50%); pointer-events: none; }
.map-ready .map-loading-note { display: none; }
.map-fallback .map-visual-fallback { opacity: 1; }
.map-fallback .leaflet-tile-pane { display: none; }
.map-loading-spinner { width: 14px; height: 14px; border: 2px solid #b9d8c2; border-top-color: var(--asu-green); border-radius: 50%; animation: map-spin .75s linear infinite; }
@keyframes map-spin { to { transform: rotate(360deg); } }
.map-mode-controls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 10px; }
.map-mode-button { padding: 9px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; color: #fff; background: rgba(0,0,0,.13); font-size: 12px; font-weight: 800; }
.map-mode-button.active { border-color: var(--asu-gold); color: #173114; background: var(--asu-gold); }
.pin-legend { display: flex; gap: 18px; margin-top: 10px; color: rgba(255,255,255,.82); font-size: 11px; }
.legend-dot { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 50%; }
.pickup-dot { background: #1764b0; }
.destination-dot { background: #d53a35; }
.map-status { min-height: 34px; margin: 9px 0 0; color: rgba(255,255,255,.82) !important; font-size: 11px; }
.pin-validation { margin: 14px 0 0; color: #a06c00; font-size: 11px; font-weight: 700; }
.pin-validation.ready { color: var(--asu-leaf); }
.ride-pin { display: grid; place-items: center; border: 3px solid #fff; border-radius: 50% 50% 50% 0; color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.35); font-size: 12px; font-weight: 900; transform: rotate(-45deg); }
.ride-pin span { display: block; transform: rotate(45deg); }
.ride-pin-pickup { background: #1764b0; }
.ride-pin-destination { background: #d53a35; }
.ride-pin-pickup, .ride-pin-destination { line-height: 26px; text-align: center; }
.map-link { display: inline-block; margin-top: 10px; color: var(--asu-gold); font-size: 12px; font-weight: 750; text-decoration: none; }
.map-link:hover { color: #fff; }
.aside-pin-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 15px; color: #173114; background: var(--asu-gold); font-size: 28px; }
.pin-feature { display: flex; align-items: center; gap: 12px; margin-top: 15px; padding: 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(0,0,0,.10); }
.pin-feature > span { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: #1764b0; font-weight: 900; }
.pin-feature + .pin-feature > span { background: #d53a35; }
.pin-feature b, .pin-feature small { display: block; }
.pin-feature small { margin-top: 2px; color: rgba(255,255,255,.68); font-size: 10px; }

.modal-open { overflow: hidden; }
.map-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 22px; background: rgba(4,28,16,.68); backdrop-filter: blur(5px); }
.map-modal[hidden] { display: none; }
.map-dialog { width: min(820px, 100%); max-height: calc(100vh - 44px); overflow-y: auto; padding: 22px; border: 1px solid rgba(255,255,255,.5); border-radius: 18px; background: #fff; box-shadow: 0 28px 80px rgba(0,30,16,.32); }
.map-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.map-dialog-eyebrow { color: var(--asu-leaf); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.map-dialog h2 { margin: 3px 0 0; font-size: 22px; font-weight: 850; }
.map-close-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: #f6f8f6; font-size: 23px; line-height: 1; }
.map-close-button:hover, .map-close-button:focus { color: #fff; border-color: var(--asu-green); background: var(--asu-green); }
.map-dialog-help { margin: 10px 0 16px; color: var(--muted); font-size: 12px; }
.map-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; }
.map-dialog-footer .pin-legend { margin-top: 0; color: var(--muted); }
.map-dialog-footer .map-status { min-height: 0; margin: 5px 0 0; color: var(--muted) !important; }
.map-dialog-footer .btn { min-width: 120px; }
.driver-map-legend { margin-top: 14px; color: var(--muted); }
.driver-route-summary { margin: 0 0 12px; padding: 10px 12px; border-radius: 9px; color: #4e5a52; background: #f2f5f3; font-size: 12px; font-weight: 800; }
.driver-route-summary.loading { color: #745600; background: #fff5d8; }
.driver-route-summary.ready { color: #07552d; background: #e6f5ea; }
.driver-route-summary.unavailable { color: #7a3d39; background: #fff0ef; }
.driver-pin-shell { border: 0; background: transparent; }
.driver-map-pin {
    position: relative; width: 38px; height: 38px; display: grid; place-items: center;
    border: 3px solid #fff; border-radius: 50% 50% 50% 8px; color: #fff;
    box-shadow: 0 4px 13px rgba(0,0,0,.35); transform: rotate(-45deg);
}
.driver-map-pin b { display: block; font-size: 13px; line-height: 1; transform: rotate(45deg); }
.driver-map-pin-pickup { background: #1764b0; }
.driver-map-pin-destination { background: #d53a35; }

.profile-hero { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px; background: linear-gradient(100deg, #fff, #eef8f1); }
.profile-avatar { width: 82px; height: 82px; display: grid; place-items: center; border: 3px solid #fff; outline: 2px solid #56a96f; border-radius: 50%; background: #cfe8d6; color: var(--asu-green); font-size: 30px; font-weight: 850; }
.profile-name { margin: 0; font-size: 24px; font-weight: 850; }
.verified { color: var(--asu-leaf); font-weight: 800; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
.detail-row { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.detail-row span:first-child { color: var(--muted); }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 11px 12px; background: #f7f9f7; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.admin-table td { padding: 13px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.empty-state { padding: 34px 20px; text-align: center; color: var(--muted); }
.notification-center { max-width: 900px; }
.notification-list { display: grid; gap: 9px; }
.notification-item { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.notification-item.unread { border-color: #b9dcc3; background: #f2faf4; }
.notification-dot { width: 9px; height: 9px; border-radius: 50%; background: #c9cfcb; }
.notification-item.unread .notification-dot { background: #dc3545; box-shadow: 0 0 0 4px rgba(220,53,69,.1); }
.notification-item strong { display: block; font-size: 13px; }
.notification-item time { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.page-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.notification-center { max-width: 850px; }
.notification-list { display: grid; gap: 9px; }
.notification-item { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.notification-item.unread { border-color: #b6d9c0; background: #f1faf4; }
.notification-dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd2cd; }
.notification-item.unread .notification-dot { background: #dc3545; box-shadow: 0 0 0 4px rgba(220,53,69,.1); }
.notification-item strong { display: block; font-size: 13px; }
.notification-item time { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.alert { border: 0; border-radius: 11px; }

@media (max-width: 1000px) {
    .app-sidebar { width: 82px; padding: 20px 11px; }
    .app-sidebar .brand-name, .app-sidebar .brand-sub, .sidebar-role, .side-nav .nav-label, .campus-card { display: none; }
    .app-sidebar .brand-lockup { margin: 0 auto 28px; }
    .side-nav a { justify-content: center; padding: 10px; }
    .side-nav .notification-badge { position: absolute; top: 2px; right: 2px; }
    .app-frame { margin-left: 82px; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .auth-form { padding: 45px; }
}
@media (max-width: 760px) {
    .public-main { padding: 0; }
    .auth-card { grid-template-columns: 1fr; min-height: 100vh; border-radius: 0; }
    .auth-visual { min-height: 250px; padding: 28px; }
    .auth-copy { margin-top: 55px; }
    .auth-copy h1 { font-size: 31px; }
    .trust-row { display: none; }
    .auth-form { padding: 38px 24px; }
    .app-sidebar { position: fixed; inset: auto 0 0; width: auto; height: 67px; flex-direction: row; padding: 8px 10px; }
    .app-sidebar .brand-lockup, .sidebar-spacer, .campus-card, .sidebar-role { display: none; }
    .side-nav { width: 100%; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
    .side-nav a { min-height: 50px; padding: 6px; }
    .app-frame { margin-left: 0; padding-bottom: 67px; }
    .topbar { height: 62px; padding: 0 18px; }
    .page-eyebrow, .user-chip div { display: none; }
    .app-main { padding: 20px 15px 30px; }
    .metric-grid, .dashboard-grid, .booking-shell, .detail-grid { grid-template-columns: 1fr; }
    .profile-hero { grid-template-columns: auto 1fr; }
    .profile-hero > :last-child { grid-column: 1 / -1; }
    .admin-table { min-width: 720px; }
    .table-scroll { overflow-x: auto; }
    .location-select-row { grid-template-columns: 1fr; }
    .pin-map-button { width: 100%; }
    .map-modal { padding: 0; }
    .map-dialog { width: 100%; max-height: 100vh; min-height: 100vh; padding: 18px; border-radius: 0; }
    .map-stage { height: 52vh; min-height: 310px; }
    .map-dialog-footer { align-items: stretch; flex-direction: column; }
    .map-dialog-footer .btn { width: 100%; }
    .page-heading-row { align-items: stretch; flex-direction: column; }
    .page-heading-row .btn { width: 100%; }
    .notification-item { grid-template-columns: 10px 1fr; }
    .notification-item form { grid-column: 2; }
}
