/* Final auth layout adjustments. This file intentionally loads after all Tutor styles. */
.tutor-template-segment.tutor-login-wrap {
    flex: 0 1 620px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.tutor-login-form-wrapper {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
}

.tutor-login-form-wrapper > *,
.tutor-login-form-wrapper #tutor-login-form,
.tutor-login-form-wrapper #tutor-login-form > *,
.tutor-login-form-wrapper .tutor-password-strength-checker {
    min-width: 0;
    max-width: 100%;
}

.tutor-login-form-wrapper > .tutor-fs-5,
.tutor-login-form-wrapper > .tutor-color-black,
.tutor-login-form-wrapper > .tutor-fs-5.tutor-color-black {
    color: #ffffff !important;
}

#tutor-login-form .tutor-btn-ghost,
#tutor-login-form .tutor-text-center a:not(.tutor-btn) {
    font-size: 18.4px !important;
}

#tutor-login-form input[type="text"],
#tutor-login-form input[type="email"],
#tutor-login-form input[type="password"],
#tutor-login-form input[type="checkbox"],
#tutor-login-form button,
#tutor-login-form .tutor-btn,
#tutor-login-form .tutor-alert,
#tutor-login-form .tutor-notice,
#tutor-login-form a:focus-visible {
    border-radius: 0 !important;
}

#tutor-login-form input[type="text"],
#tutor-login-form input[type="email"],
#tutor-login-form input[type="password"],
#tutor-login-form button[type="submit"],
#tutor-login-form .tutor-btn-primary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#tutor-login-form .tutor-d-flex.tutor-justify-between {
    width: 100%;
    min-width: 0;
}

#tutor-login-form .tutor-form-check {
    min-width: 0;
}

#tutor-login-form .tutor-form-check label,
#tutor-login-form .tutor-btn-ghost,
#tutor-login-form .tutor-text-center,
#tutor-login-form .tutor-text-center a {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

#tutor-login-form .tutor-btn-ghost {
    flex: 0 1 auto;
    text-align: center;
}

#tutor-login-form .tutor-text-center {
    width: 100%;
}

.tutor-wrap.tutor-dashboard .tutor-container {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.tutor-dashboard .rbt-dashboard-content.bg-color-white.rbt-shadow-box,
.tutor-dashboard .rbt-dashboard-content,
.tutor-dashboard .content.tutor-dashboard-content {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.tutor-forgot-password-form.tutor-ResetPassword.lost_reset_password,
.tutor-reset-password-form.tutor-ResetPassword.lost_reset_password {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
}

.tutor-ResetPassword input[type="text"],
.tutor-ResetPassword input[type="email"],
.tutor-ResetPassword input[type="password"],
.tutor-ResetPassword button,
.tutor-ResetPassword .tutor-btn,
.tutor-ResetPassword .tutor-alert {
    border-radius: 0 !important;
}

body.histudy-child-tutor-auth-page {
    max-width: 100%;
    overflow-x: hidden;
}

body.histudy-child-tutor-login-page .tutor-page-wrap,
body.histudy-child-tutor-login-page .histudy-child-login-shell,
body.histudy-child-tutor-reset-page .tutor-wrap.tutor-dashboard,
body.histudy-child-tutor-reset-page .tutor-container,
body.histudy-child-tutor-reset-page .tutor-dashboard-content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    body.histudy-child-tutor-login-page .tutor-page-wrap.rbt-section-gap,
    body.histudy-child-tutor-login-page .histudy-child-login-shell.rbt-section-gap,
    body.histudy-child-tutor-reset-page .tutor-wrap.tutor-dashboard.rbt-dashboard-area {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    .tutor-template-segment.tutor-login-wrap {
        flex-basis: 100% !important;
    }

    .tutor-login-form-wrapper,
    .tutor-forgot-password-form.tutor-ResetPassword.lost_reset_password,
    .tutor-reset-password-form.tutor-ResetPassword.lost_reset_password {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 24px 20px !important;
    }

    #tutor-login-form .tutor-d-flex.tutor-justify-between {
        flex-wrap: wrap !important;
    }

    #tutor-login-form .tutor-btn-ghost,
    #tutor-login-form .tutor-text-center,
    #tutor-login-form .tutor-text-center a {
        font-size: 16px !important;
    }
}

@media (max-width: 420px) {
    body.histudy-child-tutor-login-page .tutor-page-wrap.rbt-section-gap,
    body.histudy-child-tutor-login-page .histudy-child-login-shell.rbt-section-gap,
    body.histudy-child-tutor-reset-page .tutor-wrap.tutor-dashboard.rbt-dashboard-area {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .tutor-login-form-wrapper,
    .tutor-forgot-password-form.tutor-ResetPassword.lost_reset_password,
    .tutor-reset-password-form.tutor-ResetPassword.lost_reset_password {
        padding: 22px 16px !important;
    }

    #tutor-login-form .tutor-d-flex.tutor-justify-between {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 4px !important;
    }

    #tutor-login-form .tutor-btn-ghost {
        justify-content: flex-start !important;
        width: auto !important;
        padding-left: 0 !important;
        text-align: left;
    }

    #tutor-login-form .tutor-text-center {
        line-height: 1.5;
    }
}

@media (max-width: 340px) {
    .tutor-login-form-wrapper,
    .tutor-forgot-password-form.tutor-ResetPassword.lost_reset_password,
    .tutor-reset-password-form.tutor-ResetPassword.lost_reset_password {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }
}
