@font-face{font-family:'IRANSansFanumDriver';src:url('../customer-assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum).woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'IRANSansFanumDriver';src:url('../customer-assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum)_Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'IRANSansFanumDriver';src:url('../customer-assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum)_Bold.woff2') format('woff2');font-weight:700 900;font-style:normal;font-display:swap}
:root{
    --driver-bg:#f5f6f8;
    --driver-card:#ffffff;
    --driver-ink:#12312d;
    --driver-muted:#6b7280;
    --driver-line:#e8eaee;
    --driver-primary:#00a693;
    --driver-accent:#00a693;
    --driver-accent-soft:#e8f7f4;
    --driver-success:#14966f;
    --driver-danger:#c84747;
    --driver-radius:22px;
    --driver-shadow:0 16px 45px rgba(15,23,42,.08);
}
html,body{background:var(--driver-bg);font-family:IRANSansFanumDriver,IRANSansfanum,IRANSans,Arial,sans-serif!important;color:var(--driver-ink)}
body{padding-bottom:84px}
a{color:inherit}
.driver-shell{max-width:1160px;margin:0 auto;padding:0 18px}
.driver-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#063d37 0%,#075b50 58%,#0a7464 100%);padding:18px 0 34px;border-radius:0 0 34px 34px;box-shadow:0 15px 35px rgba(15,23,42,.15)}
.driver-hero:before{content:"";position:absolute;inset:auto -10% -65px auto;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(0,166,147,.28),rgba(0,166,147,0) 68%)}
.driver-hero:after{content:"";position:absolute;left:-100px;top:-160px;width:300px;height:300px;border-radius:50%;border:1px solid rgba(255,255,255,.08)}
.driver-topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;position:relative;z-index:2}
.driver-brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none}
.driver-brand-mark{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#48d0bd,#008f80);display:grid;place-items:center;color:#063d37;font-weight:900;box-shadow:0 10px 25px rgba(0,0,0,.2)}
.driver-brand-text strong{display:block;font-size:16px;letter-spacing:-.2px}.driver-brand-text span{display:block;font-size:13px;color:rgba(255,255,255,.65);margin-top:2px}
.driver-top-actions{display:flex;gap:8px}.driver-top-action{width:40px;height:40px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);border-radius:13px;color:#fff;display:grid;place-items:center;text-decoration:none;backdrop-filter:blur(9px)}
.driver-profile-card{position:relative;z-index:3;margin-top:18px;background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.7);border-radius:24px;box-shadow:0 20px 50px rgba(15,23,42,.16);padding:18px}
.driver-profile{display:flex;align-items:center;gap:14px}.driver-profile-avatar{width:68px;height:68px;border-radius:22px;object-fit:cover;border:3px solid #fff;box-shadow:0 8px 18px rgba(15,23,42,.12);background:#eef0f2}.driver-profile h1{font-size:20px;margin:0 0 4px;font-weight:900}.driver-profile p{margin:0;color:var(--driver-muted);font-size:13px}.driver-profile-meta{margin-right:auto;text-align:left}.driver-status{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:#ecf8f3;color:var(--driver-success);font-size:13px;font-weight:800}.driver-status i{width:7px;height:7px;background:currentColor;border-radius:50%;display:block}
.driver-content{margin-top:0;position:relative;z-index:5;padding-top:18px}.driver-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;align-items:start}
.driver-sidebar{background:rgba(255,255,255,.92);border:1px solid var(--driver-line);border-radius:24px;padding:14px;box-shadow:var(--driver-shadow);position:sticky;top:18px}.driver-balance-mini{padding:14px 14px 16px;border-radius:18px;background:linear-gradient(145deg,#171c24,#242c35);color:#fff;margin-bottom:12px}.driver-balance-mini small{display:block;color:rgba(255,255,255,.6);font-size:13px}.driver-balance-mini strong{display:block;font-size:22px;margin:6px 0}.driver-balance-mini .mini-status{display:inline-flex;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.08);font-size:13px}.driver-nav{display:grid;gap:7px}.driver-nav a{display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:15px;text-decoration:none;font-weight:800;font-size:13px;color:#374151;transition:.18s}.driver-nav a:hover,.driver-nav a.active{background:#e8f7f4;color:#007f70}.driver-nav .driver-nav-icon{width:32px;height:32px;border-radius:11px;background:#f3f4f6;display:grid;place-items:center;font-size:15px}.driver-nav a.active .driver-nav-icon{background:var(--driver-accent-soft)}
.driver-page{min-width:0}.driver-page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:15px}.driver-kicker{font-size:13px;color:var(--driver-muted);margin-bottom:3px}.driver-title{font-size:26px;font-weight:900;margin:0}.driver-subtitle{font-size:13px;color:var(--driver-muted);margin:5px 0 0}
.driver-card{background:var(--driver-card);border:1px solid var(--driver-line);border-radius:var(--driver-radius);box-shadow:var(--driver-shadow)}
.driver-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.driver-action{padding:18px;display:flex;align-items:center;gap:14px;text-decoration:none;min-height:112px;transition:transform .18s,box-shadow .18s}.driver-action:hover{transform:translateY(-2px);box-shadow:0 22px 48px rgba(15,23,42,.12)}.driver-action-icon{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;background:var(--driver-accent-soft);color:#007f70;font-size:23px}.driver-action h3{font-size:14px;margin:0 0 5px;font-weight:900}.driver-action p{margin:0;font-size:13px;color:var(--driver-muted)}.driver-action-arrow{margin-right:auto;color:#9ca3af}
.driver-install-card{display:none;margin-top:14px;padding:16px}.driver-install-card.is-visible{display:flex;align-items:center;gap:12px}.driver-install-card .install-icon{width:44px;height:44px;flex:0 0 44px;border-radius:15px;background:#e8f7f4;color:#007f70;display:grid;place-items:center}.driver-install-card .install-copy{flex:1}.driver-install-card strong{font-size:13px;display:block}.driver-install-card span{font-size:13px;color:var(--driver-muted)}.driver-install-btn{border:0;background:#00a693;color:#fff;border-radius:12px;padding:10px 13px;font-size:13px;font-weight:800;white-space:nowrap}
.driver-filter{padding:14px;margin-bottom:14px}.driver-filter-grid{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:9px;align-items:end}.driver-field label{display:block;font-size:13px;color:var(--driver-muted);margin:0 0 6px}.driver-field select,.driver-field input{width:100%;height:44px;border:1px solid var(--driver-line);border-radius:13px;padding:0 12px;background:#fff;font-family:inherit;font-size:13px;outline:none}.driver-field select:focus,.driver-field input:focus{border-color:#55cdbd;box-shadow:0 0 0 3px rgba(0,166,147,.14)}.driver-filter-btn{height:44px;border:0;border-radius:13px;background:#00a693;color:#fff;padding:0 18px;font-family:inherit;font-size:13px;font-weight:900}
.service-card{position:relative;padding:17px;margin-bottom:14px;overflow:hidden}.service-card:before{content:"";position:absolute;top:0;right:0;left:0;height:3px;background:linear-gradient(90deg,#006f62,#00a693)}.service-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.service-customer{display:flex;gap:11px;align-items:center}.service-customer-avatar{width:46px;height:46px;border-radius:15px;background:#f1f3f5;display:grid;place-items:center;font-size:19px}.service-customer-name{font-size:16px;font-weight:900;margin:0 0 3px}.service-customer-meta{font-size:13px;color:var(--driver-muted)}.service-status{font-size:13px;font-weight:900;padding:7px 9px;border-radius:999px;background:#e8f7f4;color:#007f70;white-space:nowrap}.service-status.done{background:#ecf8f3;color:#15765d}
.service-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.service-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:11px;background:#f7f8fa;color:#4b5563;font-size:13px;font-weight:800}.service-pill strong{color:#111827}.service-pill.price{background:#edf8f3;color:#1a7a5d}.service-pill.price strong{color:#12684f}.service-cancel{display:inline-flex;align-items:center;gap:6px;padding:9px 11px;border-radius:11px;background:#fff0f0;color:#b23c3c;border:1px solid #f5d4d4;font-size:13px;font-weight:900}
.service-routes{margin-top:15px;padding-top:14px;border-top:1px solid var(--driver-line);display:grid;gap:9px}.route-row{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center}.route-dot{width:28px;height:28px;border-radius:10px;display:grid;place-items:center;font-size:13px;font-weight:900}.route-dot.origin{background:#ecf3ff;color:#2f68c5}.route-dot.dest{background:#fceeed;color:#b94a43}.route-content strong{display:block;font-size:13px}.route-content span{display:block;color:var(--driver-muted);font-size:13px;line-height:1.7}.route-disabled{font-size:13px;color:#9ca3af}
.service-actions{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:15px;padding-top:14px;border-top:1px solid var(--driver-line)}.service-status-btn{height:48px;border:0;border-radius:14px;background:#00a693;color:#fff;font-family:inherit;font-size:13px;font-weight:900;cursor:pointer}.service-status-btn.danger{background:#b84040}.service-type{height:46px;padding:0 13px;border-radius:14px;background:#f7f8fa;display:flex;align-items:center;font-size:13px;font-weight:800;color:#4b5563}
.driver-empty{padding:35px 18px;text-align:center}.driver-empty-icon{width:62px;height:62px;margin:0 auto 12px;border-radius:21px;background:#e8f7f4;color:#a37f2c;display:grid;place-items:center;font-size:25px}.driver-empty h3{font-size:15px;font-weight:900;margin:0 0 5px}.driver-empty p{font-size:13px;color:var(--driver-muted);margin:0}
.accounting-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.accounting-stat{padding:15px}.accounting-stat small{display:block;font-size:13px;color:var(--driver-muted)}.accounting-stat strong{display:block;font-size:16px;margin-top:7px}.accounting-stat span{display:block;font-size:13px;margin-top:4px}.stat-positive{color:#0f7a5b}.stat-negative{color:#b64040}.stat-neutral{color:#007f70}.account-balance{margin-top:13px;padding:17px}.balance-main{display:flex;justify-content:space-between;align-items:center;gap:12px}.balance-main small{display:block;color:var(--driver-muted);font-size:13px}.balance-main strong{font-size:24px}.balance-chip{padding:8px 10px;border-radius:999px;font-size:13px;font-weight:900}.balance-chip.positive{background:#fff0f0;color:#c23f3f}.balance-chip.negative{background:#fff0f0;color:#b64040}.balance-chip.zero{background:#f5f6f8;color:#666}.account-table{margin-top:13px;overflow:hidden}.account-table-head{padding:14px 16px;border-bottom:1px solid var(--driver-line);display:flex;justify-content:space-between;align-items:center}.account-table-head h3{font-size:13px;margin:0;font-weight:900}.account-scroll{overflow:auto}.account-table table{width:100%;border-collapse:collapse;min-width:650px}.account-table th,.account-table td{padding:11px 12px;border-bottom:1px solid #f0f1f3;font-size:13px;text-align:right;white-space:nowrap}.account-table th{font-size:13px;color:#8a8f98;background:#fafafa}.account-table tr:last-child td{border-bottom:0}.amount-positive{color:#0f7a5b;font-weight:900}.amount-negative{color:#b64040;font-weight:900}.account-note{padding:13px 15px;background:#e8f7f4;color:#006f62;border-radius:15px;font-size:13px;line-height:1.9;margin-top:13px}
.pagination-wrap{display:flex;justify-content:center;margin-top:14px}.pagination-wrap .pagination{margin:0}.pagination-wrap .page-link{font-size:13px}
.driver-bottom-nav{position:fixed;z-index:50;bottom:10px;left:50%;transform:translateX(-50%);width:min(680px,calc(100% - 20px));display:none;background:rgba(17,24,39,.96);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.08);border-radius:21px;padding:7px;box-shadow:0 18px 45px rgba(15,23,42,.22)}.driver-bottom-nav a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:rgba(255,255,255,.64);font-size:13px;text-decoration:none;padding:7px 4px;border-radius:15px}.driver-bottom-nav a.active,.driver-bottom-nav a:hover{color:#fff;background:rgba(255,255,255,.08)}.driver-bottom-nav i{font-size:17px}
.driver-login{min-height:100vh;background:radial-gradient(circle at top right,rgba(0,166,147,.20),transparent 32%),linear-gradient(135deg,#063d37,#0b6b5e);display:grid;place-items:center;padding:22px}.driver-login-card{width:min(470px,100%);background:rgba(255,255,255,.97);border-radius:28px;padding:24px;box-shadow:0 30px 70px rgba(0,0,0,.25)}.driver-login-head{text-align:center}.driver-login-logo{width:66px;height:66px;margin:0 auto 13px;border-radius:20px;background:linear-gradient(145deg,#48d0bd,#008f80);display:grid;place-items:center;font-weight:900;font-size:24px}.driver-login-head h1{font-size:22px;margin:0;font-weight:900}.driver-login-head p{font-size:13px;color:var(--driver-muted);margin:7px 0 0}.driver-login-form{margin-top:20px}.driver-login-field label{display:block;font-size:13px;color:#4b5563;margin-bottom:7px}.driver-login-input{width:100%;height:48px;border:1px solid var(--driver-line);border-radius:14px;padding:0 13px;font-family:inherit}.driver-login-btn{width:100%;height:52px;border:0;border-radius:14px;background:#00a693;color:#fff;font-family:inherit;font-size:13px;font-weight:900}
.swal2-popup.swal-driver-sheet{width:min(520px,100%)!important;border-radius:22px!important;padding:16px!important}
.driver-alert{display:flex;align-items:center;gap:9px;padding:12px 14px;border-radius:15px;margin-bottom:13px;font-size:12px;font-weight:800}.driver-alert.success{background:#eaf8f4;color:#087a69}.driver-profile-main{padding:18px}.profile-overview{display:flex;align-items:center;gap:15px;padding-bottom:16px;border-bottom:1px solid var(--driver-line)}.profile-large-avatar{width:82px;height:82px;border-radius:26px;object-fit:cover;background:#eef1f2;border:3px solid #fff;box-shadow:0 12px 24px rgba(15,23,42,.12)}.profile-avatar-fallback{display:grid;place-items:center;font-size:28px;font-weight:900;color:#007f70;background:#e8f7f4}.profile-overview-copy .driver-status{margin-bottom:7px}.profile-overview-copy h3{font-size:20px;margin:0 0 4px;font-weight:900}.profile-overview-copy p{margin:0;color:var(--driver-muted);font-size:12px}.profile-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.profile-info-item{padding:11px 12px;background:#f8f9fa;border:1px solid #eef0f2;border-radius:14px}.profile-info-item span{display:block;color:var(--driver-muted);font-size:10px;margin-bottom:4px}.profile-info-item strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-forms-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;margin-top:14px}.profile-form-card{padding:17px}.profile-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:15px}.profile-section-head h3{font-size:16px;margin:2px 0 0;font-weight:900}.profile-section-head>i{width:40px;height:40px;border-radius:13px;background:#e8f7f4;color:#007f70;display:grid;place-items:center;font-size:20px}.profile-fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.profile-full{grid-column:1/-1}.driver-field textarea{width:100%;border:1px solid var(--driver-line);border-radius:13px;padding:12px;background:#fff;font-family:inherit;font-size:13px;outline:none;resize:vertical}.driver-field textarea:focus{border-color:#55cdbd;box-shadow:0 0 0 3px rgba(0,166,147,.14)}.profile-submit{width:100%;height:47px;border:0;border-radius:13px;background:#00a693;color:#fff;font-family:inherit;font-size:13px;font-weight:900;margin-top:13px;cursor:pointer}.profile-submit-dark{background:#17212b}.driver-coming-soon{cursor:pointer}.balance-chip.creditor{background:#fff0f0;color:#c23f3f}.route-coords{display:block;color:#94a3b8;font-size:9px;margin-top:2px}.route-dot i{font-size:14px}.route-content span{line-height:1.9}
@media (max-width:991px){.driver-grid{grid-template-columns:1fr}.driver-sidebar{display:none}.driver-bottom-nav{display:flex}.driver-content{margin-top:0;padding-top:12px}.driver-hero{padding-bottom:28px}.driver-profile-meta{display:none}.accounting-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){body{padding-bottom:92px}.driver-shell{padding:0 11px}.driver-grid{gap:12px}.driver-title{font-size:20px}.driver-page-head{align-items:flex-start}.driver-dashboard-grid{grid-template-columns:1fr}.driver-filter-grid{grid-template-columns:1fr 1fr}.driver-filter-btn{grid-column:1/-1}.service-card{padding:14px}.service-actions{grid-template-columns:1fr}.service-type{justify-content:center}.route-row{grid-template-columns:30px 1fr}.driver-profile-card{padding:14px}.profile-info-grid{grid-template-columns:1fr 1fr}.profile-forms-grid{grid-template-columns:1fr}.profile-fields-grid{grid-template-columns:1fr}.profile-full{grid-column:auto}.driver-profile-avatar{width:58px;height:58px;border-radius:18px}.driver-login-card{padding:20px}.accounting-stat strong{font-size:14px}.balance-main{align-items:flex-start;flex-direction:column}}

/* V5 refinements */
.driver-install-wrap{position:fixed;right:18px;left:18px;bottom:94px;z-index:65;display:none;pointer-events:none}
.driver-install-tip{pointer-events:auto;max-width:620px;margin:0 auto;position:relative;display:flex;align-items:center;gap:11px;padding:13px 14px 13px 12px;border-radius:17px;background:#171c22;color:#fff;box-shadow:0 18px 44px rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.08)}
.driver-install-close{position:absolute;top:-8px;left:-8px;width:25px;height:25px;border:1px solid rgba(255,255,255,.12);border-radius:50%;background:#2a323b;color:#fff;font-size:18px;line-height:1;cursor:pointer}
.driver-install-tip-icon{width:42px;height:42px;flex:0 0 42px;border-radius:13px;display:grid;place-items:center;background:#00a693;color:#fff;font-size:20px}
.driver-install-tip-copy{min-width:0;flex:1}.driver-install-tip-copy strong{display:block;font-size:13px;font-weight:900}.driver-install-tip-copy span{display:block;font-size:11px;color:#c9d0d8;line-height:1.8;margin-top:2px}
.driver-install-btn{border:0;background:#00a693;color:#fff;border-radius:11px;padding:9px 12px;font-family:inherit;font-size:12px;font-weight:900;white-space:nowrap;cursor:pointer}
.driver-checklist{margin-bottom:15px;overflow:hidden}.driver-checklist-details summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;font-weight:900}.driver-checklist-details summary::-webkit-details-marker{display:none}.driver-checklist-title{display:flex;align-items:center;gap:10px;font-size:16px}.driver-checklist-icon{font-size:23px}.driver-checklist-chevron{font-size:20px;color:#7b8793;transition:transform .2s}.driver-checklist-details[open] .driver-checklist-chevron{transform:rotate(180deg)}.driver-checklist-body{padding:0 18px 18px}.driver-checklist-list{display:grid;gap:7px;font-size:13px;line-height:1.95}.driver-checklist-warning{padding:10px 12px;border-radius:12px;background:#fff2f2;color:#a63d3d;font-weight:800;margin-top:4px}.driver-checklist-principle{margin-top:11px;padding:11px 12px;border-radius:12px;background:#edf9f5;color:#066f60;font-size:13px;line-height:2}
.finished-total-card{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;padding:15px 17px;background:linear-gradient(180deg,#ffffff,#f8fffd)}.finished-total-card span{display:block;font-size:14px;font-weight:900}.finished-total-card small{display:block;color:#8a949f;font-size:10px;margin-top:3px}.finished-total-card>strong{font-size:20px;color:#007f70;white-space:nowrap}.finished-total-card>strong small{display:inline;font-size:10px;color:inherit;margin:0}
.profile-locked-note{display:flex;align-items:flex-start;gap:10px;margin-top:12px;padding:12px 13px;border-radius:13px;background:#f6f7f9;border:1px solid #eceef1;color:#57606b}.profile-locked-note>i{font-size:18px;color:#7f8a96;margin-top:2px}.profile-locked-note strong{display:block;font-size:12px;color:#2d3742}.profile-locked-note span{display:block;font-size:11px;line-height:1.9;margin-top:2px}
.route-content span{font-size:15px;line-height:2.05;font-weight:600}.route-content strong{font-size:13px}.route-coords{font-size:10px}
.driver-field label{font-size:14px}.driver-field select,.driver-field input,.driver-field textarea{font-size:14px}.service-pill,.service-customer-meta,.driver-subtitle,.driver-kicker,.service-status,.service-type{font-size:14px}.service-customer-name{font-size:18px}.driver-nav a{font-size:14px}.driver-profile p{font-size:14px}.driver-profile h1{font-size:22px}.driver-title{font-size:28px}
@media (min-width:992px){.driver-install-wrap{display:none!important}}
@media (max-width:991px){.driver-install-wrap{display:block}.driver-install-tip{animation:driverInstallIn .45s ease both}.driver-checklist{margin-top:2px}.route-content span{font-size:15px}.driver-title{font-size:24px}}
@media (max-width:640px){.driver-install-wrap{right:10px;left:10px;bottom:99px}.driver-install-tip{padding:12px 12px 12px 10px;gap:9px}.driver-install-tip-icon{width:38px;height:38px;flex-basis:38px;font-size:18px}.driver-install-tip-copy strong{font-size:12px}.driver-install-tip-copy span{font-size:10px;line-height:1.7}.driver-install-btn{padding:8px 10px;font-size:11px}.driver-checklist-details summary{padding:14px}.driver-checklist-body{padding:0 14px 15px}.driver-checklist-title{font-size:15px}.driver-checklist-list{font-size:14px;line-height:2}.driver-checklist-principle{font-size:13px}.finished-total-card{align-items:flex-start;flex-direction:column}.finished-total-card>strong{font-size:18px}.route-content span{font-size:15px;line-height:2.15}.service-card{padding:15px}.driver-title{font-size:22px}}
@keyframes driverInstallIn{from{transform:translateY(16px);opacity:0}to{transform:translateY(0);opacity:1}}


/* V7 — dashboard entrance using the Animate.css version already bundled with the project */
.driver-home-page .home-anim-1{animation-delay:.06s;-webkit-animation-delay:.06s}
.driver-home-page .home-anim-2{animation-delay:.14s;-webkit-animation-delay:.14s}
.driver-home-page .home-anim-3{animation-delay:.22s;-webkit-animation-delay:.22s}
.driver-home-page .home-anim-4{animation-delay:.30s;-webkit-animation-delay:.30s}
.driver-home-page .home-anim-5{animation-delay:.38s;-webkit-animation-delay:.38s}
.driver-home-page .home-anim-6{animation-delay:.50s;-webkit-animation-delay:.50s}
.driver-home-page .home-anim-7{animation-delay:.62s;-webkit-animation-delay:.62s}
.driver-home-page .home-anim-8{animation-delay:.74s;-webkit-animation-delay:.74s}
.driver-home-page .home-anim-9{animation-delay:.86s;-webkit-animation-delay:.86s}
.driver-home-page .home-anim-sidebar{animation-delay:.18s;-webkit-animation-delay:.18s}
.driver-home-page .home-anim-card{animation-duration:.72s;-webkit-animation-duration:.72s}
.driver-home-page .driver-page-head{animation-duration:.68s;-webkit-animation-duration:.68s}
.driver-home-page .driver-checklist{animation-duration:.72s;-webkit-animation-duration:.72s}
.driver-home-page .driver-dashboard-grid .driver-action{will-change:transform,opacity}
.driver-install-wrap{pointer-events:none}
.driver-install-tip{pointer-events:auto}
.driver-install-wrap[hidden],.driver-install-wrap.is-dismissed{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
@media (max-width:991px){
    .driver-home-page .driver-sidebar{animation:fadeInRight .7s both;-webkit-animation:fadeInRight .7s both}
}
@media (prefers-reduced-motion: reduce){
    .driver-home-page .animated{animation:none!important;-webkit-animation:none!important}
}

/* V7 polish: make the home entrance visibly animated with the bundled Animate.css v3 */
.driver-home-page .animated{visibility:visible;-webkit-backface-visibility:hidden;backface-visibility:hidden}
.driver-home-page .driver-hero.animated{animation-duration:.72s;-webkit-animation-duration:.72s}
.driver-home-page .driver-topbar.animated,
.driver-home-page .driver-profile-card.animated,
.driver-home-page .driver-page-head.animated,
.driver-home-page .driver-checklist.animated,
.driver-home-page .driver-action.animated,
.driver-home-page .account-note.animated{animation-fill-mode:both;-webkit-animation-fill-mode:both}


/* FINAL-V8: complete eight-point route UI */
.service-routes {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--driver-line);
    display: grid;
    gap: 10px;
}

.route-row {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    padding: 10px;
    border-radius: 15px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.route-dot {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 16px;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.08);
}

.route-dot.origin {
    background: #eafaf6;
    color: #008f7e;
}

.route-dot.destination,
.route-dot.dest {
    background: #fff1f1;
    color: #c43d45;
}

.route-content {
    min-width: 0;
}

.route-label {
    color: #111827;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.7;
    margin-bottom: 2px;
}

.route-address {
    color: var(--driver-muted);
    font-size: 15px;
    font-weight: 600;
    line-height: 2;
    word-break: break-word;
}

.route-map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    margin-top: 8px;
    padding: 5px 11px;
    border: 0;
    border-radius: 11px;
    background: rgba(0, 166, 147, 0.10);
    color: #008f7e;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 640px) {
    .route-row {
        grid-template-columns: 40px minmax(0, 1fr);
        padding: 11px 9px;
    }

    .route-dot {
        width: 40px;
        height: 40px;
    }

    .route-label {
        font-size: 15px;
    }

    .route-address {
        font-size: 16px;
        line-height: 2.05;
    }
}
