﻿
.dl-horizontal dt {
    white-space: normal;
}



body {
    background-color: rgb(233 238 239) !important;
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.modal-backdrop {
    width: 111.11vw;
    height: 111.11vh;
}

.modal-dialog {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5) !important;
}

ul.pagination{
    overflow:auto;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #2876e1;
    color: white !important;
}
@media (min-width: 768px) {
    body {
        transform: scale(0.90);
        transform-origin: top left;
        width: 111.11%;
        overflow-x: hidden;
    }
}
.dashboard-widget {
    background: white;
    margin: 7px
}

.page-content {
    margin-top: 6px;
}

.row > [class^="col"] {
    padding-right: 5px !important;
    padding-left: 5px !important;
}

.form-control {
    border: 1px solid #7f7e8b !important;
    border-radius: 0px !important;
}

.btn-primary {
    border-radius: 0px !important;
    background: #3c8faa !important;
}

.btn-secondary {
    border-radius: 0px !important;
}

.modal-content {
    border-radius: 0px !important;
}

ptions-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
}

@media print {
    /* undo any desktop/body scaling */
    body {
        transform: none !important;
        width: auto !important;
        overflow: visible !important;
        margin: 0;
        padding: 0;
    }

    /* undo your flex‐wrapper / full‐height layout */
    .flx-wrapper,
    .flx-wrapper *,
    .flx-content,
    .flx-content * {
        display: block !important;
        height: auto !important;
        min-height: auto !important;
        flex: none !important;
        overflow: visible !important;
    }

    /* zero out the printed page margins and let browser size to content */
    @page {
        margin: 0;
        size: auto;
    }

    /* now your existing hide/show logic… */
    /* hide everything */
    body * {
        visibility: hidden !important;
    }
    /* show only the print area */
    .print-area, .print-area * {
        visibility: visible !important;
    }
    /* position the print area at the top left */
    .print-area {
        position: absolute;
        top: 0;
        left: 0;
        width: auto !important;
    }
}


.context-menu {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

    .context-menu ul {
        list-style: none;
        padding: 5px;
        margin: 0;
    }

        .context-menu ul li {
            padding: 8px 12px;
            cursor: pointer;
        }

            .context-menu ul li:hover {
                background: #f0f0f0;
            }

.switch-toggle {
    width: 162px !important;
    height: 38px !important;
    border: 1px solid #a69898 !important;
    border-radius: 0px !important;
    /*--width: 260px;
    --height: 50px;*/
    /* --offset: 2px; */
    /* --radius: 4px;
    /*--offset: 2px;*/
    --radius: 4px;
    position: relative;
    /* width: var(--width);
    height: var(--height);*/
    padding: var(--offset);
    background: rgba(227, 229, 232, 0.5);
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    font-style: normal;
}

.modal-backdrop {
    width: 111.11%;
    height: 111.11vh;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown button {
    border: 0px !important;
}

.dropdown-display {
    padding: 6px 10px;
    border: 1px solid #ccc;
    cursor: pointer;
    background: #fff;
}

.btn-helper {
    color: white !important;
    max-width: 45px;
    background: #3c8faa !important;
}

.highlighted {
    background: #0a58ca !important;
    color: #ffffff !important;
}

.selected td {
    color: white !important;
    background-color: #adb7b9 !important;
}

.products-table th {
    background: #dce0e3 !important;
    color: black !important;
}
table.dropdown-table {
    min-width: 100%;
}

.custom-dropdown-wrapper tr:nth-child(even) {
    background-color: #f2f2f2; /* Light gray */
}

.custom-dropdown-wrapper li:nth-child(even) {
    background-color: #f2f2f2; /* Light gray */
}

.custom-dropdown-menu {
    max-height: 400px !important;
}


.custom-dropdown-wrapper table tr:hover {
    background: #d8dee6;
}

.custom-dropdown-wrapper .custom-dropdown-menu li:hover {
    background: #d8dee6 !important;
}

.toast-container {
    border-radius: 0px;
}
.form-check-input[type=checkbox] {
    border-color: black !important;
}
.btn:hover {
    background-color: #53a0ae;
    border-color: #0a58ca;
}

.custom-dropdown-wrapper table tr {
    border-right: black !important;
    cursor: pointer;
}

table.dropdown-table tr td {
    padding: 4px;
    border-bottom: 1px solid #ffffff !important;
}

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ccc;
    width: fit-content;
    /* Ensure it’s visible when open */
}

/*   .custom-dropdown-menu tr {
        border-bottom: 1px solid #c8c8d9;
    }*/
/*.items-table {
    height:32vh;
}*/

.modal-backdrop {
    width: 111.11vw !important;
    height: 111.11vh !important;
}

.nav-tabs .nav-item {
    border: 1px solid #c1b3b3 !important;
}

.table-container {
    height: 66vh;
    overflow: auto;
}
/* The outer wrapper is set to use flexbox and fill the viewport */
.flx-wrapper {
    display: flex;
    flex-direction: column;
}




.navbar-dark {
    --bs-navbar-color: white !important;
    background-color: #1d7faa !important;
}

.bg-dark {
}

/* The form is made a flex container; its content area will grow */
.flx-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 0;
}
/* The main content (everything above the footer) */
.flx-content {
    flex: 1;
}
/* The footer remains at the bottom */
.flx-footer {
    background: #fff;
    padding: 15px;
    z-index: 33;
    /* Additional styles (box-shadow, border-top, etc.) can be added here */
}

