500;600;700;800&display=swap');


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --primary: #3bab3e;
    --primary-dark: #126b29;
    --bright-green: #17ff3e;
    --soft-green: #31ed85;

    --text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
    --background: #f5f8f5;
}


/* =========================================================
   HTML / BODY
========================================================= */

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    min-height: 100vh;
}


/* =========================================================
   MAIN WRAPPER
========================================================= */

.login-wrapper {
    width: 100%;
    min-height: 100vh;

    display: flex;

    overflow: hidden;
}


/* =========================================================
   LEFT BRAND SECTION
========================================================= */

.login-brand {
    width: 48%;
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px;

    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgb(23 255 62 / 50%),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgb(49 237 133 / 40%),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #3bab3e,
            #051008
        );
}


/* =========================================================
   LEFT DECORATION — TOP CIRCLE
========================================================= */

.login-brand::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -180px;
    right: -180px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    pointer-events: none;

    z-index: 1;
}


/* =========================================================
   LEFT DECORATION — BOTTOM CIRCLE
========================================================= */

.login-brand::after {
    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    bottom: -320px;
    left: -300px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    pointer-events: none;

    z-index: 1;
}


/* =========================================================
   BRAND CONTENT
========================================================= */

.brand-content {
    width: 100%;
    max-width: 500px;

    position: relative;

    z-index: 10;

    overflow: visible;
}


/* =========================================================
   LOGO CONTAINER
========================================================= */

.login-brand .logo {
    width: 82px !important;
    height: 82px !important;

    min-width: 82px !important;
    min-height: 82px !important;

    max-width: 82px !important;
    max-height: 82px !important;

    flex: 0 0 82px !important;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden !important;

    border-radius: 16px;

    background: rgb(255 255 255);
    
    border: 1px solid rgb(255 255 255);

    padding: 0 !important;

    margin: 0 0 24px 0;

    isolation: isolate;

    z-index: 20;
}


/* =========================================================
   LOGO IMAGE
========================================================= */

.login-brand .logo img {
    position: absolute !important;

    top: 50% !important;
    left: 50% !important;

    transform: translate(-50%, -50%) !important;

    width: 68px !important;
    height: 68px !important;

    min-width: 0 !important;
    min-height: 0 !important;

    max-width: 68px !important;
    max-height: 68px !important;

    object-fit: contain !important;
    object-position: center !important;

    display: block !important;

    padding: 5px !important;

    margin: 0 !important;

    overflow: hidden !important;
}


/* =========================================================
   LOGO FALLBACK ICON
========================================================= */

.login-brand .logo i {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 28px;

    pointer-events: none;

    z-index: 2;
}


/* =========================================================
   PREVENT DIRECT BRAND IMAGE OVERFLOW
========================================================= */

.login-brand > img {
    width: 82px !important;
    height: 82px !important;

    min-width: 82px !important;
    min-height: 82px !important;

    max-width: 82px !important;
    max-height: 82px !important;

    object-fit: contain !important;
    object-position: center !important;

    display: block !important;

    margin: 0 0 24px 0;

    position: relative;

    z-index: 20;
}


/* =========================================================
   BRAND TITLE
========================================================= */

.brand-content h1 {
    position: relative;

    z-index: 20;

    font-size: 42px;

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -1.5px;

    color: #ffffff;

    margin-bottom: 15px;
}


/* =========================================================
   BRAND DESCRIPTION
========================================================= */

.brand-content > p {
    position: relative;

    z-index: 20;

    max-width: 450px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 16px;

    line-height: 1.7;

    margin-bottom: 40px;
}


/* =========================================================
   FEATURES
========================================================= */

.feature-list {
    display: flex;

    flex-direction: column;

    gap: 20px;

    position: relative;

    z-index: 20;
}


/* =========================================================
   FEATURE
========================================================= */

.feature {
    display: flex;

    align-items: center;

    gap: 15px;

    color: rgba(255, 255, 255, 0.90);

    font-size: 14px;
}


/* =========================================================
   FEATURE ICON
========================================================= */

.feature i {
    width: 40px;
    height: 40px;

    min-width: 40px;
    min-height: 40px;

    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: rgba(255, 255, 255, 0.10);

    border: 1px solid rgba(255, 255, 255, 0.10);

    color: #ffffff;

    font-size: 15px;
}


/* =========================================================
   RIGHT LOGIN SECTION
========================================================= */

.login-section {
    flex: 1;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: #f7faf7;
}


/* =========================================================
   LOGIN CARD
========================================================= */

.login-card {
    width: 100%;

    max-width: 470px;
}


