/* ==========================================================
   RAPIDXPERTZ LOGIN PAGE
   ALL CLASSES ARE ISOLATED WITH rx-login PREFIX
========================================================== */


/* ==========================================================
   RESET
========================================================== */

.rx-login-body {
    margin: 0;
    padding: 0;

    width: 100%;
    min-height: 100vh;

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    background: #ffffff;

    color: #102f5b;
}


.rx-login-body *,
.rx-login-body *::before,
.rx-login-body *::after {
    box-sizing: border-box;
}


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

.rx-login-page {

    width: 100%;
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        54% 46%;

    overflow: hidden;

    background: #ffffff;
}


/* ==========================================================
   LEFT PANEL
========================================================== */

.rx-login-left {

    position: relative;

    min-height: 100vh;

    overflow: hidden;

    color: #ffffff;

    background: #063a72;
}


/* Background image */

.rx-login-left-bg {

    position: absolute;

    inset: 0;

    background-image:
        url("assets/images/login-bg.jpg");

    background-size: cover;

    background-position:
        center center;

    transform: scale(1.02);

    z-index: 0;
}


/* Overlay */

.rx-login-left-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(3, 47, 91, .88) 0%,
            rgba(3, 66, 126, .78) 45%,
            rgba(2, 38, 75, .93) 100%
        );

    z-index: 1;
}


/* Additional blue glow */

.rx-login-left::after {

    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -200px;
    top: 30%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 183, 255, .18),
            transparent 68%
        );

    pointer-events: none;

    z-index: 2;
}


/* ==========================================================
   LEFT CONTENT
========================================================== */

.rx-login-left-content {

    position: relative;

    z-index: 3;

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    padding:
        58px
        78px
        48px;

}


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

.rx-login-brand img {

    width: 325px;

    max-width: 70%;

    height: auto;

    display: block;

    filter:
        brightness(0)
        invert(1);

}


.rx-login-powered {

    margin-top: -3px;

    margin-left: 104px;

    font-size: 18px;

    letter-spacing: .2px;

    color: rgba(255,255,255,.96);
}


.rx-login-powered strong {

    letter-spacing: 1px;
}


/* ==========================================================
   HERO COPY
========================================================== */

.rx-login-hero-copy {

    margin-top: 65px;

    max-width: 650px;
}


.rx-login-hero-copy h1 {

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            2.7rem,
            3.2vw,
            4.4rem
        );

    line-height: 1.1;

    letter-spacing: -1.8px;

    font-weight: 800;
}


.rx-login-hero-copy h1 span {

    display: block;

    margin-top: 4px;

    color: #12c7f5;
}


.rx-login-hero-copy p {

    max-width: 650px;

    margin: 24px 0 0;

    color: rgba(255,255,255,.94);

    font-size: 18px;

    line-height: 1.5;

    font-weight: 400;
}


/* ==========================================================
   FEATURES
========================================================== */

.rx-login-features {

    display: flex;

    align-items: center;

    gap: 34px;

    margin-top: 38px;
}


.rx-login-feature {

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 0;
}


.rx-login-feature-icon {

    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ffffff;

    font-size: 25px;

    border: 1px solid rgba(255,255,255,.2);

    box-shadow:
        0 8px 25px rgba(0,0,0,.12);
}


.rx-login-feature-icon.blue {

    background:
        linear-gradient(
            135deg,
            #168cff,
            #0066db
        );
}


.rx-login-feature-icon.cyan {

    background:
        linear-gradient(
            135deg,
            #20c4ed,
            #188acb
        );
}


.rx-login-feature-icon.green {

    background:
        linear-gradient(
            135deg,
            #32d8ad,
            #1ca984
        );
}


.rx-login-feature-icon.purple {

    background:
        linear-gradient(
            135deg,
            #a16cff,
            #6950df
        );
}


.rx-login-feature span {

    color: #ffffff;

    font-size: 14px;

    line-height: 1.25;

    font-weight: 600;
}


/* ==========================================================
   COMPANY FOOTER LEFT
========================================================== */

.rx-login-company {

    margin-top: auto;

    display: flex;

    align-items: center;

    gap: 18px;
}


.rx-login-company-line {

    width: 5px;

    height: 48px;

    border-radius: 4px;

    background: #08b9ff;
}


.rx-login-company strong {

    display: block;

    color: #ffffff;

    font-size: 16px;

    line-height: 1.3;
}


