/* Bootstrap 5 Utility Class Overrides - Override old Bootstrap 4 compiled CSS */

/* Margin utilities - Bootstrap 5 */
.ms-0 {
    margin-left: 0 !important;
}

.ms-1 {
    margin-left: 0.25rem !important;
}

.ms-2 {
    margin-left: 0.5rem !important;
}

.ms-3 {
    margin-left: 1rem !important;
}

.ms-4 {
    margin-left: 1.5rem !important;
}

.ms-5 {
    margin-left: 3rem !important;
}

.ms-auto {
    margin-left: auto !important;
}

.me-0 {
    margin-right: 0 !important;
}

.me-1 {
    margin-right: 0.25rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

.me-3 {
    margin-right: 1rem !important;
}

.me-4 {
    margin-right: 1.5rem !important;
}

.me-5 {
    margin-right: 3rem !important;
}

.me-auto {
    margin-right: auto !important;
}

/* Padding utilities - Bootstrap 5 */
.ps-0 {
    padding-left: 0 !important;
}

.ps-1 {
    padding-left: 0.25rem !important;
}

.ps-2 {
    padding-left: 0.5rem !important;
}

.ps-3 {
    padding-left: 1rem !important;
}

.ps-4 {
    padding-left: 1.5rem !important;
}

.ps-5 {
    padding-left: 3rem !important;
}

.pe-0 {
    padding-right: 0 !important;
}

.pe-1 {
    padding-right: 0.25rem !important;
}

.pe-2 {
    padding-right: 0.5rem !important;
}

.pe-3 {
    padding-right: 1rem !important;
}

.pe-4 {
    padding-right: 1.5rem !important;
}

.pe-5 {
    padding-right: 3rem !important;
}

/* Font weight utilities - Bootstrap 5 */
.fw-light {
    font-weight: 300 !important;
}

.fw-lighter {
    font-weight: lighter !important;
}

.fw-normal {
    font-weight: 400 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-bolder {
    font-weight: bolder !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

/* Text alignment - Bootstrap 5 */
.text-start {
    text-align: left !important;
}

.text-end {
    text-align: right !important;
}

.text-center {
    text-align: center !important;
}

/* Visibility - Bootstrap 5 */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Grid - Bootstrap 5 */
.g-0 {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

/* DataTables Bootstrap 5 Modern Styling */
.dataTables_wrapper {
    font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* DataTable header styling */
.dataTable thead th {
    border-bottom: 2px solid #dee2e6 !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #6c757d !important;
    background-color: #f8f9fa !important;
    /*    background-color: #000000 !important;*/
    padding: 0.75rem !important;
    vertical-align: middle !important;
    background: white !important;
}

.dataTable tbody tr {
    background: white !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    /* border-radius: .2rem; */
}

/* DataTable body styling */
.dataTable tbody td {
    padding: 0.75rem !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #dee2e6 !important;
    font-size: 0.875rem !important;
    color: #000000 !important;
    background: white !important;
}

/* Row hover effect */
.dataTable tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    /*    background-color: #f8f9fa !important;*/
    /*    background-color: #f8f9fa !important;*/
}

/* Striped rows */
.dataTable tbody tr:nth-of-type(odd) {
    background-color: #ffffff;
    background: white !important;
    /*    background-color: rgba(0, 0, 0, 0.02);*/
}

.dataTable tbody tr:nth-of-type(even) {
    background-color: #ffffff;
    background: white !important;
    /*    background-color: rgba(0, 0, 0, 0.02);*/
}

/* Table borders */
.dataTable {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    overflow: hidden !important;
}

/* Remove default DataTables borders that conflict */
table.dataTable.no-footer {
    border-bottom: 1px solid #dee2e6 !important;
}

/* DataTables pagination styling */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.375rem 0.75rem !important;
    margin: 0 0.125rem !important;
    border-radius: 0.375rem !important;
    border: 1px solid #dee2e6 !important;
    background: #fff !important;
    color: #000000 !important;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
        background: #e9ecef !important;
        border-color: #dee2e6 !important;
        color: #000 !important;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.current,
    .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
        background: #4e73df !important;
        border-color: #4e73df !important;
        color: #fff !important;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
        background: #fff !important;
        color: #6c757d !important;
        cursor: not-allowed !important;
        opacity: 0.5 !important;
    }

/* DataTables info and filter styling */
.dataTables_wrapper .dataTables_info {
    font-size: 0.875rem !important;
    color: #6c757d !important;
    padding-top: 0.75rem !important;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    color: #000000 !important;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 0.875rem !important;
    margin: 0 0.5rem !important;
}

.dataTables_wrapper .dataTables_filter input {
    width: auto !important;
}

    .dataTables_wrapper .dataTables_length select:focus,
    .dataTables_wrapper .dataTables_filter input:focus {
        border-color: #86b7fe !important;
        outline: 0 !important;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
    }

/* DataTables buttons styling */
.dt-buttons .dt-button {
    background: #fff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 13px !important;
    color: #000000 !important;
    margin-right: 0.25rem !important;
    margin-bottom: 0.5rem !important;
}

    .dt-buttons .dt-button:hover {
        background: #e9ecef !important;
        border-color: #dee2e6 !important;
        color: #000 !important;
    }

    .dt-buttons .dt-button:active,
    .dt-buttons .dt-button.active {
        background: #4e73df !important;
        border-color: #4e73df !important;
        color: #fff !important;
    }

.dt-buttons .btn {
    font-size: 13px !important;
}

/* Sorting arrows */
table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before,
table.dataTable thead .sorting_desc_disabled:after {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 0.75rem !important;
    color: #6c757d !important;
}

/* Processing indicator */
.dataTables_processing {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    padding: 1rem !important;
    font-size: 0.875rem !important;
    color: #495057 !important;
}

/* Responsive table adjustments */
@media (max-width: 767.98px) {
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        text-align: left !important;
        margin-bottom: 1rem !important;
    }

    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        text-align: left !important;
        margin-top: 1rem !important;
    }
}

/* Fix for Bootstrap 5 button styling */
.btn {
    border: 1px solid transparent;
    /*    padding: 0rem 0.75rem;*/
    font-size: 1rem;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: var(--accent-primary-color);
    border-color: var(--accent-primary-color);
    /*background-color: #4e73df;
    border-color: #4e73df;*/
}

    .btn-primary:hover {
        color: #fff;
        background-color: var(--accent-primary-color);
        border-color: var(--accent-primary-color);
        /*background-color: #2e59d9;
    border-color: #2653d4;*/
    }

    .btn-primary.focus, .btn-primary:focus {
        color: #fff;
        background-color: var(--accent-primary-color);
        border-color: var(--accent-primary-color);
        box-shadow: 0 0 0 .2rem rgba(151,153,166,.5)
    }

    .btn-primary.disabled, .btn-primary:disabled {
        color: #fff;
        background-color: var(--accent-primary-color);
        border-color: var(--accent-primary-color)
    }

    .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: var(--accent-primary-color);
        border-color: var(--accent-primary-color);
    }

        .btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 .2rem rgba(151,153,166,.5)
        }

