@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

body {
    font-family: "Inter", sans-serif !important;
    font-weight: 500 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nav-date-time {
    font-size: 13px;
    padding: 0 12px;
}

.nav-date-time i {
    font-size: 14px;
}

/* Global dark mode scrollbar */
[data-layout-mode="dark"]::-webkit-scrollbar,
[data-layout-mode="dark"] ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

[data-layout-mode="dark"]::-webkit-scrollbar-track,
[data-layout-mode="dark"] ::-webkit-scrollbar-track {
    background: #1a1d2e !important;
}

[data-layout-mode="dark"]::-webkit-scrollbar-thumb,
[data-layout-mode="dark"] ::-webkit-scrollbar-thumb {
    background: #363a4f !important;
    border-radius: 10px;
    border: 2px solid #1a1d2e !important;
}

[data-layout-mode="dark"]::-webkit-scrollbar-thumb:hover,
[data-layout-mode="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #5156be !important;
}

/* Firefox support for global dark mode scrollbar */
[data-layout-mode="dark"],
[data-layout-mode="dark"] * {
    scrollbar-width: thin;
    scrollbar-color: #363a4f #1a1d2e;
}

/* SweetAlert2 Dark Mode Styling */
[data-layout-mode="dark"] .swal2-popup {
    background-color: #242837 !important;
    color: #e4e6eb !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
}

[data-layout-mode="dark"] .swal2-title,
[data-layout-mode="dark"] .swal2-html-container {
    color: #e4e6eb !important;
}

[data-layout-mode="dark"] .swal2-validation-message {
    background: #2a2f42 !important;
    color: #e4e6eb !important;
}

[data-layout-mode="dark"] .swal2-show {
    animation: swal2-show 0.3s !important;
}

.card-gradient-blue {
    background: linear-gradient(to right, #3358cb, #00bde0);
}

.card-gradient-purple {
    background: linear-gradient(to right, #8452e7, #4d5ed0);
}

.card-gradient-red {
    background: linear-gradient(to right, #f3466c, #fb7636);
}

.card-gradient-purple-dark {
    background: linear-gradient(to right, #7d4196, #ff3494);
}

.card-gradient-orange {
    background: linear-gradient(to right, #fe60a1, #ff8765);
}

.card-gradient-violet {
    background: linear-gradient(to right, #5124b4, #964ebf);
}

.card-gradient-light-green {
    background: linear-gradient(to right, #25bbb6, #51cc7f);
}

.card-gradient-soft-violet {
    background: linear-gradient(to right, #e100ff, #7f00ff);
}

.card-gradient-light-black {
    background: linear-gradient(to right, #74788d, #40445b);
}

.card-gradient-yellow {
    background: linear-gradient(to right, #d99e3a, #85580d);
}

.card-header {
    padding: 0.7rem 1.25rem !important;
}

.card-title {
    margin: 0 !important;
}

.table> :not(caption)>*>* {
    padding: 6px !important;
}

.filter-toggle-icon i {
    transition: transform 0.2s ease-in-out;
}

.filter-toggle-icon.active i {
    transform: rotate(180deg);
}

.select2-selection--multiple {
    border: solid #ced4e0 1px !important;
    outline: 0;
    padding-top: 5px;
}

.select2-search__field {
    margin-bottom: 4px;
}

.slick-prev {
    right: 20px !important;
    left: auto !important;
    z-index: 99999;
}

.slick-next:before,
.slick-prev:before {
    color: #000 !important;
}

.slick-slider {
    margin-bottom: 0 !important;
}

.auth-bg {
    background-image: url('../../images/auth-bg.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    min-height: 100vh;
}

.auth-bg .bg-overlay {
    display: block !important;
    background-color: rgba(30, 33, 57, 0.7) !important;
    /* Dark blue overlay with transparency */
}

.auth-page .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

.auth-page .card-body {
    padding: 2.5rem;
}

.auth-logo img {
    transition: transform 0.3s ease;
}

.auth-logo:hover img {
    transform: scale(1.05);
}

.auth-content h5 {
    font-weight: 600;
    color: #2d3748;
    font-size: 1.5rem;
}

.auth-content .text-muted {
    color: #718096 !important;
    font-size: 0.95rem;
}

.auth-page .form-control {
    border-radius: 8px;
    padding: 0.65rem 1rem;
    border: 1.5px solid #e2e8f0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.auth-page .form-control:focus {
    border-color: #5156be;
    box-shadow: 0 0 0 3px rgba(81, 86, 190, 0.1);
    outline: none;
}

.auth-page .form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.auth-page .btn-primary {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    background: #5156be !important;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.auth-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: #4145a7 !important;
}

.auth-page .btn-primary:active {
    transform: translateY(0);
}

.auth-pass-inputgroup .btn {
    border-radius: 0 8px 8px 0;
    border: 1.5px solid #e2e8f0;
    border-left: none;
}

.auth-page .form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.auth-page a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-page a:hover {
    color: #764ba2;
}

.auth-page .text-center p {
    font-size: 0.85rem;
    color: #a0aec0;
}

@media (max-width: 768px) {
    .auth-page .card-body {
        padding: 1.5rem;
    }

    .auth-content h5 {
        font-size: 1.25rem;
    }
}

.round {
    border-radius: 50%;
    width: 55px !important;
    height: 55px;
    line-height: 40px;
    margin: 0 auto;
}

.select2 {
    width: 100% !important;
}

.select2-container {
    max-width: 100%;
    z-index: 10 !important;
}

.select2-container--default .select2-selection--single {
    border-color: #ced4da !important;
}

.select2-container .select2-selection--single {
    height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
}

.select2-container--default .select2-selection__arrow {
    top: 5px !important;
}

.btn-primary {
    color: #fff;
    background-color: #5156be;
    border-color: #5156be;
}

.btn-primary:hover {
    background-color: #4145a7;
    border-color: #4145a7;
}

.btn-outline-primary {
    color: #5156be;
    border-color: #5156be;
}

.btn-outline-primary:hover {
    background-color: #5156be;
    color: #fff;
}

.round h4 {
    line-height: 55px;
}

.w-40 {
    width: 40px;
}

.w-160 {
    width: 160px;
}

.text-gray {
    color: #9fa5ad;
}

.punch {
    border-radius: 4px;
}

.punch h6 {
    font-size: 12px;
}

.attendance-slider p {
    font-size: 14px;
}

.attendance-blank {
    background-color: #e8e8e8;
    width: 50px !important;
    height: 50px;
    border-radius: 50%;
    color: rgb(0, 0, 0);
    margin: 0 auto;
    line-height: 50px;
    display: inline-block;
    position: relative;
    margin-bottom: 12px;
}

.attendance-blank span {
    font-size: 16px !important;
}

.attendance-normal::before {
    content: "";
    background-color: #00bc22 !important;
    width: 100% !important;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    color: #fff !important;
    font-weight: 800;
    display: inline-block;
    position: relative;
}

.attendance-normal span {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    color: #fff;
}

.attendance-half::after {
    content: "";
    background-color: #f39c12;
    width: 25px;
    height: 50px;
    display: inline-block;
    border-bottom-left-radius: 50px;
    border-top-left-radius: 50px;
    position: absolute;
    left: 0;
}

.attendance-half span {
    z-index: 99999;
    position: relative;
}

.attendance-late::before {
    content: "";
    background-color: #f65a5a !important;
    width: 100% !important;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    color: #fff !important;
    display: inline-block;
    position: relative;
}

.attendance-late span {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    color: #fff;
}

.page-item.active .page-link {
    background-color: #5156be !important;
    border-color: #5156be !important;
}

.next-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.prev-arrow {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.slick-list {
    position: relative;
    left: -20px;
}

.w-110px {
    width: 110px;
}

.w-100px {
    width: 100px;
}

.slick-list {
    width: 800px;
}

.leave-section h4 {
    font-size: 16px;
}

.leave-section p {
    font-size: 14px;
}

.leave-section {
    position: relative;
    left: -20px;
}

.my-team-section {
    position: relative;
    left: 10px;
}

/* ============================================
   THEME SWITCHER BUTTON
   ============================================ */
#theme-switcher {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #5156be;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(81, 86, 190, 0.3);
    margin-right: 10px;
}

#theme-switcher:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(81, 86, 190, 0.4);
    background: #4145a7;
}

#theme-switcher i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

#theme-switcher:hover i {
    transform: rotate(20deg);
}

/* ============================================
   ENHANCED SIDEBAR STYLES (LIGHT MODE)
   ============================================ */
.vertical-menu {
    background: #ffffff !important;
    box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03);
    border-right: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

#sidebar-menu ul li a {
    color: #495057 !important;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 2px 12px;
    padding: 0.65rem 1rem !important;
    font-size: 0.875rem;
    font-weight: 500 !important;
}

#sidebar-menu ul li a i,
#sidebar-menu ul li a svg {
    color: #495057 !important;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    transition: color 0.2s ease;
}

#sidebar-menu ul li a:hover {
    background: #f0f1f9 !important;
    color: #5156be !important;
    transform: none;
}

#sidebar-menu ul li a:hover i,
#sidebar-menu ul li a:hover svg {
    color: #5156be !important;
}

#sidebar-menu ul li a.active,
#sidebar-menu ul li.mm-active>a,
#sidebar-menu ul li.mm-active>a.has-arrow {
    background: #5156be !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(81, 86, 190, 0.2);
    /* border-left: 3px solid #3d4191; */
    font-weight: 500 !important;
}

#sidebar-menu ul li a.active i,
#sidebar-menu ul li a.active svg,
#sidebar-menu ul li.mm-active>a i,
#sidebar-menu ul li.mm-active>a svg,
#sidebar-menu ul li.mm-active>a.has-arrow svg,
#sidebar-menu ul li.mm-active>a.has-arrow i {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Ensure the arrow also turns white */
#sidebar-menu ul li.mm-active>a.has-arrow:after {
    color: #ffffff !important;
}

/* #sidebar-menu .has-arrow {
    padding-right: 2rem !important;
} */

/* Standardize sidebar arrow positioning */
#sidebar-menu .has-arrow:after {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    float: none !important;
    margin: 0 !important;
}

#sidebar-menu ul li a {
    position: relative !important;
}

#sidebar-menu .mm-active>.has-arrow:after {
    transform: translateY(-50%) rotate(90deg) !important;
}

/* Adjust for collapsed hover state labels */
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>a.has-arrow:after {
    right: 15px !important;
}

/* Sub-menu styling for light mode */
#sidebar-menu ul li ul.sub-menu li a {
    color: #74788d !important;
    padding: 0.4rem 1.5rem 0.4rem 3rem !important;
    background: transparent !important;
}

