/* ===============================
   AUTH PAGE
==================================*/

.auth-wrapper{
    display:flex;
    min-height:100vh;
    background:#050505;
    overflow:hidden;
    font-family:'Poppins',sans-serif;
}

/*====================
 LEFT PANEL
=====================*/

/*.auth-left{
    flex:1;
    position:relative;
    background:url("../images/login-bg.jpg") center center;
    background-size:cover;
}*/

.auth-left{
    flex:1;
    position:relative;
    background-image:url("../images/auth-bg.png");
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
}

.auth-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.60);
}

.auth-brand{
    position:absolute;
    top:40px;
    left:60px;
    z-index:10;
    display:flex;
    align-items:center;
    gap:15px;
}

.auth-brand img{
    width:70px;
}

.auth-brand h2{
    color:#fff;
    margin:0;
    font-size:30px;
    letter-spacing:2px;
}

.auth-brand span{
    display:block;
    color:#d4af37;
    font-size:15px;
    font-weight:600;
}

.auth-caption{
    position:absolute;
    left:70px;
    top:170px;
    z-index:10;
    max-width:520px;
}

.auth-caption h1{
    color:#fff;
    font-size:72px;
    line-height:1;
    margin-bottom:30px;
    font-weight:800;
    text-transform:uppercase;
}

.auth-caption span{
    color:#d4af37;
}

.auth-caption p{
    color:#ddd;
    font-size:22px;
    line-height:1.7;
}

/*====================
FEATURES
====================*/

.auth-features{
    position:absolute;
    left:50px;
    bottom:45px;
    z-index:10;
    display:flex;
    gap:40px;
}

.auth-features>div{
    display:flex;
    gap:15px;
    align-items:center;
}

.auth-features i{
    color:#d4af37;
    font-size:26px;
}

.auth-features span{
    color:#fff;
    display:block;
    font-size:15px;
    font-weight:600;
}

.auth-features small{
    display:block;
    color:#bbb;
    font-size:13px;
    font-weight:400;
}

/*====================
RIGHT PANEL
====================*/

.auth-right{
    width:500px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#080808;
    padding:40px;
}

.login-card{
    width:100%;
    background:rgba(18,18,18,.92);
    border:1px solid rgba(212,175,55,.30);
    border-radius:20px;
    padding:55px 45px;
    backdrop-filter:blur(12px);
}

.login-card h2{
    color:#fff;
    font-size:42px;
    text-align:center;
    margin-bottom:5px;
}

.welcome{
    color:#bfbfbf;
    text-align:center;
    margin-bottom:45px;
}

/*====================
FORM
====================*/

.user-login-form .form-item{
    margin-bottom:25px;
}

.user-login-form label{
    color:#d4af37;
    display:block;
    margin-bottom:10px;
    font-size:13px;
    letter-spacing:1px;
    text-transform:uppercase;
}

.user-login-form input{
    width:100%;
    height:58px;
    background:#101010;
    border:1px solid #303030;
    color:#fff;
    padding:0 18px;
    border-radius:10px;
}

.user-login-form input{

    transition:

        border-color .3s,

        box-shadow .3s,

        transform .3s;

}

.user-login-form input:focus{

    transform:translateY(-2px);

    border-color:#FFD54F;

    box-shadow:0 0 18px rgba(255,213,79,.35);
    outline:none;
}

.user-login-form input::placeholder{
    color:#777;
}


/*=================================
LOGIN BUTTON
==================================*/

.user-login-form .form-actions{
    margin-top:35px;
}

.user-login-form input.form-submit{
    width:100%;
    height:58px;
    background:#d4af37;
    color:#111;
    border:none;
    border-radius:10px;
    font-size:17px;
    font-weight:700;
    text-transform:uppercase;
    cursor:pointer;
    transition:.35s;
}

.user-login-form input.form-submit:hover{
    background:#f4c542;
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(212,175,55,.30);
}

/*=================================
FORGOT PASSWORD
==================================*/

.forgot-password{
    display:block;
    margin-top:18px;
    text-align:right;
    color:#c9c9c9;
    text-decoration:none;
    font-size:14px;
    transition:.3s;
}

.forgot-password:hover{
    color:#d4af37;
}

/*=================================
DIVIDER
==================================*/

.social-divider{
    display:flex;
    align-items:center;
    gap:15px;
    margin:40px 0 30px;
}

.social-divider::before,
.social-divider::after{
    content:"";
    flex:1;
    height:1px;
    background:#333;
}

.social-divider span{
    color:#999;
    font-size:13px;
    letter-spacing:1px;
}

/*=================================
SOCIAL LOGIN
==================================*/

.social-login{
    display:flex;
    justify-content:center;
    gap:18px;
    margin-bottom:35px;
}

.social-login a{
    width:55px;
    height:55px;
    border-radius:12px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#151515;
    border:1px solid #303030;
    color:#fff;
    font-size:22px;
    transition:.35s;
}

.social-login a:hover{
    background:#d4af37;
    color:#111;
    border-color:#d4af37;
    transform:translateY(-4px);
}