.btn-secondary {
    color: #fff;
    background-color: var(--accent-secondary-color);
    border-color: var(--accent-secondary-color); /*#858796;*/
}

    .btn-secondary:hover {
        color: #fff;
        background-color: var(--accent-secondary-color);
        border-color: var(--accent-secondary-color); /*#858796;*/
        /*background-color: #717384;
    border-color: #6b6d7d;*/
    }

    .btn-secondary.focus, .btn-secondary:focus {
        color: #fff;
        background-color: var(--accent-secondary-color);
        border-color: var(--accent-secondary-color); /*#858796;*/
        box-shadow: 0 0 0 .2rem rgba(151,153,166,.5)
    }

    .btn-secondary.disabled, .btn-secondary:disabled {
        color: #fff;
        background-color: var(--accent-secondary-color);
        border-color: var(--accent-secondary-color)
    }

    .btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show > .btn-secondary.dropdown-toggle {
        color: #fff;
        background-color: var(--accent-secondary-color);
        border-color: var(--accent-secondary-color);
    }

        .btn-secondary:not(:disabled):not(.disabled).active:focus, .btn-secondary:not(:disabled):not(.disabled):active:focus, .show > .btn-secondary.dropdown-toggle:focus {
            box-shadow: 0 0 0 .2rem rgba(151,153,166,.5)
        }

.btn-modern {
    padding: 6px 13px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    background: #ffffff
}

    .btn-modern:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.btn-success {
    color: #fff;
    background-color: #1cc88a;
    border-color: #1cc88a;
}

    .btn-success:hover {
        color: #fff;
        background-color: #17a673;
        border-color: #169b6b;
    }

.btn-info {
    color: #fff;
    background-color: #36b9cc;
    border-color: #36b9cc;
}

    .btn-info:hover {
        color: #fff;
        background-color: #2c9faf;
        border-color: #2a96a5;
    }

.btn-warning {
    color: #fff;
    background-color: #f6c23e;
    border-color: #f6c23e;
}

    .btn-warning:hover {
        color: #fff;
        background-color: #f4b619;
        border-color: #f4b30d;
    }

