/* Customer, partner, driver portals and login */
.pbar { --nav-a: .72; position: sticky; top: 0; z-index: 40; background: rgba(22, 22, 23, var(--nav-a)); color: #f5f5f7; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255,255,255,.08); }
.pbar.nav-light { background: rgba(251, 251, 253, var(--nav-a)); color: #1d1d1f; border-bottom-color: rgba(0,0,0,.08); }
.pbar.nav-light .brand { color: #1d1d1f; }
.pbar.nav-light .btn.ghost { --fg: #1d1d1f; }
.pbar.nav-light .btn.ghost:hover { --bg: rgba(0,0,0,.05); }
.pbar .container { display: flex; align-items: center; gap: 14px; height: 52px; }
.pbar .brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 17px; text-decoration: none !important; }
.pbar .brand .mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--teal), #0a8297); display: grid; place-items: center; }
.pbar .brand .mark svg { width: 18px; height: 18px; color: #fff; }
.pbar .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pbar .btn.ghost { --fg: #fff; }
.pbar .btn.ghost:hover { --bg: rgba(255,255,255,.1); }
.page { padding: 24px 0 64px; }
.page-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-title h1 { font-size: 26px; margin: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
@media (max-width: 920px) { .two-col { grid-template-columns: 1fr; } }
.trip-card { padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; cursor: pointer; }
.trip-card:hover { box-shadow: var(--shadow); }
.status-hero { padding: 22px; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), #07414d); color: #fff; }
.status-hero .big { font-size: 22px; font-weight: 800; }
.status-steps { display: flex; gap: 6px; margin-top: 14px; }
.status-steps span { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.2); }
.status-steps span.on { background: #7fd3de; }
.driver-card { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--surface-2); object-fit: cover; display: grid; place-items: center; color: var(--muted); }
.avatar svg { width: 30px; height: 30px; }

/* login */
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .login-wrap { grid-template-columns: 1fr; } .login-side { display: none; } }
.login-side { background: radial-gradient(800px 400px at 80% 0, rgba(10,130,151,.35), transparent 60%), linear-gradient(160deg, #053540, #06262e); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.login-main { display: grid; place-items: center; padding: 32px 16px; }
.login-box { width: min(400px, 100%); }

/* driver app */
body.driver { background: #eef1f5; }
.dapp { max-width: 560px; margin: 0 auto; min-height: 100vh; padding-bottom: 90px; }
.dhead { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; padding: 12px 16px calc(12px); display: flex; align-items: center; gap: 12px; }
.dhead .who { font-weight: 800; }
.dhead .duty { margin-left: auto; }
.dtabs { display: flex; gap: 6px; padding: 12px 16px 0; }
.dtabs button { flex: 1; min-height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-weight: 700; font-size: 14px; }
.dtabs button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.jobs { padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; }
.job { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); padding: 16px; border: 1px solid var(--line); }
.job .when { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.job .route { margin: 10px 0; }
.bigbtn { min-height: 56px; font-size: 17px; border-radius: 14px; }
.actionbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.actionbar .inner { max-width: 560px; margin: 0 auto; display: flex; gap: 10px; }
.sign-view { position: fixed; inset: 0; z-index: 2000; background: #fff; display: grid; place-items: center; text-align: center; padding: 24px; }
.sign-view .name { font-size: clamp(40px, 12vw, 120px); font-weight: 800; line-height: 1.05; word-break: break-word; }
.pbar.nav-light .lang-switch { border-color: rgba(0,0,0,.15); }
.pbar.nav-light .lang-switch button.active { background: rgba(0,0,0,.07); }
