/* Candidate authentication, reconstructed from the final design reference.
 * Existing forms, errors and confirmation content own their visibility/state.
 * Recruiter pages never receive the cd-auth scope or these assets. */
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] {
  --auth-panel: var(--cd-reading);
  --auth-panel-depth: var(--cd-reading-depth);
  --auth-error-bg: #281421;
  --auth-error-ink: #ffccd0;
  --auth-error-border: #9b596555;
  --auth-status-bg: var(--cd-reading);
  --auth-status-ink: var(--cd-secondary);
  --auth-status-border: var(--cd-border);
  --auth-nav-weight: 450;
  --auth-language-weight: 400;
  --cd-control-pressed: var(--cd-auth-pressed);
  min-height: 100svh;
}
html[data-theme="light"] body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] {
  --auth-panel: var(--cd-face);
  --auth-panel-depth: var(--cd-card-turn), var(--cd-card-contact);
  --auth-error-bg: #f7e8e5;
  --auth-error-ink: #a52b42;
  --auth-error-border: #d5aaa7;
  --auth-status-bg: #edf2e8;
  --auth-status-ink: #28523d;
  --auth-status-border: #b4c4b5;
  --auth-nav-weight: 650;
  --auth-language-weight: 650;
}
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"]::before,
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"]::after { display: none; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] #auth-particle-world { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-main { position: relative; z-index: 1; min-height: 100svh; padding: 108px 24px 44px; align-items: center; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-main.page-fade { opacity: 1; animation: none; transform: none; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-card { max-width: 440px; padding: 32px; border: 0; border-radius: 18px; background: var(--auth-panel); box-shadow: var(--auth-panel-depth); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-card-header { margin-bottom: 24px; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-logo { width: 36px; height: 36px; margin-bottom: 14px; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] :is(.auth-card-header h1,.registration-confirmation h1) { font-size: 32px; line-height: 1.15; font-weight: 500; letter-spacing: -.5px; margin: 0 0 12px; color: var(--cd-text); }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-back-btn { margin: 0; padding: 8px; min-height: 36px; color: var(--cd-secondary); font-size: 15px; background: none; border: 0; box-shadow: none; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-form:not(.hidden) { display: flex; flex-direction: column; gap: 18px; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .form-group { margin: 0; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .form-group label { font-size: 17px; font-weight: 450; color: var(--cd-secondary); margin-bottom: 8px; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .form-group .cd-field { width: 100%; height: 50px; padding: 12px 14px; border: 1px solid transparent; border-radius: 12px; background: var(--cd-field); box-shadow: var(--cd-inset); color: var(--cd-text); caret-color: currentColor; font: 400 18px var(--cd-font); transition: none; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .form-group .password-field input { padding-right: 52px; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .form-group .cd-field:focus { background: var(--cd-field-focus); box-shadow: var(--cd-field-focus-depth); outline: 2px solid var(--cd-focus); outline-offset: 2px; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .form-group:has(input:focus) > label { font-weight: 700; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .form-group .cd-field:is(:autofill,:-webkit-autofill) { -webkit-text-fill-color: var(--cd-text); box-shadow: var(--cd-inset), inset 0 0 0 1000px var(--cd-field); }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .form-group .cd-field:is(:autofill,:-webkit-autofill):focus { box-shadow: var(--cd-field-focus-depth), inset 0 0 0 1000px var(--cd-field-focus); }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .password-visibility-toggle { width: 44px; height: 44px; right: 3px; color: var(--cd-secondary); border-radius: 50%; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .password-visibility-toggle:hover { background: var(--dropdown-option-hover); color: var(--cd-text); }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .forgot-password-link { display: inline-block; min-height: 36px; padding-top: 10px; margin: 0; color: var(--cd-secondary); font-size: 16px; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-card-footer { margin-top: 24px; border: 0; padding: 0; font-size: 16px; color: var(--cd-secondary); line-height: 1.4; text-align: center; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] :is(.auth-card-footer a,.consent-label a) { color: var(--cd-text); text-decoration: underline; text-underline-offset: 3px; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .cd-button { background: var(--cd-enamel); color: var(--cd-enamel-ink); box-shadow: var(--cd-enamel-turn), var(--cd-control-contact); border: 0; border-radius: 999px; filter: none; text-shadow: none; letter-spacing: normal; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] :is(.auth-form > .primary-btn,.verification-confirm-form .primary-btn) { width: 100%; min-height: 50px; padding: 10px 20px; font: 650 19px var(--cd-font); }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .verification-confirm-help { color: var(--cd-secondary); }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-secondary-btn { min-height: 44px; }
@media (hover: hover) and (pointer: fine) {
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .cd-button:hover:not(:disabled):not([aria-disabled="true"]):not(.action-loading) { background: var(--cd-enamel); color: var(--cd-enamel-ink); box-shadow: var(--cd-enamel-turn), var(--cd-control-hover); transform: var(--cd-hover-transform); }
}
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .cd-button:is(:active,.is-surface-pressed):not(:disabled):not([aria-disabled="true"]):not(.action-loading) { box-shadow: var(--cd-control-pressed); transform: none; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .cd-button:is(:disabled,[aria-disabled="true"]) { background: var(--cd-disabled); color: var(--cd-disabled-text); box-shadow: var(--cd-disabled-shadow); transform: none; opacity: 1; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] :is(a,button):focus-visible { outline: 2px solid var(--cd-focus); outline-offset: 3px; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] :is(.error-message,.success-message,.auth-session-notice,.field-error) { overflow-wrap: anywhere; line-height: 1.4; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .error-message { background: var(--auth-error-bg); color: var(--auth-error-ink); border: 1px solid var(--auth-error-border); border-radius: 8px; padding: 12px; font-size: 16px; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .field-error { color: var(--auth-error-ink); font-size: 15px; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] :is(.auth-session-notice,.success-message) { background: var(--auth-status-bg); color: var(--auth-status-ink); border-color: var(--auth-status-border); }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .landing-navbar { position: absolute; height: 88px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; z-index: 3; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .navbar-container { height: 88px; min-height: 88px; padding: 20px 4.5vw; display: flex; justify-content: space-between; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .navbar-brand { gap: 8px; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .navbar-logo { width: 30px; height: 30px; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .navbar-brand-text { font-size: 27px; color: var(--cd-text); }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .candidate-auth-actions { display:flex;align-items:center;justify-content:flex-end;position:static;width:auto;padding:0;flex-direction:row;gap:10px;border:0;background:none;box-shadow:none; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-nav-link { height: 44px; min-height: 44px; width: auto; padding: 10px 21px; font-size: 16px; font-weight: var(--auth-nav-weight); line-height: 20px; white-space: nowrap; flex-shrink: 0; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] #auth-language-trigger { font: var(--auth-language-weight) 13px/20px var(--cd-font); }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .theme-moon { display: none; }
html[data-theme="light"] body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .theme-sun { display: none; }
html[data-theme="light"] body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .theme-moon { display: block; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] :is(.auth-requirement,.auth-subtitle) { color: var(--cd-secondary); font-size: 16px; font-weight: 400; line-height: 1.4; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-requirement { margin: 8px auto 12px; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .form-group small { font-size: 14px; color: var(--cd-secondary); }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .form-group .consent-label { font-size: 16px; font-weight: 400; line-height: 1.4; margin-bottom: 0; min-height: 44px; align-items: center; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .consent-label input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--cd-focus); cursor: pointer; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] :is(input,button,a) { scroll-margin-block: 24px; }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .registration-confirmation { color: var(--cd-text); }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .registration-confirmation-icon { background: var(--cd-enamel); color: var(--cd-enamel-ink); border: 0; box-shadow: var(--cd-enamel-turn), var(--cd-control-contact); }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] :is(.registration-confirmation-actions p,.registration-confirmation-resend > p:first-child) { color: var(--cd-secondary); }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .registration-confirmation-resend { border-color: var(--cd-border); }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .registration-resend-status { color: var(--cd-secondary); }
body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .registration-resend-status.is-error { color: var(--auth-error-ink); }
@media (max-width: 600px) {
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .landing-navbar { height: 72px; }
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .navbar-container { height: 72px; min-height: 72px; padding: calc(10px + env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) 10px max(12px,env(safe-area-inset-left,0px)); gap: 8px; }
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .navbar-brand-text { display: none; }
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .navbar-brand { width: 44px; height: 44px; justify-content: center; }
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-main { padding: calc(88px + env(safe-area-inset-top,0px)) 12px calc(24px + env(safe-area-inset-bottom,0px)); }
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-card { padding: 26px 22px; }
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-card-header h1 { font-size: 30px; }
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .candidate-auth-actions { gap: 8px; }
}
@media (max-width: 360px) {
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-nav-link { padding-inline: 16px; }
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"]:not(:has(#login-form,#register-form)) .navbar-container { flex-wrap: wrap; height: auto; }
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"]:not(:has(#login-form,#register-form)) .candidate-auth-actions { width: 100%; justify-content: space-between; gap: 6px; }
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"]:not(:has(#login-form,#register-form)) .auth-main { padding-top: calc(148px + env(safe-area-inset-top,0px)); }
}
@media (prefers-reduced-motion: reduce) {
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .auth-main { animation: none; transition: none; }
}
@media (forced-colors: active) {
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] :is(.cd-button,.cd-field,.cd-select-options) { border: 1px solid CanvasText; }
  body.cd-auth[data-candidate-design="true"][data-account-type="candidate"] .cd-option[aria-selected="true"] { background: Highlight; color: HighlightText; forced-color-adjust: none; }
}
