/* Стили для оверлея "На обновлении / Закрыт" */
.status-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 24, 39, 0.85); /* Полупрозрачный темный фон */
    color: #ef4444; /* Красный цвет текста */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 1rem; /* Скругление углов, как у карточки */
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease-in-out;
}

/* Стили для прелоадера/анимации перехода */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
}

.page-transition-overlay.is-active {
    opacity: 1;
    pointer-events: all;
}

/* Анимация пульсации для спиннера */
@keyframes spin {
    to { transform: rotate(360deg); }
}
.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #374151;
    border-top-color: #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
