@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,400,0,0&family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  font-family: "Montserrat", sans-serif;
  color: #17202a;
  background: #f5f7fa;
  font-synthesis: none;
  --accent: #e75f2c;
  --accent-dark: #c94618;
  --ink: #17202a;
  --muted: #697482;
  --line: #e3e8ee;
  --panel: #ffffff;
  --soft: #f5f7fa;
  --blue: #1c7da8;
}

* {
  box-sizing: border-box;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, input { font: inherit; }
.material-symbols-outlined { font-size: 21px; line-height: 1; vertical-align: middle; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: #ffd1bf; }

.app-shell { display: flex; min-height: 100vh; background: var(--soft); }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; width: 248px; flex-direction: column; border-right: 1px solid var(--line); background: #fff; padding: 28px 18px 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(231,95,44,.24); }
.brand-mark .material-symbols-outlined { font-size: 24px; }
.brand strong { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.04em; }
.brand small { display: block; margin-top: 3px; color: #89939e; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sidebar-nav { margin-top: 46px; }
.nav-caption { margin: 0 12px 10px; color: #a0a8b1; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sidebar-nav a { display: flex; align-items: center; gap: 13px; margin: 4px 0; padding: 12px 13px; border-radius: 11px; color: #6a7480; font-size: 13px; font-weight: 600; transition: .2s ease; }
.sidebar-nav a:hover { color: var(--ink); background: #f7f8fa; }
.sidebar-nav a.active { color: var(--accent); background: #fff2ed; }
.sidebar-nav a.active::after { width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: var(--accent); content: ""; }
.sidebar-bottom { display: grid; gap: 16px; margin-top: auto; }
.incident-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border: 1px solid #f0c9ba; border-radius: 11px; background: #fff9f6; padding: 11px; color: #b9431b; font-size: 11px; font-weight: 700; }
.user-mini { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; border-top: 1px solid var(--line); padding: 16px 3px 0; }
.avatar, .top-avatar { display: grid; place-items: center; border-radius: 50%; background: #dceef6; color: #176583; font-size: 10px; font-weight: 800; }
.avatar { width: 34px; height: 34px; }.top-avatar { width: 32px; height: 32px; }
.user-mini strong, .user-mini small { display: block; font-size: 10px; }.user-mini small { margin-top: 3px; color: var(--muted); }
.user-mini > .material-symbols-outlined { color: #98a0aa; font-size: 18px; }
.app-area { width: 100%; margin-left: 0; }
.topbar { position: sticky; top: 0; z-index: 15; display: flex; height: 70px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(227,232,238,.9); background: rgba(255,255,255,.9); padding: 0 32px; backdrop-filter: blur(14px); }
.topbar > p { font-size: 12px; font-weight: 700; }.top-actions { display: flex; align-items: center; gap: 9px; }
.icon-button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #5d6874; }
.notification { position: relative; }.notification::after { position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; border: 2px solid white; border-radius: 50%; background: var(--accent); content: ""; }
.mobile-brand { display: flex; align-items: center; gap: 8px; }
.mobile-brand .brand-mark { width: 34px; height: 34px; border-radius: 9px; }
.mobile-brand strong { font-size: 14px; }
.mobile-nav { display: none; }
.page-content { min-height: calc(100vh - 70px); }
.page-wrap { max-width: 1440px; margin: auto; padding: 34px 40px 52px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h1 { margin: 0; font-size: clamp(26px,3vw,38px); letter-spacing: -.045em; }.section-heading > div > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.section-heading.compact { align-items: flex-start; margin-bottom: 24px; }.section-heading.compact h1 { font-size: 27px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 12px 18px; font-size: 11px; font-weight: 700; }
.primary-button { border: 0; background: var(--accent); color: white; box-shadow: 0 8px 20px rgba(231,95,44,.18); }.primary-button:hover { background: var(--accent-dark); color: white; }
.secondary-button { border: 1px solid var(--line); background: #fff; color: var(--ink); }.secondary-button.small { padding: 9px 13px; }.full { width: 100%; }

/* Login */
.login-page { display: grid; min-height: 100vh; grid-template-columns: 1.05fr .95fr; background: #fff; }
.login-visual { position: relative; display: flex; min-height: 720px; flex-direction: column; overflow: hidden; background-color: #0f4557; background-image: linear-gradient(145deg,rgba(15,69,87,.92),rgba(12,38,51,.94)),url("https://lh3.googleusercontent.com/aida-public/AB6AXuCsIGmMtuB9GCt8n16Ub9NWIkkCD0bKKSktjClHgZJAEguavZcIW2z5YIx1YbyvyJ0bUuoPVns4wISDpk5_SYQ4cfHwdZ6Hj5Hp25ZJxO1UQ4tKVHVIIrP90ZiBSFKXfWyrhmzj1mk9EDdbn4pcAqUE_KG_zntKaYieTzca2iqJEioG488CJihaQjCNYFoCLN1rEQIkMhUaaYFMQnz-ZSUBCGkIwJys5E7D4y3tpYRROfi0cy17a1CzsirM13cwBI5e8gWG2BehtAg"); background-position: center; background-size: cover; padding: 42px 7vw; color: #fff; }
.login-visual::before { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px); background-size: 48px 48px; content: ""; }
.brand-light { position: relative; }.brand-light small { color: rgba(255,255,255,.62); }
.visual-copy { position: relative; max-width: 600px; margin: auto 0; padding: 70px 0; }.visual-copy h1 { max-width: 560px; margin: 0; font-size: clamp(45px,5.2vw,72px); line-height: .98; letter-spacing: -.06em; }.visual-copy > p:last-child { max-width: 500px; margin: 25px 0 0; color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.7; }
.login-route-card { position: relative; display: grid; max-width: 410px; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.1); padding: 15px; backdrop-filter: blur(14px); }
.route-number { display: grid; width: 47px; height: 47px; place-items: center; border-radius: 12px; background: var(--accent); font-weight: 800; }.login-route-card strong,.login-route-card small { display: block; font-size: 12px; }.login-route-card small { margin-top: 5px; color: rgba(255,255,255,.65); }
.login-panel { display: grid; place-items: center; padding: 50px; }.login-box { width: 100%; max-width: 420px; }.login-box h2 { margin: 0; font-size: 34px; letter-spacing: -.045em; }.login-box > .muted { margin: 10px 0 24px; font-size: 13px; }
.login-mobile-brand { display: none; }.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 23px; border-bottom: 1px solid var(--line); }.auth-tabs button { border: 0; border-bottom: 2px solid transparent; background: none; padding: 12px; color: #8a939e; font-size: 12px; font-weight: 700; }.auth-tabs button.active { border-color: var(--accent); color: var(--accent); }
.login-box form { display: grid; gap: 16px; }.login-box label { color: #4d5864; font-size: 11px; font-weight: 700; }.input-wrap { display: flex; align-items: center; gap: 10px; margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; padding: 0 13px; }.input-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px #fff1eb; }.input-wrap .material-symbols-outlined { color: #929ba5; }.input-wrap input { width: 100%; border: 0; outline: 0; background: transparent; padding: 13px 0; font-size: 12px; color: var(--ink); }
.form-options { display: flex; align-items: center; justify-content: space-between; }.form-options a { color: var(--accent); font-size: 10px; font-weight: 700; }.check-label { display: flex; align-items: center; gap: 6px; }
.separator { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: #9ba3ad; font-size: 9px; text-transform: uppercase; }.separator::before,.separator::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.social-button { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 12px; color: #45505d; font-size: 11px; font-weight: 700; }.social-button b { margin-right: 7px; color: #4285f4; font-size: 15px; }
.legal { margin: 20px 0 0; color: #9aa2ab; font-size: 9px; line-height: 1.6; text-align: center; }.legal a { color: #5a6470; text-decoration: underline; }
.login-error { display: flex; align-items: center; gap: 6px; margin: 0; border-radius: 8px; background: #fff0f0; padding: 9px 11px; color: #b63f3f; font-size: 11px; font-weight: 700; }.login-error .material-symbols-outlined { font-size: 16px; }
.login-error ul { margin: 0; padding: 0; list-style: none; }
.field-error { display: block; margin-top: 6px; color: #b63f3f; font-size: 10px; font-weight: 600; }

/* Map */
.map-page { display: grid; height: calc(100vh - 70px); grid-template-columns: 1fr 365px; overflow: hidden; }
.map-canvas,.mini-map { position: relative; overflow: hidden; background-color: #e9eef1; background-image: linear-gradient(28deg,transparent 47%,#d4dce1 48%,#fff 49%,#fff 53%,#d4dce1 54%,transparent 55%),linear-gradient(107deg,transparent 43%,#dbe2e6 44%,#fff 45%,#fff 49%,#dbe2e6 50%,transparent 51%); background-size: 310px 250px,400px 320px; }
.map-roads { position: absolute; inset: -20%; opacity: .45; background: repeating-radial-gradient(ellipse at 50% 50%,transparent 0 35px,#a9d5e3 37px 40px,transparent 42px 73px); transform: rotate(-18deg) scale(1.3); }
.map-canvas #map { position: absolute; inset: 0; z-index: 1; }
.map-canvas .map-search, .map-canvas .map-control, .map-canvas .map-zoom { z-index: 1000; }
.map-canvas .leaflet-container { font-family: inherit; }
.map-search { position: absolute; top: 24px; left: 50%; z-index: 2; display: flex; width: min(580px,calc(100% - 48px)); align-items: center; gap: 11px; transform: translateX(-50%); border: 1px solid rgba(209,218,224,.9); border-radius: 14px; background: rgba(255,255,255,.94); padding: 8px 11px 8px 16px; box-shadow: 0 12px 30px rgba(50,66,76,.13); backdrop-filter: blur(12px); }.map-search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 12px; }.map-search button { border: 0; background: transparent; color: var(--muted); }
.map-control { position: absolute; z-index: 3; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 10px 13px; color: #3d4955; box-shadow: 0 6px 18px rgba(30,48,60,.13); font-size: 10px; font-weight: 700; }.map-canvas > .locate { right: 22px; bottom: 22px; }
.bus-pin { position: absolute; z-index: 3; display: flex; align-items: center; gap: 7px; border: 0; border-radius: 25px; background: var(--accent); padding: 7px 11px 7px 8px; color: #fff; box-shadow: 0 8px 18px rgba(184,70,28,.28); font-size: 9px; font-weight: 800; }.bus-pin .material-symbols-outlined { font-size: 17px; }.pin-one { top: 36%; left: 26%; }.pin-two { top: 55%; left: 63%; background: var(--blue); }.pin-three { top: 70%; left: 39%; }
.map-zoom { position: absolute; right: 22px; bottom: 70px; z-index: 3; display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 18px rgba(30,48,60,.13); }.map-zoom button { display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-bottom: 1px solid var(--line); background: white; }.map-zoom button:last-child { border: 0; }
.live-panel { overflow-y: auto; border-left: 1px solid var(--line); background: white; padding: 30px 26px; }
.live-badge { display: flex; align-items: center; gap: 6px; border-radius: 20px; background: #edf8f3; padding: 7px 9px; color: #25845e; font-size: 8px; font-weight: 800; text-transform: uppercase; }.live-badge i,.system-status i { width: 6px; height: 6px; border-radius: 50%; background: #36a879; }
.location-fields { position: relative; display: grid; gap: 2px; margin-bottom: 16px; }.location-fields::before { position: absolute; top: 29px; bottom: 29px; left: 20px; border-left: 1px dashed #cfd6dd; content: ""; }.location-fields > div { z-index: 1; display: flex; align-items: center; gap: 12px; border-radius: 10px; background: #f8fafb; padding: 11px 12px; }.location-dot { display: block; width: 11px; height: 11px; flex: 0 0 auto; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #b7c0c9; }.location-dot.current { background: var(--blue); }.location-dot.destination { background: var(--accent); }.location-fields p,.route-search p { margin: 0; }.location-fields small,.location-fields strong,.route-search small,.route-search strong { display: block; }.location-fields small,.route-search small { margin-bottom: 3px; color: #929ca7; font-size: 8px; text-transform: uppercase; }.location-fields strong,.route-search strong { font-size: 10px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 25px 0 11px; }.panel-title h3 { margin: 0; font-size: 13px; }.panel-title p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }.panel-title button { border: 0; background: transparent; color: var(--accent); font-size: 9px; font-weight: 700; }
.transit-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-bottom: 9px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }.route-chip { display: grid; min-width: 40px; height: 40px; place-items: center; border-radius: 10px; background: #eaf4f8; color: var(--blue); font-size: 12px; font-weight: 800; }.route-chip.orange { background: #fff0e9; color: var(--accent); }.route-chip.green { background: #e8f6ef; color: #25845e; }.route-chip.purple { background: #f0ecfa; color: #7258a7; }
.transit-card strong { font-size: 10px; }.transit-card p { display: flex; align-items: center; gap: 4px; margin: 5px 0 0; color: var(--muted); font-size: 8px; }.transit-card p .material-symbols-outlined { font-size: 12px; }.arrival { color: var(--accent); font-size: 10px; font-weight: 800; }
.quick-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 18px; }.quick-grid a { display: grid; place-items: center; gap: 7px; border-radius: 11px; background: #f7f9fa; padding: 13px 4px; color: #576370; font-size: 8px; font-weight: 700; }.quick-grid a .material-symbols-outlined { color: var(--accent); }

/* Routes */
.route-search { display: grid; grid-template-columns: minmax(200px,1fr) auto minmax(200px,1fr) auto; align-items: center; gap: 14px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 14px; background: white; padding: 13px; box-shadow: 0 5px 20px rgba(33,51,63,.04); }.route-search > div { display: flex; align-items: center; gap: 11px; border-radius: 9px; background: #f7f9fa; padding: 10px 12px; }.route-search > .material-symbols-outlined { color: #9aa3ad; }
.route-layout { display: grid; grid-template-columns: minmax(580px,1.25fr) .75fr; gap: 20px; }.results-count { margin: 0 0 10px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.route-result { display: grid; grid-template-columns: 64px 44px 1fr 86px; align-items: center; gap: 15px; margin-bottom: 11px; border: 1px solid var(--line); border-radius: 13px; background: white; padding: 18px; transition: .2s; }.route-result:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(29,48,60,.08); }.route-result.featured { border-color: #f1b9a4; box-shadow: 0 7px 25px rgba(231,95,44,.07); }
.route-time strong,.route-time small { display: block; }.route-time strong { font-size: 17px; }.route-time small { margin-top: 4px; color: var(--muted); font-size: 8px; }.route-line { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #fff0e9; color: var(--accent); }.route-line.blue { background: #e8f5fa; color: var(--blue); }.route-line.red { background: #fff0f0; color: #be4545; }
.route-info > div:first-child { display: flex; align-items: center; gap: 8px; }.route-info h3 { margin: 0; font-size: 12px; }.status { display: inline-flex; width: fit-content; border-radius: 20px; background: #fff0e9; padding: 5px 7px; color: var(--accent); font-size: 7px; font-weight: 800; text-transform: uppercase; }.status.blue { background: #e9f5fa; color: var(--blue); }.status.red { background: #fff0f0; color: #b83f3f; }.status.green { background: #e9f7ef; color: #24805c; }
.route-info p { display: flex; align-items: center; gap: 5px; margin: 9px 0 12px; color: var(--muted); font-size: 8px; }.route-info p .material-symbols-outlined { font-size: 13px; }.route-info p > span { width: 1px; height: 12px; margin: 0 3px; background: var(--line); }
.mini-stops { display: flex; align-items: center; width: 85%; }.mini-stops i { width: 7px; height: 7px; border: 2px solid var(--accent); border-radius: 50%; background: #fff; }.mini-stops::before,.mini-stops::after { height: 2px; flex: 1; background: #f3b59e; content: ""; }
.route-action { text-align: right; }.route-action strong { display: block; margin-bottom: 10px; font-size: 12px; }.route-action button,.route-action .route-select { border: 0; border-radius: 8px; background: var(--accent); padding: 8px 10px; color: white; font-size: 8px; font-weight: 700; display: inline-block; }
.mini-map { min-height: 485px; border: 1px solid var(--line); border-radius: 15px; }.mini-map .locate { right: 15px; bottom: 15px; padding: 9px; }.route-path { position: absolute; top: 28%; left: 42%; width: 25%; height: 45%; border: solid var(--accent); border-width: 0 0 4px 4px; border-radius: 0 0 0 60px; transform: rotate(-15deg); }.map-label { position: absolute; z-index: 2; border-radius: 15px; background: white; padding: 7px 9px; box-shadow: 0 5px 15px rgba(27,48,59,.13); font-size: 8px; font-weight: 700; }.label-a { top: 24%; left: 34%; }.label-b { right: 20%; bottom: 22%; }

/* Schedules */
.segmented { display: flex; border: 1px solid var(--line); border-radius: 10px; background: white; padding: 3px; }.segmented button { border: 0; border-radius: 7px; background: transparent; padding: 9px 13px; color: var(--muted); font-size: 9px; font-weight: 700; }.segmented button.active { background: var(--ink); color: white; }
.schedule-layout { display: grid; grid-template-columns: 310px 1fr; gap: 20px; }.line-selector,.departures-card,.payment-panel,.activity-card,.settings-card { border: 1px solid var(--line); border-radius: 14px; background: white; }.line-selector { align-self: start; padding: 4px 15px 15px; }.line-item { display: grid; width: 100%; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; border: 0; border-radius: 10px; background: transparent; padding: 10px; text-align: left; }.line-item:hover,.line-item.active { background: #f7f9fa; }.line-item.active { box-shadow: inset 3px 0 var(--accent); }.line-item strong,.line-item small { display: block; font-size: 9px; }.line-item small { margin-top: 4px; color: var(--muted); }.line-item > .material-symbols-outlined { color: #abb2ba; }
.tip-card { display: flex; gap: 12px; margin-top: 15px; border-radius: 11px; background: #edf6f9; padding: 14px; color: #356474; }.tip-card > .material-symbols-outlined { margin-top: 2px; }.tip-card small,.tip-card strong { display: block; font-size: 8px; }.tip-card strong { margin: 3px 0 5px; font-size: 10px; }.tip-card p { margin: 0; color: #66808a; font-size: 8px; line-height: 1.5; }
.departures-card { overflow: hidden; }.departures-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 20px; }.departures-head > div { display: flex; align-items: center; gap: 13px; }.departures-head h2 { margin: 0; font-size: 17px; }.departures-head p { display: flex; align-items: center; gap: 4px; margin: 6px 0 0; color: var(--muted); font-size: 8px; }.departures-head p .material-symbols-outlined { font-size: 12px; }
.departure-table { padding: 4px 20px; }.table-head,.table-row { display: grid; grid-template-columns: 1fr 1.3fr 1.1fr 30px; align-items: center; gap: 10px; }.table-head { padding: 12px 8px; color: #969fa9; font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.table-row { border-top: 1px solid var(--line); padding: 13px 8px; font-size: 10px; }.table-row > button { border: 0; background: transparent; color: #a0a8b1; }.table-row > span:nth-child(2) { color: var(--muted); }
.frequency { display: flex; align-items: center; gap: 11px; margin: 12px 20px; border-radius: 10px; background: #f6f8fa; padding: 12px; }.frequency > .material-symbols-outlined { color: var(--accent); }.frequency small,.frequency strong { display: block; font-size: 8px; }.frequency strong { margin-top: 3px; }
.stops { border-top: 1px solid var(--line); padding: 18px 20px 22px; }.stops h3 { margin: 0 0 17px; font-size: 11px; }.stops > div { display: flex; justify-content: space-between; }.stops span { position: relative; z-index: 1; display: grid; flex: 1; place-items: center; gap: 7px; text-align: center; }.stops span::before { position: absolute; top: 10px; right: 50%; left: -50%; z-index: -1; height: 2px; background: #dfe5e9; content: ""; }.stops span:first-child::before { display: none; }.stops i { display: grid; width: 21px; height: 21px; place-items: center; border: 2px solid var(--accent); border-radius: 50%; background: white; color: var(--accent); font-size: 7px; font-style: normal; font-weight: 800; }.stops small { max-width: 80px; font-size: 7px; line-height: 1.3; }

/* Billing */
.billing-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; margin-bottom: 20px; }.balance-card { position: relative; display: grid; min-height: 190px; grid-template-columns: 1fr auto; overflow: hidden; border-radius: 16px; background: linear-gradient(135deg,#17495d,#247794); padding: 25px; color: white; }.balance-card::after { position: absolute; right: -60px; bottom: -110px; width: 260px; height: 260px; border: 42px solid rgba(255,255,255,.06); border-radius: 50%; content: ""; }.balance-card p { margin: 0 0 10px; color: rgba(255,255,255,.7); font-size: 10px; }.balance-card h2 { margin: 0; font-size: 36px; letter-spacing: -.04em; }.balance-card span { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: #b8e5d2; font-size: 8px; font-weight: 700; }.balance-card span i { width: 6px; height: 6px; border-radius: 50%; background: #6ed1a7; }.balance-card > .material-symbols-outlined { font-size: 42px; opacity: .6; }.balance-card button { position: absolute; bottom: 22px; left: 25px; z-index: 1; display: flex; align-items: center; gap: 7px; border: 0; border-radius: 9px; background: white; padding: 10px 13px; color: #16536a; font-size: 9px; font-weight: 800; }
.payment-panel { padding: 0 19px 18px; }.payment-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }.payment-cards article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 11px; padding: 15px; }.visa { color: #2357a5; font-size: 13px; font-style: italic; font-weight: 800; }.payment-cards strong,.payment-cards small { display: block; font-size: 9px; }.payment-cards small { margin-top: 5px; color: var(--muted); }.payment-cards > article > .material-symbols-outlined:last-child { color: #9ba4ad; font-size: 17px; }
.activity-card { overflow: hidden; padding: 0 20px; }.activity-card > .panel-title { margin: 0; padding: 20px 0 15px; }.activity-head,.activity-row { display: grid; grid-template-columns: 2fr .8fr .8fr .6fr 35px; align-items: center; gap: 10px; }.activity-head { border-bottom: 1px solid var(--line); padding: 10px 8px; color: #9ba3ac; font-size: 7px; font-weight: 800; text-transform: uppercase; }.activity-row { border-bottom: 1px solid var(--line); padding: 13px 8px; color: #626e7b; font-size: 9px; }.activity-row > div { display: flex; align-items: center; gap: 11px; }.activity-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: #f1f5f7; color: var(--blue); }.activity-row strong,.activity-row small { display: block; }.activity-row div strong { color: var(--ink); font-size: 9px; }.activity-row small { margin-top: 4px; color: #929ca6; font-size: 8px; }.category { width: fit-content; border-radius: 15px; background: #f2f5f7; padding: 5px 7px; }.activity-row > strong { color: var(--ink); }.activity-row > strong.positive { color: #25845e; }.activity-row button { border: 0; background: transparent; color: #919ba5; }.load-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; border: 0; background: transparent; padding: 15px; color: var(--accent); font-size: 9px; font-weight: 700; }
.recharge-form-card { margin-top: 20px; padding: 21px; }
.recharge-form-card form { display: grid; gap: 14px; }
.amount-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.amount-options button { border: 1px solid var(--line); border-radius: 9px; background: #f7f9fa; padding: 11px; font-size: 11px; font-weight: 800; color: var(--ink); }
.amount-options button.selected { border-color: var(--accent); background: #fff0e9; color: var(--accent); }
.pay-methods { display: grid; gap: 8px; }
.pay-methods label { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; font-size: 10px; font-weight: 700; cursor: pointer; }
.pay-methods input { accent-color: var(--accent); }

/* Settings */
.system-status { display: flex; align-items: center; gap: 7px; border: 1px solid #d7ebe2; border-radius: 20px; background: #f2faf6; padding: 8px 11px; color: #277c5b; font-size: 8px; font-weight: 700; }.settings-grid { display: grid; grid-template-columns: 330px 1fr; align-items: start; gap: 20px; }.settings-card { padding: 21px; }.profile-card { text-align: center; }.profile-avatar { position: relative; display: grid; width: 82px; height: 82px; margin: 3px auto 14px; place-items: center; border: 4px solid #eef4f6; border-radius: 50%; background: #dceef6; color: #176583; font-size: 21px; font-weight: 800; }.profile-avatar button { position: absolute; right: -2px; bottom: -2px; display: grid; width: 27px; height: 27px; place-items: center; border: 2px solid white; border-radius: 50%; background: var(--accent); color: white; }.profile-avatar button .material-symbols-outlined { font-size: 13px; }.profile-card h2 { margin: 0; font-size: 18px; }.profile-card > div:nth-child(2) p { margin: 6px 0 22px; color: var(--muted); font-size: 8px; }.profile-card form { display: grid; gap: 13px; border-top: 1px solid var(--line); padding-top: 18px; text-align: left; }.profile-card label { color: #64707c; font-size: 8px; font-weight: 700; }.profile-card input { width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: #fafbfc; padding: 11px; color: var(--ink); font-size: 10px; }.profile-card input:focus { border-color: var(--accent); }
.settings-stack { display: grid; gap: 14px; }.settings-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }.settings-title > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: #fff0e9; color: var(--accent); }.settings-title h3 { margin: 0; font-size: 13px; }.settings-title p { margin: 4px 0 0; color: var(--muted); font-size: 8px; }.language-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.language-options button { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 9px; background: white; padding: 11px; color: #596572; font-size: 9px; font-weight: 700; }.language-options button.active { border-color: #f0b9a3; background: #fff8f5; color: var(--accent); }
.setting-row,.setting-link { display: flex; width: 100%; align-items: center; justify-content: space-between; border: 0; border-top: 1px solid var(--line); background: transparent; padding: 13px 0; text-align: left; }.setting-row strong,.setting-row small,.setting-link strong,.setting-link small { display: block; font-size: 9px; }.setting-row small,.setting-link small { margin-top: 4px; color: var(--muted); font-size: 8px; }.toggle { position: relative; width: 37px; height: 21px; flex: 0 0 auto; border: 0; border-radius: 20px; background: #dfe4e8; padding: 3px; transition: .2s; }.toggle span { display: block; width: 15px; height: 15px; border-radius: 50%; background: white; box-shadow: 0 1px 4px rgba(0,0,0,.15); transition: .2s; }.toggle.on { background: var(--accent); }.toggle.on span { transform: translateX(16px); }.setting-link > .material-symbols-outlined { color: #a0a8b0; }.setting-link.danger strong,.setting-link.danger > .material-symbols-outlined { color: #b93f3f; }

@media (max-width: 1050px) {
  .map-page { grid-template-columns: 1fr 330px; }
  .route-layout { grid-template-columns: 1fr; }.mini-map { min-height: 320px; }
  .billing-grid { grid-template-columns: 1fr; }.schedule-layout { grid-template-columns: 260px 1fr; }
  .login-visual { padding: 36px 5vw; }.login-panel { padding: 40px; }
}

@media (max-width: 760px) {
  .app-area { width: 100%; margin: 0; }.topbar { height: 62px; padding: 0 16px; }.topbar > p { display: none; }.mobile-brand { display: flex; align-items: center; gap: 8px; }.mobile-brand .brand-mark { width: 32px; height: 32px; border-radius: 9px; }.mobile-brand strong { font-size: 15px; }
  .page-content { min-height: calc(100vh - 62px); padding-bottom: 66px; }.mobile-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 30; display: grid; height: 62px; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }.mobile-nav a { display: grid; place-items: center; align-content: center; gap: 4px; color: #7e8994; font-size: 7px; font-weight: 700; }.mobile-nav a.active { color: var(--accent); }.mobile-nav .material-symbols-outlined { font-size: 19px; }
  .page-wrap { padding: 25px 16px 35px; }.section-heading { align-items: flex-start; flex-direction: column; }.section-heading h1 { font-size: 29px; }
  .login-page { grid-template-columns: 1fr; }.login-visual { display: none; }.login-panel { min-height: 100vh; padding: 35px 22px; }.login-mobile-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 48px; }.login-mobile-brand .brand-mark { width: 36px; height: 36px; }.login-box h2 { font-size: 30px; }
  .map-page { display: flex; height: calc(100vh - 124px); flex-direction: column; overflow-y: auto; }.map-canvas { min-height: 52vh; }.live-panel { overflow: visible; border: 0; padding: 24px 16px; }.map-search { top: 15px; }.map-canvas > .locate { bottom: 15px; }
  .route-search { grid-template-columns: 1fr; }.route-search > .material-symbols-outlined { display: none; }.route-layout { display: block; }.mini-map { display: none; }.route-result { grid-template-columns: 55px 40px 1fr; padding: 14px; }.route-action { grid-column: 3; display: flex; align-items: center; justify-content: space-between; text-align: left; }.route-action strong { margin: 0; }
  .schedule-layout,.settings-grid { grid-template-columns: 1fr; }.line-selector { padding-top: 4px; }.stops { overflow-x: auto; }.stops > div { min-width: 540px; }.departure-table { overflow-x: auto; }.table-head,.table-row { min-width: 520px; }
  .billing-grid { grid-template-columns: 1fr; }.payment-cards { grid-template-columns: 1fr; }.activity-table { overflow-x: auto; }.activity-head,.activity-row { min-width: 680px; }
}

/* Administration */
.admin-mode { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 30px; border: 1px solid var(--line); border-radius: 11px; background: #f8fafb; padding: 10px; }
.admin-mode > span { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; background: #e6f2f6; color: var(--blue); }
.admin-mode small,.admin-mode strong { display: block; font-size: 8px; }.admin-mode small { margin-bottom: 3px; color: var(--muted); }.admin-mode > .material-symbols-outlined { color: #9ba4ad; font-size: 16px; }
.admin-nav { margin-top: 28px; }.admin-help { border-radius: 12px; background: #f2f7f9; padding: 14px; }.admin-help > span { display: grid; width: 32px; height: 32px; margin-bottom: 9px; place-items: center; border-radius: 9px; background: #dceef5; color: var(--blue); }.admin-help strong,.admin-help small { display: block; }.admin-help strong { font-size: 10px; }.admin-help small { margin: 5px 0 10px; color: var(--muted); font-size: 8px; line-height: 1.5; }.admin-help button { border: 0; background: transparent; padding: 0; color: var(--blue); font-size: 8px; font-weight: 800; }
.admin-breadcrumb { display: flex; align-items: center; gap: 5px; font-size: 10px; }.admin-breadcrumb span { color: var(--muted); }.admin-breadcrumb .material-symbols-outlined { color: #a9b0b7; font-size: 15px; }.return-app { display: flex; align-items: center; gap: 6px; margin-left: 4px; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; font-size: 9px; font-weight: 700; }.return-app .material-symbols-outlined { font-size: 15px; }
.admin-page { max-width: 1500px; }.admin-heading { margin-bottom: 22px; }.admin-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 18px; }.admin-metrics article { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 13px; background: white; padding: 16px; }.metric-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 11px; background: #fff0e9; color: var(--accent); }.metric-icon.metric-1 { background: #eaf7f1; color: #26815f; }.metric-icon.metric-2 { background: #eaf4f8; color: var(--blue); }.admin-metrics small,.admin-metrics strong { display: block; }.admin-metrics small { color: var(--muted); font-size: 8px; }.admin-metrics strong { margin: 3px 0; font-size: 20px; letter-spacing: -.04em; }.admin-metrics p { margin: 0; color: #76818c; font-size: 8px; }
.admin-table-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; }.admin-table-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; }.admin-table-tools h2 { margin: 0; font-size: 14px; }.admin-table-tools p { margin: 5px 0 0; color: var(--muted); font-size: 8px; }.table-actions { display: flex; align-items: center; gap: 7px; }.table-actions label { display: flex; width: 220px; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 9px; background: #fafbfc; padding: 0 10px; }.table-actions label .material-symbols-outlined { color: #8f99a4; font-size: 17px; }.table-actions input { width: 100%; border: 0; outline: 0; background: transparent; padding: 9px 0; font-size: 9px; }.table-actions .secondary-button { padding: 9px 11px; }.table-actions .icon-only { padding: 8px; }
.admin-table { --columns: 5; min-width: 760px; border-top: 1px solid var(--line); }.admin-table-head,.admin-table-row { display: grid; grid-template-columns: repeat(var(--columns),minmax(115px,1fr)) 75px; align-items: center; gap: 10px; padding: 0 20px; }.admin-table-head { min-height: 39px; background: #f8fafb; color: #8c96a1; font-size: 7px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }.admin-table-row { min-height: 61px; border-top: 1px solid #edf0f2; color: #68737f; font-size: 9px; }.admin-table-row:hover { background: #fcfdfd; }.primary-cell { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; }.row-symbol { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: #f0f5f7; color: var(--blue); }.row-symbol .material-symbols-outlined { font-size: 16px; }.admin-status { display: flex; width: fit-content; align-items: center; gap: 5px; border-radius: 20px; background: #edf8f3; padding: 6px 8px; color: #277e5d; font-size: 7px; font-weight: 700; }.admin-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.admin-status.success { background: #edf8f3; color: #277e5d; }.admin-status.success i { background: #33a375; }.admin-status.warning { background: #fff5e7; color: #a16816; }.admin-status.warning i { background: #e7a039; }.admin-status.neutral { background: #f0f2f4; color: #65717d; }.admin-status.neutral i { background: #87919b; }.row-actions { display: flex; justify-content: flex-end; gap: 3px; }.row-actions button { display: grid; width: 27px; height: 27px; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #8f99a3; }.row-actions button:hover { background: #eef2f4; color: var(--ink); }.row-actions .material-symbols-outlined { font-size: 16px; }
.empty-state { padding: 55px 20px; color: var(--muted); text-align: center; }.empty-state > .material-symbols-outlined { font-size: 32px; }.empty-state strong { display: block; margin: 9px 0 4px; color: var(--ink); font-size: 11px; }.empty-state p { margin: 0; font-size: 8px; }.table-pagination { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 12px 20px; }.table-pagination p { margin: 0; color: var(--muted); font-size: 8px; }.table-pagination > div { display: flex; gap: 4px; }.table-pagination button { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: white; color: #65717d; font-size: 8px; }.table-pagination button.active { border-color: var(--accent); background: var(--accent); color: white; }.table-pagination button:disabled { opacity: .4; }
.admin-drawer-layer { position: fixed; inset: 0; z-index: 100; display: none; justify-content: flex-end; }.admin-drawer-layer.open { display: flex; }.drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgba(23,32,42,.35); backdrop-filter: blur(2px); }.admin-drawer { position: relative; z-index: 1; display: flex; width: min(560px,100%); flex-direction: column; overflow-y: auto; background: white; box-shadow: -20px 0 50px rgba(31,45,56,.14); }.drawer-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 21px 24px; }.drawer-head > div { display: flex; align-items: center; gap: 12px; }.drawer-head > div > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 11px; background: #fff0e9; color: var(--accent); }.drawer-head p { margin: 0 0 3px; color: var(--muted); font-size: 8px; text-transform: uppercase; }.drawer-head h2 { margin: 0; font-size: 18px; }.drawer-head > button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: white; color: #6f7a85; }
.success-message { display: flex; align-items: center; gap: 8px; margin: 18px 24px 0; border: 1px solid #cce8db; border-radius: 9px; background: #f0faf5; padding: 11px; color: #247b58; font-size: 9px; font-weight: 700; }.success-message .material-symbols-outlined { font-size: 17px; }.admin-form { display: flex; flex: 1; flex-direction: column; padding: 20px 24px 24px; }.form-intro { display: flex; align-items: flex-start; gap: 8px; border-radius: 9px; background: #f1f6f8; padding: 11px; color: #4b6f7d; }.form-intro .material-symbols-outlined { font-size: 17px; }.form-intro p { margin: 1px 0 0; font-size: 8px; line-height: 1.5; }.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 13px; margin-top: 22px; }.admin-form-grid label { color: #4f5b67; font-size: 8px; font-weight: 700; }.admin-form-grid label.wide { grid-column: 1/-1; }.admin-form-grid sup { margin-left: 2px; color: var(--accent); }.admin-form-grid input,.admin-form-grid select { width: 100%; margin-top: 7px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: #fbfcfd; padding: 11px; color: var(--ink); font-size: 9px; }.admin-form-grid input:focus,.admin-form-grid select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #fff2ec; }.admin-select { position: relative; }.admin-select select { appearance: none; }.admin-select .material-symbols-outlined { position: absolute; right: 9px; bottom: 9px; color: #8d97a1; font-size: 17px; pointer-events: none; }.admin-check { display: flex; align-items: center; gap: 7px; margin-top: 20px; color: var(--muted); font-size: 8px; }.admin-check input { accent-color: var(--accent); }.drawer-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: auto; border-top: 1px solid var(--line); padding-top: 20px; }

@media (max-width: 900px) {
  .admin-metrics { grid-template-columns: 1fr; }.admin-table-tools { align-items: flex-start; flex-direction: column; }.table-actions { width: 100%; }.table-actions label { flex: 1; }
}

@media (max-width: 760px) {
  .admin-breadcrumb,.return-app { display: none; }.admin-heading .primary-button { width: 100%; }.admin-metrics { gap: 9px; }.admin-table-tools { padding: 15px; }.table-actions { flex-wrap: wrap; }.table-actions label { min-width: 100%; }.admin-table-scroll { overflow-x: auto; }.table-pagination { padding: 12px 15px; }.admin-mobile-nav { grid-template-columns: repeat(5,1fr); }.admin-form-grid { grid-template-columns: 1fr; }.admin-form-grid label.wide { grid-column: auto; }.drawer-actions { position: sticky; bottom: -24px; margin: auto -24px -24px; background: white; padding: 14px 24px; }
}