.btn-danger {
    color: #fff;
    background-color: #e74a3b;
    border-color: #e74a3b;
}

    .btn-danger:hover {
        color: #fff;
        background-color: #e02d1b;
        border-color: #d52a1a;
    }

/* Form control styling for Bootstrap 5 */
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6e707e;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #d1d3e2;
    appearance: none;
    border-radius: 0.35rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .form-control:focus {
        color: #6e707e;
        background-color: #fff;
        border-color: #bac8f3;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
    }

.form-select {
    display: block;
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6e707e;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #d1d3e2;
    border-radius: 0.35rem;
    appearance: none;
}

    .form-select:focus {
        border-color: #bac8f3;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
    }

/*listing card*/
.main-card {
    background: white;
    border-radius: 0.75rem;
    /*    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);*/
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 0;
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.card-header {
    background: white;
    padding: 20px 28px;
    border-bottom: none;
}

    .card-header h6 {
        color: white;
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 12px;
    }

.card-body {
    padding: 24px;
    padding-top: 1rem;
    background: #fafbfc;
}


.action-link {
    color: var(--accent-primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 13px;
    margin-right: 12px;
}

    .action-link:hover {
        color: var(--accent-secondary-color);
        text-decoration: none;
    }

.badge {
    padding: 4px 14px;
    border-radius: 50rem;
    font-size: 9px;
    font-weight: 700;
    /* text-transform: uppercase; */
    letter-spacing: 0.5px;
    display: inline-block;
    /* min-width: 80px; */
    text-align: center;
}

.status-badge {
    padding: 4px 14px;
    border-radius: 50rem;
    font-size: 9px;
    font-weight: 700;
    /* text-transform: uppercase; */
    letter-spacing: 0.5px;
    display: inline-block;
    /* min-width: 80px; */
    text-align: center;
    color: var(--accent-badge-text-color);
}

.status-active {
    /*    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: var(--accent-badge-text-color);
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);*/

    background: #ecfdf5;
    color: #047857; /*var(--accent-badge-text-color);*/
    border-color: #a7f3d0;
    /*    box-shadow: 0 .125rem .25rem 0 rgba(58, 59, 69, .2) !important;*/
    font-size: 11px;
    font-weight: 900;
}

.status-disabled {
    /*    color: var(--accent-badge-text-color);*/
    /*    box-shadow: 0 2px 8px rgba(252, 129, 129, 0.3);*/
    background: #fef3c7; /*linear-gradient(135deg, #fc8181 0%, #e53e3e 100%);*/
    color: #b45309;
    font-size: 11px;
    font-weight: 900;
    /*    box-shadow: 0 .125rem .25rem 0 rgba(58, 59, 69, .2) !important;*/
}

.badge-success {
    /*    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: var(--accent-badge-text-color);*/
    /*    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);*/
    background: #ecfdf5;
    color: #047857; /*var(--accent-badge-text-color);*/
    border-color: #a7f3d0;
    /*    box-shadow: 0 .125rem .25rem 0 rgba(58, 59, 69, .2) !important;*/
    font-size: 11px;
    font-weight: 900;
}

.badge-warning {
    /*    color: var(--accent-badge-text-color);*/
    /*    box-shadow: 0 2px 8px rgba(252, 129, 129, 0.3);*/
    background: #fef3c7; /*linear-gradient(135deg, #fc8181 0%, #e53e3e 100%);*/
    color: #b45309;
    border-color: #fde68a;
    font-size: 11px;
    font-weight: 900;
    /*    box-shadow: 0 .125rem .25rem 0 rgba(58, 59, 69, .2) !important;*/
}

.badge-danger {
    /*    color: var(--accent-badge-text-color);*/
    /*    box-shadow: 0 2px 8px rgba(252, 129, 129, 0.3);*/
    background: #ffe4e6; /*linear-gradient(135deg, #fc8181 0%, #e53e3e 100%);*/
    color: #be123c;
    border-color: #fecdd3;
    font-size: 11px;
    font-weight: 900;
    /*    box-shadow: 0 .125rem .25rem 0 rgba(58, 59, 69, .2) !important;*/
}

.badge-secondary {
    /*    color: var(--accent-badge-text-color);*/
    /*    box-shadow: 0 2px 8px rgba(252, 129, 129, 0.3);*/
    background: #f1f5f9; /*linear-gradient(135deg, #fc8181 0%, #e53e3e 100%);*/
    color: #475569;
    border-color: #e5e7eb;
    font-size: 11px;
    font-weight: 900;
    /*    box-shadow: 0 .125rem .25rem 0 rgba(58, 59, 69, .2) !important;*/
}

.display-block {
    display: block;
}

del {
    color: #e53e3e;
    font-size: 13px;
    margin-right: 6px;
}

.text-warning {
    color: #b45309;
}

.text-success {
    color: #047857;
}

.text-danger {
    color: #be123c;
}

.text-secondary {
    color: #475569;
}

.text-primary {
    color: var(--accent-primary-color);
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: var(--accent-primary-color) !important;
    background-color: #fff;
    border-color: #dddfeb #dddfeb #fff;
    font-weight: bold;
}

/* Modern Form Controls */
.form-label-modern {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #000000;
    /*    color: #64748b;*/
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    letter-spacing: 0.025em;
}

.form-control-modern {
    padding: 0.625rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 0.875rem;
    transition: all 0.2s;
    height: calc(1.5em + .5rem + 2px);
}

    .form-control-modern:focus {
        outline: none;
        border-color: var(--accent-primary-color);
        box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
    }

.form-select-modern {
    padding: 0.625rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background-color: white;
    font-size: 0.875rem;
}
/* Modern Form Controls */

label {
    font-weight: bold;
    color: #000000;
}

/* ========================================
   MODERN CARD & FORM SYSTEM
   ======================================== */

/* Modern Card Container */
.card-modern {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Card Header with Icon */
.card-header-modern {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .card-header-modern i {
        font-size: 1.25rem;
        color: #000000;
        /*    color: var(--accent-primary-color);*/
    }

/* Page Header Section */
.page-header-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.back-btn {
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: #64748b;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

    .back-btn:hover {
        background-color: #f1f5f9;
        text-decoration: none;
        color: #64748b;
    }

.header-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.header-title p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Modern Form Controls (Enhanced) */
.form-control-modern {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    transition: all 0.2s;
    height: calc(1.5em + 0.5rem + 2px);
}

    .form-control-modern:focus {
        border-color: var(--accent-primary-color);
        box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
        outline: none;
    }

    .form-control-modern[readonly] {
        background-color: #f8fafc;
        cursor: not-allowed;
        border-color: #e2e8f0;
    }

.form-select-modern {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background-color: white;
    font-size: 0.875rem;
    transition: all 0.2s;
    height: calc(1.5em + 0.5rem + 2px);
}

    .form-select-modern:focus {
        border-color: var(--accent-primary-color);
        box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
        outline: none;
    }

/* Responsive Adjustments */
@media (max-width: 991px) {
    .page-header-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .card-modern {
        padding: 1rem;
    }

    .header-title h2 {
        font-size: 1.25rem;
    }
}

/* ========================================
   UNIVERSAL DRAWER SYSTEM
   ======================================== */

/* Drawer Variables */
:root {
    --drawer-width: 500px;
    --drawer-transition-duration: 0.3s;
}

/* Drawer Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--drawer-transition-duration) ease, visibility var(--drawer-transition-duration) ease;
}

    .drawer-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Base Drawer Styles (can be extended with specific classes) */
.drawer {
    position: fixed;
    top: 0;
    right: calc(-1 * var(--drawer-width));
    width: var(--drawer-width);
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    overflow-y: auto;
    transition: right var(--drawer-transition-duration) ease;
}

.drawer.open {
    right: 0;
}

/* Drawer Header */
.drawer-header {
    position: sticky;
    top: 0;
    background-color: var(--accent-primary-color);
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.drawer-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.drawer-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

    .drawer-close:hover {
        opacity: 0.8;
    }

/* Drawer Body */
.drawer-body {
    padding: 20px;
    color: #000000;
}

/* Drawer Sections */
.drawer-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--accent-secondary-color);
}

    .drawer-section:last-child {
        border-bottom: none;
    }

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.drawer-section dl {
    margin-bottom: 0;
}

.drawer-section dt {
    font-weight: 600;
    font-size: 0.875rem;
    padding-bottom: 8px;
}

.drawer-section dd {
    font-size: 0.875rem;
    padding-bottom: 8px;
    word-break: break-word;
}

/* Responsive Drawer */
@media (max-width: 768px) {
    .drawer {
        width: 100%;
        right: -100%;
    }
}

/* Cursor Pointer Utility */
.cursorPointer {
    cursor: pointer;
}

.cursorNoDrop {
    cursor: no-drop;
}

/* On Leave Today Modal Table Styling */
#table_on_leave_today_details tbody tr {
    background: white !important;
    transition: all 0.2s ease;
}

    #table_on_leave_today_details tbody tr:hover {
        background-color: #f8f9fa !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

#table_on_leave_today_details tbody td {
    vertical-align: middle !important;
    font-size: 13px !important;
}

#table_on_leave_today_details thead th {
    background-color: #f8f9fa !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    color: #6c757d !important;
    text-transform: uppercase !important;
}