/* =========================================================
   MOBILE LOGO
========================================================= */

.mobile-logo {
    display: none;
}


/* =========================================================
   LOGIN HEADER
========================================================= */

.login-header {
    margin-bottom: 30px;
}


.welcome {
    display: inline-block;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: #3bab3e !important;

    margin-bottom: 10px;
}


/* =========================================================
   LOGIN TITLE
========================================================= */

.login-header h2 {
    font-size: 30px;

    line-height: 1.25;

    color: #111827;

    letter-spacing: -0.8px;

    margin-bottom: 8px;
}


/* =========================================================
   LOGIN DESCRIPTION
========================================================= */

.login-header p {
    color: #6b7280;

    font-size: 14px;
}


/* =========================================================
   ERROR MESSAGE
========================================================= */

.error-message {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px 15px;

    margin-bottom: 20px;

    border-radius: 10px;

    background: #fef2f2;

    border: 1px solid #fecaca;

    color: #dc2626;

    font-size: 13px;
}


/* =========================================================
   FORM GROUP
========================================================= */

.form-group {
    margin-bottom: 20px;
}


/* =========================================================
   FORM LABEL
========================================================= */

.form-group label {
    display: block;

    font-size: 13px;

    font-weight: 600;

    color: #374151;

    margin-bottom: 8px;
}


/* =========================================================
   INPUT BOX
========================================================= */

.input-box {
    position: relative;

    width: 100%;
}


/* =========================================================
   INPUT ICON
========================================================= */

.input-box > i {
    position: absolute;

    left: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: #9ca3af;

    font-size: 15px;

    pointer-events: none;

    z-index: 3;
}


/* =========================================================
   INPUT / SELECT
========================================================= */

.input-box input,
.input-box select {
    width: 100%;

    height: 52px;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    background: #ffffff;

    padding: 0 45px;

    font-family: inherit;

    font-size: 14px;

    color: #111827;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.input-box input::placeholder {
    color: #9ca3af;
}


/* =========================================================
   INPUT FOCUS
========================================================= */

.input-box input:focus,
.input-box select:focus {
    border-color: #3bab3e;

    box-shadow:
        0 0 0 4px
        rgb(59 171 62 / 10%);
}


/* =========================================================
   SELECT
========================================================= */

.input-box select {
    cursor: pointer;

    appearance: auto;
}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.password-toggle {
    position: absolute;

    right: 12px;

    top: 50%;

    transform: translateY(-50%);

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 7px;

    background: transparent;

    color: #9ca3af;

    cursor: pointer;

    z-index: 5;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}


.password-toggle:hover {
    color: #3bab3e;

    background: rgb(59 171 62 / 8%);
}


/* =========================================================
   LOGIN OPTIONS
========================================================= */

.login-options {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin: 5px 0 25px;

    font-size: 12px;
}


/* =========================================================
   REMEMBER ME
========================================================= */

.remember {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #6b7280;

    cursor: pointer;
}


.remember input {
    accent-color: #3bab3e;

    cursor: pointer;
}


/* =========================================================
   FORGOT PASSWORD
========================================================= */

.login-options a {
    color: #3bab3e !important;

    text-decoration: none;

    font-weight: 600;

    transition: color 0.2s ease;
}


.login-options a:hover {
    color: #126b29 !important;

    text-decoration: underline;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-btn {
    width: 100%;

    height: 54px;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #3bab3e,
            #126b29
        ) !important;

    color: #ffffff !important;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 10px 25px
        rgb(59 171 62 / 25%);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


/* =========================================================
   BUTTON HOVER
========================================================= */

.login-btn:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            135deg,
            #3bab3e,
            #0b5420
        ) !important;

    box-shadow:
        0 14px 30px
        rgb(59 171 62 / 30%);
}


/* =========================================================
   BUTTON ACTIVE
========================================================= */

.login-btn:active {
    transform: translateY(0);
}


/* =========================================================
   SECURITY NOTE
========================================================= */

.security-note {
    margin-top: 25px;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 8px;

    color: #9ca3af;

    font-size: 11px;
}


