﻿/* ErrorAlert.css */
.swal2-popup .ea-container {
    font-size: 0.9em;
    color: #333;
}

.ea-field {
    margin-bottom: 0.5em;
}

.ea-value {
    color: #b00020;
    white-space: pre-wrap;
}

.ea-json-block {
    background: #f5f5f5;
    border: 1px solid #ccc;
    padding: 0.75em;
    border-radius: 4px;
    max-height: 50vh;
    overflow: auto;
}

.ea-html-error {
    background: #fefefe;
    border: 1px solid #ccc;
    padding: 0.75em;
    border-radius: 4px;
    max-height: 50vh;
    overflow: auto;
}

.ea-text {
    font-family: monospace;
    white-space: pre-wrap;
}

/* WaitUI.css — modern spinner and overlay look */
.waitui-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
    cursor: wait;
}

.waitui-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.waitui-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: waitui-spin 1s linear infinite;
}

.waitui-message {
    margin-top: 12px;
    font-size: 1em;
    color: #333;
    font-weight: 500;
}

@keyframes waitui-spin {
    0% {
        transform: rotate(0deg);
    }

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