/* =========================================================
   BLUESMS LOGIN HERO
========================================================= */


/* =========================================================
   LOGIN HERO - DESKTOP ALIGNMENT
========================================================= */

.login-hero {
    position: relative;

    min-height: calc(100vh - 80px);

    padding: 95px 0 70px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(13, 110, 253, 0.12),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(0, 180, 216, 0.10),
            transparent 35%
        ),
        #f6f9fc;
}


/* =========================================================
   ROW ALIGNMENT
========================================================= */

.login-hero .row {
    align-items: center;
}


/* =========================================================
   GLOWS
========================================================= */

.login-glow {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(5px);
}

.login-glow-1 {
    width: 350px;
    height: 350px;

    top: -190px;
    left: -150px;

    background: rgba(13, 110, 253, 0.08);
}

.login-glow-2 {
    width: 400px;
    height: 400px;

    right: -200px;
    bottom: -220px;

    background: rgba(0, 180, 216, 0.08);
}


/* =========================================================
   HERO CONTENT
========================================================= */

.login-hero-content {
    position: relative;

    z-index: 2;

    padding-right: 25px;
}

.login-hero-content h1 {
    margin: 22px 0 18px;

    font-size: 48px;

    line-height: 1.12;

    font-weight: 700;

    color: #172b4d;
}

.login-hero-content h1 span {
    display: block;

    color: #0d6efd;
}

.login-hero-content p {
    max-width: 520px;

    margin-bottom: 25px;

    font-size: 16px;

    line-height: 1.7;

    color: #667085;
}


/* =========================================================
   HERO FEATURES
========================================================= */

.login-hero-features {
    display: flex;

    flex-wrap: wrap;

    gap: 12px 22px;
}

.login-hero-features div {
    font-size: 13px;

    color: #475467;
}

.login-hero-features i {
    margin-right: 6px;

    color: #0d6efd;
}


/* =========================================================
   LOGIN CARD
========================================================= */

.login-card {
    position: relative;

    z-index: 3;

    padding: 32px;

    background: #ffffff;

    border: 1px solid #e5ebf2;

    border-radius: 16px;

    box-shadow:
        0 20px 50px rgba(23, 43, 77, 0.10);

        /* Prevent card from being pushed upward */
    margin-top: 25px;
}


/* =========================================================
   LOGIN HEADER
========================================================= */

.login-header {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 25px;
}

.login-icon {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 13px;

    background: #eaf2ff;

    color: #0d6efd;

    font-size: 20px;
}

.login-eyebrow {
    display: block;

    margin-bottom: 3px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: #0d6efd;
}

.login-header h2 {
    margin: 0 0 3px;

    font-size: 25px;

    font-weight: 700;

    color: #172b4d;
}

.login-header p {
    margin: 0;

    font-size: 12px;

    color: #718096;
}


/* =========================================================
   ALERT
========================================================= */

.login-card .alert {
    margin-bottom: 20px;

    border-radius: 8px;

    border: 0;

    font-size: 12px;
}


/* =========================================================
   FORM
========================================================= */

.login-card .form-group {
    margin-bottom: 19px;
}

.login-card label {
    display: block;

    margin-bottom: 7px;

    font-size: 12px;

    font-weight: 600;

    color: #344054;
}


/* =========================================================
   PASSWORD ROW
========================================================= */

.password-label-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 7px;
}

.password-label-row label {
    margin: 0;
}

.password-label-row a {
    font-size: 11px;

    font-weight: 600;

    color: #0d6efd;

    text-decoration: none;
}

.password-label-row a:hover {
    text-decoration: underline;
}


/* =========================================================
   INPUT
========================================================= */

.login-input {
    position: relative;
}

.login-input > i {
    position: absolute;

    left: 14px;

    top: 50%;

    transform: translateY(-50%);

    color: #98a2b3;

    font-size: 13px;

    z-index: 2;

    pointer-events: none;
}

.login-input .form-control {
    height: 47px;

    padding: 0 42px;

    border: 1px solid #d9e1ea;

    border-radius: 8px;

    background: #fbfcfe;

    color: #172b4d;

    font-size: 13px;

    box-shadow: none;
}

.login-input .form-control:focus {
    background: #ffffff;

    border-color: #0d6efd;

    box-shadow:
        0 0 0 3px rgba(13, 110, 253, 0.09);
}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.password-toggle {
    position: absolute;

    right: 10px;

    top: 50%;

    transform: translateY(-50%);

    width: 30px;

    height: 30px;

    border: 0;

    background: transparent;

    color: #98a2b3;

    cursor: pointer;
}

.password-toggle:hover {
    color: #0d6efd;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-btn {
    height: 48px;

    margin-top: 5px;

    border: 0;

    border-radius: 8px;

    background: #0d6efd;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    box-shadow:
        0 8px 18px rgba(13, 110, 253, 0.20);

    transition: all 0.2s ease;
}

