/* =========================================================
   LOVE KUSH LOGIN PAGE
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;

    width: 100%;
    min-height: 100%;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f5f6fa;

    color: #333333;
}

button,
input {
    font-family: inherit;
}


/* =========================================================
   PAGE
========================================================= */

.login-page {
    min-height: 100vh;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 35px 20px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #fff7e8 0%,
            #ffffff 45%,
            #f5f6fa 100%
        );
}


/* =========================================================
   BACKGROUND DECORATION
========================================================= */

.login-background {
    position: absolute;

    width: 600px;

    height: 600px;

    border-radius: 50%;

    top: -250px;

    right: -200px;

    background:
        rgba(240, 160, 0, 0.10);

    filter: blur(2px);
}

.login-background::after {
    content: "";

    position: absolute;

    width: 400px;

    height: 400px;

    border-radius: 50%;

    bottom: -550px;

    left: -800px;

    background:
        rgba(240, 160, 0, 0.08);
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.login-container {
    width: 100%;

    max-width: 1080px;

    min-height: 650px;

    display: grid;

    grid-template-columns:
        44% 56%;

    background: #ffffff;

    border-radius: 24px;

    overflow: hidden;

    position: relative;

    z-index: 2;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.13);
}


/* =========================================================
   LEFT
========================================================= */

.login-left {
    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px;

    background:
        linear-gradient(
            145deg,
            #f0a000,
            #d87f00
        );

    overflow: hidden;
}


/* Decorative circles */

.login-left::before {
    content: "";

    position: absolute;

    width: 330px;

    height: 330px;

    border-radius: 50%;

    top: -120px;

    left: -130px;

    border: 1px solid
        rgba(255, 255, 255, 0.20);
}