.security-note i {
    color: #3bab3e !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .login-brand {
        width: 45%;

        padding: 45px;
    }


    .login-section {
        padding: 35px;
    }


    .brand-content h1 {
        font-size: 36px;
    }


    .brand-content > p {
        font-size: 15px;
    }
}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 900px) {

    .login-brand {
        width: 42%;

        padding: 35px;
    }


    .brand-content h1 {
        font-size: 32px;
    }


    .brand-content > p {
        font-size: 14px;

        margin-bottom: 30px;
    }


    .feature-list {
        gap: 15px;
    }


    .feature {
        font-size: 13px;
    }


    .login-section {
        padding: 30px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .login-wrapper {
        display: block;

        min-height: 100vh;

        overflow: visible;
    }


    /* -----------------------------------------------------
       HIDE DESKTOP BRAND
    ----------------------------------------------------- */

    .login-brand {
        display: none;
    }


    /* -----------------------------------------------------
       LOGIN SECTION
    ----------------------------------------------------- */

    .login-section {
        width: 100%;

        min-height: 100vh;

        padding: 25px 20px;

        display: flex;
        align-items: center;
        justify-content: center;

        background:
            radial-gradient(
                circle at 20% 20%,
                rgb(23 255 62 / 10%),
                transparent 35%
            ),
            radial-gradient(
                circle at 80% 80%,
                rgb(49 237 133 / 8%),
                transparent 35%
            ),
            #f7faf7;
    }


    /* -----------------------------------------------------
       MOBILE LOGO
    ----------------------------------------------------- */

    .mobile-logo {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 100%;
    }


    .mobile-logo .logo {
        width: 76px !important;
        height: 76px !important;

        min-width: 76px !important;
        min-height: 76px !important;

        max-width: 76px !important;
        max-height: 76px !important;

        flex: 0 0 76px !important;

        position: relative;

        display: flex;

        align-items: center;
        justify-content: center;

        overflow: hidden !important;

        border-radius: 16px;

        background:
            linear-gradient(
                135deg,
                #3bab3e,
                #126b29
            );

        border:
            1px solid
            rgba(255, 255, 255, 0.18);

        box-shadow:
            0 10px 25px
            rgb(59 171 62 / 25%);

        padding: 0 !important;

        margin-bottom: 22px;
    }


    /* -----------------------------------------------------
       MOBILE LOGO IMAGE
    ----------------------------------------------------- */

    .mobile-logo .logo img {
        position: absolute !important;

        top: 50% !important;
        left: 50% !important;

        transform:
            translate(-50%, -50%) !important;

        width: 62px !important;
        height: 62px !important;

        min-width: 0 !important;
        min-height: 0 !important;

        max-width: 62px !important;
        max-height: 62px !important;

        object-fit: contain !important;

        object-position: center !important;

        padding: 5px !important;

        margin: 0 !important;

        display: block !important;
    }


    /* -----------------------------------------------------
       LOGIN CARD
    ----------------------------------------------------- */

    .login-card {
        width: 100%;

        max-width: 420px;
    }


    /* -----------------------------------------------------
       LOGIN HEADER
    ----------------------------------------------------- */

    .login-header {
        text-align: center;

        margin-bottom: 28px;
    }


    .login-header h2 {
        font-size: 26px;

        line-height: 1.25;
    }


    .login-header p {
        font-size: 13px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .login-section {
        padding: 20px 15px;
    }


    /* -----------------------------------------------------
       SMALL MOBILE LOGO
    ----------------------------------------------------- */

    .mobile-logo .logo {
        width: 70px !important;
        height: 70px !important;

        min-width: 70px !important;
        min-height: 70px !important;

        max-width: 70px !important;
        max-height: 70px !important;

        flex-basis: 70px !important;

        margin-bottom: 18px;
    }


    .mobile-logo .logo img {
        width: 56px !important;
        height: 56px !important;

        max-width: 56px !important;
        max-height: 56px !important;

        padding: 4px !important;
    }


    /* -----------------------------------------------------
       LOGIN TITLE
    ----------------------------------------------------- */

    .login-header h2 {
        font-size: 23px;
    }


    /* -----------------------------------------------------
       LOGIN OPTIONS
    ----------------------------------------------------- */

    .login-options {
        font-size: 11px;
    }


    /* -----------------------------------------------------
       INPUT
    ----------------------------------------------------- */

    .input-box input,
    .input-box select {
        height: 50px;

        font-size: 13px;
    }


    /* -----------------------------------------------------
       BUTTON
    ----------------------------------------------------- */

    .login-btn {
        height: 52px;
    }
}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 340px) {

    .login-section {
        padding: 18px 12px;
    }


    .login-header h2 {
        font-size: 21px;
    }


    .login-header p {
        font-size: 12px;
    }


    .form-group label {
        font-size: 12px;
    }


    .input-box input,
    .input-box select {
        height: 48px;

        padding-left: 42px;
        padding-right: 42px;
    }


    .login-btn {
        height: 50px;

        font-size: 13px;
    }


    .security-note {
        font-size: 10px;
    }
}