/* Herstelpaneel van boot-diagnostics.js — werkt zonder Blazor/Bootstrap. */

.boot-recovery {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(20, 24, 40, 0.55);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.boot-recovery__card {
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.boot-recovery__title {
    font-size: 17px;
    font-weight: 700;
    color: #1c2430;
    margin-bottom: 6px;
}

.boot-recovery__subtitle {
    font-size: 12px;
    color: #5a6472;
    margin-bottom: 10px;
}

.boot-recovery__log {
    background: #10141c;
    color: #b7ffb7;
    font-size: 10px;
    line-height: 1.45;
    border-radius: 8px;
    padding: 10px;
    max-height: 180px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0 0 12px 0;
}

.boot-recovery__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.boot-recovery__btn {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.boot-recovery__btn--primary {
    background: #667eea;
    color: #fff;
}

.boot-recovery__btn--secondary {
    background: #eef1f7;
    color: #1c2430;
}

.boot-recovery__btn--danger {
    background: #fdecec;
    color: #b3261e;
}

/* Statisch splash-scherm tijdens WASM-download/MSAL-warm-up (vóór de eerste Blazor-render).
   Onder het herstelpaneel (z-index) zodat dat er altijd overheen kan. */

.boot-splash {
    position: fixed;
    inset: 0;
    z-index: 2147482000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    background: #ffffff;
}

.boot-splash__logo {
    width: 140px;
    max-width: 45vw;
    height: auto;
}

.boot-splash__spinner {
    width: 26px;
    height: 26px;
    border: 3px solid #e4e8f5;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: boot-splash-spin 0.9s linear infinite;
}

@keyframes boot-splash-spin {
    to { transform: rotate(360deg); }
}
