:root {
  --olive: #766738;
  --olive-dark: #51451f;
  --navy: #234f7f;
  --navy-deep: #183e6b;
  --ink: #264d76;
  --muted: #7b8795;
  --paper: #fff;
  --line: #e5e9ed;
  --soft: #f6f8fa;
  --danger: #d92222;
  --shadow: 0 14px 36px rgba(23, 42, 64, .16);
  --app-width: 430px;
  font-family: Roboto, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #fff; }
body { display: grid; place-items: center; min-height: 100dvh; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(35,79,127,.3); outline-offset: 2px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.device { position: relative; display: flex; flex-direction: column; width: min(100vw, var(--app-width), 50.6430868167dvh); height: calc(min(100vw, var(--app-width), 50.6430868167dvh) * 1.9746031746); min-height: 0; margin: auto; overflow: hidden; background: var(--paper); box-shadow: none; }
.reference-screens { position: absolute; z-index: 13; inset: 0; overflow: hidden; background: #fff; pointer-events: none; }
.reference-screen-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: fill; user-select: none; -webkit-user-drag: none; }
.reference-hotspot { position: absolute; z-index: 2; display: block; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; pointer-events: auto; }
.reference-hotspot:focus-visible { outline: 2px solid #1b4c82; outline-offset: -2px; background: rgba(34,79,127,.06); }
.reference-hotspot { display: none; }
.menu-hotspot { display: block; left: 3%; top: 3.3%; width: 9%; height: 4.9%; }
.refresh-hotspot { display: block; left: 77%; top: 3.2%; width: 8%; height: 4.9%; }
.notification-hotspot { display: block; left: 88%; top: 3.2%; width: 9%; height: 4.9%; }
.nav-myid-hotspot { display: block; left: 0; top: 91.8%; width: 33.3%; height: 8.2%; }
.nav-auth-hotspot { display: block; left: 33.3%; top: 91.8%; width: 33.4%; height: 8.2%; }
.nav-wallet-hotspot { display: block; right: 0; top: 91.8%; width: 33.3%; height: 8.2%; }
.reference-screens.detail-mode .details-hotspot,
.reference-screens.detail-mode .address-hotspot,
.reference-screens.address-mode .details-hotspot,
.reference-screens.address-mode .address-hotspot,
.reference-screens.qr-mode .details-hotspot,
.reference-screens.qr-mode .address-hotspot,
.reference-screens.qr-mode .qr-hotspot,
.reference-screens.detail-mode .qr-hotspot,
.reference-screens.address-mode .qr-hotspot { display: block; top: 34.4%; height: 6.2%; }
.details-hotspot { left: 0; width: 33.3%; }
.address-hotspot { left: 33.3%; width: 33.4%; }
.qr-hotspot { right: 0; width: 33.3%; }
.reference-screens.detail-mode .list-layout-hotspot,
.reference-screens.address-mode .list-layout-hotspot,
.reference-screens.detail-mode .layout-hotspot,
.reference-screens.address-mode .layout-hotspot,
.reference-screens.qr-mode .list-layout-hotspot,
.reference-screens.qr-mode .layout-hotspot { display: block; top: 24.7%; height: 4.7%; }
.list-layout-hotspot { left: 72.5%; width: 11%; }
.layout-hotspot { left: 83.5%; width: 13%; }
.reference-screens.card-mode .list-layout-hotspot { display: block; left: 75.5%; top: 8.6%; width: 12.3%; height: 4.6%; }
.reference-screens.card-mode .share-card-hotspot,
.reference-screens.card-mode .card-qr-hotspot,
.reference-screens.card-mode .verify-hotspot { display: block; top: 85.3%; height: 6%; }
.share-card-hotspot { left: 2%; width: 31%; }
.card-qr-hotspot { left: 34.5%; width: 31%; }
.verify-hotspot { right: 2%; width: 31%; }
.reference-screens.auth-mode .auth-request-hotspot,
.reference-screens.auth-mode .signing-request-hotspot { display: block; top: 36.6%; height: 5.5%; width: 47%; }
.auth-request-hotspot { left: 3%; }
.signing-request-hotspot { right: 3%; }
.reference-screens.auth-mode .auth-scan-hotspot { display: block; left: 78%; top: 79.8%; width: 19%; height: 10%; }
.reference-screens.wallet-mode .wallet-credential-hotspot { display: block; left: 2%; top: 45%; width: 96%; height: 12.5%; }
.reference-screens.wallet-mode .wallet-add-hotspot { display: block; left: 83%; top: 83%; width: 15%; height: 8%; }
.reference-screens.employment-mode .employment-scroll-hotspot { display: block; left: 3%; top: 26%; width: 94%; height: 55%; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.reference-screens.employment-mode .employment-back-hotspot { display: block; left: 5.5%; top: 83.4%; width: 22%; height: 5.3%; }
.reference-screens.employment-mode .employment-list-hotspot,
.reference-screens.employment-mode .employment-card-hotspot { display: block; top: 83.4%; height: 5.3%; }
.employment-list-hotspot { left: 72.5%; width: 12%; }
.employment-card-hotspot { left: 84%; width: 10.5%; }
.reference-edit-overlay { position: absolute; z-index: 3; display: none; align-items: center; overflow: hidden; white-space: nowrap; }
.reference-screens.auth-mode .auth-status { display: flex; justify-content: center; left: 17%; top: 57.25%; width: 66%; height: 3.8%; background: #fff; color: #398b56; font-size: clamp(15px, 4vw, 19px); font-weight: 700; }
.drawer-reference { position: absolute; z-index: 24; inset: 0; }
.drawer-reference-scrim { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: rgba(0,0,0,.80); box-shadow: none; }
.drawer-reference-image { position: absolute; z-index: 1; top: 0; left: 0; display: block; width: 72.91%; height: 100%; object-fit: fill; pointer-events: none; }
.drawer-row-hotspot { position: absolute; z-index: 2; left: 0; width: 72.91%; height: 8.5%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.drawer-home { top: 25.3%; }
.drawer-verify { top: 33.9%; }
.drawer-settings { top: 42.5%; }
.drawer-terms { top: 51%; }
.drawer-help { top: 59.5%; }
.drawer-language { top: 68%; }
.drawer-logout { top: 76.5%; }
.auth-tabs-override { position: absolute; z-index: 4; display: none; grid-template-columns: 1fr 1fr; left: 3%; top: 36.6%; width: 94%; height: 5.5%; overflow: hidden; border: 1.5px solid #234f7f; border-radius: 8px; background: #fff; pointer-events: auto; }
.reference-screens.auth-sign-mode .auth-tabs-override { display: grid; }
.auth-override-tab { min-width: 0; padding: 0 4px; border: 0; border-radius: 6px; background: #fff; color: #183e6b; font-size: clamp(12px, 3.7vw, 16px); font-weight: 700; white-space: nowrap; }
.auth-override-tab.selected { background: #234f7f; color: #fff; }
.system-status { z-index: 12; flex: 0 0 28px; display: flex; align-items: center; justify-content: space-between; padding: 0 21px; background: var(--olive); color: white; font-size: 14px; font-weight: 700; letter-spacing: .1px; }
.system-status, .android-nav { display: none !important; }
.status-right { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; }
.battery { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 13px; border: 1.5px solid white; border-radius: 3px; font-size: 8px; }
.view { flex: 1; min-height: 0; overflow: hidden; }
/* Splash */
.splash-view { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 30px 24px; color: white; text-align: center; background: linear-gradient(155deg, #214e80, #13365f 76%, #102c4e); }
.splash-view::before, .splash-view::after { content: ""; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; pointer-events: none; }
.splash-view::before { top: -150px; right: -140px; box-shadow: 0 0 0 22px rgba(255,255,255,.025), 0 0 0 48px rgba(255,255,255,.025); }
.splash-view::after { bottom: -210px; left: -170px; }
.splash-brand { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.splash-mark { width: 70px; height: 70px; }
.splash-wordmark { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.splash-wordmark strong { font-size: 20px; letter-spacing: 2px; }
.splash-wordmark small { font-size: 9px; letter-spacing: 2px; opacity: .78; }
.arabic-brand { font-size: 19px; }
.splash-card { width: min(88%, 290px); margin: 30px 0 18px; filter: drop-shadow(0 16px 20px rgba(0,0,0,.22)); position: relative; z-index: 1; }
.splash-copy { max-width: 320px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 9px; color: #d4c18a; font-size: 10px; letter-spacing: 2px; font-weight: 700; }
.splash-copy h1 { margin: 0; color: white; font-size: clamp(27px, 7vw, 35px); line-height: 1.1; letter-spacing: -.7px; }
.splash-copy p:last-child { color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.5; }
.primary-button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 7px; background: var(--navy); color: white; font-size: 16px; font-weight: 700; box-shadow: 0 5px 12px rgba(25,61,100,.16); transition: transform .16s ease, background .16s ease; }
.primary-button:active { transform: translateY(1px) scale(.99); background: var(--navy-deep); }
.splash-continue { display: flex; justify-content: space-between; align-items: center; width: min(100%, 290px); margin-top: 16px; background: white; color: var(--navy); }
.splash-disclaimer { position: relative; z-index: 1; margin: 25px 0 0; font-size: 9px; letter-spacing: .35px; color: rgba(255,255,255,.66); }
/* Login */
.login-view { display: flex; flex-direction: column; background: linear-gradient(180deg, var(--olive) 0 34%, #f7f8f9 34%); }
.login-topbar { height: 72px; flex: 0 0 72px; display: flex; align-items: center; gap: 10px; padding: 0 20px; color: white; }
.small-mark { width: 40px; height: 40px; }
.brand-title { font-size: 14px; letter-spacing: 1.2px; font-weight: 800; }
.brand-title small { display: block; font-size: 8px; letter-spacing: 2px; margin-top: 2px; }
.language-button { margin-left: auto; padding: 7px 11px; border: 1px solid rgba(255,255,255,.65); border-radius: 6px; color: white; background: transparent; font-size: 12px; }
.login-card { width: calc(100% - 38px); max-width: 360px; margin: 30px auto 0; padding: 27px 25px 23px; border-radius: 17px; background: white; box-shadow: 0 12px 30px rgba(31,44,60,.12); text-align: center; }
.profile-avatar { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(140deg, #d9e9ef, #9bbbd0); color: #244e72; font-weight: 800; border: 3px solid white; }
.login-avatar { width: 84px; height: 84px; margin: -2px auto 12px; font-size: 27px; box-shadow: 0 0 0 1px #d3dce5, 0 5px 16px rgba(25,48,70,.14); }
.login-card h1 { margin: 0 0 7px; color: var(--ink); font-size: 17px; letter-spacing: .45px; }
.muted { color: var(--muted); font-size: 12px; }
.login-card .muted { margin: 0 0 18px; }
.pin-wrap { display: flex; align-items: center; border: 1.5px solid #b9c8d7; border-radius: 7px; padding: 0 10px; }
.pin-wrap input { width: 100%; height: 47px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 23px; letter-spacing: 8px; text-align: center; }
.eye-button { border: 0; background: transparent; color: var(--navy); font-size: 18px; }
.input-hint { min-height: 15px; margin: 6px 0 14px; color: #8994a0; font-size: 10px; }
.full-width { width: 100%; }
.text-button { margin: 12px 0 4px; padding: 5px 10px; border: 0; background: transparent; color: var(--navy); font-size: 12px; font-weight: 700; }
.login-links { margin-top: 13px; padding-top: 14px; border-top: 1px solid #edf0f2; }
.outline-button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 12px; border: 1.5px solid var(--navy); border-radius: 7px; background: white; color: var(--navy); font-size: 13px; font-weight: 600; }
.login-disclaimer { margin: auto 20px 12px; text-align: center; color: #707c88; font-size: 9px; line-height: 1.4; }
/* Main hero */
.main-view { display: flex; flex-direction: column; background: #fff; }
.hero-header { position: relative; flex: 0 0 292px; min-height: 292px; overflow: hidden; padding: 0 17px 32px; color: white; background: var(--olive); border-radius: 0 0 0 0; }
.hero-header::after { content: ""; position: absolute; z-index: 0; left: -8%; right: -8%; bottom: -29px; height: 54px; background: #fff; border-radius: 50% 50% 0 0 / 53% 53% 0 0; transform: rotate(-1.5deg); }
.header-dots { position: absolute; inset: 0 auto auto 0; width: 155px; height: 190px; opacity: .34; background-image: radial-gradient(rgba(255,255,255,.9) 1.7px, transparent 2px); background-size: 11px 11px; mask-image: linear-gradient(130deg, #000 10%, transparent 95%); }
.topbar { position: relative; z-index: 2; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 38px; border: 0; background: transparent; color: white; }
.hamburger { flex-direction: column; gap: 5px; }
.hamburger span { width: 23px; height: 2.5px; background: white; border-radius: 2px; }
.top-brand { display: flex; align-items: center; gap: 7px; min-width: 0; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand-wordmark { display: flex; flex-direction: column; align-items: center; white-space: nowrap; }
.state-wordmark { display: block; width: 100px; height: 58px; flex: 0 0 auto; object-fit: contain; }
.brand-wordmark span { font-family: Tahoma, Arial, sans-serif; font-size: 24px; line-height: 1.15; }
.brand-wordmark small { font-size: 11px; letter-spacing: .1px; opacity: .9; }
.seal-mark { width: 43px; height: 43px; flex: 0 0 auto; }
.refresh-button { font-size: 31px; font-weight: 300; }
.bell-button { position: relative; font-size: 28px; transform: rotate(180deg); }
.bell-button i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: white; bottom: 7px; left: 15px; }
.identity-summary { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 94px; column-gap: 12px; padding-top: 15px; }
.identity-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.field-label { font-size: 16px; line-height: 1.35; color: rgba(255,255,255,.94); }
.identity-copy > strong { font-size: 19px; line-height: 1.25; font-weight: 700; overflow-wrap: anywhere; }
.identity-copy .name-label { margin-top: 12px; }
.identity-copy .arabic-name { font-size: 22px; font-weight: 800; line-height: 1.38; }
.identity-copy .english-name { margin-top: 2px; font-size: 18px; font-weight: 700; }
.portrait-frame { width: 94px; height: 122px; padding: 2px; border: 2px solid rgba(255,255,255,.94); background: rgba(255,255,255,.18); }
.portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.layout-switch { grid-column: 2; display: flex; height: 38px; margin-top: 13px; padding: 2px; border: 2px solid white; border-radius: 8px; background: var(--navy); }
.layout-switch button { flex: 1; border: 0; border-radius: 5px; color: white; background: transparent; font-size: 23px; line-height: 1; }
.layout-switch button.selected { background: white; color: var(--navy); }
.unofficial-note { position: absolute; z-index: 2; right: 13px; bottom: 8px; color: rgba(255,255,255,.68); font-size: 7px; letter-spacing: .15px; }
/* Main content + tabs */
.main-content { position: relative; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; background: #fff; }
.screen-panel { min-height: 100%; padding-bottom: 18px; }
.id-tabs { position: sticky; z-index: 4; top: 0; display: grid; grid-template-columns: repeat(3, 1fr); min-height: 63px; background: rgba(255,255,255,.97); }
.id-tab { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; background: transparent; color: #68809a; font-size: 14px; font-weight: 600; }
.id-tab::after { content: ""; position: absolute; height: 4px; left: 0; right: 0; bottom: 0; background: transparent; }
.id-tab.active { color: var(--navy); }
.id-tab.active::after { background: var(--navy); }
.tab-icon { font-size: 25px; line-height: 1; font-weight: 800; }
.pin-tab { font-size: 26px; position: relative; }
.qr-tab { font-size: 26px; }
.tab-content { min-height: 320px; padding: 20px 21px 24px; background: #fff; background-image: repeating-linear-gradient(12deg, transparent 0 22px, rgba(225,232,237,.27) 23px, transparent 25px); }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 23px; row-gap: 25px; }
.data-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.data-field > span { color: #355a7c; font-size: 14px; line-height: 1.35; }
.data-field strong { color: #244e78; font-size: 18px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.data-field .large-value { font-size: 17px; line-height: 1.65; }
.full-field { grid-column: 1 / -1; margin-top: 4px; }
.nationality-value { display: flex; align-items: center; gap: 7px; }
.india-flag { font-size: 22px; line-height: 1; }
.red-text { color: var(--danger) !important; }
.wrap-value { line-height: 1.6 !important; }
.qr-tab-content { display: flex; justify-content: center; align-items: flex-start; }
.qr-demo-card { width: min(100%, 290px); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px; border: 1px solid #e1e6eb; border-radius: 12px; background: white; text-align: center; box-shadow: 0 5px 15px rgba(25,50,75,.06); }
.qr-visual { width: 145px; height: 145px; background-color: white; background-image: repeating-conic-gradient(#183e6b 0 25%, white 0 50%); background-size: 14px 14px; border: 8px solid white; outline: 1px solid #d5dce3; position: relative; }
.qr-visual::after { content: "PREVIEW"; position: absolute; inset: 42px 23px; display: flex; justify-content: center; align-items: center; background: white; color: var(--danger); border: 1px solid #e5b4b4; font-size: 10px; font-weight: 900; transform: rotate(-25deg); }
.demo-chip { display: inline-flex; align-items: center; width: fit-content; padding: 4px 7px; border-radius: 4px; background: #fff1e9; color: #9d4f22; font-size: 8px; font-weight: 800; letter-spacing: .7px; }
.qr-demo-card h3 { margin: 3px 0 0; font-size: 16px; }
.qr-demo-card p { margin: 0 0 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }
/* Card view */
.card-screen-heading { display: flex; align-items: center; justify-content: space-between; padding: 18px 17px 12px; }
.card-screen-heading h2 { margin: 0; font-size: 17px; }
.demo-id-card { position: relative; overflow: hidden; width: calc(100% - 28px); margin: 8px auto 15px; padding: 12px; border: 1px solid #c8c6b9; border-radius: 13px; background: #f2ead5; color: #1e3446; box-shadow: 0 4px 10px rgba(28,42,52,.1); }
.reference-id-card { display: block; width: 100%; height: auto; margin: 14px auto 28px; }
.card-open .hero-header { flex-basis: 94px; min-height: 94px; padding-bottom: 0; }
.card-open .hero-header::after, .card-open .identity-summary, .card-open .unofficial-note { display: none; }
.card-open .topbar { height: 66px; }
.card-open #screen-card { padding: 0 8px 18px; }
.card-open .card-screen-heading { padding: 8px 10px 4px; }
.front-card { min-height: 200px; }
.id-card-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; position: relative; z-index: 1; text-align: center; }
.id-card-top img { width: 31px; height: 31px; }
.id-card-top div { display: flex; flex-direction: column; gap: 2px; }
.id-card-top b { font-size: 10px; }
.id-card-top small { color: #a34835; font-size: 7px; font-weight: 800; letter-spacing: .6px; }
.id-card-body { display: flex; gap: 10px; margin-top: 10px; position: relative; z-index: 1; }
.id-card-body > img { width: 80px; height: 103px; object-fit: cover; border: 2px solid #fff; }
.card-fields { flex: 1; min-width: 0; }
.card-fields p { display: flex; flex-direction: column; gap: 1px; margin: 0 0 6px; font-size: 8px; }
.card-fields p b { font-size: 10px; overflow-wrap: anywhere; }
.watermark { position: absolute; top: 47%; left: 50%; color: rgba(190,58,58,.17); border: 3px solid rgba(190,58,58,.15); padding: 2px 8px; font-size: 39px; font-weight: 900; letter-spacing: 5px; transform: translate(-50%,-50%) rotate(-23deg); pointer-events: none; }
.back-card { min-height: 150px; }
.back-heading { display: flex; flex-direction: column; gap: 3px; font-size: 10px; }
.back-heading span { color: #a34835; font-size: 8px; font-weight: 800; }
.back-details { margin-top: 18px; position: relative; z-index: 1; }
.back-details p { display: flex; justify-content: space-between; gap: 10px; margin: 8px 0; font-size: 9px; }
.back-details b { text-align: right; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 5px; padding: 0 13px; }
.card-actions .outline-button { min-height: 48px; padding: 5px; font-size: 11px; }
/* Utility screens */
.utility-screen { position: relative; padding: 16px 18px 24px; }
.utility-heading { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 15px; }
.utility-heading h2 { margin: 0; font-size: 18px; color: var(--navy); }
.back-button { width: 32px; height: 36px; border: 0; background: transparent; color: var(--navy); font-size: 32px; line-height: 1; }
.utility-instruction { margin: 5px 0 22px; color: #5e6e7c; font-size: 13px; line-height: 1.5; }
.scanner-frame { position: relative; width: min(100%, 300px); height: 290px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 20px; overflow: hidden; border-radius: 10px; background: linear-gradient(145deg, #162b3d, #283f52); color: rgba(255,255,255,.7); font-size: 10px; letter-spacing: 1px; }
.scanner-frame small { font-size: 8px; color: #d4bd79; }
.scanner-corner { position: absolute; width: 34px; height: 34px; border-color: #fff; border-style: solid; }
.top-left { top: 30px; left: 30px; border-width: 3px 0 0 3px; }
.top-right { top: 30px; right: 30px; border-width: 3px 3px 0 0; }
.bottom-left { bottom: 30px; left: 30px; border-width: 0 0 3px 3px; }
.bottom-right { bottom: 30px; right: 30px; border-width: 0 3px 3px 0; }
.scan-line { position: absolute; left: 30px; right: 30px; top: 50%; height: 1px; background: #6bc0ff; box-shadow: 0 0 9px 2px rgba(107,192,255,.7); animation: scan 2.7s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateY(-70px); } to { transform: translateY(70px); } }
.center-text { text-align: center; }
/* Auth */
.request-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #d8e0e8; }
.request-tab { min-height: 48px; padding: 5px; border: 0; border-bottom: 3px solid transparent; background: white; color: #74869a; font-size: 12px; font-weight: 600; }
.request-tab.active { color: var(--navy); border-bottom-color: var(--navy); }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 260px; text-align: center; }
.empty-icon { display: flex; align-items: center; justify-content: center; width: 65px; height: 65px; margin-bottom: 12px; border-radius: 50%; background: #f0f3f6; color: #7890a8; font-size: 30px; }
.empty-state h3 { margin: 0 0 5px; font-size: 15px; }
.empty-state p { max-width: 230px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.floating-scan, .floating-add { position: absolute; right: 22px; bottom: 24px; width: 53px; height: 53px; border: 0; border-radius: 50%; background: var(--navy); color: white; font-size: 27px; box-shadow: 0 5px 14px rgba(22,55,90,.25); }
/* Wallet */
.wallet-intro { display: flex; align-items: center; gap: 13px; padding: 15px 0 22px; }
.wallet-icon { display: flex; justify-content: center; align-items: center; width: 48px; height: 48px; border-radius: 12px; background: #edf3f8; color: var(--navy); font-size: 25px; }
.wallet-intro h3 { margin: 0 0 4px; font-size: 15px; }
.wallet-intro p { margin: 0; color: var(--muted); font-size: 11px; }
.authority-row, .credential-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 70px; padding: 10px 12px; border: 1px solid #e0e6ec; border-radius: 9px; background: white; color: var(--ink); text-align: left; }
.authority-symbol, .credential-symbol { display: flex; align-items: center; justify-content: center; width: 39px; height: 39px; flex: 0 0 auto; border-radius: 9px; background: #eef3f7; color: var(--navy); font-size: 22px; }
.authority-row > span:nth-child(2), .credential-copy { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.authority-row b, .credential-copy b { font-size: 12px; }
.authority-row small, .credential-copy small { color: var(--muted); font-size: 9px; }
.chevron { color: var(--navy); font-size: 22px; }
.credential-row { margin-top: 8px; background: #f9fbfc; }
.credential-symbol { background: #e9eef4; }
.row-arrow { border: 0; background: transparent; color: var(--navy); font-size: 28px; }
/* Employment */
.employment-title { display: flex; align-items: center; gap: 11px; padding: 13px 0 17px; border-bottom: 1px solid var(--line); }
.credential-symbol.large { width: 48px; height: 48px; font-size: 26px; }
.employment-title h3 { margin: 0 0 5px; font-size: 16px; }
.active-status { color: #29834f; font-size: 9px; font-weight: 800; letter-spacing: .5px; }
.more-button { margin-left: auto; border: 0; background: transparent; color: var(--navy); font-size: 26px; }
.employment-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.employment-actions button { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: transparent; color: var(--navy); font-size: 21px; }
.employment-actions small { color: #526b84; font-size: 9px; }
.employment-data { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 15px; padding: 20px 2px; }
.employment-data div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.employment-data span { color: #66809a; font-size: 11px; }
.employment-data b { color: var(--ink); font-size: 12px; overflow-wrap: anywhere; }
.employment-back { margin-top: 8px; }
/* Bottom nav */
.bottom-nav { z-index: 5; flex: 0 0 76px; display: grid; grid-template-columns: repeat(3, 1fr); min-height: 76px; border-top: 1px solid #f0f1f2; background: white; box-shadow: 0 -3px 12px rgba(25,45,65,.025); }
.bottom-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0; background: transparent; color: #85898d; font-size: 11px; font-weight: 600; }
.bottom-item.active { color: var(--navy); }
.bottom-icon { font-size: 27px; line-height: 1; }
.shield-icon { font-size: 30px; }
/* Drawer */
.drawer-scrim { position: absolute; z-index: 20; inset: 0; background: rgba(10,20,31,.48); opacity: 0; transition: opacity .2s ease; }
.drawer-scrim.open { opacity: 1; }
.side-drawer { position: absolute; z-index: 21; inset: 0 auto 0 0; display: flex; flex-direction: column; width: min(84%, 360px); background: #fff; box-shadow: 9px 0 30px rgba(10,20,31,.2); transform: translateX(-105%); transition: transform .24s ease; }
.side-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 94px; padding: 15px 17px; background: var(--olive); color: white; }
.drawer-profile { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mini-avatar { width: 45px; height: 45px; flex: 0 0 auto; border: 2px solid white; font-size: 15px; }
.mini-photo { width: 45px; height: 55px; flex: 0 0 auto; object-fit: cover; border: 2px solid white; background: rgba(255,255,255,.15); }
.drawer-profile > div:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.drawer-profile b { font-size: 12px; overflow-wrap: anywhere; }
.drawer-profile small { color: rgba(255,255,255,.72); font-size: 8px; letter-spacing: 1px; }
.drawer-close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.13); color: white; font-size: 25px; }
.drawer-level { display: flex; flex-direction: column; gap: 5px; padding: 12px 18px; background: #f5f6f7; border-bottom: 1px solid #e8ebee; }
.drawer-level span { color: #84909c; font-size: 8px; letter-spacing: 1px; }
.drawer-level b { color: var(--navy); font-size: 10px; }
.drawer-menu { display: flex; flex-direction: column; padding: 8px 0; }
.drawer-link { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 19px; border: 0; background: transparent; color: #355a7d; text-align: left; font-size: 14px; }
.drawer-link > span:first-child { width: 23px; text-align: center; font-size: 21px; }
.drawer-link small { margin-left: auto; color: #8c98a3; font-size: 9px; }
.drawer-link:active { background: #f2f5f8; }
.drawer-separator { height: 1px; margin: 7px 17px; background: #e9edf0; }
.logout-link { color: #b34a4a; }
.drawer-footer { margin-top: auto; padding: 15px 18px; border-top: 1px solid #e9edf0; color: #929ca5; font-size: 9px; line-height: 1.7; }
/* Modal and toast */
.modal-backdrop { position: absolute; z-index: 30; inset: 0; display: flex; align-items: center; justify-content: center; padding: 22px; background: rgba(14,28,42,.52); }
.modal { position: relative; width: min(100%, 330px); padding: 25px 22px 20px; border-radius: 14px; background: white; color: var(--ink); text-align: center; box-shadow: 0 18px 45px rgba(0,0,0,.22); animation: modal-in .18s ease-out; }
@keyframes modal-in { from { transform: translateY(9px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border: 0; background: transparent; color: #788694; font-size: 23px; }
.modal-symbol { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin: 0 auto 12px; border-radius: 50%; background: #edf3f8; color: var(--navy); font-size: 22px; font-weight: 700; }
.modal h2 { margin: 0 0 9px; font-size: 18px; }
.modal p { margin: 0 0 20px; color: #687785; font-size: 12px; line-height: 1.55; }
.toast { position: absolute; z-index: 40; left: 50%; bottom: 94px; max-width: calc(100% - 36px); padding: 10px 15px; border-radius: 7px; background: #263b4e; color: white; font-size: 11px; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,.2); opacity: 0; transform: translate(-50%, 12px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.android-nav { z-index: 12; flex: 0 0 24px; display: flex; align-items: center; justify-content: space-around; background: var(--olive-dark); color: rgba(255,255,255,.85); }
.recent-apps { font-size: 18px; font-weight: 300; line-height: 1; }
.home-circle { width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 50%; }
.back-chevron { font-size: 24px; line-height: 1; }
