/* ════════════════════════════════════════════════════════════════════
   Auth-Overlay (S53) — aus index.html ausgelagert für CSP-Konformität
   (kein 'unsafe-inline' style-src nötig).
   Konsumenten: js/auth.js + index.html (#auth-overlay DOM-Block).
   ════════════════════════════════════════════════════════════════════ */

.apex-auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-stack);
}
.apex-auth-overlay.apex-auth-hidden { display: none; }

.apex-auth-box {
    background: #fff;
    border-radius: 6px;
    padding: 40px;
    width: 340px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    text-align: center;
}
.apex-auth-box img { height: 40px; margin-bottom: 12px; }
.apex-auth-box h2 {
    color: #1a3a5c;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 4px;
}

.apex-auth-sub {
    color: #888;
    font-size: 12px;
    margin-bottom: 24px;
}

.apex-auth-box input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: inherit;
}
.apex-auth-box input:focus { outline: none; border-color: #4a90d9; }

.apex-auth-box button {
    width: 100%;
    padding: 10px;
    margin-top: 12px;
    background: #e87722;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}
.apex-auth-box button:hover { background: #d06a1e; }
.apex-auth-box button:disabled { opacity: .6; cursor: wait; }

.apex-auth-error {
    color: #c0392b;
    font-size: 12px;
    min-height: 18px;
    margin-top: 8px;
}