.login-left::after {
    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    border-radius: 50%;

    right: -250px;

    bottom: -250px;

    border: 1px solid
        rgba(255, 255, 255, 0.18);
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.left-content {
    position: relative;

    z-index: 3;

    width: 100%;

    max-width: 380px;

    color: #ffffff;
}

.brand-mark {
    margin-bottom: 35px;
}

.brand-mark img {
    max-width: 190px;

    max-height: 90px;

    object-fit: contain;

    background: #ffffff;

    padding: 10px 15px;

    border-radius: 10px;
}

.left-content h1 {
    margin: 0 0 15px;

    font-size: 42px;

    line-height: 1.15;

    font-weight: 700;
}

.left-content > p {
    margin: 0 0 35px;

    font-size: 17px;

    line-height: 1.7;

    color:
        rgba(255, 255, 255, 0.92);
}


/* =========================================================
   FEATURES
========================================================= */

.feature-list {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.feature {
    display: flex;

    align-items: center;

    gap: 13px;

    font-size: 15px;
}

.feature-icon {
    width: 28px;

    height: 28px;

    min-width: 28px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(255, 255, 255, 0.20);

    font-weight: bold;
}


/* =========================================================
   RIGHT
========================================================= */

.login-right {
    display: flex;

    align-items: center;

    justify-content: center;

    padding: 55px 70px;

    background: #ffffff;
}

.login-form-container {
    width: 100%;

    max-width: 430px;
}


/* =========================================================
   MOBILE LOGO
========================================================= */

.mobile-logo {
    display: none;

    text-align: center;

    margin-bottom: 20px;
}

.mobile-logo img {
    max-width: 180px;

    max-height: 75px;

    object-fit: contain;
}


/* =========================================================
   HEADING
========================================================= */

.login-heading {
    margin-bottom: 28px;
}

.login-heading h2 {
    margin: 0 0 8px;

    font-size: 34px;

    color: #222222;
}

.login-heading p {
    margin: 0;

    color: #888888;

    font-size: 15px;
}


/* =========================================================
   MESSAGES
========================================================= */

.message {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px 15px;

    border-radius: 9px;

    margin-bottom: 20px;

    font-size: 14px;

    line-height: 1.5;
}

.error-message {
    background: #fff1f1;

    border: 1px solid #ffd3d3;

    color: #c62828;
}

.success-message {
    background: #effaf1;

    border: 1px solid #c8ebce;

    color: #247a32;
}

.message-icon {
    width: 23px;

    height: 23px;

    min-width: 23px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #c62828;

    color: #ffffff;

    font-weight: bold;
}

.success-message .message-icon {
    background: #247a32;
}


/* =========================================================
   INPUT
========================================================= */

.input-group {
    margin-bottom: 21px;
}

.input-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;

    font-weight: 600;

    color: #444444;
}

.input-wrapper {
    position: relative;

    width: 100%;
}

.input-wrapper input {
    width: 100%;

    height: 54px;

    padding:
        0 50px;

    border: 1px solid #dddddd;

    border-radius: 10px;

    outline: none;

    font-size: 15px;

    color: #333333;

    background: #ffffff;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.input-wrapper input:focus {
    border-color: #f0a000;

    background: #fffdfa;

    box-shadow:
        0 0 0 4px
        rgba(240, 160, 0, 0.10);
}

.input-wrapper input::placeholder {
    color: #aaaaaa;
}

.input-icon {
    position: absolute;

    left: 17px;

    top: 50%;

    transform: translateY(-50%);

    font-size: 17px;

    opacity: 0.75;

    z-index: 2;
}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.password-toggle {
    position: absolute;

    right: 13px;

    top: 50%;

    transform: translateY(-50%);

    width: 35px;

    height: 35px;

    border: 0;

    background: transparent;

    cursor: pointer;

    font-size: 17px;

    opacity: 0.65;

    border-radius: 50%;
}

.password-toggle:hover {
    background: #f5f5f5;

    opacity: 1;
}


/* =========================================================
   OPTIONS
========================================================= */

.login-options {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin:
        4px 0 25px;
}

.remember-box {
    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 13px;

    color: #666666;

    cursor: pointer;

    user-select: none;
}

.remember-box input {
    width: 16px;

    height: 16px;

    accent-color: #f0a000;

    cursor: pointer;
}

.forgot-link {
    color: #e09200;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-submit {
    width: 100%;

    height: 55px;

    border: 0;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #f0a000,
            #dd8800
        );

    color: #ffffff;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    box-shadow:
        0 9px 22px
        rgba(240, 160, 0, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.login-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 13px 28px
        rgba(240, 160, 0, 0.30);
}

.login-submit:active {
    transform: translateY(0);
}

.login-submit:disabled {
    cursor: not-allowed;

    transform: none;

    box-shadow:
        0 7px 18px
        rgba(240, 160, 0, 0.18);
}

.login-submit .arrow {
    font-size: 21px;

    transition:
        transform 0.2s ease;
}

.login-submit:hover .arrow {
    transform: translateX(4px);
}


/* =========================================================
   LOGIN PROGRESS
========================================================= */

.login-progress {
    display: none;

    width: 100%;

    margin-top: 13px;

    text-align: center;
}

.login-progress.active {
    display: block;
}

.login-progress-track {
    width: 100%;

    height: 5px;

    overflow: hidden;

    border-radius: 10px;

    background: #eeeeee;
}

.login-progress-bar {
    width: 0%;

    height: 100%;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #f0a000,
            #dd8800
        );

    transition:
        width 0.12s linear;
}

.login-progress-text {
    margin-top: 7px;

    font-size: 12px;

    color: #999999;
}


/* =========================================================
   SIGNUP
========================================================= */

.signup-box {
    margin-top: 25px;

    text-align: center;

    font-size: 14px;

    color: #888888;
}

.signup-box a {
    margin-left: 5px;

    color: #e09200;

    font-weight: 700;

    text-decoration: none;
}

.signup-box a:hover {
    text-decoration: underline;
}


/* =========================================================
   BACK HOME
========================================================= */

.back-home {
    display: block;

    text-align: center;

    margin-top: 22px;

    color: #777777;

    text-decoration: none;

    font-size: 13px;
}

.back-home:hover {
    color: #e09200;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.login-copyright {
    margin-top: 25px;

    text-align: center;

    color: #999999;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .login-page {
        padding: 20px;
    }

    .login-container {
        max-width: 600px;

        grid-template-columns: 1fr;

        min-height: auto;
    }

    .login-left {
        display: none;
    }

    .login-right {
        padding:
            45px 40px;
    }

    .mobile-logo {
        display: block;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 500px) {

    .login-page {
        padding: 0;

        align-items: stretch;
    }

    .login-container {
        min-height: 100vh;

        border-radius: 0;

        box-shadow: none;
    }

    .login-right {
        padding:
            35px 22px;
    }

    .login-heading h2 {
        font-size: 30px;
    }

    .login-options {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 22px;
    }

    .login-submit {
        height: 53px;
    }

    .login-progress {
        margin-top: 11px;
    }

}