.login-btn:hover {
    background: #0b5ed7;

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 11px 23px rgba(13, 110, 253, 0.25);
}


/* =========================================================
   REGISTER
========================================================= */

.login-register {
    margin-top: 21px;

    padding-top: 20px;

    border-top: 1px solid #edf1f5;

    text-align: center;

    font-size: 12px;

    color: #718096;
}

.login-register a {
    margin-left: 4px;

    color: #0d6efd;

    font-weight: 700;

    text-decoration: none;
}

.login-register a:hover {
    text-decoration: underline;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .login-hero {
        min-height: auto;

        padding: 50px 0;
    }

    .login-hero-content {
        padding-right: 0;

        margin-bottom: 40px;

        text-align: center;
    }

    .login-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .login-hero-features {
        justify-content: center;
    }

}


@media (max-width: 767px) {

    .login-hero {
        padding: 35px 15px;
    }

    .login-hero-content {
        margin-bottom: 30px;
    }

    .login-hero-content h1 {
        font-size: 34px;

        margin-top: 18px;
    }

    .login-hero-content p {
        font-size: 14px;
    }

    .login-card {
        padding: 26px 22px;
    }

}


@media (max-width: 480px) {

    .login-hero-content h1 {
        font-size: 30px;
    }

    .login-hero-features {
        flex-direction: column;

        align-items: center;

        gap: 8px;
    }

}

/* =========================================================
   MOBILE LOGIN PAGE
========================================================= */

@media (max-width: 767px) {

    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .login-hero {
        min-height: auto;

        margin-top: 0;

        padding: 30px 15px 40px;

        display: block;
    }


    /* -----------------------------------------------------
       HERO CONTENT
    ----------------------------------------------------- */

    .login-hero-content {
        padding: 0;

        margin: 0 auto 28px;

        text-align: center;

        max-width: 600px;
    }


    /* -----------------------------------------------------
       BADGE
    ----------------------------------------------------- */

    .login-hero-content .product-badge {
        display: inline-flex;

        margin: 0 auto 20px;

        max-width: 100%;

        font-size: 13px;

        padding: 9px 16px;
    }

    .login-hero-content .product-badge-icon {
        width: 30px;
        height: 30px;
    }


    /* -----------------------------------------------------
       HERO HEADING
    ----------------------------------------------------- */

    .login-hero-content h1 {

        margin: 10px 0 15px;

        font-size: 34px;

        line-height: 1.15;

        text-align: center;
    }

    .login-hero-content h1 span {
        display: block;
    }


    /* -----------------------------------------------------
       DESCRIPTION
    ----------------------------------------------------- */

    .login-hero-content p {

        margin: 0 auto 20px;

        max-width: 580px;

        font-size: 14px;

        line-height: 1.65;

        text-align: center;
    }


    /* -----------------------------------------------------
       FEATURES
    ----------------------------------------------------- */

    .login-hero-features {

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 7px;

        margin-top: 12px;
    }

    .login-hero-features div {

        font-size: 13px;

        line-height: 1.4;
    }


    /* -----------------------------------------------------
       LOGIN CARD
    ----------------------------------------------------- */

    .login-card {

        width: 100%;

        margin: 0 auto;

        padding: 25px 20px 22px;

        border-radius: 16px;

        box-shadow:
            0 15px 40px rgba(23, 43, 77, 0.10);
    }


    /* -----------------------------------------------------
       LOGIN HEADER
    ----------------------------------------------------- */

    .login-header {

        justify-content: center;

        text-align: left;

        gap: 12px;

        margin-bottom: 20px;
    }

    .login-icon {

        width: 50px;
        height: 50px;

        flex: 0 0 50px;
    }

    .login-header h2 {

        font-size: 24px;

        line-height: 1.1;
    }


    /* -----------------------------------------------------
       FORM
    ----------------------------------------------------- */

    .login-card .form-group {

        margin-bottom: 15px;
    }

    .login-input .form-control {

        height: 48px;

        font-size: 14px;
    }


    /* -----------------------------------------------------
       BUTTON
    ----------------------------------------------------- */

    .login-btn {

        height: 48px;

        margin-top: 3px;
    }


    /* -----------------------------------------------------
       REGISTER
    ----------------------------------------------------- */

    .login-register {

        margin-top: 17px;

        padding-top: 16px;

        font-size: 12px;
    }

}

@media (max-width: 767px) {

    .login-hero {

        margin-top: 0;

        padding-top: 100px;
        padding-bottom: 35px;

        min-height: auto;
    }

    .login-hero-content {

        padding-top: 0;

        margin-bottom: 25px;
    }

    .login-hero-content .product-badge {

        position: relative;

        z-index: 5;

        margin-bottom: 18px;
    }

}