:root {
    --bg-dark: #0F1012;
    --accent: #ADCE3C;
    --white: #FDFDFD;
    --muted: #8A8F98;
    --border: #1C1D21;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg-dark);
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
}

.login-main-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* LEFT PANEL */
.login-left {
    width: 70%;
    background: #0F1012;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    max-width: 480px;
    padding: 80px 50px;
    background-color: #0F1012;
    border: 1px solid var(--border);
    border-radius: 25px;
}

.login-brand {
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.login-brand small {
    color: var(--muted);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.login-brand img {
    margin: 0;
    width: 250px;
}

.login-subtext {
    color: var(--muted);
    margin-bottom: 40px;
    line-height: 1.6;
    letter-spacing: 2px;
    text-align: center;
}

.login-form{
    width: 100%;
    margin-bottom: 16px;
}

.login-field {
    margin-bottom: 20px;
}

.login-field input {
    width: 100%;
    padding: 14px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
    border-radius: 25px;

}

.login-field input:focus {
    border-color: var(--accent);
}

.login-button {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    border: none;
    color: #0F1012;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 25px;
}

.login-button:hover {
    opacity: 0.9;
}

.login-error {
    color: #ff4d4d;
    width: 100%;
    text-align: center;
}

/* RIGHT PANEL */
.login-right {
    width: 30%;
    position: relative;
    background: url('../images/login-bg-gray.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.login-overlay {
    position: absolute;
    inset: 0;
    background: rgba(173, 206, 60, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.login-overlay-content {
    color: #0F1012;
}

.login-overlay-content img {
    width: 120px;
    margin-bottom: 20px;
}

.login-overlay-content h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.login-overlay-content p {
    max-width: 400px;
    margin: auto;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .login-main-container {
        flex-direction: column;
    }

    .login-left,
    .login-right {
        width: 100%;
    }

    .login-left {
        padding: 80px 0 80px 0;
    }

    .login-right {
        min-height: 220px;
    }
}

/* RESPONSIVE */
@media (max-width: 600px) {

    .login-main-container {
        flex-direction: column;
    }

    .login-container {
        width: 90%;
    }

    .login-left,
    .login-right {
        width: 100%;
        height: auto;
    }

    .login-left {
        padding: 80px 0 80px 0;
    }

    .login-right {
        min-height: 220px;
    }
}

/* PASSWORD VISIBILITY TOGGLE */
.login-password-field {
    position: relative;
}

.login-eye-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.login-eye-btn:hover {
    color: var(--accent);
}