* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #fafafa;
    color: #222;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth {
    width: 100%;
    max-width: 380px;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.auth h1 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 600;
}
.auth .muted {
    margin: 0 0 20px;
    color: #777;
    font-size: 14px;
}
.auth form { display: flex; flex-direction: column; gap: 10px; }
.auth input[type=email],
.auth input[type=text] {
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}
.auth input:focus { border-color: #1a73e8; }
.auth button {
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background: #1a73e8;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.auth button:disabled { opacity: .5; cursor: default; }
.auth .err {
    margin: 14px 0 0;
    padding: 10px 12px;
    color: #b00020;
    background: #fdecea;
    border-radius: 8px;
    font-size: 14px;
}
.auth .foot {
    margin: 22px 0 0;
    text-align: center;
    font-size: 13px;
}
.auth .foot a { color: #1a73e8; text-decoration: none; }
.auth .foot a:hover { text-decoration: underline; }
