/* =========================================================
   LOGIN + FORGOT PASSWORD
   COMMON AUTH PAGE STYLES
   ========================================================= */

.login_page,
.forgot-page {
    width: 100%;
    min-height: 75vh;
    padding: 36px 20px;
    background:
        radial-gradient(
            circle at top left,
            color-mix(in srgb, var(--primary-color) 10%, transparent),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f7f8fb 0%,
            #eef1f6 100%
        );
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    backdrop-filter: blur(30px);
}

.login_main {
    width: 100%;
}

/* =========================================================
   COMMON CONTAINER
   ========================================================= */



/* =========================================================
   COMMON INNER
   ========================================================= */

.login_section,
.forgot-inr {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* =========================================================
   COMMON CARD WIDTH
   ========================================================= */

.login_section_otr,
#password-lost-form-wrap {
    width: 100%;
    max-width: 470px;
}

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

.login_section_inr,

#password-lost-form-wrap .account-page-form {
    width: 100%;
    background: #ffffff;
    padding: 40px;
    border: 1px solid rgba(21, 21, 21, 0.06);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(21, 21, 21, 0.10);
    box-sizing: border-box;
}

/* =========================================================
   LOGIN TITLE
   + FORGOT PASSWORD TITLE
   ========================================================= */

.login_section_inr_title,
#password-lost-form-wrap legend {
    text-align: center;
}

/* Login title */

.login_section_inr_title {
    margin-bottom: 28px;
}

.login_section_inr_title h3,

#password-lost-form-wrap legend {
    margin: 0;
    padding: 0;
    color: #151515;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

/* Forgot Password title spacing */

#password-lost-form-wrap legend {
    width: 100%;
    margin-bottom: 28px;
}

/* =========================================================
   TITLE UNDERLINE
   ========================================================= */

.login_section_inr_title h3::after,

#password-lost-form-wrap legend::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    margin: 12px auto 0;
    background: var(--primary-color);
    border-radius: 10px;
}

/* =========================================================
   MESSAGE
   ========================================================= */

.messageer {
    display: none;
    margin-bottom: 18px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.messageer.success {
    display: block;
    background: #f1fdf3;
    color: #16803c;
    border: 1px solid #bde8c9;
}

.messageer.error {
    display: block;
    background: #fff1f1;
    color: #e21e24;
    border: 1px solid #f3b8ba;
}

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

.login_section_enter_text_otr {
    width: 100%;
}

.login_section_enter_text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login_section_input {
    width: 100%;
    position: relative;
}

/* =========================================================
   TURNSTILE
   ========================================================= */

.recpathca_sec_submit {
    margin-top: 22px;
}

.recpathca_sec {
    width: 100%;
}
.login_section_input input,#lostpasswordform input{ 

    width: 100%;
}
#turnstile-widget {
    width: 100%;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 8px;
    overflow: hidden;
}

.cf-turnstile {
    max-width: 100%;
}

/* =========================================================
   TURNSTILE / LOGIN ERROR
   ========================================================= */

.msg-error.error {
    display: block;
    min-height: 18px;
    margin: 5px 0 16px;
    color: #e21e24;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

/* =========================================================
   LOGIN SUBMIT AREA
   ========================================================= */

.a_submit {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================================================
   COMMON BUTTON
   ========================================================= */

.a_submit button,

#password-lost-form-wrap #reset-pass-submit {
    width: 100%;
    height: 54px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;

    box-shadow:
        0 8px 20px
        color-mix(
            in srgb,
            var(--primary-color) 25%,
            transparent
        );

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

/* =========================================================
   BUTTON HOVER
   ========================================================= */

.a_submit button:hover,

#password-lost-form-wrap #reset-pass-submit:hover {
    opacity: 0.92;
    transform: translateY(-1px);

    box-shadow:
        0 10px 25px
        color-mix(
            in srgb,
            var(--primary-color) 30%,
            transparent
        );
}

/* =========================================================
   BUTTON ACTIVE
   ========================================================= */

.a_submit button:active,

#password-lost-form-wrap #reset-pass-submit:active {
    transform: translateY(0);
}

/* =========================================================
   BUTTON DISABLED
   ========================================================= */

