/**
 * Exam Preparation public UI — scoped overrides only.
 * Loaded only on /exam-preparation/* pages. Does not modify main-site CSS files.
 */

body.exam-prep-public {
    font-family: Arial, Helvetica, sans-serif !important;
    color: #2d3748;
}

body.exam-prep-public,
body.exam-prep-public p,
body.exam-prep-public span,
body.exam-prep-public a,
body.exam-prep-public li,
body.exam-prep-public label,
body.exam-prep-public input,
body.exam-prep-public select,
body.exam-prep-public textarea,
body.exam-prep-public button,
body.exam-prep-public .btn,
body.exam-prep-public .rbt-btn,
body.exam-prep-public h1,
body.exam-prep-public h2,
body.exam-prep-public h3,
body.exam-prep-public h4,
body.exam-prep-public h5,
body.exam-prep-public h6,
body.exam-prep-public .modal,
body.exam-prep-public .form-control,
body.exam-prep-public .form-label {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Keep icon fonts intact (do not inherit Arial) */
body.exam-prep-public [class^="feather-"],
body.exam-prep-public [class*=" feather-"] {
    font-family: "Feather", feather !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

body.exam-prep-public .fab,
body.exam-prep-public .fa-brands {
    font-family: "Font Awesome 5 Brands", "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

body.exam-prep-public .fas,
body.exam-prep-public .fa-solid,
body.exam-prep-public .far,
body.exam-prep-public .fa-regular,
body.exam-prep-public .fa {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
}

body.exam-prep-public .fas,
body.exam-prep-public .fa-solid,
body.exam-prep-public .fa {
    font-weight: 900 !important;
}

/* Toasts must sit above Bootstrap modal (1055) so submit feedback is visible */
body.exam-prep-public .toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000 !important;
}

body.exam-prep-public #leadModal .form-control,
body.exam-prep-public #leadModal select,
body.exam-prep-public #leadModal input[type="text"],
body.exam-prep-public #leadModal input[type="email"],
body.exam-prep-public #leadModal input[type="tel"],
body.exam-prep-public #leadModal input[type="number"] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background: #fff;
}

body.exam-prep-public #leadModal .is-invalid {
    border-color: #dc3545 !important;
}

body.exam-prep-public #leadFormErrors {
    display: none;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c2c7;
    font-size: 0.9rem;
}

body.exam-prep-public #leadFormErrors.show {
    display: block;
}

body.exam-prep-public #leadForm .field-error {
    display: block;
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

body.exam-prep-public #leadForm button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

body.exam-prep-public main.container-fluid {
    min-height: 40vh;
}