#sidebar-menu ul li ul.sub-menu li a:hover {
    color: #5156be !important;
}

#sidebar-menu ul li ul.sub-menu li.mm-active>a {
    color: #ffffff !important;
    background: #5156be !important;
    box-shadow: 0 2px 8px rgba(81, 86, 190, 0.15);
}

#sidebar-menu .menu-title {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.65rem;
    color: #8a9199 !important;
    padding: 1.5rem 1.5rem 0.5rem !important;
}

/* Search in sidebar */
#search_menu {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    color: #495057 !important;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

/* Hide sidebar search when collapsed */
body[data-sidebar-size="sm"] .vertical-menu .app-search {
    display: none !important;
}

#search_menu:focus {
    background: #ffffff !important;
    border-color: #5156be !important;
    box-shadow: 0 0 0 3px rgba(81, 86, 190, 0.1);
}

#search_menu::placeholder {
    color: #adb5bd !important;
}

/* ============================================
   DARK MODE STYLES
   ============================================ */
[data-layout-mode="dark"] {
    transition: all 0.3s ease;
    --bs-body-bg: #1a1d2e !important;
    --bs-card-bg: #242837 !important;
    --bs-card-cap-bg: #242837 !important;
    --bs-modal-bg: #242837 !important;
    --bs-modal-content-bg: #242837 !important;
    --bs-header-bg: #1e2139 !important;
    --bs-footer-bg: #1a1d2e !important;
    --bs-gray-200: #1a1d2e !important;
    --bs-nav-tabs-link-active-bg: #242837 !important;
}