.a_submit button:disabled,

#password-lost-form-wrap #reset-pass-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* =========================================================
   FORGOT PASSWORD LINK
   ========================================================= */

.btn-notlogin {
    display: inline-block;
    margin-top: 18px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.btn-notlogin:hover {
    color: #151515;
    text-decoration: underline;
}

/* =========================================================
   FORGOT PASSWORD DESCRIPTION
   ========================================================= */

#password-lost-form-wrap .somfrp-lost-pass-form-text {
    margin: 0 0 25px;
    text-align: center;
}

#password-lost-form-wrap .somfrp-lost-pass-form-text p {
    margin: 0;
    color: #6f7680;
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================================
   FORGOT PASSWORD FIELDSET
   ========================================================= */

#password-lost-form-wrap fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

/* =========================================================
   FORGOT PASSWORD FORM GROUP
   ========================================================= */

#password-lost-form-wrap p.no-margin {
    margin: 0;
}

/* =========================================================
   FORGOT PASSWORD LABEL
   ========================================================= */

#password-lost-form-wrap label {
    display: block;
    margin: 0 0 8px;
    color: #151515;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

/* =========================================================
   FORGOT PASSWORD SUBMIT
   ========================================================= */

#password-lost-form-wrap .lostpassword-submit {
    margin-top: 22px;
}

/* =========================================================
   VALIDATION ERROR INPUT
   ========================================================= */

.login_section_input input.input-error,

#password-lost-form-wrap input.error,

#password-lost-form-wrap input.input-error {
    border-color: #e21e24;
    background: #fff8f8;
}

/* =========================================================
   VALIDATION ERROR FOCUS
   ========================================================= */

.login_section_input input.input-error:focus,

#password-lost-form-wrap input.error:focus,

#password-lost-form-wrap input.input-error:focus {
    border-color: #e21e24;
    box-shadow: 0 0 0 4px rgba(226, 30, 36, 0.10);
}

/* =========================================================
   FORGOT PASSWORD ERROR
   ========================================================= */

#password-lost-form-wrap .error,
#password-lost-form-wrap .somfrp-errors {
    color: #e21e24;
    font-size: 13px;
    line-height: 1.5;
}

#password-lost-form-wrap .somfrp-errors {
    margin: 12px 0 0;
    padding: 10px 12px;
    background: #fff1f1;
    border: 1px solid #f3b8ba;
    border-radius: 8px;
}

/* =========================================================
   SUCCESS MESSAGE
   ========================================================= */

#password-lost-form-wrap .somfrp-success,
#password-lost-form-wrap .success {
    margin: 0 0 20px;
    padding: 12px 15px;
    color: #16803c;
    background: #f1fdf3;
    border: 1px solid #bde8c9;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   LOGIN LOADING
   ========================================================= */

.a_submit button.loading {
    position: relative;
    pointer-events: none;
    color: transparent;
}

.a_submit button.loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: loginLoader 0.7s linear infinite;
}

@keyframes loginLoader {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

    .login_page,
    .forgot-page {
        min-height: auto;
        padding: 45px 15px;
    }

    .login_section_inr,

    #password-lost-form-wrap .account-page-form {
        padding: 30px 22px;
        border-radius: 16px;
    }

    .login_section_inr_title {
        margin-bottom: 24px;
    }

    .login_section_inr_title h3,

    #password-lost-form-wrap legend {
        font-size: 25px;
    }

    #password-lost-form-wrap legend {
        margin-bottom: 24px;
    }

    .login_section_input input,

    #password-lost-form-wrap input[type="text"],

    .a_submit button,

    #password-lost-form-wrap #reset-pass-submit {
        height: 52px;
    }
}

@media (max-width: 400px) {

    .login_page,
    .forgot-page {
        padding: 30px 12px;
    }

    .login_section_inr,

    #password-lost-form-wrap .account-page-form {
        padding: 25px 18px;
    }

    .login_section_inr_title h3,

    #password-lost-form-wrap legend {
        font-size: 23px;
    }

    #password-lost-form-wrap .somfrp-lost-pass-form-text p {
        font-size: 13px;
    }
}