.items-table td {
    padding: 0px !important;
}



/*workaround form table > tr background not working*/
tr.inputpicker-element.inputpicker-element-1.inputpicker-active td {
    background: blue;
}

.switch-toggle input[type="checkbox"] {
    cursor: pointer;
    position: absolute;
    inset: 0;
    appearance: none;
    z-index: 2;
}

    .switch-toggle input[type="checkbox"]:checked + label.switch-toggle-label:before {
        translate: 100% 0;
    }

    .switch-toggle input[type="checkbox"]:checked + label.switch-toggle-label span:nth-child(1) {
        color: gray;
    }

    .switch-toggle input[type="checkbox"]:checked + label.switch-toggle-label span:nth-child(2) {
        color: #1a1a1a;
    }

    .switch-toggle input[type="checkbox"] + label.switch-toggle-label {
        position: absolute;
        inset: var(--offset, 0);
        padding: 10px 0;
        display: block;
        user-select: none;
        pointer-events: none;
        display: grid;
        gap: 2px;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        place-items: center;
    }

        .switch-toggle input[type="checkbox"] + label.switch-toggle-label:before {
            content: "";
            position: absolute;
            width: 50%;
            inset: 0;
            background: #fff;
            border-radius: calc(var(--radius) - var(--offset));
            box-shadow: 0px 10px 20px 0px rgba(16, 39, 68, 0.1);
            translate: 0 0;
            transition: translate 250ms cubic-bezier(0.93, 0.26, 0.07, 0.69);
        }

        .switch-toggle input[type="checkbox"] + label.switch-toggle-label span {
            position: relative;
            transition: 200ms linear;
        }

            .switch-toggle input[type="checkbox"] + label.switch-toggle-label span:nth-child(1) {
                color: #1a1a1a;
            }

            .switch-toggle input[type="checkbox"] + label.switch-toggle-label span:nth-child(2) {
                color: gray;
            }


.table-row {
    cursor: pointer;
    transition: background-color 0.3s;
}

    .table-row:hover {
        background-color: #f5f5f5;
    }

.selected {
    background-color: #d1ecf1 !important;
}


/* Loading Bar */
.linear-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #4caf50, #2196F3);
    background-size: 200% 100%;
    
    : loading-animation 2s linear infinite;
    z-index: 9999;
}

@keyframes loading-animation {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(100%);
    }
}

.window {
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.title-bar {
    display: flex;
    justify-content: right;
    align-items: center;
    background-color: #0078d7;
    color: white;
    padding: 5px;
    cursor: move;
}

.window-controls button {
    background: none;
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
}

    .window-controls button:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

.content {
    height: calc(100% - 40px); /* Adjust based on title-bar height */
    overflow: auto;
}

.options-btn {
    border: none;
    background: transparent
}

/* Importing Google Fonts and Boxicons */
@import "https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap";

@import "https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css";

/* Global style settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif; /* Applying 'Poppins' font globally */
}