[data-layout-mode="dark"] body {
    background-color: #1a1d2e !important;
}

/* Global Sidebar Width Overrides (forcing 250px only when expanded) */
@media (min-width: 993px) {
    body:not([data-sidebar-size="sm"]):not([data-sidebar-size="md"]) .vertical-menu {
        width: 250px !important;
    }

    body:not([data-sidebar-size="sm"]):not([data-sidebar-size="md"]) .main-content {
        margin-left: 250px !important;
    }

    body:not([data-sidebar-size="sm"]):not([data-sidebar-size="md"]) .navbar-brand-box {
        width: 250px !important;
    }

    body:not([data-sidebar-size="sm"]):not([data-sidebar-size="md"]) .footer {
        left: 250px !important;
    }
}

/* Collapsed Sidebar (sm) Sub-menu Width Adjustments */
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>a {
    width: calc(240px + 70px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-left: 7px !important;
    /* Match app.css normal state */
    padding-bottom: 7px !important;
    padding-top: 8px !important;
    background-color: #ffffff !important;
}

/* Active indicator for collapsed sidebar */
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li.mm-active>a {
    border-left: 3px solid #5156be !important;
}

/* Ensure border remains and layout stays stable on hover */
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li.mm-active:hover>a {
    border-left: 3px solid #5156be !important;
    padding-left: 4px !important;
    /* Compensate for border width */
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul {
    width: 250px !important;
    background: #ffffff !important;
    z-index: 10002 !important;
    left: 68px !important;
    margin-top: -1px !important;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul a {
    width: 225px !important;
    color: #495057 !important;
    white-space: normal !important;
    height: auto !important;
    line-height: 1.4 !important;
    padding: 10px 20px !important;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul a:hover {
    color: #5156be !important;
    background: #f0f1f9 !important;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul a.active,
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul li.mm-active>a {
    color: #fff !important;
}

/* Light mode - Active menu item hover text color */
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul a.active:hover,
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul li.mm-active>a:hover {
    color: #5156be !important;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul a.active:hover i,
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul a.active:hover svg,
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul li.mm-active>a:hover i,
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul li.mm-active>a:hover svg,
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul li.mm-active>a:hover:after {
    color: #5156be !important;
    stroke: #5156be !important;
    fill: rgba(81, 86, 190, 0.1) !important;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul ul li:hover>ul {
    left: 248px !important;
    width: 250px !important;
    background: #ffffff !important;
    z-index: 10002 !important;
    margin-top: -36px !important;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>a i {
    margin-left: 4px !important;
    margin-right: 15px !important;
    min-width: 20px !important;
    text-align: center !important;
    color: #5156be !important;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>a svg {
    margin-left: 6px !important;
    margin-right: 15px !important;
    min-width: 20px !important;
    color: #5156be !important;
    stroke: #5156be !important;
    fill: rgba(81, 86, 190, 0.1) !important;
}

/* Sub-menu text alignment in collapsed mode */
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>a span {
    padding-left: 0 !important;
    white-space: nowrap !important;
}

@media (max-width: 992px) {
    .main-content {
        margin-left: 0 !important;
    }

    .footer {
        left: 0 !important;
    }
}

/* Dark mode - Body and main content */
[data-layout-mode="dark"] body {
    background-color: #1a1d2e !important;
    color: #e4e6eb !important;
}

[data-layout-mode="dark"] .accordion-button {
    background-color: #2d3142 !important;
    color: #fff !important;
}

[data-layout-mode="dark"] .accordion-button:not(.collapsed) {
    background-color: #1a1d2e !important;
    color: #fff !important;
}

[data-layout-mode="dark"] .accordion-body {
    background-color: #242837 !important;
    color: #fff !important;
}

[data-layout-mode="dark"] .page-content {
    background-color: #1a1d2e !important;
}

[data-layout-mode="dark"] .accordion-item {
    background-color: #1a1d2e !important;
}

/* Dark mode - Cards */
[data-layout-mode="dark"] .card {
    background-color: #242837 !important;
    border-color: #2d3142 !important;
    color: #e4e6eb !important;
}

[data-layout-mode="dark"] .card-header {
    background-color: #2d3142 !important;
    border-bottom-color: #363a4f !important;
}

[data-layout-mode="dark"] .card-body {
    color: #e4e6eb !important;
}

/* Dark mode - Sidebar */
[data-layout-mode="dark"] .vertical-menu {
    background: #1e2139 !important;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.5);
    border-right: none !important;
}

[data-layout-mode="dark"] #sidebar-menu ul li a {
    color: #ffffff !important;
}

[data-layout-mode="dark"] #sidebar-menu ul li a:hover {
    background: rgba(102, 126, 234, 0.15) !important;
    color: #fff !important;
}

[data-layout-mode="light"] #sidebar-menu ul li a.active,
[data-layout-mode="light"] #sidebar-menu ul li.mm-active>a,
[data-layout-mode="light"] #sidebar-menu ul li.mm-active>a.has-arrow {
    background: #5156be !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-layout-mode="dark"] #sidebar-menu ul li a.active,
[data-layout-mode="dark"] body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>a {
    background-color: #1e2139 !important;
}

[data-layout-mode="dark"] body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul,
[data-layout-mode="dark"] body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul ul li:hover>ul {
    background-color: #1e2139 !important;
}

[data-layout-mode="dark"] #sidebar-menu ul li a.active,
[data-layout-mode="dark"] #sidebar-menu ul li.mm-active>a,
[data-layout-mode="dark"] #sidebar-menu ul li.mm-active>a.has-arrow {
    background: #5156be !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-layout-mode="dark"] #sidebar-menu ul li a svg,
[data-layout-mode="dark"] #sidebar-menu ul li a i {
    color: #ffffff !important;
}

[data-layout-mode="dark"] #sidebar-menu ul li a:hover svg,
[data-layout-mode="dark"] #sidebar-menu ul li a:hover i,
[data-layout-mode="dark"] #sidebar-menu ul li a.active svg,
[data-layout-mode="dark"] #sidebar-menu ul li a.active i,
[data-layout-mode="dark"] #sidebar-menu ul li.mm-active>a svg,
[data-layout-mode="dark"] #sidebar-menu ul li.mm-active>a i {
    color: #fff !important;
    stroke: #fff !important;
}

/* Arrow color for dark mode active */
[data-layout-mode="dark"] #sidebar-menu ul li.mm-active>a.has-arrow:after {
    color: #ffffff !important;
}

/* Sub-menu styling for dark mode */
[data-layout-mode="dark"] #sidebar-menu ul li ul.sub-menu li a {
    color: #b8bcc8 !important;
    background: transparent !important;
}

[data-layout-mode="dark"] #sidebar-menu ul li ul.sub-menu li a:hover,
[data-layout-mode="dark"] #sidebar-menu ul li ul.sub-menu li.mm-active>a {
    color: #fff !important;
    background: #5156be !important;
}

[data-layout-mode="dark"] .menu-title {
    color: #6c7293 !important;
}

/* Dark mode - Top navigation */
[data-layout-mode="dark"] #page-topbar {
    background-color: #242837 !important;
    border-bottom-color: #2d3142 !important;
}

