﻿/* =========================
           LOGIN PAGE
        ========================= */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient(circle at top left, rgba(13, 110, 253, 0.10), transparent 35%), radial-gradient(circle at bottom right, rgba(8, 66, 152, 0.08), transparent 35%), #f5f7fb;
    font-family: 'Inter', sans-serif;
}


/* =========================
           LOGIN CARD
        ========================= */

.login-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(10, 37, 64, 0.10), 0 5px 15px rgba(10, 37, 64, 0.05);
    overflow: hidden;
}


/* =========================
           HEADER
        ========================= */

.login-top {
    padding: 36px 38px 30px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid #edf0f5;
}


.brand-mark {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: linear-gradient( 135deg, #084298, #0d6efd );
    color: #ffffff;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
}


.login-title {
    min-width: 0;
}


.login-label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #0d6efd;
}


.login-title h1 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.15;
    color: #0a2540;
}


.login-title p {
    margin: 5px 0 0;
    font-size: 13px;
    color: #718096;
}


/* =========================
           FORM
        ========================= */

.login-form {
    padding: 32px 38px 30px;
}


.form-field {
    margin-bottom: 23px;
}


    .form-field label {
        display: block;
        margin-bottom: 8px;
        font-size: 13px;
        font-weight: 600;
        color: #16213a;
    }


/* =========================
           INPUT
        ========================= */

.custom-input {
    position: relative;
    display: flex;
    align-items: center;
    height: 52px;
    border: 1px solid #dce3ed;
    border-radius: 11px;
    background: #fbfcfe;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}


    .custom-input > i {
        width: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #7b8798;
        font-size: 17px;
    }


    .custom-input input {
        flex: 1;
        width: 100%;
        height: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        color: #16213a;
        font-size: 14px;
        padding: 0 12px 0 0;
    }


        .custom-input input::placeholder {
            color: #a0a9b8;
        }


    .custom-input:focus-within {
        border-color: #0d6efd;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.09);
    }


        .custom-input:focus-within > i {
            color: #0d6efd;
        }


/* =========================
           PASSWORD BUTTON
        ========================= */

.password-toggle {
    width: 48px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #7b8798;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}


    .password-toggle:hover {
        color: #0d6efd;
    }


/* =========================
           VALIDATION
        ========================= */

.field-error {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #dc3545;
}


.login-error {
    margin-bottom: 20px;
    padding: 11px 14px;
    border-radius: 9px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #b42318;
    font-size: 13px;
}


/* =========================
           OPTIONS
        ========================= */

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px 0 25px;
}


.remember-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    font-size: 13px;
    color: #596579;
}


    .remember-option input {
        width: 16px;
        height: 16px;
        cursor: pointer;
        accent-color: #0d6efd;
    }


.forgot-link {
    font-size: 13px;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
}


    .forgot-link:hover {
        text-decoration: underline;
    }


/* =========================
           LOGIN BUTTON
        ========================= */

.login-button {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient( 135deg, #084298, #0d6efd );
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.20);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


    .login-button i {
        font-size: 17px;
        transition: transform 0.2s ease;
    }


    .login-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(13, 110, 253, 0.26);
    }


        .login-button:hover i {
            transform: translateX(3px);
        }


    .login-button:active {
        transform: translateY(0);
    }


/* =========================
           FOOTER
        ========================= */

.login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 17px 20px;
    border-top: 1px solid #edf0f5;
    background: #fafbfd;
    color: #8994a5;
    font-size: 11px;
}


    .login-footer i {
        color: #0d6efd;
        font-size: 13px;
    }


/* =========================
           MOBILE
        ========================= */

@@media (max-width: 576px) {

    .login-page {
        padding: 20px 15px;
    }

    .login-card {
        border-radius: 18px;
    }

    .login-top {
        padding: 28px 24px 25px;
    }

    .login-form {
        padding: 26px 24px;
    }

    .brand-mark {
        width: 54px;
        height: 54px;
        font-size: 24px;
    }

    .login-title h1 {
        font-size: 25px;
    }

    .login-options {
        align-items: flex-start;
        gap: 10px;
    }
}
