/* CSS Document */

/* -----------------------------------------------------------------------
   Scoped auf .exsys-wd-wrap um Konflikte mit Theme-CSS zu vermeiden.
----------------------------------------------------------------------- */
.exsys-wd-wrap {
    position: relative;
}

/* Overlay – wird während Ajax-Übertragung eingeblendet */
.exsys-wd-overlay {
    display: none;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 100;
    border-radius: 4px;
}
.exsys-wd-overlay.is-active {
    display: flex;
}

/* Reiner CSS-Spinner – keine Bildabhängigkeit */
.exsys-wd-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #ddd;
    border-top-color: #555;
    border-radius: 50%;
    animation: exsys-wd-rotate 0.75s linear infinite;
}
@keyframes exsys-wd-rotate {
    to { transform: rotate(360deg); }
}

/* Hinweistext unterhalb des Spinners */
.exsys-wd-spinner-text {
    margin: 0;
    font-size: 0.9em;
    color: #555;
    text-align: center;
}

/* Fehlermeldung – wird bei Netzwerk-/Serverfehler eingeblendet */
.exsys-wd-error {
    display: none;
    margin-top: 14px;
    padding: 10px 14px;
    background: #fde8e8;
    border: 1px solid #f5aca6;
    border-radius: 4px;
    color: #c0392b;
}
.exsys-wd-error.is-active {
    display: block;
}