[data-layout-mode="dark"] .navbar-brand-box {
    background-color: #242837 !important;
    border-right: none !important;
}

[data-layout-mode="dark"] .header-item {
    color: #b8bcc8 !important;
}

[data-layout-mode="dark"] .header-item:hover {
    color: #fff !important;
}

/* Dark mode - Dropdowns */
[data-layout-mode="dark"] .dropdown-menu {
    background-color: #242837 !important;
    border-color: #2d3142 !important;
}

[data-layout-mode="dark"] .dropdown-item {
    color: #b8bcc8 !important;
}

[data-layout-mode="dark"] .dropdown-item:hover {
    background-color: #2d3142 !important;
    color: #fff !important;
}

/* Dark mode - Forms */
[data-layout-mode="dark"] .form-control {
    background-color: #2d3142 !important;
    border-color: #363a4f !important;
    color: #e4e6eb !important;
}

/* Select2 Dark Mode */
[data-layout-mode="dark"] .select2-container--default .select2-selection--single,
[data-layout-mode="dark"] .select2-container .select2-selection--single,
[data-layout-mode="dark"] .select2-container .select2-selection--multiple,
[data-layout-mode="dark"] .select2-selection--multiple {
    background-color: #2d3142 !important;
    border-color: #363a4f !important;
}

