@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,700;1,100;1,300;1,500&display=swap');


:root,
[data-bs-theme=light] {
    --bs-blue: #312d2d;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #e83e8c;
    --bs-red: #ff4136;
    --bs-orange: #fd7e14;
    --bs-yellow: #ff851b;
    --bs-green: #28b62c;
    --bs-teal: #20c997;
    --bs-cyan: #75caeb;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #999;
    --bs-gray-dark: #333;
    --bs-gray-100: #f6f6f6;
    --bs-gray-200: #f0f0f0;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #999;
    --bs-gray-700: #555;
    --bs-gray-800: #333;
    --bs-gray-900: #222;
    --bs-primary: #312d2d;
    --bs-secondary: #f0f0f0;
    --bs-success: #28b62c;
    --bs-info: #75caeb;
    --bs-warning: #ff851b;
    --bs-danger: #ff4136;
    --bs-light: #f6f6f6;
    --bs-dark: #555;
    --bs-primary-rgb: 0, 55, 123;
    --bs-secondary-rgb: 240, 240, 240;
    --bs-success-rgb: 40, 182, 44;
    --bs-info-rgb: 117, 202, 235;
    --bs-warning-rgb: 255, 133, 27;
    --bs-danger-rgb: 255, 65, 54;
    --bs-light-rgb: 246, 246, 246;
    --bs-dark-rgb: 85, 85, 85;
    --bs-primary-text-emphasis: #2a0707;
    --bs-secondary-text-emphasis: #606060;
    --bs-success-text-emphasis: #104912;
    --bs-info-text-emphasis: #2f515e;
    --bs-warning-text-emphasis: #66350b;
    --bs-danger-text-emphasis: #661a16;
    --bs-light-text-emphasis: #555;
    --bs-dark-text-emphasis: #555;
    --bs-primary-bg-subtle: #9f9393;
    --bs-secondary-bg-subtle: #fcfcfc;
    --bs-success-bg-subtle: #d4f0d5;
    --bs-info-bg-subtle: #e3f4fb;
    --bs-warning-bg-subtle: #ffe7d1;
    --bs-danger-bg-subtle: #ffd9d7;
    --bs-light-bg-subtle: #fbfbfb;
    --bs-dark-bg-subtle: #ced4da;
    --bs-primary-border-subtle: #988d8d;
    --bs-secondary-border-subtle: #f9f9f9;
    --bs-success-border-subtle: #a9e2ab;
    --bs-info-border-subtle: #c8eaf7;
    --bs-warning-border-subtle: #ffcea4;
    --bs-danger-border-subtle: #ffb3af;
    --bs-light-border-subtle: #f0f0f0;
    --bs-dark-border-subtle: #adb5bd;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-font-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #222;
    --bs-body-color-rgb: 34, 34, 34;
    --bs-body-bg: #fff;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-emphasis-color: #000;
    --bs-emphasis-color-rgb: 0, 0, 0;
    --bs-secondary-color: rgba(34, 34, 34, 0.75);
    --bs-secondary-color-rgb: 34, 34, 34;
    --bs-secondary-bg: #f0f0f0;
    --bs-secondary-bg-rgb: 252, 252, 252;
    --bs-tertiary-color: rgba(34, 34, 34, 0.5);
    --bs-tertiary-color-rgb: 34, 34, 34;
    --bs-tertiary-bg: #f6f6f6;
    --bs-tertiary-bg-rgb: 246, 246, 246;
    --bs-heading-color: inherit;
    --bs-link-color: #312d2d;
    --bs-link-color-rgb: 28, 28, 28;
    --bs-link-decoration: underline;
    --bs-link-hover-color: #857a7a;
    --bs-link-hover-color-rgb: 17, 112, 149;
    --bs-code-color: #e83e8c;
    --bs-highlight-bg: #ffe7d1;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-xxl: 2rem;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    --bs-focus-ring-width: 0.25rem;
    --bs-focus-ring-opacity: 0.25;
    --bs-focus-ring-color: rgba(21, 140, 186, 0.25);
    --bs-form-valid-color: #28b62c;
    --bs-form-valid-border-color: #28b62c;
    --bs-form-invalid-color: #ff4136;
    --bs-form-invalid-border-color: #ff4136;
}

