/* Sign-in pages: red theme, Inter, a card over the photo. */
:root { --au-red: #f44336; --au-red-dark: #e0352a; --au-text: #212121; --au-label: #3d4a61; --au-muted: #8492a6; --au-border: #e3e7ed; --au-bg: #f9f9f9; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--au-bg); color: var(--au-text); font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 14px; line-height: 1.5; }
a { color: var(--au-red); text-decoration: none; }
a:hover { text-decoration: underline; }

.au-page { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; }
.au-page::before { content: ''; position: absolute; inset: 0 0 50% 0; background-color: #4a4f57; background-image: linear-gradient(135deg, rgba(255,255,255,.07) 25%, transparent 25%), linear-gradient(225deg, rgba(255,255,255,.05) 25%, transparent 25%), linear-gradient(315deg, rgba(0,0,0,.08) 25%, transparent 25%), linear-gradient(45deg, rgba(0,0,0,.06) 25%, transparent 25%); background-size: 120px 120px; }
.au-wrap { position: relative; width: 100%; max-width: 450px; }
.au-card { padding: 36px; border-radius: 12px; background: #fff; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12); }
.au-logo { display: inline-block; margin-bottom: 14px; }
.au-logo img { display: block; width: 200px; height: auto; }
.au-card h1 { margin: 0 0 6px; font-size: 25px; line-height: 1.3; font-weight: 500; }
.au-sub { margin: 0 0 22px; color: var(--au-muted); font-size: 16px; line-height: 1.5; }

.au-field { margin-bottom: 18px; }
.au-field label { display: block; margin-bottom: 7px; color: var(--au-text); font-size: 14px; font-weight: 500; }
.au-input { display: block; width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--au-border); border-radius: 8px; background: #fff; color: var(--au-text); font: inherit; font-size: 15px; }
.au-input:focus { outline: 0; border-color: var(--au-red); box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.12); }
.au-input.is-invalid { border-color: #d93025; }
.au-pass { position: relative; }
.au-pass .au-input { padding-right: 48px; }
.au-eye { position: absolute; top: 0; right: 0; width: 48px; height: 46px; border: 0; background: transparent; color: var(--au-text); cursor: pointer; }
.au-eye svg { width: 18px; height: 18px; fill: currentColor; }
.au-error { margin-top: 5px; color: #d93025; font-size: 13px; }
.au-alert { margin-bottom: 18px; padding: 11px 14px; border-radius: 8px; font-size: 14px; }
.au-alert-ok { background: #e6f6ec; color: #14683a; }

.au-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 26px; }
.au-check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; cursor: pointer; }
.au-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--au-red); }
.au-btn { display: block; width: 100%; height: 46px; margin-top: 8px; border: 0; border-radius: 8px; background: var(--au-red); color: #fff; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.au-btn:hover { background: var(--au-red-dark); }
.au-btn-ghost { background: #fff; color: var(--au-red); border: 1px solid var(--au-red); }
.au-btn-ghost:hover { background: #fff; color: var(--au-red-dark); }
.au-foot { margin: 18px 0 0; color: var(--au-muted); font-size: 14px; text-align: center; }
.au-terms { margin: 20px 4px 0; color: var(--au-muted); font-size: 14px; text-align: center; }
.au-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 575px) {
    .au-card { padding: 36px 36px 28px; padding-left: 36px; }
    .au-input { font-size: 16px; }
}
@media (max-width: 400px) { .au-card { padding: 28px 24px 24px; } }

/* Google sign-in (as on the old site: divider, then a red full-width button) */
.au-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: #91a0b1; font-size: 13px; }
.au-divider::before, .au-divider::after { content: ""; flex: 1; height: 1px; background: #e3e7ed; }
.au-btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; text-decoration: none; }
.au-btn-google:hover { color: #fff; }