[data-layout-mode="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered,
[data-layout-mode="dark"] .select2-container .select2-selection__rendered {
    color: #e4e6eb !important;
}

[data-layout-mode="dark"] .select2-container .select2-selection__placeholder {
    color: #a0aec0 !important;
}

[data-layout-mode="dark"] .select2-dropdown {
    background-color: #242837 !important;
    border-color: #363a4f !important;
}

[data-layout-mode="dark"] .select2-selection__clear,
[data-layout-mode="dark"] .select2-selection__clear span {
    color: #e4e6eb !important;
}

[data-layout-mode="dark"] .select2-results__option {

    color: #b8bcc8 !important;
}

[data-layout-mode="dark"] .select2-container--default .select2-results__option--selected {
    background-color: #32394e !important;
    color: #e4e6eb !important;
}

[data-layout-mode="dark"] .select2-results__option[aria-selected="true"] {
    background-color: #32394e !important;
    color: #e4e6eb !important;
}

[data-layout-mode="dark"] .select2-results__option--highlighted[aria-selected] {
    background-color: #5156be !important;
    color: #ffffff !important;
}

[data-layout-mode="dark"] .select2-search__field {
    background-color: #2d3142 !important;
    border-color: #363a4f !important;
    color: #e4e6eb !important;
}

[data-layout-mode="dark"] .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #5156be !important;
    border-color: #5156be !important;
    color: #ffffff !important;
}

[data-layout-mode="dark"] .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #ffffff !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Switch Box Dark Mode */
[data-layout-mode="dark"] input[switch]+label {
    background-color: #363a4f !important;
}

[data-layout-mode="dark"] input[switch]+label:before {
    color: #b8bcc8 !important;
}

[data-layout-mode="dark"] input[switch]+label:after {
    background-color: #e4e6eb !important;
}

[data-layout-mode="dark"] input[switch]:checked+label {
    background-color: #5156be !important;
}

[data-layout-mode="dark"] .form-switch .form-check-input {
    background-color: #363a4f !important;
    border-color: #454b66 !important;
}

[data-layout-mode="dark"] .form-switch .form-check-input:checked {
    background-color: #5156be !important;
    border-color: #5156be !important;
}

[data-layout-mode="dark"] .form-control:focus {
    background-color: #363a4f !important;
    border-color: #667eea !important;
    color: #fff !important;
}

[data-layout-mode="dark"] .form-control::placeholder {
    color: #6c7293 !important;
}

[data-layout-mode="dark"] .form-label {
    color: #b8bcc8 !important;
}

/* Dark mode - Tables */
[data-layout-mode="dark"] .table {
    color: #e4e6eb !important;
}

[data-layout-mode="dark"] .table thead th {
    background-color: #2d3142 !important;
    border-color: #363a4f !important;
    color: #e4e6eb !important;
}

[data-layout-mode="dark"] .table tbody td {
    border-color: #363a4f !important;
}

[data-layout-mode="dark"] .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

[data-layout-mode="dark"] .table-hover tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.1) !important;
}

/* Dark mode - Buttons */
[data-layout-mode="dark"] .btn-light {
    background-color: #2d3142 !important;
    border-color: #363a4f !important;
    color: #b8bcc8 !important;
}

[data-layout-mode="dark"] .btn-light:hover {
    background-color: #363a4f !important;
    color: #fff !important;
}

/* Dark mode - Collapsed Sidebar Sub-menu Width & Colors */
[data-layout-mode="dark"] body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul {
    background: #1e2139 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

[data-layout-mode="dark"] body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul a {
    color: #b8bcc8 !important;
}

[data-layout-mode="dark"] body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li:hover>ul a:hover {
    color: #ffffff !important;
    background: rgba(102, 126, 234, 0.15) !important;
}

[data-layout-mode="dark"] body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul ul li:hover>ul {
    background: #1e2139 !important;
}

/* Dark mode - Modals */
[data-layout-mode="dark"] .modal-content {
    background-color: #242837 !important;
    border-color: #2d3142 !important;
}

[data-layout-mode="dark"] .modal-header {
    background-color: #2d3142 !important;
    border-bottom-color: #363a4f !important;
}

[data-layout-mode="dark"] .modal-footer {
    border-top-color: #363a4f !important;
}

/* Dark mode - Footer */
[data-layout-mode="dark"] .footer {
    background-color: #242837 !important;
    border-top-color: #2d3142 !important;
    color: #6c7293 !important;
}

/* Dark mode - Text colors */
[data-layout-mode="dark"] .text-muted {
    color: #6c7293 !important;
}

[data-layout-mode="dark"] h1,
[data-layout-mode="dark"] h2,
[data-layout-mode="dark"] h3,
[data-layout-mode="dark"] h4,
[data-layout-mode="dark"] h5,
[data-layout-mode="dark"] h6 {
    color: #e4e6eb !important;
}

/* Dark mode - Borders */
[data-layout-mode="dark"] .border,
[data-layout-mode="dark"] .border-top,
[data-layout-mode="dark"] .border-bottom,
[data-layout-mode="dark"] .border-start,
[data-layout-mode="dark"] .border-end {
    border-color: #2d3142 !important;
}

/* Dark mode - Search in sidebar */
[data-layout-mode="dark"] #search_menu {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e4e6eb !important;
}

[data-layout-mode="dark"] #search_menu:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #667eea !important;
}

