:root {
    --primary: #ef1b23;
    --primary-dark: #c81018;
    --primary-light: #ff3b42;

    --black: #111111;
    --black-soft: #191919;

    --text: #202124;
    --text-muted: #7a7f87;

    --border: #e5e7eb;
    --input-bg: #f7f8fa;

    --white: #ffffff;
}


/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

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

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

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(239, 27, 35, 0.06),
            transparent 30%
        ),
        #f3f4f6;

    color: var(--text);

    -webkit-font-smoothing: antialiased;
}


/* =========================================================
   PAGE
========================================================= */

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

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

    padding: 30px;
}


/* =========================================================
   LOGIN CARD
========================================================= */

.login-card {
    width: 100%;
    max-width: 1050px;
    min-height: 620px;

    background: var(--white);
    border-radius: 28px;
    overflow: hidden;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.10),
        0 5px 20px rgba(0, 0, 0, 0.05);
}

.login-card > .row {
    min-height: 620px;
}


/* =========================================================
   LEFT SIDE
========================================================= */

.login-brand {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f9f9f9 100%
        );

    display: flex;

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

    padding: 60px;
}


.brand-content {
    position: relative;

    z-index: 5;

    width: 100%;

    max-width: 400px;

    text-align: center;
}


.brand-logo {
    max-width: 300px;

    width: 100%;

    height: auto;

    margin-bottom: 60px;
}


.brand-text h1 {
    margin: 0 0 15px;

    font-size: 34px;

    line-height: 1.15;

    font-weight: 750;

    letter-spacing: -1px;

    color: #151515;
}


.brand-text p {
    max-width: 330px;

    margin: 0 auto;

    color: #777;

    font-size: 16px;

    line-height: 1.7;
}


/* Decorations */

.brand-decoration {
    position: absolute;

    border-radius: 50%;
}


.decoration-1 {
    width: 350px;
    height: 350px;

    left: -180px;
    bottom: -180px;

    background:
        rgba(239, 27, 35, 0.06);
}


.decoration-2 {
    width: 220px;
    height: 220px;

    right: -100px;
    top: -100px;

    border:
        45px solid
        rgba(239, 27, 35, 0.035);
}


/* =========================================================
   RIGHT SIDE
========================================================= */

.login-form-area {
    background:
        linear-gradient(
            145deg,
            #181818,
            #080808
        );

    display: flex;

    align-items: center;

    padding: 65px;
}


.login-form-wrapper {
    width: 100%;

    max-width: 410px;

    margin: 0 auto;
}


/* =========================================================
   MOBILE LOGO
========================================================= */

.mobile-logo {
    display: none;

    text-align: center;

    margin-bottom: 40px;
}


.mobile-logo img {
    max-width: 230px;

    width: 75%;

    height: auto;
}


/* =========================================================
   HEADING
========================================================= */

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


.login-small-title {
    display: block;

    margin-bottom: 13px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    color: var(--primary);
}


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

    color: var(--white);

    font-size: 36px;

    font-weight: 700;

    letter-spacing: -1px;
}


.login-heading p {
    margin: 0;

    color: #939393;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.form-field {
    margin-bottom: 22px;
}


.form-field label {
    display: block;

    margin: 0 0 9px 3px;

    color: #d4d4d4;

    font-size: 13px;

    font-weight: 500;
}


.input-wrapper {
    position: relative;
}


.input-icon {
    position: absolute;

    top: 50%;
    left: 20px;

    z-index: 3;

    transform: translateY(-50%);

    color: #8d8d8d;

    font-size: 15px;

    pointer-events: none;
}


.form-control {
    width: 100%;

    height: 58px;

    margin: 0;

    padding:
        0 55px
        0 50px;

    border:
        1px solid
        #303030;

    border-radius: 14px;

    outline: none;

    background: #222222;

    color: var(--white);

    font-size: 14px;

    box-shadow: none;

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


.form-control::placeholder {
    color: #717171;
}


.form-control:hover {
    border-color: #424242;
}


.form-control:focus {
    color: var(--white);

    background: #242424;

    border-color: var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(239, 27, 35, 0.10);
}


/* Prevent browser autofill colour */

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;

    -webkit-box-shadow:
        0 0 0 1000px
        #222222 inset;

    transition:
        background-color
        5000s ease-in-out 0s;
}


/* =========================================================
   PASSWORD BUTTON
========================================================= */

.password-toggle {
    position: absolute;

    top: 50%;
    right: 12px;

    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    display: flex;

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

    padding: 0;

    border: 0;

    border-radius: 10px;

    background: transparent;

    color: #777;

    cursor: pointer;

    transition: 0.2s ease;
}


.password-toggle:hover {
    color: #ffffff;

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


/* =========================================================
   LOGIN BUTTON
========================================================= */

.btn-login {
    width: 100%;

    min-height: 58px;

    margin-top: 12px;

    padding:
        0 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    border: 0;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--primary-light),
            var(--primary)
        );

    color: #ffffff;

    font-size: 15px;

    font-weight: 650;

    box-shadow:
        0 12px 28px
        rgba(239, 27, 35, 0.22);

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


.btn-login:hover {
    color: #ffffff;

    transform: translateY(-2px);

    background:
        linear-gradient(
            135deg,
            #ff4047,
            #dc151d
        );

    box-shadow:
        0 15px 32px
        rgba(239, 27, 35, 0.30);
}


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


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

    transition:
        transform 0.2s ease;
}


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


/* =========================================================
   ERROR
========================================================= */

.login-alert {
    width: 100%;

    margin-top: 22px;

    padding: 14px 16px;

    display: flex;

    align-items: center;

    gap: 11px;

    border:
        1px solid
        rgba(239, 27, 35, 0.25);

    border-radius: 12px;

    background:
        rgba(239, 27, 35, 0.09);

    color: #ff8589;

    font-size: 13px;

    line-height: 1.5;
}


.login-alert i {
    flex: 0 0 auto;

    color: #ff4148;
}


/* =========================================================
   FOOTER
========================================================= */

.login-footer {
    margin-top: 40px;

    text-align: center;

    color: #5c5c5c;

    font-size: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .login-page {
        padding: 20px;
    }


    .login-card {
        max-width: 600px;

        min-height: auto;
    }


    .login-brand {
        display: none;
    }


    .login-form-area {
        min-height: 640px;

        padding: 60px;
    }


    .mobile-logo {
        display: block;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575.98px) {

    body {
        background: #0d0d0d;
    }


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

        padding: 0;

        align-items: stretch;
    }


    .login-card {
        width: 100%;

        max-width: none;

        min-height: 100dvh;

        border-radius: 0;

        box-shadow: none;
    }


    .login-card .row {
        min-height: 100dvh;
    }


    .login-form-area {
        width: 100%;

        min-height: 100dvh;

        padding:
            40px
            24px
            28px;

        align-items: center;
    }


    .login-form-wrapper {
        max-width: 440px;
    }


    .mobile-logo {
        margin-bottom: 45px;
    }


    .mobile-logo img {
        width: 70%;

        max-width: 220px;
    }


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


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


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


    .form-control {
        height: 56px;

        border-radius: 13px;

        font-size: 16px;
    }


    .btn-login {
        min-height: 56px;

        border-radius: 13px;
    }


    .login-footer {
        margin-top: 35px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .login-form-area {
        padding-left: 18px;

        padding-right: 18px;
    }


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

}