/**
 * ============================================
 * Lead Enrolment Form Styles
 * Module: admission_enquire_now
 * Version: 17.0.1.0.0
 * ============================================
 */

/* ============================================
   Global Scroll & Layout Settings
   ============================================ */
html,
body {
    scroll-behavior: smooth;
    height: auto !important;
    min-height: 100% !important;
    overflow-y: auto !important;
}

.o_main {
    height: auto !important;
    min-height: 100% !important;
    overflow-y: auto !important;
}

.o_web_client {
    height: auto !important;
    overflow-y: auto !important;
}

/* ============================================
   Form Container
   ============================================ */
.enrol-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   Typography
   ============================================ */
.form-title {
    font-weight: 700;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.section-title {
    font-weight: 600;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #34495e;
    padding-bottom: 5px;
    border-bottom: 1px solid #e5e5e5;
}



/* ============================================
   Child Blocks
   ============================================ */
.child-block {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    background: #fafafa;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: none; /* Hidden by default */
}

.child-block:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.child-block h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ============================================
   Form Elements Enhancements
   ============================================ */
#lead_enrolment_form .form-label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
}

#lead_enrolment_form .form-control:focus,
#lead_enrolment_form .form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.15);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .enrol-card {
        padding: 20px;
    }

    .form-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 18px;
    }

    .child-block {
        padding: 15px;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .child-block {
        page-break-inside: avoid;
    }
}