/* Portfolio Report Dark Mode Fixes */
[data-layout-mode="dark"] .portfolio-table,
[data-layout-mode="dark"] .portfolio-table th,
[data-layout-mode="dark"] .portfolio-table td,
[data-layout-mode="dark"] .border-top-bottom-dotted,
[data-layout-mode="dark"] .border-bottom-dotted,
[data-layout-mode="dark"] .border-top-dotted,
[data-layout-mode="dark"] .summary-table table,
[data-layout-mode="dark"] .summary-table table th,
[data-layout-mode="dark"] .summary-table table td,
[data-layout-mode="dark"] .container-fluid.text-dark table,
[data-layout-mode="dark"] .container-fluid.text-dark tr,
[data-layout-mode="dark"] .container-fluid.text-dark td,
[data-layout-mode="dark"] .container-fluid.text-dark th {
    border-color: #4b5066 !important;
    color: #e4e6eb !important;
}

[data-layout-mode="dark"] .portfolio-table tr,
[data-layout-mode="dark"] .summary-table tr {
    border-color: #4b5066 !important;
}

[data-layout-mode="dark"] table[style*="border: 1pt dotted"],
[data-layout-mode="dark"] table[style*="border-top: 1pt dotted"],
[data-layout-mode="dark"] table[style*="border-bottom: 1pt dotted"] {
    border-color: #4b5066 !important;
}

[data-layout-mode="dark"] tr[style*="border: 1pt dotted"],
[data-layout-mode="dark"] tr[style*="border-top: 1pt dotted"],
[data-layout-mode="dark"] tr[style*="border-bottom: 1pt dotted"],
[data-layout-mode="dark"] td[style*="border: 1pt dotted"],
[data-layout-mode="dark"] td[style*="border-top: 1pt dotted"],
[data-layout-mode="dark"] td[style*="border-bottom: 1pt dotted"],
[data-layout-mode="dark"] th[style*="border: 1pt dotted"] {
    border-color: #4b5066 !important;
}

/* Confirmation Note Summary Report Dark Mode Fixes */
[data-layout-mode="dark"] .report-body table,
[data-layout-mode="dark"] .report-body th,
[data-layout-mode="dark"] .report-body td,
[data-layout-mode="dark"] .report-body tr {
    color: #e4e6eb !important;
    border-color: #4b5066 !important;
}

[data-layout-mode="dark"] .report-body table[style*="border: 1pt dotted"],
[data-layout-mode="dark"] .report-body table[style*="border-top: 1pt dotted"],
[data-layout-mode="dark"] .report-body table[style*="border-bottom: 1pt dotted"] {
    border-color: #4b5066 !important;
}

[data-layout-mode="dark"] .report-body tr[style*="border: 1pt dotted"],
[data-layout-mode="dark"] .report-body tr[style*="border-top: 1pt dotted"],
[data-layout-mode="dark"] .report-body tr[style*="border-bottom: 1pt dotted"],
[data-layout-mode="dark"] .report-body td[style*="border: 1pt dotted"],
[data-layout-mode="dark"] .report-body td[style*="border-top: 1pt dotted"],
[data-layout-mode="dark"] .report-body td[style*="border-bottom: 1pt dotted"],
[data-layout-mode="dark"] .report-body th[style*="border: 1pt dotted"],
[data-layout-mode="dark"] .report-body th[style*="border-top: 1pt dotted"],
[data-layout-mode="dark"] .report-body th[style*="border-bottom: 1pt dotted"] {
    border-color: #4b5066 !important;
}

/* Smooth theme transition */
body,
.vertical-menu,
.card,
#page-topbar,
.navbar-brand-box,
.dropdown-menu,
.form-control,
.table,
.modal-content,
.footer {
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.form-group .custom-radio .custom-control-input:checked~.custom-control-label {
    border-color: #2d499a;
    color: #2d499a;
}

.form-group .custom-radio .custom-control-label {
    cursor: pointer;
    background: #ffffff;
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
    color: #b2becc;
    padding-left: 50px;
    text-transform: capitalize;
    position: relative;
    top: 0;
    left: 0;
}

.form-group .custom-radio {
    width: 135px;
    margin-right: 20px;
    display: inline-block;
    clear: right;
}

.form-group .custom-radio .custom-control-input:checked~.custom-control-label::before {
    background: #2d499a;
}

.form-group .custom-radio .custom-control-input:checked~.custom-control-label::after {
    background-image: none;
    content: url(../images/check-white.svg);
}

.form-group .custom-radio .custom-control-label:after {
    height: 18px;
    width: 18px;
    top: 20px;
    left: 20px;
    border-radius: 5px;
}

.form-group .custom-radio .custom-control-label:before {
    height: 18px;
    width: 18px;
    border-radius: 5px;
    background: #e1e7ee;
    border: none;
    top: 19px;
    left: 20px;
}

.form-group .custom-radio .custom-control-label:before {
    top: 9px;
    left: 12px;
}

.form-group .custom-radio .custom-control-label:after {
    height: 18px;
    width: 18px;
    top: 20px;
    left: 20px;
    border-radius: 5px;
}

.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.25rem;
    opacity: 0;
}

.custom-control-label::before {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #adb5bd solid 1px;
}

.custom-control-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50%/50% 50%;
}

.custom-control-label::before,
.custom-file-label,
.custom-select {
    transition:
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}

.form-group .custom-radio {
    width: 135px;
    margin-right: 20px;
    display: inline-block;
    clear: right;
}

textarea::-webkit-input-placeholder {
    color: #999 !important;
    font-family: "IBM Plex Sans", sans-serif;
}

textarea::-moz-input-placeholder {
    color: #999 !important;
    font-family: "IBM Plex Sans", sans-serif;
}

