/* затемнение фона */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* скрытие */
.hidden {
    display: none;
}

/* диалог */
.modal-dialog {
    width: 300px;
}

/* контент */
.modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* тело */
.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* спиннер */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

/* текст */
.loading-text {
    font-size: 14px;
    color: #333;
}

/* анимация */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
