:root {
    --primary-navy: #1F3A5F;
    --secondary-gray: #E5E9F2;
    --accent-teal: #17A2B8;
    --white: #ffffff;
    --card-shadow: 0 10px 30px -5px rgba(31, 58, 95, .08);
    --hover-shadow: 0 20px 40px -5px rgba(31, 58, 95, .15);
    --sidebar-width: 260px;
    --header-height: 70px;
}

body {
    background-color: var(--secondary-gray);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-navy);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity .5s ease-out, visibility .5s;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, .2);
    border-top: 5px solid var(--accent-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    margin-top: 20px;
    color: var(--white);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: .9rem;
    animation: pulse 1.5s infinite;
}

.dataTables_empty {
    text-align: center;
    font-weight: bolder;
}

.dataTables_paginate {
    margin-top: 10px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: var(--secondary-gray) !important;
    border: none !important;
    color: var(--primary-navy) !important;
    padding: 6px 12px;
    margin: 0 3px;
    border-radius: 6px;
    transition: .2s ease;
    text-decoration: none !important;
    font-weight: bolder !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--accent-teal) !important;
    color: var(--white) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--primary-navy) !important;
    color: var(--white) !important;
    text-decoration: none !important;
    margin-bottom: 2rem !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: .5;
    cursor: not-allowed;
    text-decoration: none !important;
}

.dataTables_filter input {
    border: 1px solid var(--secondary-gray);
    border-radius: 6px;
    padding: 6px 10px;
}

.dataTables_filter input:focus {
    border-color: var(--accent-teal);
    outline: none;
}

.dataTables_length select {
    border: 1px solid var(--secondary-gray);
    border-radius: 6px;
    padding: 4px 8px;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: #edf2f7;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-navy), var(--accent-teal));
    border-radius: 10px;
    border: 2px solid #edf2f7;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-navy);
}
