.driver-registry-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:24px;align-items:start}.driver-registry-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 24px}.driver-registry-stats>div{border:1px solid #dce5f2;background:#fff;border-radius:14px;padding:18px 20px}.driver-registry-stats small{color:#8290a5;font-size:12px;line-height:1.8}.driver-registry-stats b{display:block;color:#2e57a3;font-size:28px;font-weight:500;margin-top:8px}.driver-registry-stats b small{display:inline;font-size:12px}.driver-form-heading,.driver-list-heading,.driver-profile-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.driver-form-heading h2,.driver-list-heading h2{margin:0;font-size:20px}.driver-list-heading{margin:0 0 18px}.driver-profile-form h3{font-size:14px;color:#4b6b96;border-top:1px solid #e2e8f1;padding-top:20px;margin:24px 0 16px}.driver-profile-form .grid{gap:16px}.driver-profile-form small{margin:10px 0 16px;line-height:1.9}.driver-profile-form .check{margin-top:24px;line-height:1.9}.driver-save{width:100%;margin-top:12px}.driver-save-note{font-size:11px;line-height:1.9;margin:15px 0 0}.driver-kind{display:inline-flex;padding:5px 11px;border-radius:7px;font-size:11px;white-space:nowrap;background:#eaf1fc;color:#325f9e}.driver-kind.employee{color:#2c7958;background:#ecf7f0}.driver-profile-title h3{font-size:18px;margin:0}.driver-profile-card>p{font-size:13px;margin:12px 0}.driver-vehicle-line{display:flex;align-items:center;gap:10px;background:#f6f8fc;border-radius:9px;padding:13px;font-size:13px;color:#3f5a81}.driver-vehicle-line>span{font-size:25px;color:#7c9bc5}.driver-profile-facts{display:grid;gap:10px;font-size:11px;color:#77869e;margin:16px 0}.driver-profile-facts bdi{margin-inline-start:8px;color:#385782}.driver-profile-pay{font-size:12px;padding:13px 0;border-top:1px solid #e5ebf3;line-height:1.9;color:#4e709f}.driver-profile-card .actions{margin-top:14px;flex-wrap:wrap}.driver-external-rates{padding:16px;border-radius:10px;background:#f2f6fd}.driver-external-rates[hidden]{display:none}.driver-external-rates p{font-size:11px;line-height:1.8}.driver-external-rates .grid label{margin-bottom:0}.driver-assignment{padding:20px;background:#f6f9ff;border:1px solid #dce6f4;border-radius:12px;margin:16px 0 24px}.driver-assignment h3{margin:0 0 12px}.driver-assignment p{font-size:13px;line-height:1.9}.driver-assignment small{margin:10px 0 16px;line-height:1.9}.driver-assignment label{max-width:500px}.driver-welcome{display:block}.driver-welcome h1{font-size:34px}.driver-login-card{max-width:480px;margin:0 auto 24px;padding:30px}.driver-login-card h2{font-size:23px}.driver-login-card>p{font-size:13px;line-height:1.9;margin:12px 0 22px}.driver-login-card>button{width:100%;margin-top:10px}.driver-login-card>small{line-height:1.9;margin-top:20px;font-size:11px;text-align:center}.driver-admin-entry{max-width:480px;margin:0 auto;text-align:center}.driver-personal-welcome{display:flex;justify-content:space-between;align-items:center;gap:25px;border:1px solid #d9e5f7;border-radius:19px;padding:30px;background:linear-gradient(120deg,#f8faff,#edf4ff);margin:25px 0}.driver-personal-welcome h1{font-size:30px;line-height:1.7;margin:12px 0 5px}.driver-personal-welcome p{font-size:14px;margin:8px 0 15px}.driver-personal-vehicle{display:grid;text-align:center;gap:8px;min-width:160px;font-size:12px;color:#41638e}.driver-personal-vehicle svg{width:105px;height:65px;fill:#e1ebfa;stroke:#5077b0;stroke-width:1.5;margin:auto}.driver-personal-vehicle span{background:#fff;border:1px solid #dce5f2;border-radius:6px;padding:6px 14px}.driver-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:24px}.driver-toolbar>span{font-size:12px;color:#8491a4}.driver-toolbar>div{display:flex;gap:10px;flex-wrap:wrap}.registered-trip-list{display:grid;grid-template-columns:1fr;gap:22px;max-width:980px}.registered-trip-list .trip-card{margin:0}.driver-employee-note{background:#eff7f2;color:#34795a;border-radius:10px;padding:16px;margin:18px 0;line-height:1.9;font-size:13px}.driver-invoice-link{display:flex;align-items:center;justify-content:center;background:#edf3ff;color:#2e57a3;border:1px solid #cddcf4;border-radius:9px;padding:13px;margin:18px 0;text-decoration:none;font-size:13px}.driver-cargo-items{padding:16px;display:grid;gap:12px}.driver-cargo-items>div{display:flex;justify-content:space-between;gap:14px;font-size:13px;border-bottom:1px solid #e4eaf2;padding-bottom:12px}.driver-cargo-items span{color:#70839e}.driver-empty p{font-size:13px;margin:10px 0 0}.driver-profile-form input:focus,.driver-login-card input:focus{outline-color:#7099d3}
@media(max-width:1000px){.driver-registry-layout{grid-template-columns:1fr}.driver-registry-stats{gap:10px}.driver-registry-stats>div{padding:16px}}@media(max-width:650px){.driver-personal-welcome{padding:22px 18px;flex-direction:column;align-items:stretch;gap:20px}.driver-personal-welcome h1{font-size:26px}.driver-personal-vehicle{grid-template-columns:70px 1fr;min-width:0;align-items:center;text-align:start}.driver-personal-vehicle svg{grid-row:span 2;width:70px;height:48px}.driver-personal-vehicle span{width:fit-content}.driver-welcome h1{font-size:28px}.driver-login-card{padding:22px}.driver-registry-stats>div{padding:13px 10px}.driver-registry-stats small{font-size:10px}.driver-registry-stats b{font-size:23px}.driver-profile-form .grid{grid-template-columns:1fr}.driver-profile-title h3{font-size:17px}.driver-toolbar>div{width:100%}.driver-toolbar button{flex:1;font-size:11px}.driver-cargo-items>div{flex-direction:column;gap:6px}.driver-assignment{padding:16px}.driver-form-heading .secondary{width:100%;font-size:12px}.registered-trip-list .trip-route{gap:9px}.driver-profile-card .actions button{flex:1;font-size:12px}}
/* Vehicle and Saudi-inspired plate use the exact registered characters, without guessed transliteration. */
.driver-personal-vehicle{min-width:250px;justify-items:center;gap:5px}.driver-personal-vehicle>.driver-vehicle-art{width:270px;height:126px;max-height:none;fill:none;stroke:none;margin:0}.driver-vehicle-caption{font-size:12px;font-weight:500;color:#58759a;margin-bottom:11px}.saudi-plate{position:relative;display:flex;direction:ltr;width:206px;min-height:69px;background:linear-gradient(#fff,#f8f9f6);border:1.5px solid #53616d;border-radius:6px;padding:4px 5px;color:#1e2c39;box-shadow:0 3px 0 #cbd3db,0 5px 12px #24436612;isolation:isolate}.saudi-plate:before{content:'';position:absolute;inset:3px;border:1px solid #ccd3d9;border-radius:3px;pointer-events:none}.plate-registration{display:grid;grid-template-columns:1fr 1.1fr;flex:1;align-items:center;padding:8px 3px 0}.plate-letters,.plate-numbers{font-family:AMTR,Tahoma,sans-serif;font-size:21px;line-height:1.3;text-align:center;font-weight:700;padding:0 7px;white-space:nowrap;letter-spacing:1px}.plate-numbers{border-inline-start:1px solid #a8b2bc;letter-spacing:2px}.plate-original{grid-column:1/-1;text-align:center;font-size:20px}.plate-country-name{grid-column:1/-1;font-size:6px;letter-spacing:2px;text-align:center;color:#6d7985;padding-top:6px;padding-bottom:2px}.plate-country{display:grid;justify-items:center;align-content:center;gap:1px;width:35px;flex:0 0 35px;border-inline-start:1px solid #a8b2bc;background:#f1f5ef;color:#316c45;margin-inline-start:3px;border-radius:0 2px 2px 0;z-index:1}.saudi-plate .plate-emblem{display:block;width:22px;height:23px;max-height:none;margin:0;fill:none;stroke:none}.plate-country b{font-size:7px;line-height:1.5;font-weight:500}.plate-country strong{font:700 9px Arial,sans-serif;letter-spacing:1px}.plate-screw{position:absolute;top:5px;width:4px;height:4px;border-radius:50%;background:#8b969f;box-shadow:inset 0 1px 1px #fff;z-index:2}.plate-screw.left{left:8px}.plate-screw.right{right:43px}
@media(max-width:650px){.driver-personal-vehicle{display:flex;flex-direction:column;min-width:0;text-align:center;gap:4px;border-top:1px solid #dce6f4;padding-top:12px}.driver-personal-vehicle>.driver-vehicle-art{width:245px;height:115px;max-width:100%}.driver-vehicle-caption{margin-bottom:9px}.saudi-plate{width:206px}}

/* Driver trip workspace: destinations and cargo beside the current action. */
.driver-clean{padding:26px;border-radius:18px;box-shadow:0 6px 24px #244a7d05}.driver-clean .trip-header{padding-bottom:5px}.driver-clean .trip-header h2{font-size:19px;letter-spacing:.3px;overflow-wrap:anywhere}.driver-clean .trip-header .status{padding:7px 13px;border-radius:20px}.driver-clean .trip-progress{margin:20px 0 24px;padding:17px 16px;background:#f8fafd;border:1px solid #edf1f7;border-radius:12px;gap:12px}.driver-clean .trip-progress li{justify-content:center}.driver-clean .trip-progress li span{width:28px;height:28px}.driver-trip-content{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:24px;align-items:start}.driver-section-title{font-size:14px;color:#294d80;margin:0 0 14px;font-weight:500}.driver-clean .driver-trip-summary .trip-route{grid-template-columns:1fr;gap:10px}.driver-clean .route-button{min-height:70px;border-radius:12px;background:#fff;transition:background .15s,border-color .15s}.driver-clean .route-button:hover{border-color:#8eaad4;background:#f8faff}.driver-clean .route-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#eef4ff;color:#2e57a3;font-size:21px;flex-shrink:0}.driver-clean .route-button small{display:block;line-height:1.6;color:#73829a}.driver-clean .driver-trip-summary .trip-cargo{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:18px;background:#f8fafd;border:1px solid #e9eef6;border-radius:12px;margin:15px 0 0}.driver-clean .trip-cargo small{font-size:11px}.driver-clean .trip-cargo b{font-size:14px;line-height:1.7}.driver-clean .driver-invoice-link{margin:14px 0 0;padding:13px;border-radius:10px;background:#f0f5ff;font-size:12px}.driver-trip-next{background:#f5f8fd;border:1px solid #e3ebf7;border-radius:14px;padding:20px}.driver-clean .handoff-panel{background:transparent;border:0;padding:0;line-height:1.9}.driver-clean .handoff-panel h3{font-size:17px;color:#244773;margin:15px 0 12px}.driver-clean .handoff-panel .code{font-size:32px;direction:ltr;letter-spacing:7px;color:#244d86;border:1px solid #d6e2f3;border-radius:12px;background:#fff;padding:17px 12px;margin:20px 0}.driver-clean .handoff-panel small{display:block;font-size:11px;color:#7a899e;line-height:1.9}.driver-clean .driver-trip-next .trip-primary{width:100%;max-width:none;margin:0 0 16px;min-height:48px;border-radius:10px}.driver-clean .trip-details{margin:20px 0 0;padding-top:10px;border-top:1px solid #e9eef6}.driver-clean .trip-details summary{font-size:13px;color:#365a88;padding:12px 0}.driver-clean .driver-cargo-items>div{padding:13px 0}.driver-clean .handoff-panel.completed{padding:15px;border-radius:10px}.driver-clean .trip-earnings{background:#eaf1fd;margin-bottom:18px}.driver-clean .verify-form input,.driver-clean .verify-form select{background:#fff}
@media(max-width:950px){.driver-trip-content{grid-template-columns:1fr;gap:20px}.driver-clean{padding:20px}.driver-trip-next{padding:18px}.driver-clean .trip-header h2{font-size:17px}.driver-clean .trip-progress{gap:5px;padding:13px 8px}.driver-clean .trip-progress li{gap:5px;font-size:11px}.driver-clean .trip-progress li span{width:24px;height:24px}}
@media(max-width:450px){.driver-clean{padding:16px;border-radius:14px}.driver-clean .trip-header{align-items:flex-start}.driver-clean .trip-header h2{font-size:15px;max-width:220px}.driver-clean .trip-header .status{font-size:10px;padding:5px 8px}.driver-clean .route-button{padding:12px}.driver-clean .trip-cargo b{font-size:13px}.driver-clean .trip-progress{margin:17px 0 20px}.driver-clean .handoff-panel .code{font-size:30px}}

.plate-registration{grid-template-columns:1.1fr 1fr}.plate-letters{grid-column:2;grid-row:1}.plate-numbers{grid-column:1;grid-row:1;border-inline-start:0;border-right:1px solid #a8b2bc}
