
/* =========================================================
   Warmhaus Sales Reps Login
   ========================================================= */

:root {
    --warmhaus-orange: #f47b20;
    --warmhaus-orange-dark: #dc6411;
    --warmhaus-orange-light: #fff3e9;

    --text-dark: #24272b;
    --text-main: #484e55;
    --text-muted: #8a9097;

    --border-color: #e9ecef;
    --page-bg: #f7f8fa;

    --white: #ffffff;

    --shadow:
        0 25px 70px rgba(32, 40, 48, 0.12);
}


/* =========================================================
   Base
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background:
        radial-gradient(
            circle at 12% 15%,
            rgba(244, 123, 32, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(244, 123, 32, 0.06),
            transparent 30%
        ),
        var(--page-bg);

    color: var(--text-main);
}


/* =========================================================
   Page
   ========================================================= */

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 24px;
}

.login-container {
    width: 100%;
    max-width: 1120px;
}

.login-card {
    min-height: 650px;

    overflow: hidden;

    border-radius: 30px;

    background: var(--white);

    box-shadow: var(--shadow);
}


/* =========================================================
   Left Area
   ========================================================= */

.login-left {
    position: relative;

    overflow: hidden;

    display: flex;
    align-items: center;

    padding: 64px;

    background:
        linear-gradient(
            145deg,
            #ff9a49 0%,
            #f47b20 55%,
            #e96812 100%
        );

    color: var(--white);
}

.login-left-content {
    position: relative;
    z-index: 5;

    width: 100%;
}

.logo-wrap {
    margin-bottom: 90px;
}

.login-logo {
    display: block;

    width: 190px;
    max-width: 70%;

    height: auto;
}

.welcome-content {
    max-width: 460px;
}

.welcome-label {
    display: inline-block;

    margin-bottom: 18px;

    padding: 8px 14px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.12);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.welcome-content h1 {
    margin: 0 0 22px;

    color: var(--white);

    font-size: clamp(34px, 4vw, 50px);
    font-weight: 700;
    line-height: 1.12;

    letter-spacing: -0.035em;
}

.welcome-content p {
    max-width: 410px;

    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   Decorative Shapes
   ========================================================= */

.login-shape {
    position: absolute;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    pointer-events: none;
}

.login-shape-one {
    width: 380px;
    height: 380px;

    top: -170px;
    right: -150px;
}

.login-shape-two {
    width: 280px;
    height: 280px;

    bottom: -130px;
    left: -100px;

    background: rgba(255, 255, 255, 0.06);
}


/* =========================================================
   Right Area
   ========================================================= */

.login-right {
    display: flex;
    align-items: center;

    padding: 64px 68px;

    background: var(--white);
}

.login-form-wrap {
    width: 100%;
    max-width: 430px;

    margin: 0 auto;
}

.login-heading {
    margin-bottom: 38px;
}

.login-small-title {
    display: block;

    margin-bottom: 8px;

    color: var(--warmhaus-orange);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-heading h2 {
    margin: 0 0 12px;

    color: var(--text-dark);

    font-size: 35px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: -0.03em;
}

.login-heading p {
    margin: 0;

    color: var(--text-muted);

    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   Form
   ========================================================= */

.form-label {
    margin-bottom: 9px;

    color: #51565c;

    font-size: 14px;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;

    top: 50%;
    left: 18px;

    z-index: 4;

    transform: translateY(-50%);

    color: #a4a9ae;

    font-size: 16px;

    pointer-events: none;
}

.input-wrapper .form-control {
    height: 58px;

    padding: 0 18px 0 50px;

    border: 1px solid var(--border-color);
    border-radius: 14px;

    background: #fafbfc;

    color: var(--text-dark);

    font-size: 15px;

    box-shadow: none;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.input-wrapper .form-control::placeholder {
    color: #a7acb1;
}

.input-wrapper .form-control:hover {
    border-color: #d7dadd;
}

.input-wrapper .form-control:focus {
    border-color: var(--warmhaus-orange);

    background: var(--white);

    box-shadow:
        0 0 0 4px rgba(244, 123, 32, 0.10);
}

.input-wrapper:focus-within .input-icon {
    color: var(--warmhaus-orange);
}


/* =========================================================
   Login Button
   ========================================================= */

.btn-login {
    width: 100%;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin-top: 8px;

    border: none;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #f88c3a,
            var(--warmhaus-orange)
        );

    color: var(--white);

    font-size: 15px;
    font-weight: 700;

    box-shadow:
        0 12px 26px rgba(244, 123, 32, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn-login:hover,
.btn-login:focus {
    background:
        linear-gradient(
            135deg,
            var(--warmhaus-orange),
            var(--warmhaus-orange-dark)
        );

    color: var(--white);

    transform: translateY(-2px);

    box-shadow:
        0 16px 34px rgba(244, 123, 32, 0.30);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login i {
    font-size: 14px;

    transition: transform 0.2s ease;
}

.btn-login:hover i {
    transform: translateX(4px);
}


/* =========================================================
   Error Message
   ========================================================= */

.login-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 25px;
    margin-bottom: 0;

    padding: 14px 18px;

    border: 1px solid #f5c2c7;
    border-radius: 14px;

    font-size: 14px;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991.98px) {

    .login-page {
        padding: 25px 20px;
    }

    .login-card {
        min-height: auto;
    }

    .login-left {
        min-height: 370px;

        padding: 42px;
    }

    .logo-wrap {
        margin-bottom: 50px;
    }

    .welcome-content h1 {
        font-size: 38px;
    }

    .login-right {
        padding: 50px 42px;
    }
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 575.98px) {

    .login-page {
        align-items: flex-start;

        padding: 15px;
    }

    .login-card {
        border-radius: 22px;
    }

    .login-left {
        min-height: 310px;

        padding: 32px 26px;
    }

    .logo-wrap {
        margin-bottom: 40px;
    }

    .login-logo {
        width: 160px;
    }

    .welcome-label {
        margin-bottom: 14px;

        font-size: 10px;
    }

    .welcome-content h1 {
        margin-bottom: 15px;

        font-size: 30px;
    }

    .welcome-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .login-right {
        padding: 38px 24px 42px;
    }

    .login-heading {
        margin-bottom: 30px;
    }

    .login-heading h2 {
        font-size: 29px;
    }

    .login-heading p {
        font-size: 14px;
    }

    .input-wrapper .form-control,
    .btn-login {
        height: 56px;
    }
}
