* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #12986f;
    --primary-dark: #0d805d;
    --black: #080808;
    --white: #ffffff;
    --text-muted: #68748b;
    --input-bg: #f0f0f0;
    --border: #e5e5e5;
    --link: #003cff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--black);
}

/* =====================================================
PAGE
===================================================== */

.login-page {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
}

/* =====================================================
LEFT SECTION
===================================================== */

.login-section {
    width: 30.7%;
    min-height: 100vh;
    min-height: 100dvh;

     padding: 40px 30px 30px;

    background: var(--white);
    border-right: 1px solid var(--border);

    overflow-y: auto;
    
}

/* =====================================================
LOGO
===================================================== */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;

     margin-bottom: 28px;

    text-decoration: none;
    
}

.logo-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.logo-name {
    width: 105px;
    height: 28px;
    display: flex;
    align-items: center;
}

.logo-name img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* =====================================================
INTRO
===================================================== */

.intro h1 {
    font-size: 29px;
    line-height: 1.22;
    font-weight: 750;
    letter-spacing: -0.7px;
}

.intro h1 span {
    color: var(--primary);
}

.intro p {
    max-width: 330px;

     margin-top: 16px;

    color: var(--text-muted);

    font-size: 12.5px;
    line-height: 1.65;
    
}

/* =====================================================
LOGIN CONTAINER
===================================================== */

.login-container {
    width: 100%;
    max-width: 430px;

     margin-top: 40px;
    
}

.login-container h2 {
    font-size: 26px;
    line-height: 1.2;

     margin-bottom: 24px;
    
}

/* =====================================================
FORM
===================================================== */

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;

     margin-left: 14px;
    margin-bottom: 7px;

    font-size: 13px;
    font-weight: 700;
    
}

.input-group input {
    width: 100%;
    height: 43px;

     border: 1px solid transparent;
    outline: none;
    border-radius: 6px;

    background: var(--input-bg);

    padding: 0 14px;

    color: #333;
    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
    
}

.input-group input::placeholder {
    color: #64718a;
}

.input-group input:focus {
    background: #ffffff;
    border-color: var(--primary);

     box-shadow: 0 0 0 3px rgba(18, 152, 111, 0.10);
    
}

/* =====================================================
PASSWORD
===================================================== */

.password-box {
    position: relative;
}

.password-box input {
    padding-right: 45px;
}

.eye-btn {
    position: absolute;

     right: 10px;
    top: 50%;

    width: 32px;
    height: 32px;

    transform: translateY(-50%);

    border: none;
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    opacity: 0.55;

    border-radius: 5px;

    transition:
        opacity 0.2s ease,
        background 0.2s ease;
    
}

.eye-btn:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
}

.eye-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* =====================================================
OPTIONS
===================================================== */

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;

     gap: 15px;

    margin: 5px 0 20px;

    font-size: 13px;
    
}

.remember {
    display: flex;
    align-items: center;

     gap: 9px;

    cursor: pointer;
    user-select: none;
    
}

.remember input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.switch {
    width: 42px;
    height: 20px;

     border-radius: 20px;

    background: #eeeeee;

    position: relative;

    transition: background 0.25s ease;
    
}

.switch::after {
    content: "";

     width: 17px;
    height: 17px;

    background: var(--white);

    border-radius: 50%;

    position: absolute;

    left: 2px;
    top: 1.5px;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);

    transition: left 0.25s ease;
    
}

.remember input:checked+.switch {
    background: var(--primary);
}

.remember input:checked+.switch::after {
    left: 22px;
}

.forgot {
    color: var(--link);
    text-decoration: none;
    white-space: nowrap;
}

.forgot:hover {
    text-decoration: underline;
}

/* =====================================================
SIGN IN
===================================================== */

.signin-btn {
    width: 100%;
    height: 40px;

     border: none;
    border-radius: 6px;

    background: var(--primary);
    color: var(--white);

    font-size: 13px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.2s ease,
        transform 0.1s ease;
    
}

