
/* Staging-only gatorFAST student UX */

/* Center Tutor LMS student login */
body.page .tutor-login-wrap,
body.page .tutor-login-form-wrapper,
body.page .tutor-login-form {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

body.page .tutor-login-wrap {
    padding: 28px;
}

/* Registration completion */
body.gf-registration-complete #tutor-registration-wrap {
    max-width: 560px !important;
}

body.gf-registration-complete #tutor-registration-form {
    display: none !important;
}

body.gf-registration-complete .gf-success-card {
    padding: 38px 30px;
    text-align: center;
    background: #fff;
}

.gf-success-card h2 {
    font-size: 26px;
    line-height: 1.3;
    margin: 15px 0;
}

.gf-success-card p {
    font-size: 16px;
    line-height: 1.7;
    margin: 12px 0;
}

.gf-success-icon {
    display: inline-flex;
    width: 66px;
    height: 66px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e5f5ed;
    color: #16865a;
    font-size: 38px;
}

.gf-success-hint {
    color: #657185;
    font-size: 14px !important;
}

.gf-success-button {
    display: inline-block;
    margin-top: 18px;
    padding: 13px 25px;
    background: #4169e1;
    color: white !important;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 600;
}

/* Consistent, readable student registration and login fields */
#tutor-registration-form input:not([type="checkbox"]):not([type="hidden"]),
.tutor-login-form input:not([type="checkbox"]):not([type="hidden"]),
.tutor-login-wrap input:not([type="checkbox"]):not([type="hidden"]) {
    font-size: 16px !important;
    min-height: 46px;
    line-height: 1.5;
}

#tutor-registration-form input::placeholder,
.tutor-login-form input::placeholder,
.tutor-login-wrap input::placeholder {
    font-size: 16px !important;
    opacity: 0.75;
}

#tutor-registration-form label,
.tutor-login-form label,
.tutor-login-wrap label {
    font-size: 16px;
}

.tutor-login-form button,
.tutor-login-wrap button {
    font-size: 16px;
}

/* Student Login: final typography and spacing */
body.page .tutor-login-wrap h1,
body.page .tutor-login-wrap h2,
body.page .tutor-login-form-wrapper h1,
body.page .tutor-login-form-wrapper h2 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
}

body.page .tutor-login-form button[type="submit"],
body.page .tutor-login-wrap button[type="submit"],
body.page .tutor-login-form-wrapper button[type="submit"] {
    font-size: 17px !important;
    font-weight: 600 !important;
    min-height: 48px;
    line-height: 1.4;
}

body.page .tutor-login-wrap a,
body.page .tutor-login-form-wrapper a,
body.page .tutor-login-form a {
    font-size: 15px;
}

body.page .tutor-login-wrap label,
body.page .tutor-login-form-wrapper label,
body.page .tutor-login-form label {
    font-size: 15px;
    line-height: 1.5;
}

/* Keep checkbox controls from overlapping the Sign In button */
body.page .tutor-login-wrap input[type="checkbox"],
body.page .tutor-login-form-wrapper input[type="checkbox"],
body.page .tutor-login-form input[type="checkbox"] {
    min-height: 0;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

/* Student Login: prevent button from overlapping checkbox and links */
body.page .tutor-login-wrap button[type="submit"],
body.page .tutor-login-form button[type="submit"],
body.page .tutor-login-form-wrapper button[type="submit"] {
    margin-top: 28px !important;
    position: relative;
    z-index: 0;
}

/* Restore comfortable spacing around the checkbox */
body.page .tutor-login-wrap input[type="checkbox"],
body.page .tutor-login-form input[type="checkbox"],
body.page .tutor-login-form-wrapper input[type="checkbox"] {
    margin: 0 8px 0 0 !important;
    vertical-align: middle;
}

/* Student Registration: match Sign In button typography */
#tutor-registration-form button[type="submit"],
#tutor-registration-form button[name="tutor_register_student_btn"] {
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    min-height: 48px;
}

/* Registration footer links */
#tutor-registration-form a {
    font-size: 15px;
}

/* gatorFAST staging: Contact Form 7 Turnstile layout */
.eb-contact-us-form .cf7-cf-turnstile {
    display: block !important;
    position: relative;
    margin: 0 0 28px 0 !important;
    clear: both;
}

.eb-contact-us-form .cf-turnstile {
    margin-bottom: 12px !important;
}

.eb-contact-us-form .eb-contact-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

/* gatorFAST staging - CF7 Turnstile spacing correction */
.wpcf7 .cf7-cf-turnstile {
    display: block !important;
    position: static !important;
    clear: both !important;
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    padding-bottom: 0 !important;
}

.wpcf7 .cf7-cf-turnstile + br {
    display: none !important;
}

.wpcf7 .cf7-cf-turnstile .cf-turnstile {
    display: block !important;
    margin-bottom: 12px !important;
}

.wpcf7 .eb-contact-button-wrapper {
    height: auto !important;
    min-height: 0 !important;
}

/* gatorFAST: Contact Us validation messages */
.eb-contact-us-form .wpcf7-not-valid-tip,
.eb-contact-us-form .wpcf7-response-output,
.wpcf7 .cf-turnstile-failed-text,
.wpcf7 .cf-turnstile-error {
    color: #C62828 !important;
}

/* gatorFAST Contact Us: CF7 validation errors */
body .wpcf7 form.invalid .wpcf7-response-output,
body .wpcf7 form[data-status="invalid"] .wpcf7-response-output,
body .wpcf7 form.spam .wpcf7-response-output,
body .wpcf7 form[data-status="spam"] .wpcf7-response-output {
    color: #C62828 !important;
    border-color: #C62828 !important;
    font-weight: 600 !important;
}

/* Keep successful submissions green */
body .wpcf7 form.sent .wpcf7-response-output,
body .wpcf7 form[data-status="sent"] .wpcf7-response-output {
    color: #16803C !important;
}

/* gatorFAST: Regular-weight validation messages */
body .wpcf7 form.invalid .wpcf7-response-output,
body .wpcf7 form[data-status="invalid"] .wpcf7-response-output,
body .wpcf7 form.spam .wpcf7-response-output,
body .wpcf7 form[data-status="spam"] .wpcf7-response-output {
    color: #C62828 !important;
    font-weight: 400 !important;
}


/* Center resend verification link on registration success */
body.gf-registration-complete .gf-success-card #gf-resend-panel {
    margin: 12px auto 18px !important;
    text-align: center !important;
}








/* GatorFAST: show existing Logout item in mobile Account menu */
@media (max-width: 767px) {
    .tutor-dashboard-header-user-popover-menu > li:last-child {
        display: list-item !important;
        visibility: visible !important;
    }

    .tutor-dashboard-header-user-popover .tutor-mobile-logout-wrapper {
        display: none !important;
    }
}
