.form-brand{display:flex;align-items:center;gap:12px;min-width:0;margin:0 0 18px;padding:0 0 15px;border-bottom:1px solid #e4eaf2}.form-brand__logo{display:block;width:136px;height:40px;flex:none}.form-brand__logo img{display:block;width:100%;height:100%;object-fit:contain;object-position:left center}.form-brand__divider{width:1px;height:34px;background:#dce4ee;flex:none}.form-brand__copy{display:flex;align-items:center;gap:9px;min-width:0;color:#0e4da4}.form-brand__copy>i{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:8px;background:#eaf2ff;font-size:15px}.form-brand__copy span,.form-brand__copy b,.form-brand__copy small{display:block;min-width:0}.form-brand__copy b{color:#24364f;font-size:12.5px;line-height:1.2}.form-brand__copy small{margin-top:2px;color:#748197;font-size:10.5px;line-height:1.3}.form-brand--compact{gap:9px;margin-bottom:13px;padding-bottom:11px}.form-brand--compact .form-brand__logo{width:108px;height:32px}.form-brand--compact .form-brand__divider{height:27px}.form-brand--compact .form-brand__copy>i{width:28px;height:28px}.form-brand--compact .form-brand__copy b{font-size:11.5px}.form-brand--compact .form-brand__copy small{font-size:9.5px}
.branded-form{--form-blue:#0865d8;--form-ink:#152033;--form-muted:#68758b;--form-border:#c9d4e2;--form-soft:#f7faff}
.branded-form,.branded-form *{box-sizing:border-box}
.branded-form div.field{position:relative;min-width:0;margin-bottom:17px}
.branded-form div.field>label,.branded-form .form-label{position:relative;z-index:2;display:inline-flex;align-items:center;width:auto;margin:0 0 -7px 13px;padding:0 7px;background:#fff;color:#30415a;font-size:12px;font-weight:800;line-height:1;transform:translateY(7px)}
.branded-form div.field:focus-within>label,.branded-form div:focus-within>.form-label{color:var(--form-blue)}
.branded-form div.field>input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),.branded-form div.field>select,.branded-form div.field>textarea,.branded-form div.field>.pwd-wrap>input,.branded-form .form-control,.branded-form .form-select{width:100%;min-height:58px;border:1.5px solid var(--form-border);border-radius:12px;background:#fff;color:var(--form-ink);font-size:14px;outline:0;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}
.branded-form div.field>input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),.branded-form div.field>select,.branded-form div.field>.pwd-wrap>input,.branded-form .form-control:not(textarea),.branded-form .form-select{padding:15px 14px 11px}
.branded-form div.field>textarea,.branded-form textarea.form-control{min-height:112px;padding:17px 14px 12px;line-height:1.55;resize:vertical}
.branded-form input::placeholder,.branded-form textarea::placeholder{color:#98a3b4;opacity:1}
.branded-form div.field>input:focus,.branded-form div.field>select:focus,.branded-form div.field>textarea:focus,.branded-form div.field>.pwd-wrap>input:focus,.branded-form .form-control:focus,.branded-form .form-select:focus{border-color:var(--form-blue);background:#fff;box-shadow:0 8px 24px rgba(8,101,216,.11)}
.branded-form div.field.is-invalid>input,.branded-form div.field.is-invalid>select,.branded-form div.field.is-invalid>textarea,.branded-form .is-invalid.form-control,.branded-form .is-invalid.form-select{border-color:#d64b60;background:#fffafb}
.branded-form .pwd-wrap{position:relative;display:block;width:100%}
.branded-form .pwd-wrap>input{padding-right:50px!important}
.branded-form .pwd-toggle,.branded-form [data-pwd-toggle]{position:absolute;z-index:3;right:8px;top:50%;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:9px;background:transparent;color:#607086;font-size:17px;transform:translateY(-50%);cursor:pointer}
.branded-form .pwd-toggle:hover,.branded-form .pwd-toggle:focus-visible,.branded-form [data-pwd-toggle]:hover,.branded-form [data-pwd-toggle]:focus-visible{background:#edf3fb;color:var(--form-blue);outline:0}
.branded-form input[type=file].form-control{min-height:58px;padding:8px 10px;color:var(--form-muted);background:#fff}
.branded-form input[type=file].form-control::file-selector-button{height:38px;margin:-1px 12px -1px -2px;padding:0 14px;border:0;border-radius:8px;background:#eaf2ff;color:#0e4da4;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.branded-form .help,.branded-form .field-hint{margin:6px 4px 0;color:var(--form-muted);font-size:11.5px;line-height:1.45}
.branded-form .field-error,.branded-form .err{margin:6px 4px 0;color:#b42334;font-size:11.5px;font-weight:700}
.branded-form .btn-primary,.branded-form .btn-brand{min-height:50px;border:0;border-radius:12px;background:linear-gradient(105deg,#0871e6,#084bb5);box-shadow:0 10px 22px rgba(8,75,181,.19);font-weight:800;transition:transform .15s ease,box-shadow .15s ease}
.branded-form .btn-primary:hover,.branded-form .btn-primary:focus-visible,.branded-form .btn-brand:hover,.branded-form .btn-brand:focus-visible{background:linear-gradient(105deg,#0868d5,#073f9c);box-shadow:0 15px 30px rgba(8,75,181,.28);transform:translateY(-1px)}
.branded-form .form-check-input{border:1.5px solid #aebdce;box-shadow:none}.branded-form .form-check-input:checked{border-color:var(--form-blue);background-color:var(--form-blue)}
.auth-card--branded{padding:27px 24px}.auth-card--branded>.form-brand{justify-content:center}.auth-card--branded>.form-brand .form-brand__copy{display:none}.auth-card--branded>.form-brand .form-brand__divider{display:none}.auth-card--branded>.form-brand .form-brand__logo{width:174px;height:52px}.auth-card--branded h1{margin-top:2px}
.scan-modal__brand{position:relative;z-index:1;display:block;width:122px;height:36px;margin:0 0 11px}.scan-modal__brand img{display:block;width:100%;height:100%;object-fit:contain;object-position:left center}
.driver-form>.form-brand{margin:0;padding:15px 20px;border-bottom:1px solid #e2e8f0;background:#fbfcfe}.driver-form>.form-brand+.driver-form__mobile-head{border-top:0}
.onboarding-form>.form-brand{grid-column:1/-1;margin:0;padding:14px 18px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.portal-consent-section form>.form-brand{max-width:1000px;margin-bottom:16px;padding:14px 16px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}
@media(max-width:575px){.branded-form div.field{margin-bottom:14px}.branded-form div.field>label,.branded-form .form-label{margin-left:11px;padding-inline:6px;font-size:11.5px}.branded-form div.field>input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),.branded-form div.field>select,.branded-form div.field>.pwd-wrap>input,.branded-form .form-control:not(textarea),.branded-form .form-select{min-height:54px;border-radius:10px;padding:14px 12px 10px}.branded-form div.field>textarea,.branded-form textarea.form-control{min-height:104px;border-radius:10px}.branded-form .btn-primary,.branded-form .btn-brand{min-height:48px;border-radius:10px}}
@media(max-width:575px){.form-brand{gap:8px;margin-bottom:14px;padding-bottom:11px}.form-brand__logo{width:104px;height:32px}.form-brand__divider{height:28px}.form-brand__copy>i{width:28px;height:28px}.form-brand__copy b{font-size:11px}.form-brand__copy small{font-size:9px}.auth-card--branded{padding:23px 18px}.auth-card--branded>.form-brand .form-brand__logo{width:148px;height:46px}.scan-modal__brand{width:104px;height:31px;margin-bottom:8px}}

/* Worker registration and flexible sign-in */
.auth-card--worker{width:min(100%,440px)}.auth-step-mark{text-align:center;margin:-2px 0 7px}.auth-step-mark span{display:inline-flex;padding:5px 9px;border-radius:6px;background:#edf4ff;color:#0e4da4;font-size:9.5px;font-weight:900;letter-spacing:.08em}.auth-switch-copy,.auth-staff-link{text-align:center;color:var(--muted);font-size:13px}.auth-switch-copy{margin:18px 0 0}.auth-staff-link{margin:9px 0 0;font-size:11.5px}.auth-switch-copy a{color:var(--brand);font-weight:800}.auth-staff-link a{color:var(--muted);text-decoration:underline}
.auth-method-choice{display:grid;grid-template-columns:1fr 1fr;gap:8px}.auth-method-choice>input{position:absolute;opacity:0;pointer-events:none}.auth-method-choice>label{display:flex;align-items:center;justify-content:center;gap:8px;min-height:43px;border:1px solid #cfdae8;border-radius:10px;background:#f8fafc;color:#59697d;font-size:12.5px;font-weight:800;cursor:pointer;transition:.16s ease}.auth-method-choice>label i{font-size:15px}.auth-method-choice>input:focus-visible+label{outline:3px solid rgba(8,101,216,.16)}.auth-method-choice>input:checked+label{border-color:#0e5fc4;background:#eaf3ff;color:#0e4da4;box-shadow:inset 0 0 0 1px #0e5fc4}.auth-method-panels{grid-column:1/-1;margin-top:9px}.auth-method-panel{display:none}.auth-method-choice #methodPassword:checked~.auth-method-panels .auth-method-panel--password,.auth-method-choice #methodOtp:checked~.auth-method-panels .auth-method-panel--otp{display:block}.auth-method-note{display:flex;align-items:flex-start;gap:9px;margin:0 0 15px;padding:11px 12px;border:1px solid #d4e2f3;border-radius:9px;background:#f3f8fe;color:#52647b;font-size:11.5px;line-height:1.45}.auth-method-note i{flex:none;color:#0e5fc4;font-size:16px}.auth-method-note--success{border-color:#cde8dc;background:#f1faf6;color:#426455}.auth-method-note--success i{color:#198754}
.otp-alternatives{display:grid;gap:10px;margin-top:16px}.otp-alternative{display:grid;grid-template-columns:35px minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px;border:1px solid #d6e1ef;border-radius:10px;background:#f8fafc;color:#24364f;text-decoration:none}.otp-alternative>i:first-child{display:grid;width:35px;height:35px;place-items:center;border-radius:8px;background:#e9f2ff;color:#0e4da4}.otp-alternative span,.otp-alternative b,.otp-alternative small{display:block}.otp-alternative b{font-size:12px}.otp-alternative small{margin-top:2px;color:#6c7b8f;font-size:10.5px;line-height:1.35}.otp-alternative>i:last-child{color:#0e4da4}.otp-alternative--primary{border-color:#b9d4f5;background:#f0f6ff}.otp-request-again{text-align:center;color:var(--brand);font-size:12px;font-weight:750}
@media(max-width:575px){.auth-card--worker{width:100%}.auth-method-choice>label{min-height:41px}.otp-alternative{padding:10px}}
