/* Google sign-in button + password fallback. Loaded only by login.php and the OAuth failure
   page, layered on top of dashboard.css's .login-box. Ported from public/KM/assets/auth.css,
   using this app's --bdr/--txt/--mu tokens instead of KM's hardcoded grays. */

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 16px;
    margin: 4px 0 0;
    background: #fff;
    color: #3c4043;
    /* Google's own button spec: Roboto/system stack, 500 weight, 14px. */
    font: 500 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    text-decoration: none;
    border: 1px solid #dadce0;
    border-radius: 6px;
    transition: background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.google-btn:hover   { background: #f7f8f8; border-color: #d2d5d9; box-shadow: 0 1px 3px rgba(60,64,67,.16); }
.google-btn:active  { background: #eef0f1; }
.google-btn:focus-visible {
    outline: 2px solid #4285f4;
    outline-offset: 2px;
}
.google-btn svg { flex: 0 0 auto; }

.auth-hint {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--mu);
    text-align: center;
}

.auth-fallback {
    margin-top: 18px;
    border-top: 1px solid var(--bdr);
    padding-top: 14px;
}
.auth-fallback > summary {
    cursor: pointer;
    font-size: 12px;
    color: var(--mu);
    list-style: none;
    text-align: center;
    /* The password path is the emergency route, not the everyday one — keep it present but
       visually quiet so Google stays the obvious default. */
}
.auth-fallback > summary::-webkit-details-marker { display: none; }
.auth-fallback > summary:hover { color: var(--txt); text-decoration: underline; }
.auth-fallback[open] > summary { margin-bottom: 10px; }

.auth-pwform label { display: block; margin-bottom: 10px; }
