.custom-btn {
    padding: 0.2rem 0.4rem !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    height: 25px !important;
    text-align: center !important;
}

.dataTables_wrapper thead th {
    border-top: 1px solid rgba(108, 117, 125, 0.15) !important;
    border-left: 1px solid rgba(108, 117, 125, 0.15) !important;
    border-right: 1px solid rgba(108, 117, 125, 0.15) !important;
    font-family: Arial, sans-serif;
    font-size: 0.72rem !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
    margin-right: 3px !important;
    font-weight: medium !important;
}

.dataTables_wrapper #example tbody td {
    font-family: Arial, sans-serif !important;
    font-weight: 300 !important;
    font-size: 0.70rem !important;
}

.dataTables_wrapper #example th,
#example td {
    width: 150px !important;
}

.dataTables_wrapper #example::-webkit-scrollbar {
    height: 5px !important;
}

.dataTables_wrapper #example::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

.dataTables_wrapper #example::-webkit-scrollbar-thumb {
    background: #888 !important;
}

/* Custom CSS for Table Pagination */
.dataTables_info {
    font-size: 0.9rem;
}

/* Custom CSS for Pagination */
.page-link {
    font-size: 0.9rem;
}

/* Custom CSS for Table Pagination and Search */
.dataTables_length label,
.dataTables_filter label {
    font-size: 0.8rem;
    /* Reduced font size for labels */
}

.dataTables_length select,
.dataTables_filter input {
    font-size: 0.9rem;
    /* Reduced font size for select and input */
    height: 27px !important;
    font-size: small;
}

/* Custom CSS for smaller DataTables buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    /* Adjust font size as needed */
}

/* Custom CSS for smaller DataTables buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    /* Adjust font size as needed */
}

/* Custom CSS for non-responsive DataTable with horizontal scrollbar */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_paginate {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* Datatable sweet alert */
.swal2-popup {
    font-size: 12px !important;
    max-width: 300px !important;
    padding-top: 10px !important;
}

.swal2-icon {
    margin-bottom: 0 !important;
}

.swal2-title {
    font-size: 14px !important;
    margin: 0 !important;
    margin-bottom: 0px !important;
}

.swal2-content {
    font-size: 8px !important;
    margin: 0 !important;
    margin-bottom: 5px !important;
}

.swal2-actions {
    margin-top: 5px !important;
}

.swal2-actions button {
    padding: 5px 10px !important;
    font-size: 12px !important;
    margin-right: 5px !important;
}

/* Success fail alerts on data submission */

/* Data table modals */
@media (max-width: 768px) {
    #addClassModal .modal-dialog {
        max-width: 85%;
        margin: auto;
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}