.auth-card {
    box-sizing: border-box;
    width: min(460px, calc(100% - 32px));
    margin: 24px 0;
    padding: clamp(22px, 5vw, 36px);
    border-radius: 24px;
}
.auth-card [hidden] { display: none !important; }
.auth-brand {
    display: inline-block;
    color: #152942;
    letter-spacing: -.025em;
    font-size: 20px;
    text-decoration: none;
}
.auth-brand span { color: #e4324c; }
.auth-card h1 { margin: 15px 0 4px; line-height: 1.25; }
.auth-intro { margin: 0 0 18px; }
.auth-nav {
    display: flex;
    gap: 5px;
    padding: 4px;
    margin-bottom: 18px;
    background: #eef3fa;
    border-radius: 12px;
}
.auth-nav button {
    flex: 1;
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: transparent;
    color: #213e63;
}
.auth-nav button[aria-pressed="true"] { color: white; background: #245fc5; }
.auth-social { display: grid; gap: 8px; }
.auth-social a {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid #747775;
    border-radius: 8px;
    background: white;
    color: #1f1f1f;
    font: 500 15px/1.4 Roboto, system-ui, sans-serif;
    text-decoration: none;
}
.auth-social a:not([aria-disabled="true"]):hover { background: #f5f8fd; }
.auth-social a[aria-disabled="true"] { cursor: not-allowed; }
.auth-google-mark { flex: none; }
.auth-facebook {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #245fc5;
    color: white;
    font-weight: 750;
}
.auth-provider-status { margin: 0; color: #5a421a; font-size: 13px; text-align: center; }
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 0;
    font-size: 13px;
}
.auth-divider::before,.auth-divider::after { content: ""; flex: 1; border-top: 1px solid #dce5ef; }
.auth-card label { margin-top: 13px; }
.auth-card form button { margin-top: 16px; }
.auth-name-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
#registration-status { margin-top: 8px; }
#auth-notice { padding: 10px 12px; border-radius: 9px; background: #eef3fa; }
#login-error:empty,#registration-error:empty { display: none; }
#registration-error,#auth-notice[data-error] { color: #9e2525; }

