/* styles/loader.css */
.app-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.loader-content {
    text-align: center;
    max-width: 500px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.loader-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: #ffd700;
}

.loader-content h3 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 600;
}

.loader-content p {
    margin: 0 0 30px 0;
    opacity: 0.9;
    font-size: 16px;
}

.loader-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffa500);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.loader-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.loader-steps .step {
    font-size: 12px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.loader-steps .step.active {
    opacity: 1;
    font-weight: bold;
    color: #ffd700;
}

.error-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #dc3545;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 40px;
    text-align: center;
}

.error-content {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.error-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: #ffd700;
}

.error-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.error-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.error-btn.primary {
    background: white;
    color: #dc3545;
}

.error-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.error-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ready-screen {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
    z-index: 10000;
    animation: slideInRight 0.5s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}



