.custom-preeloader {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999999999;
    background: #00000095;
}
.nav-link.active .text-dark{
    color: #fff !important
}

.lds-grid,
.lds-grid div ,.custom-preeloader h3{
    box-sizing: border-box;
    color: #fff;
}

.lds-grid {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-grid div {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: currentColor;
    animation: lds-grid 1.2s linear infinite;
}

.lds-grid div:nth-child(1) {
    top: 8px;
    left: 8px;
    animation-delay: 0s;
}

.lds-grid div:nth-child(2) {
    top: 8px;
    left: 32px;
    animation-delay: -0.4s;
}

.lds-grid div:nth-child(3) {
    top: 8px;
    left: 56px;
    animation-delay: -0.8s;
}

.lds-grid div:nth-child(4) {
    top: 32px;
    left: 8px;
    animation-delay: -0.4s;
}

.lds-grid div:nth-child(5) {
    top: 32px;
    left: 32px;
    animation-delay: -0.8s;
}

.lds-grid div:nth-child(6) {
    top: 32px;
    left: 56px;
    animation-delay: -1.2s;
}

.lds-grid div:nth-child(7) {
    top: 56px;
    left: 8px;
    animation-delay: -0.8s;
}

.lds-grid div:nth-child(8) {
    top: 56px;
    left: 32px;
    animation-delay: -1.2s;
}

.lds-grid div:nth-child(9) {
    top: 56px;
    left: 56px;
    animation-delay: -1.6s;
}

@keyframes lds-grid {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.bulk_image{
    width: 150px;
    position: relative;
}
.delete_image_button{
    position: absolute;
    right: 10px;
    top: 8px;
}

/* === Left sidebar: full-height, fixed, full-width items (no bottom wrap) === */
#sidenav-main {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    width: 250px !important;
    max-width: 250px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    z-index: 1040 !important;
}
#sidenav-main .sidenav-header { flex: 0 0 auto; }
#sidenav-main #sidenav-collapse-main {
    flex: 1 1 auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
}
#sidenav-main .navbar-nav { width: 100% !important; }
#sidenav-main .nav-item { width: 100% !important; }
#sidenav-main .nav-link {
    width: 100% !important;
    display: flex !important;
    align-items: center;
    white-space: nowrap;
}
/* Fixed full-width bottom bar inside the sidebar */
#sidenav-main .sidenav-footer {
    flex: 0 0 auto;
    width: 100%;
    border-top: 1px solid rgba(0,0,0,.08);
    background: #fff;
}
#sidenav-main .sidenav-footer a {
    width: 100%;
    display: flex;
    align-items: center;
    padding: .85rem 1.25rem;
    color: #e91e63;
    font-weight: 700;
    font-size: .875rem;
    text-decoration: none;
    border-left: 3px solid transparent;
}
#sidenav-main .sidenav-footer a:hover {
    background: #fde8ef;
    color: #d81b60;
    border-left-color: #e91e63;
}
#sidenav-main .sidenav-footer a i { color: #e91e63; }

/* Fixed bottom copyright footer — stays pinned to viewport bottom, never scrolls with content */
.footer.fixed-bottom {
    position: fixed !important;
    left: 0; right: 0; bottom: 0;
    z-index: 1030;
    background: #fff;
    border-top: 1px solid #e9ecef;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.04);
}
.footer.fixed-bottom .copyright { font-size: 0.8rem; }

/* On desktop the sidebar is fixed 250px wide — keep the footer clear of it so
   the sidebar's bottom Logout bar stays visible (footer starts after the 250px). */
@media (min-width: 992px) {
    .footer.fixed-bottom { left: 250px !important; }
}

/* Keep main content clear of the fixed 250px sidebar on desktop */
@media (min-width: 992px) {
    .main-content { margin-left: 250px !important; }
}

/* === Global font: Poppins everywhere === */
body, .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6,
.navbar-brand, .nav-link-text, .font-weight-bold, .font-weight-normal,
.card-header, .card-body, .btn, .form-control, .form-label, .text-sm, .text-xs {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}