.rx-login-company span {

    display: block;

    margin-top: 7px;

    color: rgba(255,255,255,.9);

    font-size: 13px;
}


.rx-login-company b {

    margin: 0 8px;

    color: #5ccfff;

}


/* ==========================================================
   RIGHT PANEL
========================================================== */

.rx-login-right {

    position: relative;

    min-height: 100vh;

    background: #ffffff;

    display: flex;

    flex-direction: column;

    padding:
        38px
        58px
        35px;
}


/* ==========================================================
   TOP ACCOUNT LINK
========================================================== */

.rx-login-top-link {

    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 18px;
}


.rx-login-top-link span {

    color: #304c6d;

    font-size: 15px;

    font-weight: 500;
}


.rx-login-top-link a {

    height: 46px;

    padding:
        0 25px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 1.5px solid #0879f9;

    border-radius: 25px;

    color: #0871e8;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition:
        .25s ease;
}


.rx-login-top-link a:hover {

    background: #0879f9;

    color: #ffffff;
}


/* ==========================================================
   LOGIN FORM WRAPPER
========================================================== */

.rx-login-form-wrapper {

    width: 100%;

    max-width: 610px;

    margin:
        100px
        auto
        0;
}


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

.rx-login-heading h2 {

    margin: 0;

    color: #07356b;

    font-size: 37px;

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -.8px;
}


.rx-login-heading p {

    margin: 10px 0 0;

    color: #365271;

    font-size: 18px;
}


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

.rx-login-form {

    margin-top: 58px;
}


.rx-login-field {

    margin-bottom: 34px;
}


.rx-login-field label {

    display: block;

    margin-bottom: 10px;

    color: #102f5b;

    font-size: 15px;

    font-weight: 700;
}


/* ==========================================================
   INPUT
========================================================== */

.rx-login-input {

    position: relative;

    height: 59px;

    width: 100%;

    display: flex;

    align-items: center;

    border:
        1px solid #bfd0e0;

    border-radius: 7px;

    background: #ffffff;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.rx-login-input:focus-within {

    border-color: #0879f9;

    box-shadow:
        0 0 0 3px
        rgba(8,121,249,.09);
}


.rx-login-input > i {

    width: 56px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #5d7691;

    font-size: 21px;
}


.rx-login-input input {

    flex: 1;

    min-width: 0;

    height: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    color: #102f5b;

    font-size: 15px;

    padding:
        0 12px 0 0;
}


.rx-login-input input::placeholder {

    color: #8395a9;

    opacity: 1;
}


/* Password toggle */

.rx-login-password-toggle {

    width: 52px;

    height: 100%;

    border: 0;

    background: transparent;

    color: #70869e;

    cursor: pointer;

    font-size: 19px;
}


.rx-login-password-toggle:hover {

    color: #0879f9;
}


/* ==========================================================
   OPTIONS
========================================================== */

.rx-login-options {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: -10px;

    margin-bottom: 34px;
}


.rx-login-remember {

    display: flex;

    align-items: center;

    gap: 11px;

    cursor: pointer;

    color: #294765;

    font-size: 15px;

    font-weight: 500;
}


