/* Flowtimer Loading Screen Styles */

.flowtimer-loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0f1419 0%, #1a202c 50%, #2d3748 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: 'Inter', 'Roboto', sans-serif;
}

.flowtimer-loading-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: flowtimer-logoFadeIn 1s ease-out 0.5s forwards;
}

.flowtimer-loading-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    opacity: 0;
    animation: flowtimer-titleSlideUp 0.8s ease-out 1s forwards;
}

.flowtimer-loading-subtitle {
    font-size: 1rem;
    color: #a0aec0;
    margin-bottom: 3rem;
    opacity: 0;
    animation: flowtimer-subtitleFadeIn 0.6s ease-out 1.3s forwards;
}

.flowtimer-loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
}

.flowtimer-spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid #4299e1;
    border-radius: 50%;
    animation: flowtimer-spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.flowtimer-spinner-ring:nth-child(2) {
    border-top-color: #63b3ed;
    animation-delay: 0.15s;
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
}

.flowtimer-spinner-ring:nth-child(3) {
    border-top-color: #90cdf4;
    animation-delay: 0.3s;
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
}

.flowtimer-loading-dots {
    display: flex;
    gap: 8px;
    margin-top: 2rem;
}

.flowtimer-loading-dot {
    width: 8px;
    height: 8px;
    background: #4299e1;
    border-radius: 50%;
    animation: flowtimer-dotPulse 1.4s ease-in-out infinite;
}

.flowtimer-loading-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.flowtimer-loading-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.flowtimer-loading-progress-text {
    color: #a0aec0;
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0;
    animation: flowtimer-textFadeIn 0.5s ease-out 2s forwards;
}

/* Animations */
@keyframes flowtimer-logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes flowtimer-titleSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flowtimer-subtitleFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes flowtimer-textFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes flowtimer-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes flowtimer-dotPulse {
    0%, 80%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .flowtimer-loading-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .flowtimer-loading-title {
        font-size: 2rem;
    }
    
    .flowtimer-loading-spinner {
        width: 50px;
        height: 50px;
    }
}

/* Hide the old loading progress */
.loading-progress {
    display: none !important;
} 