::-webkit-input-placeholder {
    color: #999 !important;
}

::-moz-placeholder {
    color: #999 !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
    padding-left: 4px;
    line-height: 18px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #3f51b540;
    border: 1px solid #5157be;
    color: #5157be;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #5157be;
    border-right: 1px solid #5157be;
}

@media (min-width: 1080px) {
    .auth-bg {
        height: 100%;
    }

    .auth-login-h {
        height: 100vh;
    }
}

@media (max-width: 991px) {
    .punch {
        padding: 4px 2px !important;
        width: 185px;
    }

    .punch h6 {
        font-size: 10px;
    }

    .punch p {
        font-size: 11px;
    }

    .slick-list {
        width: 650px;
        overflow: hidden;
    }

    .w-110px {
        width: 90px;
    }

    .attendance-blank {
        width: 42px !important;
        height: 42px !important;
        line-height: 42px;
        border-radius: 50%;
    }

    .attendance-normal::before {
        width: 42px !important;
        height: 42px !important;
        line-height: 42px;
        border-radius: 50%;
    }

    .attendance-late::before {
        content: "";
        width: 42px !important;
        height: 42px !important;
        border-radius: 50%;
        line-height: 42px;
    }

    .attendance-half::after {
        content: "";
        background-color: #f39c12;
        width: 21px;
        height: 42px;
        display: inline-block;
        border-bottom-left-radius: 42px;
        border-top-left-radius: 42px;
        position: absolute;
        left: 0;
    }

    .next-arrow {
        top: auto !important;
        bottom: -38px !important;
        right: -10px !important;
    }

    .next-arrow img {
        width: 28px;
    }

    .prev-arrow img {
        width: 28px;
    }

    .prev-arrow {
        top: auto !important;
        bottom: -38px !important;
        right: 30px !important;
    }

    .attendance-slider .card-body {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .slick-list {
        position: relative;
        left: -8px;
        top: -18px !important;
    }

    .my-team-section {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        left: 0;
    }
}

@media (max-width: 700px) {
    .slick-list {
        width: 370px;
        overflow: hidden;
    }

    .w-110px {
        width: 53px;
    }

    .attendance-blank {
        width: 36px !important;
        height: 36px !important;
        line-height: 36px;
        border-radius: 50%;
    }

    .attendance-normal::before {
        width: 36px !important;
        height: 36px !important;
        line-height: 36px;
        border-radius: 50%;
    }

    .attendance-late::before {
        content: "";
        width: 36px !important;
        height: 36px !important;
        border-radius: 50%;
        line-height: 36px;
    }

    .attendance-half::after {
        content: "";
        background-color: #f39c12;
        width: 18px;
        height: 36px;
        display: inline-block;
        border-bottom-left-radius: 36px;
        border-top-left-radius: 36px;
        position: absolute;
        left: 0;
    }

    .next-arrow {
        top: auto !important;
        bottom: -38px !important;
        right: -10px !important;
    }

    .next-arrow img {
        width: 28px;
    }

    .prev-arrow img {
        width: 28px;
    }

    .prev-arrow {
        top: auto !important;
        bottom: -38px !important;
        right: 30px !important;
    }

    .attendance-slider .card-body {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .slick-list {
        position: relative;
        left: -8px;
        top: -18px !important;
    }

    .my-team-section {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        left: 0;
    }
}

@media (max-width: 500px) {
    .slick-list {
        width: 320px;
        overflow: hidden;
    }

    .w-110px {
        width: 45px;
    }

    .w-100px {
        width: 90px;
    }

    .attendance-blank {
        width: 35px !important;
        height: 35px !important;
        line-height: 35px;
        border-radius: 50%;
    }

    .attendance-normal::before {
        width: 35px !important;
        height: 35px !important;
        line-height: 35px;
        border-radius: 50%;
    }

    .attendance-late::before {
        content: "";
        width: 35px !important;
        height: 35px !important;
        border-radius: 50%;
        line-height: 35px;
    }

    .attendance-half::after {
        content: "";
        background-color: #f39c12;
        width: 17.5px;
        height: 35px;
        display: inline-block;
        border-bottom-left-radius: 35px;
        border-top-left-radius: 35px;
        position: absolute;
        left: 0;
    }

    .next-arrow {
        top: auto !important;
        bottom: -38px !important;
        right: -10px !important;
    }

    .next-arrow img {
        width: 28px;
    }

    .prev-arrow img {
        width: 28px;
    }

    .prev-arrow {
        top: auto !important;
        bottom: -38px !important;
        right: 30px !important;
    }

    .attendance-slider .card-body {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .slick-list {
        position: relative;
        left: -8px;
        top: -18px !important;
    }

    .my-team-section {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        left: 0;
    }
}

.select2-close-mask {
    z-index: 2099;
}

.select2-dropdown {
    z-index: 3051;
}

.suggestions-container {
    z-index: 9999;
    background: #fff;
    width: 100%;
    border-bottom-left-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    margin-top: -2px;
    max-height: 190px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
}

.suggestion-item.selected {
    background-color: #007bff;
    color: white;
}

.suggestions-container .suggestion-item:hover {
    background-color: #5897fb;
    color: #fff;
}

[data-layout-mode="dark"] .suggestions-container {
    background: #2a2e3f !important;
    border: 1px solid #363a4f !important;
    color: #e4e6eb !important;
}

[data-layout-mode="dark"] .suggestion-item {
    color: #e4e6eb;
}

[data-layout-mode="dark"] .suggestion-item:hover,
[data-layout-mode="dark"] .suggestion-item.selected {
    background-color: #5156be !important;
    color: #fff !important;
}

.w-15 {
    width: 15% !important;
}

.w-10 {
    width: 10% !important;
}

.hover-danger:hover {
    color: red !important;
}

[v-cloak] {
    display: none;
}

.customPagination .page-link:focus,
.customPagination .page-link:active,
.customPaginationKS .page-link:focus,
.customPaginationKS .page-link:active {
    outline: none !important;
    box-shadow: none !important;
}

.overlay-loader-wrapper {
    position: relative;
}

.overlay-loader {
    display: none;
    position: absolute;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    align-items: center;
    justify-content: center;
}

[data-layout-mode="dark"] .overlay-loader {
    background: rgba(26, 29, 46, 0.8) !important;
}

/* .overlay-loader img {
    width: 50px;
    height: 50px;
} */
.overlay-loader-wrapper.overlayLoading .overlay-loader {
    display: flex;
    overflow: hidden;
}

.action-buttons-container a:not(a:last-child),
.action-buttons-container button:not(button:last-child):not(.btn-group button),
.action-buttons-container .btn-group:not(.btn-group:last-child) {
    margin-right: 0.25rem;
}

.timeline .custom-timeline-date {
    width: 144px;
    height: 28px;
    display: inline-block;
    padding: 5px;
    top: -12px;
    position: absolute;
    z-index: 1;
    border-radius: 0;
}

.timeline-right .custom-timeline-date {
    right: 15px;
}

/* .timeline-left .custom-timeline-date {
    left: 15px;
} */
@media (max-width: 767px) {
    .timeline-left .custom-timeline-date {
        right: 15px;
    }
}

@media (min-width: 768px) {
    .timeline-left .custom-timeline-date {
        left: 15px;
    }
}

.table thead th:last-child,
.table tbody td:last-child {
    text-align: right !important;
}

.leave-approval-history-timeline .pending-timeline .timeline-box {
    background: #f7f7f7 !important;
    border: 1px solid #5156be !important;
}

.leave-approval-history-timeline .pending-timeline .timeline-box:after {
    background: #f7f7f7 !important;
}

.leave-approval-history-timeline .timeline-right.pending-timeline .timeline-box:after {
    border-left-color: #5156be !important;
    border-bottom-color: #5156be !important;
}

.leave-approval-history-timeline .timeline-left.pending-timeline .timeline-box:after {
    border-right-color: #5156be !important;
    border-top-color: #5156be !important;
}

.page-content {
    min-height: 50vh;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

.notification-unread-item {
    background: rgba(160, 160, 160, 0.1);
}

.swal2-container .swal2-title {
    font-size: 20px !important;
}

.blink-red {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {

    0%,
    100% {
        background-color: #c54242;
    }

    50% {
        background-color: transparent;
    }
}

.bg-semi-success {
    background-color: #89a36f !important;
    color: white;
}

.w-40 {
    width: 40% !important;
}

.w-60 {
    width: 60% !important;
}

.select2-selection--single .select2-selection__clear span {
    position: absolute;
    top: 8px;
    right: 19px;
}

.select2-selection--multiple .select2-selection__clear span {
    position: absolute;
    top: -1px;
    right: 0px;
}

.is-invalid .select2-container {
    border: 1px solid #fd625e;
    border-radius: 0.25rem;
}

@media (min-width: 576px) {
    .offcanvas-sm {
        width: 300px;
    }

    .offcanvas-md {
        width: 350px;
    }

    .offcanvas-lg {
        width: 400px;
    }

    .offcanvas-xl {
        width: 500px;
    }
}

@media (min-width: 768px) {
    .offcanvas-sm {
        width: 350px;
    }

    .offcanvas-md {
        width: 450px;
    }

    .offcanvas-lg {
        width: 550px;
    }

    .offcanvas-xl {
        width: 700px;
    }
}

@media (min-width: 992px) {
    .offcanvas-sm {
        width: 400px;
    }

    .offcanvas-md {
        width: 550px;
    }

    .offcanvas-lg {
        width: 700px;
    }

    .offcanvas-xl {
        width: 900px;
    }
}

@media (min-width: 1200px) {
    .offcanvas-sm {
        width: 500px;
    }

    .offcanvas-md {
        width: 750px;
    }

    .offcanvas-lg {
        width: 950px;
    }

    .offcanvas-xl {
        width: 1400px;
    }
}

.offcanvas-static .offcanvas-backdrop.fade.show {
    pointer-events: none !important;
}

/* ============================================
   COLLAPSED SIDEBAR ICON CENTERING
   ============================================ */
body[data-sidebar-size="sm"] .vertical-menu {
    z-index: 4000 !important;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li>a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li>a i,
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul>li>a svg {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu>ul ul {
    padding: 0 !important;
}

/* Dark Mode Spin Buttons for Number Inputs */
[data-layout-mode="dark"] input[type=number]::-webkit-inner-spin-button,
[data-layout-mode="dark"] input[type=number]::-webkit-outer-spin-button {
    -webkit-filter: invert(1);
    filter: invert(1);
}

.report-main-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 46px;
}
