/* Clerk login uses the page card as its only surface. Keep Clerk's own form and branding. */
.auth-page--clerk .auth-layout{max-width:1160px;grid-template-columns:minmax(0,1fr) minmax(0,530px);gap:clamp(34px,6vw,90px);align-items:start;padding-top:72px;padding-bottom:72px}
.auth-page--clerk .auth-intro{padding-top:32px}
.auth-page--clerk .auth-intro h1{max-width:520px;font-size:clamp(43px,4vw,58px)}
.auth-page--clerk .auth-intro>p{max-width:440px}
.auth-page--clerk .auth-benefits{gap:16px;margin:32px 0}
.auth-page--clerk .auth-card{min-width:0;padding:30px 34px 26px;border-radius:22px;box-shadow:0 18px 52px #14283d0d}
.auth-card--clerk .auth-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin:0 0 28px;border:1px solid #c7e3d4;background:#e9f5ed;border-radius:13px;padding:4px;gap:4px;overflow:visible}
.auth-card--clerk .auth-tabs a{display:grid;place-items:center;min-width:0;min-height:46px;padding:9px 12px;border-radius:9px;font-size:14px;line-height:1.35;color:#155b47;white-space:nowrap;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}
.auth-card--clerk .auth-tabs a:hover:not([aria-current]){background:#d8eddf;color:#075b40}
.auth-card--clerk .auth-tabs a:focus-visible{outline:3px solid #075b40;outline-offset:2px}
.auth-card--clerk .auth-tabs a[aria-current]{background:#07855b;color:#fff;box-shadow:0 2px 7px #0063442b}
.auth-card--clerk:has(.cl-otpCodeField) .auth-tabs{display:none}
.auth-card--clerk .error{display:none}
.auth-card--clerk #clerk-auth{width:100%;min-width:0}
#clerk-auth .cl-cardBox{width:100%!important;max-width:none!important;overflow:visible!important;box-shadow:none!important}
#clerk-auth .cl-card{width:100%!important;max-width:none!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;gap:0!important}
#clerk-auth .cl-header{display:block!important;margin:0 0 24px!important;text-align:start!important;overflow:visible!important}
#clerk-auth .cl-headerTitle{margin:0!important;padding:4px 2px!important;font-size:30px!important;font-weight:750!important;line-height:1.3!important;letter-spacing:-.025em!important;color:#142f40!important;overflow:visible!important;text-box-trim:none!important}
#clerk-auth .cl-headerSubtitle{margin:8px 0 0!important;font-size:14px!important;line-height:1.6!important;color:#526675!important}
#clerk-auth .cl-main{width:100%!important;gap:0!important;padding:0!important}
#clerk-auth .cl-socialButtonsRoot{margin:0!important}
#clerk-auth .cl-socialButtons{gap:10px;grid-template-columns:minmax(0,1fr)!important}
#clerk-auth .cl-socialButtonsIconButton__apple,
#clerk-auth .cl-socialButtonsIconButton__facebook{display:none!important}
#clerk-auth .cl-socialButtonsIconButton__google::after{content:"Google";margin-left:10px;font-size:14px;font-weight:700;color:#20364a}
#clerk-auth .cl-socialButtonsIconButton{height:44px;border:1px solid #d6e0e4!important;border-radius:10px;background:#fff;box-shadow:none}
#clerk-auth .cl-socialButtonsIconButton:hover{background:#f3f8f5;border-color:#94c4ae}
#clerk-auth .cl-dividerRow{margin:20px 0!important}
#clerk-auth .cl-dividerLine{border-top:1px solid #dce5e8!important}
#clerk-auth .cl-form{gap:18px!important}
#clerk-auth .cl-formFieldLabel{margin:0!important;font-size:13px;font-weight:750;color:#20364a}
#clerk-auth .cl-formFieldInput{min-height:48px;border:1px solid #9bafb6!important;border-radius:10px;background:#fff;font-size:14px}
#clerk-auth .cl-formFieldInput:focus{border-color:#087855;box-shadow:0 0 0 3px #0878551f}
#clerk-auth .cl-formFieldInputShowPasswordButton{width:36px!important;height:36px!important;margin:0!important;padding:6px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#4f6676!important;box-shadow:none!important}
#clerk-auth .cl-formFieldInputShowPasswordButton:hover{background:#edf4f1!important;color:#087451!important}
#clerk-auth .cl-formButtonPrimary{min-height:49px;margin-top:12px;border:0;border-radius:10px;background:#bd4050;color:#fff;box-shadow:none;font-size:14px;font-weight:800}
#clerk-auth .cl-formButtonPrimary:hover{background:#a83344}
#clerk-auth .cl-footer{width:100%!important;padding:18px 0 0!important;margin-top:22px!important;border-top:1px solid #e4ecee;background:transparent!important;box-shadow:none!important}
#clerk-auth .cl-footerAction{display:none!important}
#clerk-auth .cl-footerItem{justify-content:center}
/* Keep the verification step focused: the email edit control remains available. */
#clerk-auth:has(.cl-otpCodeField) .cl-header{margin-bottom:24px!important}
#clerk-auth .cl-identityPreview{justify-content:flex-start!important;gap:8px!important;margin:12px 0 0!important;padding:10px 12px!important;border:1px solid #d5e3df;border-radius:10px;background:#f1f6f4}
#clerk-auth .cl-identityPreviewText{min-width:0;color:#234d46!important;font-size:14px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:anywhere}
#clerk-auth .cl-identityPreviewEditButton{flex:none;min-width:36px;min-height:36px;padding:8px!important;color:#087855!important;background:transparent!important;border-radius:8px}
#clerk-auth .cl-otpCodeField{width:100%;margin:0!important;padding:4px 0 0!important}
#clerk-auth .cl-otpCodeFieldInputs{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px!important;padding:4px!important;width:100%;max-width:348px;margin-inline:auto}
#clerk-auth .cl-otpCodeFieldInputContainer{min-width:0!important;width:100%!important;max-width:100%!important;height:auto!important}
#clerk-auth .cl-otpCodeFieldInput{box-sizing:border-box!important;width:100%!important;height:56px!important;min-height:56px!important;padding:0!important;border:1.5px solid #91a7a5!important;border-radius:10px!important;background:#f8faf9!important;color:#183c35!important;font-size:24px!important;font-weight:650!important;line-height:normal!important;box-shadow:none!important;opacity:1!important;caret-color:#087855}
#clerk-auth .cl-otpCodeFieldInput:focus,#clerk-auth .cl-otpCodeFieldInput[data-focus-within=true]{border:2px solid #087855!important;outline:0!important;background:#fff!important;box-shadow:0 0 0 3px #08785521!important}
#clerk-auth .cl-otpCodeFieldInput[aria-invalid=true]{border-color:#b33445!important}
#clerk-auth .cl-formResendCodeLink{margin:8px 0!important;min-height:36px;padding:6px 4px!important;color:#087251!important;font-size:13px!important;line-height:1.5!important;text-decoration:underline;text-underline-offset:3px}
#clerk-auth .cl-formResendCodeLink:disabled{color:#64756f!important;opacity:1!important;text-decoration:none}
.auth-page--clerk:has(.cl-otpCodeField) .bottom{display:none}
@media(max-width:1100px){.auth-page--clerk .auth-layout{grid-template-columns:1fr;max-width:640px;gap:26px;padding-top:34px}.auth-page--clerk .auth-intro{padding-top:0}.auth-page--clerk .auth-intro h1{font-size:40px}.auth-page--clerk .auth-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-page--clerk .auth-intro>img{display:none}}
@media(max-width:600px){.auth-page--clerk .auth-layout{padding:22px 16px 80px;gap:22px}.auth-page--clerk .auth-intro h1{font-size:34px;margin-bottom:10px}.auth-page--clerk .auth-intro>p{font-size:14px;margin-bottom:0}.auth-page--clerk .auth-benefits{display:none}.auth-page--clerk .auth-card{padding:22px 20px;border-radius:18px}#clerk-auth .cl-headerTitle{font-size:28px!important}.auth-card--clerk .auth-tabs{margin-bottom:24px}}
@media(max-width:600px){.auth-page--clerk:has(.cl-otpCodeField) .auth-intro{display:none}.auth-page--clerk:has(.cl-otpCodeField) .auth-layout{padding-top:28px}#clerk-auth .cl-otpCodeFieldInputs{gap:7px!important}#clerk-auth .cl-headerTitle{font-size:27px!important}.auth-page--clerk:has(.cl-otpCodeField) .auth-card{padding:28px 20px}}