/* Sidebar container styling */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999 !important;
    height: 100%;
    width: 78px; /* Default sidebar width */
    background: #1d7faa; /* Dark background color for sidebar */
    padding: 1px 2px 1px 1px;
    z-index: 99; /* Ensures sidebar is on top */
    transition: all 0.5s ease; /* Smooth transition for width change */
}

    /* Logo details within the sidebar */
    .sidebar .logo-details {
        height: 60px;
        display: flex;
        align-items: center;
        position: relative;
    }

        .sidebar .logo-details .icon {
            opacity: 0; /* Hidden by default, shows when sidebar is expanded */
            transition: all 0.5s ease;
        }

        .sidebar .logo-details .logo_name {
            color: #fff;
            font-size: 20px;
            font-weight: 600;
            opacity: 0; /* Hidden by default, shows when sidebar is expanded */
            transition: all 0.5s ease;
        }

        .sidebar .logo-details #btn {
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            font-size: 23px;
            text-align: center;
            cursor: pointer;
            transition: all 0.5s ease;
        }

    /* General icon styling */
    .sidebar i {
        color: #fff;
        height: 60px;
        min-width: 50px;
        font-size: 28px;
        text-align: center;
        line-height: 60px; /* Centers icon vertically */
    }

    /* Sidebar navigation list styling */
    .sidebar .nav-list {
        height: calc(100% - 140px); /* Leaves space for logo and profile */
    }

    /* Scrollbar styles for sidebar */
    .sidebar .scroll {
        overflow-y: auto; /* Enables vertical scrolling */
        scrollbar-width: thin;
    }

        .sidebar .scroll::-webkit-scrollbar {
            width: 8px;
            background: #262440; /* Scrollbar background color */
            border-radius: 5px;
        }

        .sidebar .scroll::-webkit-scrollbar-thumb {
            background: #262440; /* Scrollbar thumb color */
            border-radius: 5px;
        }

        .sidebar .scroll::-webkit-scrollbar-track {
            background: #171526; /* Scrollbar track color */
            border-radius: 5px;
        }

    /* Sidebar navigation item styling */
    .sidebar li {
        position: relative;
        margin: 08px 0px 0 0;
        list-style: none;
    }



        .sidebar li:hover .tooltip {
            opacity: 1; /* Shows tooltip on hover */
            pointer-events: auto;
            transition: all 0.4s ease;
            top: 50%;
            transform: translateY(-50%);
        }

        /* Link styling within sidebar items */
        .sidebar li a {
            display: flex;
            height: 100%;
            width: 100%;
            border-radius: 12px;
            align-items: center;
            text-decoration: none;
            transition: all 0.4s ease;
        }

            .sidebar li a:hover {
                background: #1d1b31; /* Lighter background on hover */
            }

                /* Link text and icon hover effects */
                .sidebar li a:hover .links_name {
                    transition: all 0.5s ease;
                }

                .sidebar li a:hover i {
                    transition: all 0.5s ease;
                }

            /* Link text styling */
            .sidebar li a .links_name {
                color: #fff;
                font-size: 15px;
                font-weight: 400;
                white-space: nowrap;
                opacity: 0; /* Hidden by default */
                pointer-events: none;
                transition: 0.4s;
            }

        /* Icon styling within sidebar items */
        .sidebar li i {
            height: 50px;
            line-height: 50px; /* Centers icon vertically */
            font-size: 18px;
            border-radius: 12px;
        }

        /* Profile details styling */
        .sidebar li .profile-details {
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
        }

        .sidebar li img {
            height: 45px;
            width: 45px;
            object-fit: cover;
            border-radius: 6px;
            margin-right: 10px;
        }

    /* Sidebar input (search) styling */
    .sidebar input {
        font-size: 15px;
        color: #FFF;
        font-weight: 400;
        outline: none;
        height: 50px;
        width: 50px; /* Default width for search input */
        border: none;
        border-radius: 12px;
        transition: all 0.5s ease;
        background: #1d1b31; /* Input background color */
    }

    /* Search button styling */
    .sidebar .bx-search {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        font-size: 22px;
        background: #1d1b31;
        color: #FFF;
    }

        .sidebar .bx-search:hover {
            background: #FFF; /* Hover background color */
            color: #11101d; /* Hover text color */
        }

    /* Profile section styling */
    .sidebar li.profile {
        position: fixed;
        height: 60px;
        width: 78px; /* Default width for profile section */
        left: 0;
        bottom: -8px;
        padding: 10px 14px;
        background: #1d1b31;
        transition: all 0.5s ease;
        overflow: hidden;
    }

        .sidebar li.profile .name {
            font-size: 15px;
            font-weight: 400;
            color: #fff;
            white-space: nowrap;
        }

        .sidebar li.profile .job {
            font-size: 12px;
            font-weight: 400;
            color: #fff;
            white-space: nowrap;
        }

    /* Logout button styling */
    .sidebar .profile #log_out {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        background: #1d1b31;
        width: 100%;
        height: 60px;
        line-height: 60px; /* Centers logout icon vertically */
        border-radius: 0px;
        transition: all 0.5s ease;
    }

    /* Expanded sidebar styles */
    .sidebar.open {
        width: 250px; /* Expanded sidebar width */
    }

        .sidebar.open .logo-details .icon {
            opacity: 1; /* Shows icon in expanded state */
        }

        .sidebar.open .logo-details .logo_name {
            opacity: 1; /* Shows logo name in expanded state */
        }

        .sidebar.open .logo-details #btn {
            text-align: right;
        }

        .sidebar.open li .tooltip {
            display: none; /* Hides tooltips when expanded */
        }

        .sidebar.open li a .links_name {
            opacity: 1; /* Shows link names when expanded */
            pointer-events: auto;
        }

        .sidebar.open input {
            padding: 0 20px 0 50px;
            width: 100%; /* Expands input width */
        }

        .sidebar.open .bx-search:hover {
            background: #1d1b31;
            color: #FFF;
        }

        .sidebar.open li.profile {
            width: 250px; /* Expands profile section */
        }

        .sidebar.open .profile #log_out {
            width: 50px; /* Shrinks logout button */
            background: none;
        }

        .sidebar.open ~ .home-section {
            left: 250px; /* Adjusts home section to sidebar width */
            width: calc(100% - 250px);
        }

