:root{--sh-auth-bg:#050816;--sh-auth-panel:#0b1228;--sh-auth-panel-2:#111b3a;--sh-auth-primary:#6c63ff;--sh-auth-primary-2:#8b5cf6;--sh-auth-cyan:#00e5ff;--sh-auth-text:#f8fafc;--sh-auth-muted:#94a3b8;--sh-auth-border:rgba(148,163,184,.18);--sh-auth-input:#0a1022}
html.skillhost-auth-standalone,html.skillhost-auth-standalone body,html body.skillhost-auth-standalone{margin:0!important;padding:0!important;width:100%!important;min-width:100%!important;min-height:100%!important;background:var(--sh-auth-bg)!important}
html.skillhost-auth-standalone{min-height:100%;overflow-x:hidden!important}
body.skillhost-auth-standalone{overflow-x:hidden!important;color:var(--sh-auth-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
body.skillhost-auth-standalone .sh-auth-page{width:100vw!important;min-width:100vw!important;min-height:100vh!important;margin:0!important;box-sizing:border-box}
.sh-auth-page{position:relative;min-height:100vh;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:40px 20px;background:radial-gradient(circle at 15% 20%,rgba(108,99,255,.18),transparent 34%),radial-gradient(circle at 85% 70%,rgba(0,229,255,.10),transparent 30%),linear-gradient(145deg,#050816 0%,#080d20 48%,#100b2d 100%);isolation:isolate;overflow:visible}
.sh-auth-page:before,.sh-auth-page:after{content:"";position:absolute;border-radius:999px;filter:blur(2px);pointer-events:none;z-index:-1}
.sh-auth-page:before{width:360px;height:360px;right:-100px;top:-120px;background:radial-gradient(circle,rgba(108,99,255,.38),rgba(108,99,255,0) 68%)}
.sh-auth-page:after{width:300px;height:300px;left:-120px;bottom:-100px;background:radial-gradient(circle,rgba(0,229,255,.18),rgba(0,229,255,0) 70%)}
.sh-auth-shell{position:relative;width:min(520px,100%);margin:0 auto;border:1px solid rgba(148,163,184,.18);border-radius:24px;background:rgba(9,15,35,.84);box-shadow:0 30px 90px rgba(0,0,0,.42),0 0 0 1px rgba(108,99,255,.04) inset;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);overflow:hidden}
.sh-auth-shell:before{content:"";position:absolute;left:12%;right:12%;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--sh-auth-cyan),var(--sh-auth-primary),transparent);opacity:.8}
.sh-auth-form-panel{display:flex;justify-content:center;padding:46px 54px 40px;box-sizing:border-box}
.sh-auth-card{width:100%;max-width:410px}
.sh-auth-brand-top{display:flex;align-items:center;justify-content:center;gap:11px;margin-bottom:34px}
.sh-auth-logo-mark{width:44px;height:44px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#4f8cff,#7c5cff);color:#fff;font-size:22px;font-weight:900;box-shadow:0 10px 28px rgba(108,99,255,.35);letter-spacing:-1px}
.sh-auth-brand-name{font-size:25px;font-weight:850;letter-spacing:-.7px;color:#fff}
.sh-auth-heading{text-align:center;margin-bottom:26px}
.sh-auth-heading h1{margin:0;color:#f8fafc;font-size:36px;line-height:1.12;letter-spacing:-1.5px;font-weight:800}
.sh-auth-heading p{margin:10px 0 0;color:#94a3b8;font-size:14px;line-height:1.5}
.sh-auth-context-message{border:1px solid rgba(0,229,255,.2);background:rgba(0,229,255,.06);color:#b9f7ff;padding:12px 14px;border-radius:11px;font-size:13px;line-height:1.45;margin-bottom:18px}
.sh-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin-bottom:18px;border:1px solid var(--sh-auth-border);background:rgba(255,255,255,.035);border-radius:12px}
.sh-auth-tabs button{border:0;background:transparent;color:#94a3b8;border-radius:9px;padding:11px 10px;font-size:13px;font-weight:800;cursor:pointer;transition:.18s ease}
.sh-auth-tabs button:hover{color:#e2e8f0}
.sh-auth-tabs button.active{background:linear-gradient(135deg,rgba(108,99,255,.22),rgba(139,92,246,.14));color:#fff;box-shadow:0 4px 14px rgba(0,0,0,.18)}
.sh-auth-login-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:0 0 18px;border-radius:11px;background:rgba(255,255,255,.035);border:1px solid rgba(148,163,184,.12)}
.sh-auth-login-switch button{border:0;background:transparent;color:#94a3b8;border-radius:8px;padding:10px 9px;font-size:12px;font-weight:800;cursor:pointer}
.sh-auth-login-switch button.active{background:rgba(255,255,255,.08);color:#fff;box-shadow:0 3px 12px rgba(0,0,0,.16)}
.sh-auth-form[hidden]{display:none!important}
.sh-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sh-auth-field{margin-bottom:12px}
.sh-auth-field label{display:block;font-size:12px;font-weight:750;color:#cbd5e1;margin-bottom:7px}
.sh-auth-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sh-auth-inline-link{border:0;background:transparent;padding:0;color:#a5b4fc;font-size:11px;font-weight:700;cursor:pointer}
.sh-auth-inline-link:hover{text-decoration:underline;color:#c4b5fd}
.sh-auth-field input{display:block;width:100%;height:50px;box-sizing:border-box;border:1px solid rgba(148,163,184,.22);border-radius:11px;background:rgba(5,8,22,.66);padding:0 14px;color:#f8fafc;font-size:14px;outline:none;transition:border-color .16s,box-shadow .16s,background .16s}
.sh-auth-field input::placeholder{color:#64748b}
.sh-auth-field input:focus{border-color:rgba(108,99,255,.9);background:rgba(5,8,22,.82);box-shadow:0 0 0 3px rgba(108,99,255,.14),0 0 22px rgba(108,99,255,.07)}
.sh-auth-field input.has-error{border-color:rgba(248,113,113,.9)!important;box-shadow:0 0 0 3px rgba(248,113,113,.10)!important}
.sh-auth-password-wrap{position:relative}
.sh-auth-password-wrap input{padding-right:62px}
.sh-auth-password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#94a3b8;font-size:11px;font-weight:800;cursor:pointer}
.sh-auth-password-toggle:hover{color:#fff}
.sh-auth-field-error{display:block;min-height:0;margin-top:4px;color:#fda4af;font-size:11px;line-height:1.3}
.sh-auth-password-hint{font-size:11px;color:#64748b;margin-top:6px;line-height:1.4}
.sh-auth-strength{height:4px;border-radius:999px;background:rgba(148,163,184,.15);margin-top:8px;overflow:hidden;font-size:0}
.sh-auth-strength:before{content:"";display:block;height:100%;width:0;background:#64748b;transition:width .2s}
.sh-auth-strength.score-1:before{width:25%;background:#ef4444}.sh-auth-strength.score-2:before{width:50%;background:#f59e0b}.sh-auth-strength.score-3:before{width:75%;background:#84cc16}.sh-auth-strength.score-4:before{width:100%;background:#22c55e}
.sh-auth-form-error,.sh-auth-form-success{padding:11px 13px;border-radius:10px;font-size:12px;line-height:1.45;margin:3px 0 14px}
.sh-auth-form-error{background:rgba(239,68,68,.08);border:1px solid rgba(248,113,113,.24);color:#fda4af}
.sh-auth-form-success{background:rgba(34,197,94,.08);border:1px solid rgba(74,222,128,.22);color:#86efac}
.sh-auth-submit{width:100%;height:50px;border:0;border-radius:11px;background:linear-gradient(135deg,#5b7cff 0%,#6c63ff 48%,#8b5cf6 100%);color:#fff;font-size:14px;font-weight:850;letter-spacing:.05px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;box-shadow:0 12px 28px rgba(108,99,255,.23);transition:transform .16s,filter .16s,opacity .16s}
.sh-auth-submit:hover{transform:translateY(-1px);filter:brightness(1.06)}
.sh-auth-submit:disabled{opacity:.62;cursor:not-allowed;transform:none}
.sh-auth-spinner{display:none;width:15px;height:15px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:sh-auth-spin .7s linear infinite}
.sh-auth-submit.loading .sh-auth-spinner{display:inline-block}
.sh-auth-secondary-links{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:15px}
.sh-auth-secondary-links.single{justify-content:center}
.sh-auth-secondary-links button,.sh-auth-back-link button{border:0;background:transparent;color:#9fa8ff;padding:0;font-size:11px;font-weight:700;cursor:pointer}
.sh-auth-secondary-links button:hover,.sh-auth-back-link button:hover{text-decoration:underline;color:#c4b5fd}
.sh-auth-otp-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sh-auth-secondary{height:50px;border:1px solid rgba(0,229,255,.24);background:rgba(0,229,255,.06);color:#a5f3fc;border-radius:11px;font-size:12px;font-weight:800;cursor:pointer}
.sh-auth-secondary:hover{background:rgba(0,229,255,.11);border-color:rgba(0,229,255,.42)}
.sh-auth-secondary:disabled{opacity:.6;cursor:not-allowed}
.sh-auth-terms{text-align:center;color:#64748b;font-size:10px;line-height:1.5;margin:25px 0 0}
.sh-auth-already{min-height:100vh;background:var(--sh-auth-bg);display:flex;justify-content:center;align-items:center;padding:20px;box-sizing:border-box;color:#fff}
.sh-auth-already .sh-auth-card{background:#0b1228;padding:45px;border-radius:20px;text-align:center;border:1px solid var(--sh-auth-border);box-shadow:0 20px 60px rgba(0,0,0,.35)}
.sh-auth-primary-link{display:inline-flex;margin-top:18px;padding:12px 20px;border-radius:9px;background:#6c63ff;color:#fff;text-decoration:none;font-weight:700;font-size:13px}
.sh-auth-modal{display:none!important}
.sh-auth-nav-item>a{font-weight:700!important}.sh-auth-nav-login>a,.sh-auth-nav-register>a{white-space:nowrap}
.sh-site-auth-fallback{position:fixed;top:12px;right:18px;z-index:999999;display:flex;align-items:center;gap:8px;background:#fff;padding:7px 10px;border-radius:999px;box-shadow:0 6px 22px rgba(15,23,42,.12);font:600 13px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}.sh-site-auth-fallback a{color:#111827;text-decoration:none;padding:5px 8px;border-radius:7px}.sh-site-auth-fallback a:last-child{background:#111827;color:#fff}
@keyframes sh-auth-spin{to{transform:rotate(360deg)}}
@media(max-width:640px){
 .sh-auth-page{padding:20px 14px;align-items:center}
 .sh-auth-shell{border-radius:19px}
 .sh-auth-form-panel{padding:32px 22px 27px}
 .sh-auth-brand-top{margin-bottom:26px}.sh-auth-logo-mark{width:40px;height:40px;font-size:20px}.sh-auth-brand-name{font-size:23px}
 .sh-auth-heading h1{font-size:30px}.sh-auth-heading p{font-size:13px}
 .sh-auth-grid{grid-template-columns:1fr;gap:0}.sh-auth-otp-actions{grid-template-columns:1fr}.sh-auth-secondary-links{flex-direction:column;gap:9px}
}
@media(max-width:420px){.sh-auth-page{padding:10px}.sh-auth-form-panel{padding:27px 17px 23px}.sh-auth-heading h1{font-size:27px}.sh-auth-tabs button{font-size:12px}.sh-auth-field input{height:48px}}

/* v1.1.1: the auth route is a true standalone application shell. */
html.skillhost-auth-standalone,
html.skillhost-auth-standalone body {
    min-width: 0 !important;
    min-height: 100vh !important;
}
html.skillhost-auth-standalone body > *:not(.sh-auth-page),
body.skillhost-auth-standalone > header,
body.skillhost-auth-standalone > footer,
body.skillhost-auth-standalone > nav,
body.skillhost-auth-standalone > .site-header,
body.skillhost-auth-standalone > .site-footer,
body.skillhost-auth-standalone > .elementor-location-header,
body.skillhost-auth-standalone > .elementor-location-footer {
    display: none !important;
}
body.skillhost-auth-standalone .sh-auth-page {
    width: 100vw !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: clamp(24px, 5vh, 56px) 20px !important;
    box-sizing: border-box !important;
}
body.skillhost-auth-standalone .sh-auth-shell {
    width: min(460px, calc(100vw - 32px)) !important;
    max-width: 460px !important;
    margin: 0 auto !important;
}
body.skillhost-auth-standalone .sh-auth-form-panel {
    padding: 38px 38px 32px !important;
}
body.skillhost-auth-standalone .sh-auth-card {
    max-width: 100% !important;
}
@media (max-width: 520px) {
    body.skillhost-auth-standalone .sh-auth-page {
        padding: 18px 12px !important;
        align-items: flex-start;
    }
    body.skillhost-auth-standalone .sh-auth-shell {
        width: 100% !important;
        border-radius: 18px;
    }
    body.skillhost-auth-standalone .sh-auth-form-panel {
        padding: 30px 22px 26px !important;
    }
}


/* v1.1.2 standalone hard-render polish */
html.skillhost-auth-standalone,
html.skillhost-auth-standalone body { background:#050816 !important; }
body.skillhost-auth-standalone .sh-auth-page {
    width:100% !important;
    min-height:100vh !important;
    padding:32px 20px !important;
    box-sizing:border-box !important;
}
body.skillhost-auth-standalone .sh-auth-shell {
    width:min(440px,100%) !important;
    max-width:440px !important;
    margin:0 auto !important;
    border-radius:20px !important;
}
body.skillhost-auth-standalone .sh-auth-form-panel {
    padding:42px 40px 34px !important;
}
@media(max-width:640px){
 body.skillhost-auth-standalone .sh-auth-page{padding:18px 14px !important}
 body.skillhost-auth-standalone .sh-auth-form-panel{padding:32px 22px 26px !important}
}

.sh-auth-field-error:empty{display:none!important}


/* v1.1.7: login method switch belongs only to login flow; auth pages must scroll on mobile. */
.sh-auth-page:not(.sh-auth-flow-login) .sh-auth-login-switch {
    display: none !important;
}
body.skillhost-auth-standalone {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}
body.skillhost-auth-standalone .sh-auth-page {
    overflow-x: clip !important;
    overflow-y: visible !important;
    min-height: 100dvh !important;
    padding-bottom: max(32px, env(safe-area-inset-bottom)) !important;
}
@media (max-width: 640px) {
    body.skillhost-auth-standalone .sh-auth-page {
        align-items: flex-start !important;
        min-height: 100dvh !important;
        padding-bottom: max(32px, env(safe-area-inset-bottom)) !important;
    }
    body.skillhost-auth-standalone .sh-auth-shell {
        margin-bottom: 20px !important;
    }
}

/* v1.1.8: make primary Login / Create account navigation visibly segmented on every auth state. */
.sh-auth-tabs {
    gap: 0 !important;
}
.sh-auth-tabs button {
    position: relative;
}
.sh-auth-tabs button + button {
    border-left: 1px solid rgba(148,163,184,.20) !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.sh-auth-tabs button:first-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
