.auth-body{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background:#fff;font-size:14px;color:#182b47}.auth-header{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;border-bottom:1px solid #e1e6ed;background:#fff}.auth-brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:750;text-decoration:none}.auth-brand img{width:38px;height:38px;object-fit:contain}.auth-admin{font-size:13px;text-decoration:none;border:1px solid #d3dae5;padding:9px 16px;border-radius:4px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:calc(100vh - 80px)}.auth-cover{position:relative;background:#042861;min-height:0;padding:72px 6vw;display:flex;align-items:center;overflow:visible}.auth-cover:after{display:none}.auth-cover-brand{position:static;color:#fff;max-width:470px}.auth-kicker{font-size:11px;letter-spacing:1.6px;font-weight:750;color:#a7580c;margin:0 0 18px}.auth-cover .auth-kicker{color:#ffb75e}.auth-cover-brand h1{font-size:clamp(32px,3.4vw,50px);font-weight:700;line-height:1.12;letter-spacing:-1.5px;max-width:440px;margin:0 0 22px}.auth-cover-brand .auth-description{font-size:16px;line-height:1.7;color:#c6d4e9;max-width:390px;margin:0}.auth-benefits{margin:38px 0 42px;border-top:1px solid #ffffff30}.auth-benefits article{display:flex;gap:18px;padding:20px 0;border-bottom:1px solid #ffffff30}.auth-number{color:#ffb75e;font-size:12px;padding-top:3px;font-weight:650}.auth-benefits h2{font-size:15px;font-weight:650;margin:0 0 4px}.auth-benefits p{font-size:13px;color:#c6d4e9;margin:0}.auth-cover-brand .auth-cover-note{font-size:12px;color:#a8bbd8;max-width:none;margin:0}.auth-form-col{display:flex;align-items:center;justify-content:center;background:#fff;padding:44px 6vw}.auth-form-content{width:100%;max-width:440px}.auth-form-content h2{font-size:29px;letter-spacing:-.7px;line-height:1.25;margin:0 0 10px;color:#142d50}.auth-form-content>.muted{font-size:14px;color:#65738a;margin-bottom:28px}.auth-form-content label{font-size:13px;font-weight:600;margin:17px 0 7px}.auth-form-content input{height:46px;border:1px solid #cbd4df;border-radius:4px;background:#fff;padding:11px 13px;font-size:14px}.auth-form-content input::placeholder{color:#7b879a}.auth-form-content input:focus{outline:2px solid #96b2d9;outline-offset:2px;border-color:#042861}.auth-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.auth-form-grid label{margin-top:0}.field-help{color:#65738a;font-size:12px;margin:7px 0 0}.password-row{display:flex;gap:0}.password-row input{border-radius:4px 0 0 4px}.password-row button{border:1px solid #cbd4df;border-left:0;border-radius:0 4px 4px 0;background:#f6f8fb;color:#042861;padding:0 14px;min-width:64px;font-size:12px}.auth-tabs{display:flex;margin:0 0 22px;gap:0;border-bottom:1px solid #d8dfe9}.auth-tabs button{flex:1;background:#fff;border:0;border-bottom:2px solid transparent;border-radius:0;color:#65738a;box-shadow:none;font-size:13px;padding:12px}.auth-tabs button.active{background:#fff;border-bottom-color:#042861;color:#042861;box-shadow:none}.login-options{display:flex;align-items:center;justify-content:space-between;margin:20px 0;gap:16px}.auth-form-content .remember-label{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:400}.remember-label input{width:16px;height:16px;min-height:0;accent-color:#042861;margin:0}.link-button{background:none;border:0;padding:0;color:#042861;font-size:13px}.auth-form-content button[type=submit]{background:#f79626;color:#142238;border:1px solid #e58b21;border-radius:4px;padding:12px 18px;height:48px;font-size:14px;font-weight:700;box-shadow:none;margin-top:8px}.auth-form-content button[type=submit]:hover{background:#ffac48;filter:none}.auth-switch{text-align:center;font-size:13px;margin:24px 0 0;color:#65738a}.auth-switch a{font-weight:650;text-underline-offset:3px}.auth-footer{border-top:1px solid #e1e6ed;padding-top:22px;margin-top:30px;font-size:11px;color:#65738a;text-align:center}.auth-footer p{margin:0}#form-error:empty{display:none}#form-error:not(:empty){padding:10px 12px;background:#fff3f0;border:1px solid #f2c7bf;border-radius:4px;font-size:13px}.auth-body dialog{border-radius:4px;box-shadow:none}@media(min-width:1600px){.auth-form-col{padding:60px 8vw}}@media(max-width:900px){.auth-cover{padding:44px 32px}.auth-form-col{padding:40px 32px}.auth-cover-brand h1{font-size:36px}}@media(max-width:767px){.auth-header{height:68px;padding:0 22px}.auth-brand{font-size:16px}.auth-brand img{width:30px;height:30px}.auth-admin{padding:7px 10px;font-size:12px}.auth-layout{grid-template-columns:1fr;min-height:calc(100vh - 68px)}.auth-cover{display:none}.auth-form-col{min-height:0;padding:40px 24px;align-items:center}.auth-form-content h2{font-size:27px}}@media(max-width:380px){.auth-form-grid{grid-template-columns:1fr;gap:0}.auth-form-grid label{margin-top:17px}.auth-header{padding:0 16px}.auth-form-col{padding:32px 20px}}

/* Password reset dialog (legacy forgot-password and reset-password pages). */
.recovery-dialog{width:min(440px,calc(100vw - 32px));padding:24px;border:1px solid #d3dae5;color:#182b47}
.recovery-dialog::backdrop{background:#04286199}
.recovery-dialog h2{margin:0 0 10px;color:#042861;font-size:21px}
.recovery-dialog p{font-size:13px;line-height:1.5;color:#52617a}
.recovery-dialog label{display:block;font-size:13px;font-weight:600;margin:14px 0 6px}
.recovery-dialog input{width:100%;box-sizing:border-box;height:44px;border:1px solid #cbd4df;border-radius:4px;padding:10px 12px;font-size:14px}
.recovery-dialog .error{color:#a3201b;margin:10px 0 0}
.recovery-dialog .error:empty{display:none}
.recovery-dialog .form-actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
.recovery-dialog button[type=submit]{background:#f79626;color:#142238;border:1px solid #e58b21;font-weight:700}
.recovery-dialog [hidden]{display:none}
#form-error.success:not(:empty){background:#e3f4ea;border-color:#b9dfc8;color:#17663a}

/* Multi-step registration (legacy createregister.blade.php). */
.auth-form-content select,.auth-form-content textarea{width:100%;box-sizing:border-box;border:1px solid #cbd4df;border-radius:4px;background:#fff;padding:11px 13px;font:inherit;font-size:14px;color:#182b47}
.auth-form-content select{height:46px}
.auth-form-content textarea{min-height:84px;resize:vertical}
.auth-form-content select:focus,.auth-form-content textarea:focus{outline:2px solid #96b2d9;outline-offset:2px;border-color:#042861}
.register-steps{display:flex;list-style:none;margin:0 0 6px;padding:0;gap:6px}
.register-steps li{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;color:#65738a;font-size:11px;font-weight:600}
.register-steps li:not(:last-child):after{content:"";position:absolute;top:15px;left:calc(50% + 18px);right:calc(-50% + 18px);height:3px;border-radius:3px;background:#e1e6ed}
.register-steps li.done:not(:last-child):after{background:#f79626}
.step-number{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid #d3dae5;background:#fff;font-size:13px;font-weight:750}
.register-steps li.active{color:#042861}
.register-steps li.active .step-number{border-color:#f79626;color:#a7580c}
.register-steps li.done .step-number{background:#f79626;border-color:#f79626;color:#142238}
.step-status{font-size:12px;color:#65738a;margin:4px 0 8px;text-align:center}
.register-step{min-width:0}
.register-step[hidden]{display:none}
.register-step .step-title{font-size:16px;font-weight:700;color:#042861;padding:0;margin:14px 0 2px}
.auth-form-content .terms-label{display:flex;align-items:center;gap:8px;margin:20px 0 4px;font-weight:500}
.terms-label input{width:16px;height:16px;min-height:0;accent-color:#042861;margin:0}
.password-strength{display:flex;align-items:center;gap:10px;margin-top:8px;font-size:12px;color:#65738a}
.strength-track{flex:1;height:6px;border-radius:6px;background:#e1e6ed;overflow:hidden}
#password-strength-bar{height:100%;width:0;transition:width .2s ease}
#password-match.match-ok{color:#17663a}
#password-match.match-error{color:#a3201b}
.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.choice-card{display:flex;align-items:flex-start;gap:12px;text-align:left;width:100%;padding:14px;border:1px solid #d3dae5;border-radius:6px;background:#fff;color:#182b47;cursor:pointer;font:inherit;box-shadow:none;transition:border-color .15s ease,box-shadow .15s ease}
.choice-card[hidden]{display:none}
.choice-card:hover{border-color:#042861}
.choice-card:focus-visible{outline:2px solid #96b2d9;outline-offset:2px}
.choice-card.selected{border:2px solid #f79626;padding:13px;box-shadow:0 6px 18px #f7962626}
.choice-icon{flex:none;width:38px;height:38px;border-radius:50%;background:#042861;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:750;font-size:15px}
.choice-card.selected .choice-icon{background:#f79626;color:#142238}
.choice-body{display:flex;flex-direction:column;gap:3px;min-width:0}
.choice-body strong{font-size:14px;color:#042861}
.choice-price{font-size:12px;font-weight:650;color:#182b47}
.choice-badge{align-self:flex-start;font-size:11px;font-weight:650;color:#a7580c;background:#fff4e6;border:1px solid #fbd7aa;border-radius:999px;padding:1px 8px}
.choice-description{font-size:12px;color:#65738a;line-height:1.45;overflow-wrap:anywhere}
.register-summary{margin:14px 0 4px;border:1px solid #e1e6ed;border-radius:6px;background:#f8fafc;padding:4px 14px}
.register-summary div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid #e1e6ed;font-size:13px}
.register-summary div:last-child{border-bottom:0;font-weight:700;color:#042861}
.register-summary .summary-label{color:#65738a}
.register-summary strong{margin:0;text-align:right;font-weight:600;overflow-wrap:anywhere}
.register-actions{display:flex;gap:10px;margin-top:18px}
.register-actions[hidden]{display:none}
.register-actions button{flex:1;height:48px;border-radius:4px;font-size:14px;font-weight:700;margin:0}
.register-actions button[hidden]{display:none}
.register-actions .secondary{background:#fff;color:#042861;border:1px solid #cbd4df}
#register-next{background:#042861;color:#fff;border:1px solid #042861}
#register-next:hover{background:#0a3a85}
.auth-form-content .register-actions button[type=submit]{margin-top:0}
.register-actions .pay-now{background:#042861;color:#fff;border:1px solid #042861}
#form-error.success a{color:#17663a;font-weight:700}
@media(max-width:520px){.choice-grid{grid-template-columns:1fr}.register-steps .step-label{display:none}.register-actions{flex-wrap:wrap}.register-actions button{flex:1 1 40%}}

/* No top bar: the logo sits in a white square on the blue panel (and above the form on phones). */
.auth-layout.auth-layout-full{min-height:100vh}
.auth-panel-logo{display:inline-flex;align-items:center;justify-content:center;width:112px;height:112px;background:#fff;border-radius:18px;margin:0 0 36px;box-shadow:0 10px 30px #00000033}
.auth-panel-logo img{width:92px;height:92px;object-fit:contain}
.auth-panel-logo:focus-visible,.auth-mobile-logo:focus-visible{outline:3px solid #f79626;outline-offset:3px}
.auth-mobile-logo{display:none}
.auth-admin-link{display:inline-block;margin-top:8px;font-size:12px;color:#042861;text-underline-offset:3px}
@media(max-width:767px){.auth-layout.auth-layout-full{min-height:100vh}.auth-mobile-logo{display:inline-flex;align-items:center;justify-content:center;width:72px;height:72px;background:#fff;border:1px solid #e1e6ed;border-radius:14px;margin:0 0 20px}.auth-mobile-logo img{width:60px;height:60px;object-fit:contain}}

/* Responsive registration. The form column narrows the blue panel, the form keeps a readable width
   and centres in wide columns, and fields fall back to one column whenever the form itself is narrow. */
.auth-layout:has(#register-form){grid-template-columns:minmax(300px,38%) 1fr}
.auth-form-col:has(#register-form){align-items:flex-start;padding:48px clamp(20px,4vw,72px)}
.auth-form-content:has(#register-form){max-width:780px;margin:0 auto;container-type:inline-size}
.auth-cover:has(~ .auth-form-col #register-form){padding:56px clamp(28px,4vw,72px)}
#register-form .step-title{margin:18px 0 14px}
.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
.field{display:flex;flex-direction:column;min-width:0}
.field-wide{grid-column:1/-1}
.auth-form-content .field>label{margin:0 0 7px}
.field input:not([type=checkbox]),.field select,.field textarea{width:100%;box-sizing:border-box}
.field .field-help{margin-top:6px}
.field .password-strength{margin-top:8px}
.auth-form-content .field .terms-label{margin:4px 0 0}
.register-steps{max-width:640px;margin:0 auto 6px}
.register-actions{justify-content:flex-end}
.register-actions button{flex:0 1 200px}
#register-form .choice-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
@container (max-width:560px){
  .field-grid{grid-template-columns:1fr;gap:16px}
  .register-actions button{flex:1 1 0}
  #register-form .choice-grid{grid-template-columns:1fr}
}
@container (max-width:420px){
  .register-steps .step-label{display:none}
  .register-actions{flex-wrap:wrap}
  .register-actions .pay-now{flex-basis:100%}
}
/* Tablets: the blue panel gives way so the form has room; the logo moves above the form. */
@media(max-width:1023px){
  .auth-layout:has(#register-form){grid-template-columns:1fr}
  .auth-layout:has(#register-form) .auth-cover{display:none}
  .auth-form-content:has(#register-form) .auth-mobile-logo{display:inline-flex;align-items:center;justify-content:center;width:72px;height:72px;background:#fff;border:1px solid #e1e6ed;border-radius:14px;margin:0 0 20px}
  .auth-form-content:has(#register-form) .auth-mobile-logo img{width:60px;height:60px;object-fit:contain}
}
@media(max-width:767px){.auth-form-col:has(#register-form){padding:28px 16px 36px}}

/* The logo sits at the top of the blue panel; the headline stays centred below it. */
.auth-cover .auth-panel-logo{position:absolute;top:36px;left:6vw;margin:0;width:96px;height:96px}
.auth-cover .auth-panel-logo img{width:80px;height:80px}
.auth-cover{padding-top:168px}
.auth-cover:has(~ .auth-form-col #register-form) .auth-panel-logo{left:clamp(28px,4vw,72px)}
.auth-cover:has(~ .auth-form-col #register-form){padding-top:168px}

/* Modern form styling (sign-in and registration). Brand: navy #042861, orange #f79626. */
.auth-form-content{--ink:#0f2547;--muted:#64748b;--line:#dde3ec;--field:#f7f9fc;--navy:#042861;--orange:#f79626;--ring:0 0 0 4px #f796262e}
.auth-form-content label{color:var(--ink);font-size:13px;font-weight:650;letter-spacing:.1px}
.auth-form-content input:not([type=checkbox]):not([type=hidden]),.auth-form-content select,.auth-form-content textarea{height:48px;border:1.5px solid var(--line);border-radius:10px;background:var(--field);color:var(--ink);padding:12px 14px;font-size:14px;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.auth-form-content textarea{height:auto;min-height:96px}
.auth-form-content input::placeholder,.auth-form-content textarea::placeholder{color:#94a3b8}
.auth-form-content input:not([type=checkbox]):hover,.auth-form-content select:hover,.auth-form-content textarea:hover{border-color:#c3ccda;background:#fff}
.auth-form-content input:not([type=checkbox]):focus,.auth-form-content select:focus,.auth-form-content textarea:focus{outline:none;border-color:var(--navy);background:#fff;box-shadow:var(--ring)}
.auth-form-content select{appearance:none;-webkit-appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23042861' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center}
.password-row input:not([type=checkbox]){border-radius:10px 0 0 10px}
.password-row button{border:1.5px solid var(--line);border-left:0;border-radius:0 10px 10px 0;background:#eef2f8;color:var(--navy);font-weight:650;height:48px}
.password-row button:hover{background:#e3e9f3}
.password-row:focus-within input{border-color:var(--navy);box-shadow:var(--ring);background:#fff}
.password-row:focus-within button{border-color:var(--navy)}
.field-help{color:var(--muted)}
.terms-label input,.remember-label input{accent-color:var(--orange)}
.auth-form-content button[type=submit],.register-actions button{border-radius:10px;transition:transform .1s ease,box-shadow .15s ease,background .15s ease}
.auth-form-content button[type=submit]:hover,#register-next:hover,.register-actions .pay-now:hover{box-shadow:0 8px 20px #0428612e;transform:translateY(-1px)}
.auth-form-content button[type=submit]:active,.register-actions button:active{transform:none}
#register-next,.register-actions .pay-now{background:var(--navy);border-color:var(--navy)}
.auth-form-content .register-actions button[type=submit]{background:var(--orange);border-color:#e58b21;color:#142238}
.register-actions .secondary{border:1.5px solid var(--line);background:#fff}
.register-actions .secondary:hover{background:#f4f6fa}
#form-error:not(:empty){border-radius:10px}

/* Stepper: a card with numbered steps, a progress track and the current step's name. */
.register-steps{max-width:none;margin:22px 0 8px;padding:18px 20px 14px;background:linear-gradient(180deg,#f8fafd,#f2f5fa);border:1px solid #e3e8f0;border-radius:14px;gap:0}
.register-steps li{gap:8px;color:#8a97ab;font-size:12px}
.register-steps li:not(:last-child):after{top:17px;left:calc(50% + 22px);right:calc(-50% + 22px);height:4px;border-radius:4px;background:#dfe5ee;transition:background .25s ease}
.register-steps li.done:not(:last-child):after{background:linear-gradient(90deg,var(--orange),#fbb15e)}
.step-number{width:36px;height:36px;border:2px solid #d5dce7;background:#fff;color:#8a97ab;font-size:14px;transition:all .2s ease}
.register-steps li.active{color:var(--navy);font-weight:700}
.register-steps li.active .step-number{background:var(--navy);border-color:var(--navy);color:#fff;box-shadow:0 0 0 5px #f7962640}
.register-steps li.done{color:var(--ink)}
.register-steps li.done .step-number{background:var(--orange);border-color:var(--orange);color:transparent;position:relative}
.register-steps li.done .step-number:before{content:"";position:absolute;width:10px;height:5px;border-left:2.5px solid #fff;border-bottom:2.5px solid #fff;transform:translateY(-2px) rotate(-45deg)}
.step-status{display:table;margin:0 auto 6px;padding:4px 12px;border-radius:999px;background:#fff4e6;color:#a7580c;font-size:12px;font-weight:650}
#register-form .step-title{font-size:18px;margin:20px 0 16px;padding-bottom:12px;border-bottom:1px solid #e8edf4}
@container (max-width:420px){.register-steps{padding:14px 10px 12px}.step-number{width:30px;height:30px;font-size:12px}.register-steps li:not(:last-child):after{top:14px;left:calc(50% + 18px);right:calc(-50% + 18px)}}

/* Panel content flows from the top: logo, then the headline directly beneath it. */
.auth-cover,.auth-cover:has(~ .auth-form-col #register-form){align-items:flex-start;padding-top:36px}
.auth-cover .auth-panel-logo{position:static;margin:0 0 32px}
.auth-cover:has(~ .auth-form-col #register-form) .auth-cover-brand{padding-top:0}
