* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}


body {
    font-family:
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: #f4f7fb;

    color: #212529;
}


/* =========================================================
   LOGIN PAGE
========================================================= */

.login-page {
    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 30px 15px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f7fbff 0%,
            #eef7f5 100%
        );
}


/* =========================================================
   BACKGROUND DECORATION
========================================================= */

.background-decoration {
    position: absolute;

    inset: 0;

    overflow: hidden;

    pointer-events: none;
}


.decoration-circle {
    position: absolute;

    border-radius: 50%;

    opacity: .35;

    filter: blur(1px);
}


.circle-one {
    width: 420px;

    height: 420px;

    top: -220px;

    left: -160px;

    background: #d9f2ec;
}


.circle-two {
    width: 350px;

    height: 350px;

    bottom: -180px;

    right: -120px;

    background: #e2ddfa;
}


.circle-three {
    width: 180px;

    height: 180px;

    top: 35%;

    right: 10%;

    background: #fde7df;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.login-container {
    width: 100%;

    max-width: 440px;

    position: relative;

    z-index: 2;
}


/* =========================================================
   BRAND
========================================================= */

.brand-section {
    text-align: center;

    margin-bottom: 22px;
}


.brand-icon {
    width: 70px;

    height: 70px;

    margin: 0 auto 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #198754,
            #157347
        );

    color: #ffffff;

    font-size: 31px;

    box-shadow:
        0 10px 25px rgba(
            25,
            135,
            84,
            .20
        );
}


.brand-section h1 {
    margin: 0;

    font-size: 28px;

    font-weight: 700;

    color: #1f2937;
}


.brand-section p {
    margin: 5px 0 0;

    font-size: 14px;

    color: #6c757d;
}


/* =========================================================
   LOGIN CARD
========================================================= */

.login-card {
    background: #ffffff;

    border: 1px solid #e6e9ef;

    border-radius: 18px;

    padding: 34px;

    box-shadow:
        0 20px 60px rgba(
            31,
            41,
            55,
            .10
        );
}


/* =========================================================
   LOGIN HEADER
========================================================= */

.login-header {
    margin-bottom: 25px;
}


.login-header h2 {
    margin: 0;

    font-size: 23px;

    font-weight: 700;

    color: #212529;
}


.login-header p {
    margin: 6px 0 0;

    font-size: 14px;

    color: #6c757d;
}


/* =========================================================
   ALERT
========================================================= */

.login-alert {
    display: flex;

    align-items: center;

    gap: 9px;

    border-radius: 9px;

    font-size: 13px;

    margin-bottom: 20px;
}


/* =========================================================
   FORM
========================================================= */

.form-group {
    margin-bottom: 20px;
}


.form-label {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;

    font-weight: 600;

    color: #343a40;
}


.form-label i {
    margin-right: 5px;

    color: #198754;
}


/* =========================================================
   INPUT
========================================================= */

.input-wrapper {
    position: relative;
}


.input-icon {
    position: absolute;

    left: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: #8b95a1;

    font-size: 14px;

    z-index: 2;
}


.login-input {
    width: 100%;

    height: 48px;

    border-radius: 9px;

    border: 1px solid #dce1e7;

    padding-left: 43px;

    padding-right: 45px;

    font-size: 14px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.login-input:focus {
    border-color: #198754;

    box-shadow:
        0 0 0 3px rgba(
            25,
            135,
            84,
            .10
        );
}


.login-input::placeholder {
    color: #a0a7af;
}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.password-toggle {
    position: absolute;

    right: 12px;

    top: 50%;

    transform: translateY(-50%);

    width: 32px;

    height: 32px;

    border: 0;

    background: transparent;

    color: #8b95a1;

    cursor: pointer;

    border-radius: 6px;
}


.password-toggle:hover {
    background: #f1f3f5;

    color: #198754;
}


/* =========================================================
   LOGIN OPTIONS
========================================================= */

.login-options {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;
}


.form-check-label {
    font-size: 13px;

    color: #6c757d;
}


.form-check-input {
    cursor: pointer;
}


.form-check-input:checked {
    background-color: #198754;

    border-color: #198754;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-button {
    width: 100%;

    height: 48px;

    border: none;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #198754,
            #157347
        );

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}


.login-button:hover {
    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(
            25,
            135,
            84,
            .20
        );
}


.login-button:active {
    transform: translateY(0);
}


.login-button:disabled {
    opacity: .75;

    cursor: not-allowed;
}


/* =========================================================
   SECURITY NOTICE
========================================================= */

.security-notice {
    margin-top: 22px;

    padding-top: 18px;

    border-top: 1px solid #edf0f3;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    color: #7b8490;

    font-size: 11px;

    text-align: center;
}


.security-notice i {
    color: #198754;

    font-size: 13px;
}


/* =========================================================
   FOOTER
========================================================= */

.login-footer {
    text-align: center;

    margin-top: 20px;

    color: #8a939e;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (
    max-width: 480px
) {

    .login-page {
        padding: 20px 12px;
    }


    .login-card {
        padding: 25px 20px;

        border-radius: 14px;
    }


    .brand-section h1 {
        font-size: 24px;
    }


    .brand-icon {
        width: 60px;

        height: 60px;

        font-size: 27px;
    }

}