

/* =====================================
COM_USERS LOGIN
========================================*/

/* ========================================
   WRAPPER
======================================== */

.modern-users-login {
    max-width: 420px;
    margin: 0 auto;
}

/* ========================================
   FORM
======================================== */

.modern-login-form {
    background: #1c1c1c;
    border: 1px solid #343434;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
}

/* ========================================
   INPUTS
======================================== */

.modern-input-group .input-group-text {
    background: #262626;
    border: 1px solid #444;
    border-right: 0;
    color: #bbbbbb;
    min-width: 48px;
    justify-content: center;
}

.modern-input-group .form-control {
    background: #1d1d1d;
    border: 1px solid #444;
    border-left: 0;
    color: #f2f2f2 !important;
    height: 50px;
    font-size: 0.95rem;
}

.modern-input-group .form-control::placeholder {
    color: #9f9f9f;
    opacity: 1;
}

.modern-input-group .form-control:focus {
    background: #252525;
    border-color: #7fb3ff;
    color: #ffffff;
    box-shadow: none;
}

/* Keep typed text white */
.modern-input-group input:-webkit-autofill,
.modern-input-group input:-webkit-autofill:hover,
.modern-input-group input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0px 1000px #1d1d1d inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Password Toggle */
.input-password-toggle {
    background: #262626;
    border: 1px solid #444;
    border-left: 0;
    color: #bbbbbb;
}

.input-password-toggle:hover {
    background: #333333;
    color: #ffffff;
}

/* ========================================
   REMEMBER
======================================== */

.modern-remember {
    font-size: 0.88rem;
    color: #d2d2d2;
}

/* ========================================
   BUTTON
======================================== */
/**
.modern-login-btn {
    height: 50px;
    border: 0;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #4776e6 0%, #5d9cff 100%);
}

.modern-login-btn:hover {
    background: linear-gradient(135deg, #5a88f0 0%, #74abff 100%);
}
*/
/* ========================================
   LINKS
======================================== */

.modern-login-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    margin-top: 1rem;
    font-size: 0.76rem;
}

.modern-login-links a {
    color: #b7ccff;
    text-decoration: none;
    border: 0 !important;
    padding: 0;
    transition: all .2s ease;
}

.modern-login-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 576px) {

    .modern-login-links {
        flex-direction: column;
        align-items: center;
        gap: 0.45rem;
    }

}

/* Hide Joomla password toggle text only */
.input-password-toggle .icon-eye,
.input-password-toggle .icon-eye-slash {
    font-size: 0;
}

.input-password-toggle .icon-eye::before,
.input-password-toggle .icon-eye-slash::before{
    font-size: 1rem;
}

/* ==========================================
END COM_USERS LOGIN 
============================================ */