/* Main content (home section) styling */
.home-section {
    position: relative;
    background: #E4E9F7; /* Light background for main content */
    min-height: 100vh;
    top: 0;
    left: 78px;
    width: calc(100% - 78px); /* Adjusts width to fit next to sidebar */
    transition: all 0.5s ease;
    z-index: 2;
}

    .home-section .text {
        display: inline-block;
        color: #11101d;
        font-size: 25px;
        font-weight: 500;
        margin: 18px;
    }

/* Floating YouTube Button Styling */
.youtube-button {
    position: fixed;
    bottom: 20px; /* Distance from the bottom */
    right: 20px; /* Distance from the right */
    background-color: #FF0000; /* YouTube red color */
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

    /* Icon Styling */
    .youtube-button i {
        font-size: 24px;
    }

    /* Hover Effect */
    .youtube-button:hover {
        background-color: #e60000; /* Darker shade of red */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        transform: translateY(-2px); /* Slight upward movement */
    }
/* ─────────────────────────────────────────────
   UNIVERSAL MODAL LAYERING + FULLSCREEN FOR MOBILE
───────────────────────────────────────────── */

/* 1) Backdrop just under the modal */
.modal-backdrop {
    z-index: 9998 !important;
}

/* 2) Modal itself above everything */
.modal {
    z-index: 99999 !important;
}
/* Existing styles can remain here */



/* SLOW DOWN *ALL* transitions & animations globally */
/**,
*::before,
*::after {*/
    /* tweak these durations to taste */
    /*transition-duration: 0.1s !important;
    transition-timing-function: ease-in-out !important;
    animation-duration: 0.62s !important;
    animation-timing-function: ease-in-out !important;
}*/

.ripple-click {
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.ripple-click {
    transition: background-color 0.2s ease;
    border-radius: 6px;
}

    .ripple-click:active {
        background-color: rgba(0, 0, 0, 0.08); /* subtle touch feedback */
    }

/* Mobile drawer styles */
@media (max-width: 767px) {

    #linear-loader{
        top: 10px !important;
    }

    .products-table {
        height: 70vh;
    }

    html {
        font-size: 110%;
    }

    .mt-md-3{
        margin-top:3px;
    }

    .mobile-add-items {
        overflow: hidden;
        overflow-y: visible;
        max-height: 100%;
    }

    .dashboard-widget-tile {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .dashboard-widget-icon{
        margin-left:30px;
    }
    /* SLOW DOWN *ALL* transitions & animations globally */
    /**,
    *::before,
    *::after {*/
        /* tweak these durations to taste */
        /*transition-duration: 0.2s !important;
        transition-timing-function: ease-in-out !important;
        animation-duration: 0.3s !important;
        animation-timing-function: ease-in-out !important;
    }*/

    .mln-md-5{
        margin-left:-5px
    }

    .card-body {
        padding-right: 14px;
        padding-left: 14px;
    }


    .items-card .card-body {
        padding-right: 8px;
        padding-left: 8px;
    }

    /* ─────────────────────────────────────────────
   FORCE BOOTSTRAP MODALS TO TOP-MOST LAYER
───────────────────────────────────────────── */
    .modal {
        height:100vh;
    }
        .modal-backdrop {
            display: none !important;
        }

        /* if you kept your “.fullscreen” helper, bump it too */
        .modal.fullscreen .modal-dialog,
        .modal.fullscreen .modal-content {
            z-index: 100000 !important;
        }

    .mobile-tab-header {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 2000 !important;
        background: #1d7faa; /* match your header bg */
        color: #fff; /* if needed */
    }

    /* 2) Prevent it from covering content */
    .mobile-tab-container {
        /* adjust 50px to whatever your .mobile-tab-header height actually is */
        padding-top: 50px !important;
    }

    /* 3) If you have any direct scrollable area inside the tabs, 
        make sure it doesn’t start under the header */
    .mobile-tab-content {
        margin-top: 0 !important;
    }
    /* 1) hide the thead */
    table.responsive thead {
        display: none;
    }

    /* 2) make each row a flex container that wraps */
    table.responsive tr {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 1rem;
        border-bottom: 1px solid #ddd;
    }

    /* 3) two cells per line → each td is 50% */
    table.responsive td {
        flex: 0 0 50%;
        display: block; /* so ::before starts a new line */
        position: relative;
        padding: 0.5rem;
        text-align: left;
        white-space: normal;
    }

        /* 4) inject header label before the value */
        table.responsive td::before {
            content: attr(data-label) ": ";
            font-weight: bold;
            display: block;
            margin-bottom: 0.25rem;
        }

    .dashboard-widget-tile {
        /*box-shadow: 3px 2px 9px 1px rgba(0, 0, 0, 0.3);*/
    }


        #mobileDrawer.open {
            left: 0;
        }
    /* Overlay to darken the background when drawer is open */
    .mobile-drawer-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 999;
    }

        .mobile-drawer-overlay.show {
            display: block;
        }
    /* Hide desktop navbar on mobile */
    .desktop-navbar {
        display: none;
    }
}

