/* Authentication overlay; the existing application layout remains unchanged after sign-in. */
#auth-overlay[hidden] { display: none !important; }
.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.94);
    color: #eaf4f7;
    font-family: Arial, Helvetica, sans-serif;
}
.auth-panel {
    width: min(100%, 360px);
    box-sizing: border-box;
    padding: 24px;
    background: #061a24;
    border: 1px solid #00749a;
    border-radius: 8px;
    box-shadow: 0 12px 42px rgba(0, 0, 0, 0.45);
}
.auth-panel h1 { margin: 0 0 6px; font-size: 22px; color: #f4fbff; }
.auth-panel p { margin: 0 0 18px; color: #8fa9b5; font-size: 12px; line-height: 1.5; }
.auth-panel label { display: block; margin: 12px 0 5px; color: #b9dce8; font-size: 12px; }
.auth-panel input { width: 100%; height: 38px; box-sizing: border-box; padding: 8px 10px; color: #fff; background: #04131b; border: 1px solid #24596b; border-radius: 4px; }
.auth-panel input:focus { outline: 2px solid #00aeef; outline-offset: 1px; }
.auth-panel button { width: 100%; margin-top: 16px; padding: 10px 12px; color: #d9f3fa; background: #08212c; border: 1px solid #24657a; border-radius: 4px; font-weight: 700; cursor: pointer; }
.auth-panel button:disabled { opacity: 0.55; cursor: not-allowed; }
.auth-message { min-height: 18px; margin-top: 12px !important; margin-bottom: 0 !important; color: #ff7777 !important; }
.auth-message.ok { color: #00e6a0 !important; }
#user-menu { cursor: pointer; }
#user-menu:focus-visible { outline: 2px solid #00aeef; outline-offset: 3px; }
