* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    background: #f4f7fc;
    color: #202124;
    font: 1rem/1.5 system-ui, sans-serif;
}
.auth-card {
    width: min(100%, 460px);
    padding: clamp(24px, 6vw, 44px);
    border: 1px solid #dbe2ed;
    border-radius: 24px;
    background: #fff;
}
.auth-brand { display: table; margin: 0 auto 24px; }
.auth-brand img { display: block; max-width: 180px; max-height: 48px; width: auto; height: auto; }
h1 { margin: 0; font-size: clamp(1.65rem, 6vw, 2rem); font-weight: 500; text-align: center; }
.auth-intro { margin: 8px 0 28px; text-align: center; color: #4b5563; }
label { display: block; margin: 0 0 16px; font-size: .9rem; font-weight: 550; }
input:not([type="hidden"]) {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    border: 1px solid #747c89;
    border-radius: 8px;
    color: inherit;
    font: inherit;
    font-weight: 400;
}
a { color: #0b57d0; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid #0b57d0; outline-offset: 3px; }
.auth-primary, .auth-provider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 24px;
    font: inherit;
    font-weight: 550;
    text-decoration: none;
}
.auth-primary { border: 0; background: #0b57d0; color: #fff; cursor: pointer; }
.auth-primary:hover { background: #0845a5; }
.auth-provider { border: 1px solid #747c89; color: #202124; margin-bottom: 10px; }
.auth-provider:hover { background: #f4f7fc; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #4b5563; font-size: .875rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; border-top: 1px solid #dbe2ed; }
.auth-help { display: inline-block; margin: -4px 0 18px; font-size: .875rem; }
.auth-links { text-align: center; font-size: .9rem; margin: 22px 0 0; }
.auth-error, .auth-status { padding: 12px 14px; border-radius: 8px; font-size: .9rem; }
.auth-error { background: #fce8e6; color: #a32620; }
.auth-status { background: #e6f4ea; color: #146c2e; }
.auth-hint { display: block; margin-top: 5px; color: #4b5563; font-weight: 400; }
