/* =========================================================
   SEFTON AUTH + REGISTER DARK MODE v77
   Light mode remains unchanged.
   ========================================================= */

/* =========================
   REGISTER PAGE
   ========================= */

html[data-theme="dark"] body.premium-register-body,
html[data-theme="dark"] .sefton-register-page{
    background:#07151c !important;
    color:#eef5f7 !important;
}

html[data-theme="dark"] .sefton-register-main{
    background:#07151c !important;
    color:#eef5f7 !important;
}

html[data-theme="dark"] .register-topline>div:first-child span{
    color:#e24a53 !important;
}

html[data-theme="dark"] .register-topline>div:first-child strong{
    color:#eef5f7 !important;
}

html[data-theme="dark"] .register-secure-note{
    color:#9fb1b8 !important;
}

html[data-theme="dark"] .sefton-register-card{
    background:#0d2028 !important;
    border-color:#2b434d !important;
    box-shadow:0 18px 45px rgba(0,0,0,.28) !important;
}

html[data-theme="dark"] .register-card-head{
    background:linear-gradient(180deg,#102730,#0d2028) !important;
    border-color:#2a424c !important;
}

html[data-theme="dark"] .register-card-head p{
    color:#f05a62 !important;
}

html[data-theme="dark"] .register-card-head h2{
    color:#f3f8f9 !important;
}

html[data-theme="dark"] .register-card-head>div:first-child>span{
    color:#a8b9bf !important;
}

html[data-theme="dark"] .registration-badge{
    background:#35161a !important;
    border-color:#633038 !important;
}

html[data-theme="dark"] .registration-badge span{
    color:#ff6972 !important;
}

html[data-theme="dark"] .registration-badge small{
    color:#d6a4a8 !important;
}

html[data-theme="dark"] .sefton-register-form{
    background:#0d2028 !important;
}

html[data-theme="dark"] .form-section{
    border-color:#2a414b !important;
}

html[data-theme="dark"] .form-section-head>span{
    background:#35161a !important;
    color:#ff6972 !important;
}

html[data-theme="dark"] .form-section-head strong{
    color:#f1f7f8 !important;
}

html[data-theme="dark"] .form-section-head small{
    color:#9fb1b8 !important;
}

html[data-theme="dark"] .sefton-register-form .field label{
    color:#dbe6e9 !important;
}

html[data-theme="dark"] .sefton-register-form .field label b{
    color:#ff6972 !important;
}

html[data-theme="dark"] .sefton-register-form .field input,
html[data-theme="dark"] .sefton-register-form .field select{
    background:#081b23 !important;
    border-color:#324b55 !important;
    color:#f3f8f9 !important;
}

html[data-theme="dark"] .sefton-register-form .field input::placeholder{
    color:#81959d !important;
    opacity:1 !important;
}

html[data-theme="dark"] .sefton-register-form .field input:focus,
html[data-theme="dark"] .sefton-register-form .field select:focus{
    border-color:#c9454d !important;
    box-shadow:0 0 0 3px rgba(201,69,77,.12) !important;
}

html[data-theme="dark"] .sefton-register-form .field-with-icon>span{
    color:#9fb1b8 !important;
}

html[data-theme="dark"] .sefton-register-form .password-wrap button{
    background:#17313b !important;
    color:#e8f0f2 !important;
}

html[data-theme="dark"] .sefton-register-form .field-help{
    color:#91a5ad !important;
}

html[data-theme="dark"] .sefton-register-form .terms-row{
    color:#aebdc2 !important;
}

html[data-theme="dark"] .sefton-register-form .terms-row a{
    color:#ff6972 !important;
}

html[data-theme="dark"] .sefton-register-form .register-submit-row{
    border-color:#2a414b !important;
}

html[data-theme="dark"] .sefton-register-form .register-submit-row>div small{
    color:#93a7ae !important;
}

html[data-theme="dark"] .sefton-register-form .register-submit-row>div a{
    color:#ff6972 !important;
}

html[data-theme="dark"] .registration-footnote{
    color:#9db0b7 !important;
}

/* Keep left registration hero readable */
html[data-theme="dark"] .sefton-register-hero{
    color:#fff !important;
}

html[data-theme="dark"] .sefton-register-hero h1,
html[data-theme="dark"] .sefton-register-hero strong{
    color:#fff !important;
}

html[data-theme="dark"] .sefton-register-hero .hero-kicker,
html[data-theme="dark"] .sefton-register-hero h1 em,
html[data-theme="dark"] .sefton-register-hero .hero-assurance strong,
html[data-theme="dark"] .sefton-register-hero .hero-footer b{
    color:#f0ce82 !important;
}

/* =========================
   AUTH / CLIENT LOGIN
   ========================= */

html[data-theme="dark"] body.auth-body{
    background:#07151c !important;
}

html[data-theme="dark"] .auth-shell{
    background:#07151c !important;
}

html[data-theme="dark"] .auth-form{
    background:#0d2028 !important;
    color:#eef5f7 !important;
}

html[data-theme="dark"] .auth-form h2{
    color:#f3f8f9 !important;
}

html[data-theme="dark"] .auth-form>p{
    color:#a8b9bf !important;
}

html[data-theme="dark"] .auth-tabs{
    background:#102730 !important;
    border-color:#304851 !important;
    box-shadow:none !important;
}

html[data-theme="dark"] .auth-tabs a{
    color:#aabac0 !important;
}

html[data-theme="dark"] .auth-tabs a.active{
    color:#fff !important;
    background:linear-gradient(100deg,#8f151d,#651016) !important;
}

html[data-theme="dark"] .auth-form label:not(.check){
    color:#ff6972 !important;
}

html[data-theme="dark"] .auth-form input{
    background:#081b23 !important;
    border-color:#324b55 !important;
    color:#f3f8f9 !important;
}

html[data-theme="dark"] .auth-form input::placeholder{
    color:#81959d !important;
}

html[data-theme="dark"] .auth-form .password-field button{
    color:#e5c46a !important;
}

html[data-theme="dark"] .auth-form .check,
html[data-theme="dark"] .auth-form .form-row{
    color:#aebdc2 !important;
}

html[data-theme="dark"] .auth-form a{
    color:#e5c46a !important;
}

html[data-theme="dark"] .auth-bottom{
    border-color:#2a414b !important;
    color:#9fb1b8 !important;
}

html[data-theme="dark"] .auth-bottom a{
    color:#e5c46a !important;
}

/* Mobile */
@media(max-width:850px){
    html[data-theme="dark"] .sefton-register-main,
    html[data-theme="dark"] .auth-form{
        background:#07151c !important;
    }

    html[data-theme="dark"] .sefton-register-card{
        background:#0d2028 !important;
    }
}
