/* Стили для блока загрузчика */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 200;
}

.loader-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    animation: rotate 2s linear infinite;
}

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

.loader-content {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.processing-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin-top: 1rem;
}

.processing-text,
.time-counter {
    color: white;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.time-counter {
    font-size: 1.2em;
    font-weight: bold;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.progress-bar {
    width: 80%;
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.3);
    overflow: hidden;
    margin-top: 1.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(to right, #00f2fe, #4facfe);
    width: 0%;
    transition: width 0.3s ease;
}