/* Forms - Smaller Inputs */
.form-control {
    padding: 0.2rem 0.3rem !important;
    /* Smaller padding for inputs */
    font-size: 0.75rem !important;
    /* Smaller font size for inputs */
    height: auto !important;
    /* Let height adjust automatically */
}

.input-group-text {
    padding: 0.2rem 0.3rem !important;
    /* Smaller input group text padding */
    font-size: 0.75rem !important;
    /* Smaller font size */
}

.select,
select {
    padding: 0.2rem 0.3rem !important;
    /* Smaller padding for select dropdowns */
    font-size: 0.75rem !important;
    /* Smaller font size for select dropdowns */
    height: auto !important;
    /* Let height adjust */
}

textarea {
    padding: 0.2rem 0.3rem !important;
    /* Smaller padding for textarea */
    font-size: 0.75rem !important;
    /* Smaller font size for textarea */
    height: auto !important;
    /* Allow automatic height adjustment */
}

.form-group {
    margin-bottom: 0.2rem !important;
    /* Less space between form groups */
}

/* Smaller Labels */
.form-check-label,
label {
    font-size: 0.90rem !important;
    /* Smaller font for form labels */
}

.sidebar-wrapper .metismenu a {
    font-size: 0.90rem !important;
}


/* Smaller Input and Checkbox Radios */
.form-check-input {
    width: 0.8rem !important;
    /* Smaller size for checkboxes/radios */
    height: 0.8rem !important;
}

/* Buttons inside forms */
.btn {
    padding: 0.30rem 0.35rem !important;
    /* Smaller button padding */
    font-size: 0.75rem !important;
    /* Smaller button text */
}



/* datatables  */
/* Reduce padding and font size for DataTables */
table.dataTable tbody td {
    padding: 4px 8px;
    /* Adjust padding to reduce cell size */
    font-size: 12px;
    /* Smaller font size */
}

table.dataTable thead th {
    padding: 6px 10px;
    /* Adjust header padding */
    font-size: 12px;
    /* Smaller font size for headers */
}

/* Reduce pagination controls size */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 2px 1px;
    /* Smaller pagination buttons */
    font-size: 12px;
    /* Smaller pagination font */
}

/* Compact search and length controls */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 5px;
    /* Reduce space between controls */
    font-size: 12px;
    /* Smaller font size */
}