/* Global Little Husk Loader Styles */

.little-husk-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #fef7f4 0%, #fff9f6 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Quicksand', 'Segoe UI', Arial, sans-serif;
    backdrop-filter: blur(10px);
    opacity: 1;
    transition: all 0.6s ease-out;
}

.little-husk-loader.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.loader-container {
    text-align: center;
    max-width: 400px;
    padding: 0 20px;
    animation: fadeInUp 0.6s ease-out;
}

.loader-logo-area {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-logo-wrapper {
    margin: 0 auto 20px;
    animation: pulse 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 120px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

/* Progress dots moved below logo */
.loader-logo-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

.loader-logo-dots .loader-progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff6b4a;
}

.loader-logo-dots .loader-progress-dot:nth-child(1) {
    animation: dotBounce 1.4s ease-in-out infinite;
}

.loader-logo-dots .loader-progress-dot:nth-child(2) {
    animation: dotBounce 1.4s ease-in-out infinite 0.2s;
}

.loader-logo-dots .loader-progress-dot:nth-child(3) {
    animation: dotBounce 1.4s ease-in-out infinite 0.4s;
}

.loader-message-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px 0;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.loader-message-content p {
    font-size: 16px;
    color: #64748b;
    margin: 0 0 20px 0;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.loader-tip-card {
    background: none;
    color: #8b7355;
    padding: 10px 16px;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.5;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: none;
    text-align: center;
    font-weight: 400;
    font-style: italic;
    opacity: 0.85;
    margin-top: 10px;
}

.loader-tip-card::before {
    display: none;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeInUp {
    0% { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes dotBounce {
    0%, 60%, 100% { 
        transform: translateY(0); 
        opacity: 0.7;
    }
    30% { 
        transform: translateY(-10px); 
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .loader-container {
        padding: 0 15px;
    }
    
    .loader-logo-area {
        margin-bottom: 30px;
    }
    
    .loader-logo {
        width: 100px;
    }
    
    .loader-message-content h3 {
        font-size: 18px;
    }
    
    .loader-message-content p {
        font-size: 14px;
    }
    
    .loader-tip-card {
        font-size: 13px;
        padding: 14px 16px;
    }
}
