/* Contenedor pantalla completa */
#coffee-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa; /* Fondo gris claro premium */
    z-index: 99999; /* Por encima de cualquier elemento */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    text-align: center;
}

/* Tamaño de la taza */
.coffee-svg {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

/* Texto inferior */
.loader-text {
    font-family: system-ui, -apple-system, sans-serif;
    color: #495057;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Animación del humo huyendo hacia arriba */
.smoke {
    stroke-dasharray: 10;
    animation: continuous-smoke 1.5s linear infinite;
}

.smoke-1 { animation-delay: 0s; }
.smoke-2 { animation-delay: 0.3s; }
.smoke-3 { animation-delay: 0.6s; }

@keyframes continuous-smoke {
    0% {
        stroke-dashoffset: 20;
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

/* Clase para ocultar el loader con desvanecimiento */
.loader-hidden {
    opacity: 0;
    visibility: hidden;
}