@media (min-width: 768px) {

    .products-table {
        height: 31vh;
    }

    /*larger/greater than 992px*/
    /* Disable all Bootstrap transitions for medium and bigger screens*/

    *:not(.force-animation),
    *:not(.force-animation)::before,
    *:not(.force-animation)::after {
        transition: none !important;
        animation: none !important;
    }

    .flx-wrapper {
        min-height: 100vh;
        padding-left: 5px;
        padding-right: 5px;
    }

    .mln-md-5{
        margin-left:-5px
    }

    .ml-4-md {
        margin-left: 4px
    }

    .ml-10-md {
        margin-left: 10px
    }

    /* On desktop, hide mobile drawer elements */
    #mobileDrawer, .mobile-drawer-overlay {
        display: none;
    }

    .dashboard-widget-conatiner {
        margin-right: -30px !important;
    }
}



/* Title Bar Styles */
#titlebar {
    -webkit-app-region: drag;
    background-color: #0078d7;
    color: white;
    height: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    box-sizing: border-box;
    font-family: sans-serif;
    user-select: none;
}

    #titlebar .window-controls {
        display: flex;
    }

        #titlebar .window-controls button {
            -webkit-app-region: no-drag;
            background: transparent;
            border: none;
            color: white;
            width: 45px;
            height: 100%;
            cursor: pointer;
            outline: none;
            font-size: 14px;
        }

            #titlebar .window-controls button:hover {
                background-color: rgba(255,255,255,0.2);
            }

    #titlebar .title {
        font-size: 14px;
    }
