/* Simple Hand Cooking Loader */
.restaurant-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.restaurant-loader.show {
    opacity: 1;
    visibility: visible;
}

/* Hand Cooking Container */
.hand-cooking {
    position: relative;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--speezu-accent, #F9349B);
}

/* Hand Icon */
.hand-icon {
    font-size: 48px;
    color: var(--speezu-accent, #F9349B);
    animation: hand-mix 2s ease-in-out infinite;
    transform-origin: center;
}

/* Hand Mixing Animation */
@keyframes hand-mix {
    0% {
        transform: rotate(-15deg) scale(1);
    }
    25% {
        transform: rotate(15deg) scale(1.1);
    }
    50% {
        transform: rotate(-10deg) scale(1);
    }
    75% {
        transform: rotate(10deg) scale(1.1);
    }
    100% {
        transform: rotate(-15deg) scale(1);
    }
}

/* Mixing Bowl */
.mixing-bowl {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #f0f0f0, #d0d0d0);
    border-radius: 50%;
    border: 2px solid #ccc;
    animation: bowl-shake 1.5s ease-in-out infinite;
}

.mixing-bowl::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(145deg, #fff, #f5f5f5);
    border-radius: 50%;
    animation: content-mix 2s ease-in-out infinite;
}

/* Bowl Shake Animation */
@keyframes bowl-shake {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(-2px) rotate(-1deg);
    }
    75% {
        transform: translateX(2px) rotate(1deg);
    }
}

/* Content Mix Animation */
@keyframes content-mix {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.05);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Loading Text */
.loading-text {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-top: 15px;
    text-align: center;
    animation: text-fade 2s ease-in-out infinite;
}

/* Text Fade Animation */
@keyframes text-fade {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Loading Dots */
.loading-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: var(--speezu-accent, #F9349B);
    border-radius: 50%;
    margin: 0 2px;
    animation: dot-bounce 1.5s ease-in-out infinite;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

/* Dot Bounce Animation */
@keyframes dot-bounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hand-cooking {
        width: 100px;
        height: 100px;
    }
    
    .hand-icon {
        font-size: 40px;
    }
    
    .mixing-bowl {
        width: 70px;
        height: 70px;
    }
    
    .loading-text {
        font-size: 14px;
    }
}
