/* Global Preloader Styles - Only for Table Reservations Panel */
.preloader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999 !important;
    display: none !important; /* Hidden by default */
    align-items: center !important;
    justify-content: center !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(5px) !important;
}

.preloader.show {
    display: flex !important; /* Show when needed */
}

.bg-soft {
    background-color: rgba(255, 255, 255, 0.95);
}

.loader-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.loader-animated-dot {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #5e72e4;
    margin-bottom: 15px;
    animation: loader-pulse 1.5s ease-in-out infinite;
}

@keyframes loader-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

/* Vue v-cloak directive to hide template syntax before Vue mounts */
[v-cloak] {
    display: none !important;
}

/* Vue loading overlay for reservations */
.vue-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.vue-loading-overlay .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}