.rx-login-remember input {

    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.rx-login-checkmark {

    width: 20px;
    height: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 3px;

    background: #0879f9;

    color: #ffffff;

    font-size: 14px;
}


.rx-login-remember input:not(:checked)
~ .rx-login-checkmark {

    background: #ffffff;

    border: 1px solid #b8c8d9;

    color: transparent;
}


.rx-login-options > a {

    color: #0874e9;

    text-decoration: none;

    font-size: 15px;

    font-weight: 600;
}


.rx-login-options > a:hover {

    text-decoration: underline;
}


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

.rx-login-submit {

    width: 100%;

    height: 60px;

    border: 0;

    border-radius: 7px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    background:
        linear-gradient(
            135deg,
            #087ff5,
            #0873df
        );

    color: #ffffff;

    font-size: 18px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 10px 25px
        rgba(8,121,249,.18);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.rx-login-submit i {

    font-size: 21px;
}


.rx-login-submit:hover {

    transform: translateY(-2px);

    box-shadow:
        0 15px 30px
        rgba(8,121,249,.25);
}


/* ==========================================================
   DIVIDER
========================================================== */

.rx-login-divider {

    display: flex;

    align-items: center;

    gap: 18px;

    margin: 34px 0;
}


.rx-login-divider span {

    flex: 1;

    height: 1px;

    background: #d9e2eb;
}


.rx-login-divider strong {

    color: #60748a;

    font-size: 14px;

    font-weight: 500;
}


/* ==========================================================
   GOOGLE BUTTON
========================================================== */

.rx-login-google {

    width: 100%;

    height: 55px;

    border:
        1px solid #a9c0d6;

    border-radius: 6px;

    background: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    color: #153c69;

    cursor: pointer;

    font-size: 16px;

    transition:
        .2s ease;
}


.rx-login-google:hover {

    border-color: #0879f9;

    background: #f8fbff;
}


.rx-login-google-icon {

    font-family:
        Arial,
        sans-serif;

    font-size: 22px;

    font-weight: 800;

    color: #4285f4;
}


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

.rx-login-footer {

    margin-top: auto;

    text-align: center;

    color: #8a9bad;

    font-size: 12px;

    line-height: 2;
}


.rx-login-footer div {

    margin-top: 4px;
}


.rx-login-footer span {

    margin: 0 9px;

    color: #aab6c3;
}


.rx-login-footer strong {

    color: #0879f9;

    letter-spacing: .4px;
}


.rx-login-footer a {

    color: #0874e9;

    text-decoration: none;

    font-weight: 500;
}


.rx-login-footer a:hover {

    text-decoration: underline;
}


/* ==========================================================
   RESPONSIVE — TABLET
========================================================== */

@media (max-width: 1199.98px) {

    .rx-login-page {

        grid-template-columns:
            50% 50%;
    }


    .rx-login-left-content {

        padding:
            45px
            45px
            35px;
    }


    .rx-login-brand img {

        width: 260px;
    }


    .rx-login-powered {

        margin-left: 84px;

        font-size: 15px;
    }


    .rx-login-hero-copy {

        margin-top: 45px;
    }


    .rx-login-hero-copy h1 {

        font-size: 2.5rem;
    }


    .rx-login-features {

        gap: 18px;
    }


    .rx-login-feature-icon {

        width: 45px;
        height: 45px;

        flex-basis: 45px;

        font-size: 19px;
    }


    .rx-login-feature span {

        font-size: 11px;
    }


    .rx-login-right {

        padding:
            30px
            40px
            25px;
    }


    .rx-login-form-wrapper {

        margin-top: 75px;
    }

}


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

@media (max-width: 767.98px) {

    .rx-login-page {

        display: block;

        min-height: 100vh;
    }


    .rx-login-left {

        min-height: 430px;

        height: auto;
    }


    .rx-login-left-content {

        min-height: 430px;

        padding:
            35px
            25px
            30px;
    }


    .rx-login-brand img {

        width: 220px;
    }


    .rx-login-powered {

        margin-left: 68px;

        font-size: 12px;
    }


    .rx-login-hero-copy {

        margin-top: 35px;
    }


    .rx-login-hero-copy h1 {

        font-size: 2rem;

        letter-spacing: -.8px;
    }


    .rx-login-hero-copy p {

        margin-top: 16px;

        font-size: 14px;
    }


    .rx-login-features {

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 16px;

        margin-top: 25px;
    }


    .rx-login-feature-icon {

        width: 40px;
        height: 40px;

        flex-basis: 40px;

        font-size: 17px;
    }


    .rx-login-feature span {

        font-size: 10px;
    }


    .rx-login-company {

        display: none;
    }


    .rx-login-right {

        min-height: 650px;

        padding:
            25px
            22px
            25px;
    }


    .rx-login-top-link {

        justify-content: center;

        gap: 10px;
    }


    .rx-login-top-link span {

        font-size: 12px;
    }


    .rx-login-top-link a {

        height: 40px;

        padding: 0 16px;

        font-size: 12px;
    }


    .rx-login-form-wrapper {

        margin-top: 55px;
    }


    .rx-login-heading h2 {

        font-size: 30px;
    }


    .rx-login-heading p {

        font-size: 15px;
    }


    .rx-login-form {

        margin-top: 40px;
    }


    .rx-login-field {

        margin-bottom: 25px;
    }


    .rx-login-input {

        height: 54px;
    }


    .rx-login-options {

        margin-bottom: 25px;
    }


    .rx-login-remember,
    .rx-login-options > a {

        font-size: 12px;
    }


    .rx-login-submit {

        height: 55px;

        font-size: 16px;
    }


    .rx-login-google {

        height: 52px;

        font-size: 14px;
    }


    .rx-login-footer {

        margin-top: 55px;

        font-size: 10px;
    }

}
/* ==========================================================
   RAPIDXPERTZ LOGIN POPUP - FIT WITHOUT SCROLL
========================================================== */

.rx-login-modal {
    overflow: hidden !important;
}

.rx-login-modal-box {
    width: 100% !important;
    max-width: 620px !important;

    height: auto !important;
    max-height: calc(100vh - 40px) !important;

    overflow: hidden !important;

    border-radius: 20px !important;
}

/* RIGHT LOGIN PANEL */
.rx-login-modal .rx-login-right {
    min-height: 0 !important;
    height: auto !important;

    padding: 28px 42px 20px !important;
}

/* TOP ACCOUNT */
.rx-login-modal .rx-login-top-link {
    gap: 12px !important;
}

.rx-login-modal .rx-login-top-link span {
    font-size: 13px !important;
}

.rx-login-modal .rx-login-top-link a {
    height: 38px !important;
    padding: 0 18px !important;
    font-size: 12px !important;
}

/* LOGIN CONTENT */
.rx-login-modal .rx-login-form-wrapper {
    max-width: 100% !important;
    margin: 32px auto 0 !important;
}

/* HEADING */
.rx-login-modal .rx-login-heading h2 {
    font-size: 30px !important;
    line-height: 1.15 !important;
}

.rx-login-modal .rx-login-heading p {
    margin-top: 6px !important;
    font-size: 15px !important;
}

/* FORM */
.rx-login-modal .rx-login-form {
    margin-top: 28px !important;
}

/* FIELDS */
.rx-login-modal .rx-login-field {
    margin-bottom: 18px !important;
}

.rx-login-modal .rx-login-field label {
    margin-bottom: 7px !important;
    font-size: 13px !important;
}

/* INPUT */
.rx-login-modal .rx-login-input {
    height: 50px !important;
}

.rx-login-modal .rx-login-input > i {
    width: 48px !important;
    font-size: 18px !important;
}

.rx-login-modal .rx-login-input input {
    font-size: 14px !important;
}

/* OPTIONS */
.rx-login-modal .rx-login-options {
    margin-top: -2px !important;
    margin-bottom: 20px !important;
}

.rx-login-modal .rx-login-remember,
.rx-login-modal .rx-login-options > a {
    font-size: 12px !important;
}

/* LOGIN BUTTON */
.rx-login-modal .rx-login-submit {
    height: 50px !important;
    font-size: 14px !important;
}

/* GOOGLE BUTTON */
.rx-login-modal .rx-login-google {
    height: 48px !important;
    font-size: 14px !important;
}

/* FOOTER */
.rx-login-modal .rx-login-footer {
    margin-top: 18px !important;
    font-size: 10px !important;
    line-height: 1.6 !important;
}

.rx-login-modal .rx-login-footer div {
    margin-top: 2px !important;
}

/* MOBILE */
@media (max-width: 767px) {

    .rx-login-modal {
        padding: 10px !important;
    }

    .rx-login-modal-box {
        max-width: 100% !important;
        max-height: calc(100vh - 20px) !important;
        border-radius: 16px !important;
    }

    .rx-login-modal .rx-login-right {
        padding: 22px 20px 16px !important;
    }

    .rx-login-modal .rx-login-form-wrapper {
        margin-top: 25px !important;
    }

    .rx-login-modal .rx-login-form {
        margin-top: 22px !important;
    }

    .rx-login-modal .rx-login-field {
        margin-bottom: 15px !important;
    }

    .rx-login-modal .rx-login-input {
        height: 48px !important;
    }

    .rx-login-modal .rx-login-heading h2 {
        font-size: 26px !important;
    }
}

/* LOGIN POPUP CLOSE BUTTON — TOP RIGHT */

#rxLoginModal .rx-login-modal-box {
    position: relative !important;
}

#rxLoginModal #rxLoginClose {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    bottom: auto !important;

    width: 38px !important;
    height: 38px !important;

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

    border: 0 !important;
    border-radius: 50% !important;

    background: #f1f5f9 !important;
    color: #526b84 !important;

    cursor: pointer !important;
    z-index: 9999 !important;
}

#rxLoginModal #rxLoginClose:hover {
    background: #0879f9 !important;
    color: #ffffff !important;
}
