/* Write your custom css in this file. */
#install-pwa {display:none;}

.sidebar {
    width: 220px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05) !important;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05) !important;
  }

.btn-info {
    background: #2324cd;
    border: 1px solid #2324cd;
}

/* Default width for larger screens */
.sidebar-toggled .sidebar {
    width: 200px; /* Fixed width for medium screens and above */
    /*transition: width 0.5s ease-in-out; /**/
}

/* Override for small screens */
@media (max-width: 576px) { /* Target screens smaller than Bootstrap's "sm" breakpoint (576px) */
    .sidebar-toggled .sidebar {
        width: 80%; /* Sidebar takes 75% of the screen width */
        /*height: 100%; */
    }

    .datatable-export.filter-item-box {
        display: none; /* Hide the element on mobile */
    }
}

@media (max-width: 768px) { /* Adjust max-width for your desired breakpoint */
    .datatable-export.filter-item-box {
        display: none; /* Hide the element on mobile */
    }
}





.fab-menu-item {
    padding: 12px 16px; /* Better horizontal padding */
    margin: 0px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    display: flex !important;
    flex-direction: row !important; /* Horizontal layout for modern UI */
    align-items: center !important;
    justify-content: flex-start !important; /* Left alignment */
    gap: 12px !important; /* Good spacing between icon and text */
    text-decoration: none !important;
}


.fab-menu-item:last-child {
    border-bottom: none;
}

.fab-menu-item:hover {
    background-color: #f1f1f1;
}

.fab-menu-item:hover .icon {
    color: #2324cd;
}

.fab-menu-item .icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important; /* Prevent icon shrinking */
}

.fab-menu-item span {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important; /* Prevent text wrapping */
}

.fab-menu-item .dropdown-toggle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    color: inherit;
    font-size: inherit;
    cursor: pointer;
}

.fab-menu-item .dropdown-toggle .icon {
    margin-bottom: 0;
    margin-right: 8px;
}

.fab-menu-item .dropdown-toggle span {
    font-size: 14px;
    font-weight: 500;
}

/* Mobile FAB button styling */
.mobile-fab-wrapper {
    position: fixed !important;
    bottom: 60px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    z-index: 2147483647 !important; /* Maximum safe z-index */
    display: block !important;
    transform: none !important;
}

.mobile-fab {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background-color: #000000 !important; /* Black as requested */
    border: 2px solid #ffffff !important; /* 2px white border */
    color: #ffffff !important;
    font-size: 22px !important; /* Larger icon */
    font-weight: bold !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important; /* Enhanced shadow */
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 2147483647 !important;
}

.mobile-fab:hover {
    background-color: #333333 !important;
    transform: scale(1.05);
}

.mobile-fab:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* FAB menu positioning */
.fab-menu {
    position: absolute;
    bottom: 50px; /* 40px button + 10px gap */
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    display: none;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    z-index: 10000;
}

.fab-menu.active {
    display: flex !important;
}

/* FORCE BOTTOM-RIGHT POSITIONING - NUCLEAR OPTION */
.mobile-fab-wrapper {
    /* Hard reset all positioning */
    position: fixed !important;
    bottom: 60px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    transform: translateX(0) translateY(0) !important;
    margin: 0 !important;
    padding: 0 !important;
}
