.loading-indicator {
    display: none;
    position: fixed; /* or absolute, depending on your layout */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* Ensure it's above other elements */
    /* Add more styling as per your design requirements */
}
.spinner {
    border: 4px solid rgba(0,0,0,.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left: 4px solid #000;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1000; /* High z-index to be above other elements */
}

.loading-indicator {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001; /* Higher than the overlay */
    /* Rest of your spinner styling */
}
#loadingMessage {
    display: none;
    position: fixed; /* Позиционирование по всему экрану */
    top: 50%; /* Центрирование по вертикали */
    left: 50%; /* Центрирование по горизонтали */
    transform: translate(-50%, -50%); /* Подгонка точного центра */
    padding: 20px;
    background-color: #2c2c2c;
    z-index: 1001; /* Ставим элемент поверх остальных */
    border-radius: 10px; /* Добавляем закругленные углы */
}