[data-bs-theme=dark] {
    color-scheme: dark;
    --bs-body-color: #adb5bd;
    --bs-body-color-rgb: 173, 181, 189;
    --bs-body-bg: #222;
    --bs-body-bg-rgb: 34, 34, 34;
    --bs-emphasis-color: #fff;
    --bs-emphasis-color-rgb: 255, 255, 255;
    --bs-secondary-color: rgba(173, 181, 189, 0.75);
    --bs-secondary-color-rgb: 173, 181, 189;
    --bs-secondary-bg: #333;
    /*--bs-secondary-bg-rgb: 94, 153, 210;*/
    --bs-tertiary-color: rgba(173, 181, 189, 0.5);
    --bs-tertiary-color-rgb: 173, 181, 189;
    --bs-tertiary-bg: #2b2b2b;
    --bs-tertiary-bg-rgb: 43, 43, 43;
    --bs-primary-text-emphasis: #9a8d8d;
    --bs-secondary-text-emphasis: #f6f6f6;
    --bs-success-text-emphasis: #7ed380;
    --bs-info-text-emphasis: #acdff3;
    --bs-warning-text-emphasis: #ffb676;
    --bs-danger-text-emphasis: #ff8d86;
    --bs-light-text-emphasis: #f6f6f6;
    --bs-dark-text-emphasis: #dee2e6;
    --bs-primary-bg-subtle: #041c25;
    --bs-secondary-bg-subtle: #303030;
    --bs-success-bg-subtle: #082409;
    --bs-info-bg-subtle: #17282f;
    --bs-warning-bg-subtle: #331b05;
    --bs-danger-bg-subtle: #330d0b;
    --bs-light-bg-subtle: #333;
    --bs-dark-bg-subtle: #1a1a1a;
    --bs-primary-border-subtle: #330e0e;
    --bs-secondary-border-subtle: #909090;
    --bs-success-border-subtle: #186d1a;
    --bs-info-border-subtle: #46798d;
    --bs-warning-border-subtle: #995010;
    --bs-danger-border-subtle: #992720;
    --bs-light-border-subtle: #555;
    --bs-dark-border-subtle: #333;
    --bs-heading-color: inherit;
    --bs-link-color: #8a7e7e;
    --bs-link-hover-color: #d5c1c1;
    --bs-link-color-rgb: 115, 186, 214;
    --bs-link-hover-color-rgb: 143, 200, 222;
    --bs-code-color: #f18bba;
    --bs-border-color: #555;
    --bs-border-color-translucent: rgba(255, 255, 255, 0.15);
    --bs-form-valid-color: #7ed380;
    --bs-form-valid-border-color: #7ed380;
    --bs-form-invalid-color: #ff8d86;
    --bs-form-invalid-border-color: #ff8d86;
}

.pagination {
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.375rem;
    --bs-pagination-font-size: 1rem;
    --bs-pagination-color: #555;
    --bs-pagination-bg: var(--bs-tertiary-bg);
    --bs-pagination-border-width: var(--bs-border-width);
    --bs-pagination-border-color: var(--bs-border-color);
    --bs-pagination-border-radius: var(--bs-border-radius);
    --bs-pagination-hover-color: #555;
    --bs-pagination-hover-bg: var(--bs-tertiary-bg);
    --bs-pagination-hover-border-color: var(--bs-border-color);
    --bs-pagination-focus-color: var(--bs-link-hover-color);
    --bs-pagination-focus-bg: var(--bs-secondary-bg);
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgb(44, 42, 42);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: #443f3f;
    --bs-pagination-active-border-color: #312d2d;
    --bs-pagination-disabled-color: #999;
    --bs-pagination-disabled-bg: var(--bs-tertiary-bg);
    --bs-pagination-disabled-border-color: var(--bs-border-color);
    display: flex;
    padding-left: 0;
    list-style: none;
}


html, body {
    font-family: 'Roboto', sans-serif;
    font-size: .9rem;
}


.hide-scroll-bar::-webkit-scrollbar {
    width: 0;
}

.dashboard__side-nav {
    width: 80px;
    opacity: 1;
    transform: scale(1);
    transition: all .3s ease-in-out;
}

.dashboard__side-nav--show {
    width: 350px;
    opacity: 1;
    transform: scale(1);
}


.dashboard__content {
    width: 100%;
}

.dashboard__content--nav {
    height: 60px;
}

.dashboard__side-nav--nav-content {
    height: 90%;
    display: flex;
    gap: .25rem;

}


.dashboard__side-nav--nav-content__icons {
    border-radius: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: rgba(0, 0, 0, 0.479);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: column;
}


.dashboard__side-nav--nav-content__icons a {
    border-radius: 20%;
    padding: 10px;
    height: 42px;
    display: grid !important;
    place-content: center;
    width: 42px;
    background-color: rgba(212, 72, 65, 0.125);
    color: #f4f4f4;
    transition: all .25s ease-in-out;
}

