.bx-edit {
    background-color: rgb(105, 108, 255);
}
.bx-trash, bx-x {
    background-color: rgb(255, 62, 29);
}
.bx-show-alt ,
.bx-lock {
    background-color: rgb(253, 172, 52);
}
.bx-upload {
    color: #1da1f2;
}
/* Full Screen Spinner Overlay */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 21%);
    backdrop-filter: blur(2px);
    z-index: 9999;
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

    .spinner-overlay.show {
        display: flex;
    }

.spinner-container {
    position: fixed;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.spinner-overlay .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
    color: #696cff !important; /* Sneat primary color */
}

.spinner-text {
    margin-top: 1rem;
    font-size: 16px;
    font-weight: 500;
    color: #566a7f;
    animation: pulse 1.5s ease-in-out infinite alternate;
}

@keyframes pulse {
    from {
        opacity: 0.6;
    }

    to {
        opacity: 1;
    }
}

/* Disable pointer events on body when spinner is active */
body.spinner-active {
    pointer-events: none;
    overflow: hidden;
}

    body.spinner-active .spinner-overlay {
        pointer-events: all;
    }

/* Dark theme support */
[data-bs-theme="dark"] .spinner-overlay {
    background-color: rgba(40, 44, 52, 0.9);
}

[data-bs-theme="dark"] .spinner-text {
    color: #a1acb8;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .spinner-overlay .spinner-border {
        width: 2.5rem;
        height: 2.5rem;
    }

    .spinner-text {
        font-size: 14px;
    }
}
/*Sneat toast styling*/
/* Make sneatToast completely opaque */
#appToast.toast {
    opacity: 1 !important;
    background-color: rgba(255, 255, 255, 1) !important; /* Fully opaque white background */
}

/* Ensure toast body is also opaque */
#appToast .toast-body {
    opacity: 1 !important;
}

/* Ensure toast header is also opaque */
#appToast .toast-header {
    opacity: 1 !important;
}

/* Override Bootstrap's default toast fade classes */
#appToast.toast.show {
    opacity: 1 !important;
}

#appToast.toast.fade {
    opacity: 1 !important;
}

/* Make sure background colors for different types are fully opaque */
#appToast.bg-success {
    background-color: rgba(25, 135, 84, 1) !important;
}

#appToast.bg-danger {
    background-color: rgba(220, 53, 69, 1) !important;
}

#appToast.bg-warning {
    background-color: rgba(255, 193, 7, 1) !important;
}

#appToast.bg-info {
    background-color: rgba(13, 202, 240, 1) !important;
}

#appToast.bg-primary {
    background-color: rgba(13, 110, 253, 1) !important;
}

#appToast.bg-secondary {
    background-color: rgba(108, 117, 125, 1) !important;
}

#appToast.bg-dark {
    background-color: rgba(33, 37, 41, 1) !important;
}