/*=================================
REGISTER LINK
==================================*/

.register-link{
    text-align:center;
    color:#c7c7c7;
    font-size:15px;
}

.register-link a{
    color:#d4af37;
    font-weight:600;
    text-decoration:none;
    margin-left:5px;
}

.register-link a:hover{
    text-decoration:underline;
}

/*=================================
MESSAGES
==================================*/

.messages{
    border-radius:10px;
    margin-bottom:20px;
}

.status-message{
    border-radius:10px;
}

/*=================================
AUTOFILL FIX
==================================*/

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus{
    -webkit-text-fill-color:#fff;
    -webkit-box-shadow:0 0 0px 1000px #101010 inset;
}

/*=================================
FOCUS
==================================*/

input:focus,
button:focus{
    outline:none;
}

/*=================================
SMALL ANIMATION
==================================*/

.login-card{
    animation:fadeIn .6s ease;
}

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}


/*=========================================
REGISTER FORM
=========================================*/

.user-register-form .form-item{
    margin-bottom:20px;
}

.user-register-form label{
    display:block;
    color:#d4af37;
    margin-bottom:8px;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1px;
}

.user-register-form input,
.user-register-form select,
.user-register-form textarea{

    width:100%;
    height:55px;

    padding:0 18px;

    background:#101010;

    border:1px solid #333;

    color:#fff;

    border-radius:10px;

    transition:.3s;
}

.user-register-form textarea{

    height:120px;

    padding-top:15px;

    resize:vertical;

}

.user-register-form input:focus,
.user-register-form select:focus,
.user-register-form textarea:focus{

    border-color:#d4af37;

    box-shadow:0 0 12px rgba(212,175,55,.35);

}

.page-user-register .auth-left{
    background-image:url("../images/auth-bg.png");
}

.user-register-form .form-actions{

    margin-top:35px;

}

.user-register-form input.form-submit{

    width:100%;

    height:58px;

    background:#d4af37;

    color:#111;

    border:none;

    border-radius:10px;

    font-size:17px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.user-register-form input.form-submit:hover{

    background:#f7c948;

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(212,175,55,.35);

}


/* =====================================
   Drupal 11 Login Messages
===================================== */

.auth-right [data-drupal-messages]{
    margin-bottom:25px;
}

.auth-right [data-drupal-messages] > div{

    background:#3b1212;
    border-left:4px solid #dc3545;
    color:#ffffff;

    padding:16px 20px;

    border-radius:10px;

    font-size:15px;

    line-height:1.7;
}

.auth-right [data-drupal-messages] a{

    color:#FFD54F;
    font-weight:600;
    text-decoration:none;
}

.auth-right [data-drupal-messages] a:hover{

    text-decoration:underline;
}


.password-wrapper{

    position:relative;

}

.password-toggle{

    position:absolute;

    top:18px;

    right:18px;

    cursor:pointer;

    color:#999;

    transition:.3s;

}

.password-toggle:hover{

    color:#FFD54F;

}

/*Remember Me Checkbox*/

.form-item-persistent-login,
.form-item-remember-me{

    display:flex;

    align-items:center;

    gap:10px;

    margin:20px 0;

}

.form-item-persistent-login input,
.form-item-remember-me input{

    width:18px;

    height:18px;

    accent-color:#FFD54F;

}


::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#0d0d0d;

}

::-webkit-scrollbar-thumb{

    background:#FFD54F;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#c89c15;

}

.password-strength{
    margin-top:12px;
}

.strength-bar{
    width:100%;
    height:6px;
    background:#303030;
    border-radius:30px;
    overflow:hidden;
    margin-bottom:10px;
}

.strength-bar span{
    display:block;
    width:0;
    height:100%;
    transition:.3s;
}

.strength-text{
    display:block;
    margin-bottom:15px;
    color:#c5c5c5;
    font-size:13px;
    font-weight:600;
}

.password-rules{
    list-style:none;
    padding:0;
    margin:0;
}

.password-rules li{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:8px;
    color:#9ca3af;
    font-size:14px;
    transition:.3s;
}

.password-rules li i{
    color:#ef4444;
    font-size:14px;
}

.password-rules li.valid{
    color:#22c55e;
}

.password-rules li.valid i{
    color:#22c55e;
}

/*=================================
PASSWORD CONFIRMATION
==================================*/

.password-confirm-message{
    margin-top:10px;
    font-size:14px;
    font-weight:500;
    color:#d1d5db;
}

.password-confirm-message .ok{
    color:#22c55e;
    font-weight:700;
}

.password-confirm-message .error{
    color:#ef4444;
    font-weight:700;
}

/* Optional: if Drupal uses these classes */
.password-confirm-match{
    color:#22c55e;
}

.password-confirm-no-match{
    color:#ef4444;
}


/* Username Availability */

.availability-success,
.availability-error{
    margin-top:8px;
    font-size:13px;
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:500;
}

.availability-success{
    color:#22c55e;
}

.availability-error{
    color:#ef4444;
}
