﻿.call-for-enrolment-form {
    max-width: 800px;
    margin: 20px auto;
    border: 1px solid #000;
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    background-color: white;
}

.form-header {
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #000;
    background-color: #f0f0f0;
}

    .form-header img {
        max-width: 80px;
        float: left;
        margin-right: 15px;
    }

    .form-header h4, .form-header h5 {
        margin: 0;
        line-height: 1.2;
    }

.form-section-title {
    background-color: #D3D3D3;
    padding: 4px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #000;
    border-top: 1px solid #000;
}

.form-section-content {
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-field {
    flex: 1 1 48%;
    min-width: 250px;
}

.form-field-label {
    font-size: 0.85em;
    margin-bottom: 2px;
}

.form-box {
    border: 1px solid #000;
    padding: 4px;
    min-height: 24px;
    background-color: #fff;
}

.table-container {
    padding: 10px;
    border-top: 1px solid #000;
}

.form-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

    .form-table th, .form-table td {
        border: 1px solid #000;
        padding: 4px;
        text-align: left;
        vertical-align: top;
    }

    .form-table th {
        background-color: #f0f0f0;
        text-align: center;
    }

    .form-table .seq-no {
        width: 5%;
        text-align: center;
    }

    .form-table .attendance {
        width: 10%;
    }

.summary-section {
    padding: 10px;
    border-top: 1px solid #000;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.summary-item {
    flex: 1 1 30%;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}

/* Correctly defined class for hiding from view but not from rendering */
.hidden-for-download {
    position: absolute;
    left: -9999px;
    width: 800px;
}

/* Print-specific styles */
@media print {
    .print-hidden {
        display: none !important;
    }

    .page-break-after {
        page-break-after: always;
    }

    body {
        margin: 0;
    }

    .call-for-enrolment-form {
        width: 800px; /
        margin: 0 0 20px 0; 
        border: 1px solid #000;
        font-family: 'Arial', sans-serif;
        font-size: 12px;
        background-color: white;       
    }
}