.signin-btn:hover {
    background: var(--primary-dark);
}

.signin-btn:active {
    transform: scale(0.99);
}

.signin-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* =====================================================
LOADER
===================================================== */

.btn-loader {
    width: 15px;
    height: 15px;

     border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;

    border-radius: 50%;

    animation: spin 0.7s linear infinite;
    
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =====================================================
DIVIDER
===================================================== */

.divider {
    width: 100%;

     display: flex;
    align-items: center;

    gap: 14px;

    margin: 18px 0;
    
}

.divider span {
    height: 1px;
    background: #999;
    flex: 1;
}

.divider p {
    font-size: 13px;
    color: #657084;
}

/* =====================================================
GOOGLE
===================================================== */

.google-btn {
    width: 100%;
    height: 40px;

     border: none;
    border-radius: 6px;

    background: #000000;
    color: #ffffff;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 9px;

    cursor: pointer;

    font-size: 13px;

    transition:
        background 0.2s ease,
        transform 0.1s ease;
    
}

.google-btn:hover {
    background: #222222;
}

.google-btn:active {
    transform: scale(0.99);
}

.google-icon {
    width: 17px;
    height: 17px;

     flex-shrink: 0;
    
}

/* =====================================================
SIGNUP
===================================================== */

.signup-text {
    text-align: center;

     margin-top: 28px;

    font-size: 13px;
    
}

.signup-text a {
    color: var(--link);
    text-decoration: none;
}

.signup-text a:hover {
    text-decoration: underline;
}

/* =====================================================
FORM MESSAGE
===================================================== */

.form-message {
    padding: 10px 12px;

     margin-bottom: 18px;

    border-radius: 6px;

    font-size: 12px;
    line-height: 1.5;
    
}

.error-message {
    color: #a00000;
    background: #fff1f1;
    border: 1px solid #ffd1d1;
}

/* =====================================================
RIGHT VISUAL
===================================================== */

.visual-section {
    width: 69.3%;
    min-height: 100vh;
    min-height: 100dvh;

     overflow: hidden;

    background: #eaf8f5;
    
}

.visual-section img {
    width: 100%;
    height: 100%;

     min-height: 100vh;
    min-height: 100dvh;

    display: block;

    object-fit: cover;
    object-position: center;
    
}

/* =====================================================
TABLET
===================================================== */

@media (max-width: 1000px) {

     .login-section {
        width: 40%;
        padding: 45px 25px 25px;
    }

    .visual-section {
        width: 60%;
    }

    .intro h1 {
        font-size: 25px;
    }

    .login-container h2 {
        font-size: 23px;
    }

    
}

/* =====================================================
MOBILE
===================================================== */

@media (max-width: 768px) {

     .login-page {
        display: block;
        min-height: auto;
    }

    .login-section {
        width: 100%;
        min-height: auto;

        padding: 35px 25px 40px;

        border-right: none;

        overflow: visible;
    }

    .login-container {
        max-width: none;
    }

    .visual-section {
        width: 100%;

        height: 380px;
        min-height: 380px;
    }

    .visual-section img {
        min-height: 380px;
        height: 380px;
    }

    .intro h1 {
        font-size: 28px;
    }

    .login-container {
        margin-top: 35px;
    }

    
}

/* =====================================================
SMALL MOBILE
===================================================== */

@media (max-width: 450px) {

     .login-section {
        padding: 28px 18px 35px;
    }

    .logo {
        margin-bottom: 25px;
    }

    .intro h1 {
        font-size: 26px;
    }

    .intro p {
        font-size: 12px;
    }

    .login-container h2 {
        font-size: 22px;
    }

    .options {
        font-size: 12px;
    }

    .visual-section {
        height: 300px;
        min-height: 300px;
    }

    .visual-section img {
        height: 300px;
        min-height: 300px;
    }

    
}

/* =====================================================
ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

}