/* Loader Overlay */
#loaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#loaderOverlay.active {
    display: flex !important;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* SVG Styling */
.pizza-loader-svg {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
    transform-origin: center;
    animation: pulse-spin 2s infinite ease-in-out;
}

/* Cores do SVG */
.pizza-crust {
    stroke: #D4A017; /* Dourado escuro */
    stroke-width: 3;
}
.pizza-cheese {
    stroke: #FFD700; /* Dourado claro */
    stroke-width: 1.5;
}
.pizza-topping {
    fill: #dc3545; /* Vermelho Pepperoni */
}

/* Animações */
@keyframes pulse-spin {
    0% { transform: scale(0.95) rotate(-5deg); }
    50% { transform: scale(1.05) rotate(5deg); }
    100% { transform: scale(0.95) rotate(-5deg); }
}

.loader-text {
    color: #FFD700;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    animation: text-pulse 1.5s infinite;
}

@keyframes text-pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}
