/* ===========================
   XS / Compact Layout
=========================== */

.xs-page {
    font-size: 11px;
}

.xs-page .card-body,
.xs-page .card-header,
.xs-page .card-footer {
    padding: 4px 6px !important;
}

/* Form Controls */
.xs-page .form-control,
.xs-page .custom-select,
.xs-page select {
    height: 24px !important;
    min-height: 24px !important;
    font-size: 11px !important;
    padding: 1px 4px !important;
}

.xs-page textarea.form-control {
    min-height: 50px !important;
}

/* Buttons */
.xs-page .btn-xs {
    padding: 1px 5px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
}

/* Table */
.xs-page table {
    font-size: 10.5px;
    margin-bottom: 0;
}

.xs-page table th,
.xs-page table td {
    padding: 2px 4px !important;
    vertical-align: middle !important;
    white-space: nowrap;
}

.xs-page .table-sm td,
.xs-page .table-sm th {
    padding: 2px 4px !important;
}

.xs-page .dataTables_filter {
    display: block !important;
    margin: 0 !important;
}

.xs-page .dataTables_filter label {
    margin: 0 !important;
    width: 100%;
}

.xs-page .dataTables_filter input {
    display: inline-block !important;
    height: 24px !important;
    width: 160px !important;
    font-size: 11px !important;
    padding: 1px 5px !important;
}


/* Badge */
.xs-page .badge {
    font-size: 9.5px;
    padding: 2px 5px;
}

/* Select2 */
.xs-page .select2-container--default .select2-selection--single {
    height: 24px !important;
    min-height: 24px !important;
    font-size: 11px !important;
}

.xs-page .select2-selection__rendered {
    line-height: 22px !important;
}

.xs-page .select2-selection__arrow {
    height: 22px !important;
}

/* DataTables */
.dataTables_filter input {
    height: 26px !important;
    font-size: 11px !important;
}

.dataTables_length select {
    height: 26px !important;
    font-size: 11px !important;
}

.dt-buttons .btn {
    padding: 2px 6px !important;
    font-size: 11px !important;
}


 .student-light-page {
        font-size: 12px;
    }

    .student-light-page .card-header {
        padding: 7px 10px;
    }

    .student-light-page .card-body {
        padding: 8px;
    }

    .detail-row {
        margin-bottom: 7px;
    }

    .detail-label {
        display: block;
        font-size: 11px;
        color: #6c757d;
    }

    .detail-value {
        font-weight: 600;
        color: #222;
    }

    .small-action-btn {
        font-size: 11px;
        padding: 2px 8px;
    }

/* <div class="student-page container-fluid"> */
 .student-page {
        font-size: 12px;
    }

    .student-page .card-header {
        padding: 7px 10px;
    }

    .student-page .card-body {
        padding: 8px;
    }

    .student-page table th,
    .student-page table td {
        padding: 4px 6px !important;
        vertical-align: middle !important;
    }

    .student-page .badge {
        font-size: 10px;
        font-weight: 600;
    }

    .student-list-box {
        max-height: 520px;
        overflow-y: auto;
    }

    .student-list-item {
        padding: 5px 7px;
        border-bottom: 1px solid #eee;
        display: block;
        color: #333;
        text-decoration: none;
    }

    .student-list-item:hover {
        background: #f8f9fa;
        text-decoration: none;
        color: #000;
    }

    .student-list-item.active {
        background: #e9ecef;
        font-weight: 600;
    }

    .small-action-btn {
        font-size: 11px;
        padding: 2px 8px;
    }

    .student-photo {
        width: 86px;
        height: 86px;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid #ddd;
        background: #f8f9fa;
    }

    .detail-row {
        margin-bottom: 6px;
    }

    .detail-label {
        color: #6c757d;
        font-size: 11px;
        display: block;
    }

    .detail-value {
        font-weight: 600;
        color: #222;
    }

    .sipara-table th,
    .sipara-table td {
        text-align: center;
        width: 32px;
        height: 28px;
        font-size: 11px;
        padding: 2px !important;
    }

    .sipara-cell {
        border-radius: 4px;
        display: block;
        padding: 4px 0;
        font-weight: 600;
        color: #333;
        background: #f8f9fa;
        border: 1px solid #dee2e6;
    }

    .status-class-1,
    .status-class-4,
    .status-class-5 {
        background: #d1e7dd !important;
        color: #0f5132 !important;
    }

    .status-class-2,
    .status-class-3 {
        background: #fff3cd !important;
        color: #664d03 !important;
    }

    .status-class-0 {
        background: #f8f9fa !important;
        color: #6c757d !important;
    }

    @font-face {
  font-family: 'Jameel Noori Nastaleeq';
  src: url('jameel.ttf') format('truetype'); /* Path is relative to your css folder */
  font-weight: normal;
  font-style: normal;
}