/* Стили для контейнера загрузки */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Темный фон с прозрачностью */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Анимация вращающегося индикатора */
.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #ddd;
    border-top: 6px solid #3498db; /* Цвет активного сегмента */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Ключевые кадры для анимации */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