/* Sidebar container */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    margin-top: 40px;
    width: 200px;
    height: 100%;
    background: #1d7faa;
    color: #ecf0f1;
    transition: width 0.3s ease;
    overflow: hidden;
}
    /* Minimal view: narrower width */
    .sidebar.collapsed {
        width: 52px;
    }
    /* Toggle button */
    .sidebar .toggle-btn {
        background: #1d7faa;
        border: none;
        color: #ecf0f1;
        width: 100%;
        height: 40px;
        cursor: pointer;
        outline: none;
        font-size: 18px;
    }
    /* Navigation items */
    .sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .sidebar ul li {
            position: relative;
        }

            .sidebar ul li a {
                display: flex;
                align-items: center;
                color: #ecf0f1;
                text-decoration: none;
                transition: background 0.2s;
            }

                .sidebar ul li a:hover {
                    background: #1abc9c;
                }

                .sidebar ul li a i {
                    font-size: 16px;
                    width: 30px;
                    text-align: center;
                }

                .sidebar ul li a span {
                    margin-left: 10px;
                    white-space: nowrap;
                }
    /* Hide text in collapsed mode */
    .sidebar.collapsed ul li a span {
        display: none;
    }

/* Main content area */
.main-content {
    margin-left: 200px;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

.sidebar.collapsed ~ .main-content {
    margin-left: 60px;
}


/*sidebar styles*/
.flx-tooltip {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

    .flx-tooltip::after {
        content: attr(data-label); /* Get text from data-label */
        position: absolute;
        bottom: 120%; /* Adjust above the link */
        left: 50%;
        transform: translateX(-50%);
        background-color: black;
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out;
    }

    .flx-tooltip:hover::after {
        opacity: 1;
        visibility: visible;
    }

/* Left Drawer Styles */
.left-drawer {
    position: fixed;
    top: 0;
    left: -250px; /* Initially hidden off-screen */
    width: 250px;
    height: 100%;
    background: linear-gradient(135deg, #2C3E50, #34495E);
    color: #ecf0f1;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 99999;
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: #1A252F;
}

.drawer-title {
    font-size: 1.2em;
    font-weight: bold;
}

.drawer-toggle-btn {
    background: transparent;
    border: none;
    color: #ecf0f1;
    font-size: 1.5em;
    cursor: pointer;
}

/* Menu & Submenu */
.left-drawer ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .left-drawer ul.menu li {
        border-bottom: 1px solid rgba(236, 240, 241, 0.2);
    }

        .left-drawer ul.menu li a {
            display: block;
            padding: 12px 15px;
            color: #ecf0f1;
            text-decoration: none;
            transition: background 0.2s ease;
        }

.left-drawer .dropdown-item {
    color: black !important;
}

.left-drawer ul/menu li a:hover {
    background: rgba(236, 240, 241, 0.1);
}

.left-drawer ul.submenu {
    list-style: none;
    padding-left: 15px;
    display: none;
}

.left-drawer ul.menu li.open > .submenu {
    display: block;
}

/* Drawer Tab (small visible button when drawer is closed) */
.drawer-tab {
    position: fixed;
    left: 10px;
    bottom: -3px;
    width: 40px;    
    height: 45px;
    background: #1d7faa;
    color: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99999;
}


/* Overlay for when the drawer is open */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 99999;
}
.dashboard-widget-tile {
    margin: 5px !important;
}

<style >
/* ===== Desktop Tab System (existing implementation) ===== */
.desktop-tabs .tab-content {
    padding: 15px;
    border: 1px solid #ddd;
    border-top: none;
}

/* Each mobile tab starts off-screen (below the view) with 0 opacity */
.mobile-tab {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: translateY(0);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 0.5s ease-out;
}
    /* The active mobile tab slides from bottom to top and fades in */
    .mobile-tab.active {
        transform: translateY(-100%);
        opacity: 1;
    }

/* Mobile tab header with light blue background and back arrow */
.mobile-tab-header {
    background-color: #ADD8E6; /* light blue */
    padding: 10px;
    display: flex;
    height:42px;
    align-items: center;
}

    .mobile-tab-header .back-button {
        cursor: pointer;
        margin-right: 10px;
        font-size: 1.5rem;
    }

    .mobile-tab-header .tab-title {
        flex-grow: 1;
        text-align: center;
        font-weight: bold;
        font-size: 1.25rem;
    }
