/* ==========================================================
   RESET
========================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}


/* ==========================================================
   BODY
========================================================== */

body {
    min-height: 100vh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #334155;

    background:
        linear-gradient(
            135deg,
            #eefaf8 0%,
            #f7fbfa 45%,
            #edf7f6 100%
        );
}


/* ==========================================================
   PAGE
========================================================== */

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;
}


/* ==========================================================
   MAIN SHELL
========================================================== */

.login-shell {
    position: relative;

    display: grid;

    grid-template-columns:
        1fr
        0.92fr;

    width: 100%;
    max-width: 920px;

    min-height: 520px;

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid
        rgba(148, 163, 184, 0.25);

    border-radius: 16px;

    box-shadow:
        0 20px 60px
        rgba(15, 118, 110, 0.10);
}

.login-shell::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            #00b8b0,
            #34c759
        );
}


/* ==========================================================
   LEFT PANEL
========================================================== */

.login-info {
    position: relative;

    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 55px 48px;

    border-right:
        1px solid
        #dce9e7;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfefd 100%
        );
}


/* ==========================================================
   BRAND
========================================================== */

.brand-label {
    margin-bottom: 15px;

    color: #008f87;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 0.4px;

    text-transform: uppercase;
}

.survey-badge {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    margin-bottom: 28px;

    padding: 9px 15px;

    border-radius: 999px;

    background: #c7df19;

    color: #253000;

    font-size: 13px;

    font-weight: 800;
}


/* ==========================================================
   INFO HEADING
========================================================== */

.login-info h1 {
    margin: 0 0 20px;

    color: #475569;

    font-size: 29px;

    line-height: 1.25;

    font-weight: 700;
}

.info-description {
    max-width: 440px;

    margin: 0;

    color: #64748b;

    font-size: 16px;

    line-height: 1.75;
}


/* ==========================================================
   HIGHLIGHT
========================================================== */

.info-highlight {
    display: flex;
    flex-direction: column;

    gap: 6px;

    margin-top: 28px;

    padding: 14px 16px;

    border-left:
        4px solid
        #c7df19;

    background: #fbfdf3;
}

.info-highlight strong {
    color: #1f2937;

    font-size: 14px;

    line-height: 1.55;
}

.info-highlight span {
    color: #64748b;

    font-size: 13px;

    line-height: 1.6;
}


/* ==========================================================
   NOTE
========================================================== */

.info-note {
    margin-top: 25px;

    color: #94a3b8;

    font-size: 12px;

    line-height: 1.6;
}


/* ==========================================================
   LOGIN PANEL
========================================================== */

.login-panel {
    display: flex;
    align-items: center;

    padding: 52px 48px;

    background: #ffffff;
}

.login-form-wrapper {
    width: 100%;
    max-width: 370px;

    margin: 0 auto;
}


/* ==========================================================
   LOGIN HEADING
========================================================== */

.login-heading {
    margin-bottom: 28px;
}

.login-heading h2 {
    margin: 0 0 7px;

    color: #1f2937;

    font-size: 24px;

    line-height: 1.3;
}

.login-heading p {
    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.6;
}


/* ==========================================================
   FORM
========================================================== */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #334155;

    font-size: 14px;

    font-weight: 700;
}


/* ==========================================================
   INPUT
========================================================== */

.form-group input {
    width: 100%;

    height: 52px;

    padding:
        0
        15px;

    border:
        1px solid
        #ccd9dc;

    border-radius: 9px;

    outline: none;

    background: #ffffff;

    color: #1f2937;

    font-size: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input::placeholder {
    color: #9aa8ad;
}

.form-group input:focus {
    border-color: #06b6ad;

    box-shadow:
        0 0 0 4px
        rgba(6, 182, 173, 0.12);
}


/* ==========================================================
   PASSWORD
========================================================== */

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 88px;
}

.password-toggle {
    position: absolute;

    top: 50%;
    right: 14px;

    width: auto;
    min-width: auto;
    height: auto;

    margin: 0;
    padding: 0;

    transform: translateY(-50%);

    border: 0;

    background: transparent;

    color: #008f87;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    box-shadow: none;
}

.password-toggle:hover {
    background: transparent;

    color: #006f69;

    box-shadow: none;
}

.password-toggle:focus {
    outline: none;

    box-shadow: none;
}


/* ==========================================================
   LOGIN BUTTON
========================================================== */

.login-button {
    width: 100%;

    min-height: 50px;

    padding:
        13px
        18px;

    border: 0;

    border-radius: 9px;

    background:
        linear-gradient(
            90deg,
            #00b8b0,
            #08b7ad
        );

    color: #ffffff;

    font-size: 15px;

    font-weight: 800;

    letter-spacing: 0.1px;

    cursor: pointer;

    box-shadow:
        0 10px 24px
        rgba(0, 184, 176, 0.20);

    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.login-button:hover {
    filter: brightness(0.97);

    box-shadow:
        0 12px 28px
        rgba(0, 184, 176, 0.25);
}

.login-button:active {
    transform: translateY(1px);
}


/* ==========================================================
   ALERT
========================================================== */

.alert {
    margin-bottom: 20px;

    padding: 12px 14px;

    border-radius: 8px;

    font-size: 13px;

    line-height: 1.5;
}

.alert-error {
    border:
        1px solid
        #fecaca;

    background: #fef2f2;

    color: #b91c1c;
}


/* ==========================================================
   FOOTER
========================================================== */

.login-footer {
    display: flex;
    flex-wrap: wrap;

    align-items: center;

    gap: 7px;

    margin-top: 28px;

    color: #94a3b8;

    font-size: 11px;

    line-height: 1.5;
}

.footer-dot {
    color: #cbd5e1;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 800px) {

    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-info {
        padding:
            38px
            32px;

        border-right: 0;

        border-bottom:
            1px solid
            #dce9e7;
    }

    .login-panel {
        padding:
            38px
            32px;
    }

    .login-info h1 {
        font-size: 25px;
    }

}

@media (max-width: 520px) {

    .login-page {
        padding: 18px 12px;
    }

    .login-shell {
        border-radius: 13px;
    }

    .login-info {
        padding:
            30px
            23px;
    }

    .login-panel {
        padding:
            30px
            23px;
    }

    .brand-label {
        font-size: 12px;
    }

    .survey-badge {
        margin-bottom: 20px;

        padding:
            8px
            13px;

        font-size: 12px;
    }

    .login-info h1 {
        font-size: 23px;
    }

    .info-description {
        font-size: 14px;
    }

    .login-heading h2 {
        font-size: 22px;
    }

}