.dashboard__side-nav--nav-content__icons a:hover,
.dashboard__side-nav--nav-content__icons a.active {
    border-radius: 50%;
    background-color: rgba(94, 153, 210, 0.905);
}

.dashboard__side-nav--nav-content__icons i {
    font-size: 24px !important;
    transform: scale(.8);
}

.side-nav__content a {
    border-radius: 1%;
    transition: all .25s ease-in-out;
    background-color: rgba(16, 5, 5, 0.043);
    opacity: .75;
    transform: scale(.95);
    padding: .5rem;
}

.side-nav__content a:hover,
.side-nav__content a.active {
    opacity: 1;
    transform: scale(1);
    /*background-color: rgba(212, 72, 65, 0.905);*/
    background-color: rgb(94, 153, 210);
    border-radius: 1rem;

}

.side-nav__content--title {
    font-size: 1rem;
    font-weight: bold;
    white-space: nowrap;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

/* Collapsible Menu Transition */
.collapsible-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
}

/* Show menu when expanded */
.collapsible-menu.show {
    max-height: 500px; /* Adjust as needed */
    opacity: 1;
}

/* Arrow Rotation Animation */
.toggle-icon {
    transition: transform 0.3s ease-in-out;
}

.side-nav__content li span {
    height: 40px;
    aspect-ratio: 1;
}

.side-nav__content--sub-title strong {
    font-size: .75rem;
    color: white;
}

.side-nav__content--sub-title small {
    font-size: .6rem;
    font-weight: lighter;
    color: white;
}


.menu-icon {
    border: none;
    outline: none;
    transform: scale(1);
    transition: all .25s ease-in-out;
}

.menu-icon:active {
    transform: scale(.65);
}

.alert-container {
    position: fixed;
    right: .2rem;
    bottom: .2rem;
    transform: scaleX(1);
    opacity: 1;
    transition: all .25s ease-in-out;
}

.alert-container.hide {
    transform: scaleX(0);
    opacity: 0;
}

.btn {
    text-transform: capitalize;
}

.auto-container__cover {
    background: #0c0c0c;
    height: 100vh;
}

.auth-container {
    background: #FFD100;
    height: 100%;
    position: relative;
}

.auth-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFD100;
}

.rounded-5 {
    padding: 20px !important;
}

table td, table th {
    padding: 8px 12px !important;
}

table tbody tr {
    cursor: pointer;
}

table {
    text-align: center !important;
}

table tbody * {
    transition: all .2s ease-in-out;
}

table tbody tr:hover td {
    background: #f2f2f2 !important;
}

.side-icon__text {
    position: fixed;
    background: #0c0c0c;
    color: #f2f2f2;
    padding: 1rem;
    z-index: 100000;
    border-radius: 1rem;
    transform: scale(0);
    opacity: 0;
    transition: all .25s ease-in-out;
}

dashboard {
    display: flex;
    min-height: 100vh;
}

/* Sidebar styles */
.dashboard__side-nav {
    width: 280px;
    min-width: 280px;
    transition: transform 0.3s ease;
    z-index: 1050;
}

.dashboard__content {
    flex: 1;
    min-width: 0; /* Prevent content from overflowing */
}

/* Mobile styles - sidebar is hidden by default */
@media (max-width: 991.98px) {
    .dashboard__side-nav {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-100%);
        box-shadow: none;
    }

    .dashboard__side-nav--show {
        transform: translateX(0);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

    .dashboard__content {
        width: 100%;
    }

    /* Overlay when sidebar is open */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
    }

    .sidebar-overlay.active {
        display: block;
    }
}

/* Improve sidebar scrolling */
.dashboard__side-nav--nav-content {
    height: calc(100vh - 7rem);
    overflow-y: auto;
    padding-bottom: 2rem;
    scrollbar-width: thin; /* For Firefox */
}

/* Style scrollbar for webkit browsers */
.dashboard__side-nav--nav-content::-webkit-scrollbar {
    width: 5px;
}

.dashboard__side-nav--nav-content::-webkit-scrollbar-track {
    background: transparent;
}

.dashboard__side-nav--nav-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
}

/* Make nav links more touch-friendly */
.nav-link {
    padding: 0.5rem 0.75rem;
}

/* Improve search styles */
#sidebarSearch {
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

#sidebarSearch::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Style improvements for dashboard content */
.dashboard__content--nav {
    height: 60px;
}

/* Style for hover effects on nav items */
.side-nav__content .nav-link {
    transition: background-color 0.2s;
    border-radius: 4px;
}

.side-nav__content .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.bg-black {
    --bs-bg-opacity: 0 !important;
    background-color: #FFD100 !important;
}