/**
 * -----------------------------------------------------------------------
 * @author     Akshari Solutions
 * @copyright  (c) 2026 Akshari Solutions. All rights reserved.
 * -----------------------------------------------------------------------
 *
 * Enrollment form (/enroll). Moved from the inline <style> of the old view.
 * The old rules targeted bare h1/h2/h3/ul/li/.container, which also
 * restyled the site header and footer on this page; they are scoped to the
 * conditions block now.
 */

/* The page title is the <h1> banner; this heading was a second <h1> with
   the theme's plain h1 look, kept as it was. */
.enroll-section .sec-title .enroll-title {
    font-size: 40px;
    font-weight: 400;
    line-height: 50px;
}

/* ===== Wizard ===== */

.enroll-section .wizard-step {
    display: none;
}

.enroll-section .wizard-step.is-active {
    display: block;
}

.enroll-progress {
    height: 8px;
}

.enroll-section .enroll-field,
.enroll-section .enroll-agreement {
    margin: 10px 0;
}

.enroll-section .enroll-agreement {
    margin: 25px 0;
}

/* Submit button while the form is being sent */
.enroll-section #submit-btn:disabled {
    opacity: .65;
    cursor: wait;
}

/* ===== Signature pad ===== */

.signature-pad-wrap {
    overflow: hidden;
}

.signature-pad {
    display: block;
    width: 100%;
    max-width: 500px;
    height: 180px;
    background: #fff;
    border: 1px dashed #adb5bd;
    border-radius: 4px;
    touch-action: none;
}

/* ===== Conditions of Enrollment (step 4) ===== */

.enrollment-conditions {
    width: 100%;
    padding: 0 15px;
}

.enrollment-conditions .conditions-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 20px;
}

.enrollment-conditions .conditions-header h2 {
    margin: 0;
    color: #0056b3;
    font-size: 28px;
    border: 0;
    padding: 0;
}

.enrollment-conditions .school-info {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.enrollment-conditions .school-info p {
    margin: 8px 0;
}

.enrollment-conditions .conditions-mission {
    text-align: center;
    font-style: italic;
    margin: 30px 0;
}

.enrollment-conditions h3 {
    color: #0056b3;
    border-left: 5px solid #007bff;
    padding-left: 12px;
    margin: 35px 0 15px;
    font-size: 24px;
}

.enrollment-conditions ul {
    padding-left: 25px;
    margin: 12px 0;
}

.enrollment-conditions li {
    margin-bottom: 8px;
}

.enrollment-conditions .conditions-closing {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
}

@media (max-width: 600px) {
    .enrollment-conditions .conditions-header h2 {
        font-size: 24px;
    }

    .enrollment-conditions h3 {
        font-size: 20px;
    }
}
