:root { color-scheme: light; font-family: Inter, system-ui, sans-serif; color: #182c47; background: #f3f6fa; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; }
.login-card { width: min(360px, calc(100vw - 80px)); padding: 32px; margin: 20px; background: white; border: 1px solid #dde5ef; border-radius: 16px; box-shadow: 0 12px 36px #182c4710; }
.brand { font-weight: 800; letter-spacing: .06em; color: #b3261e; }
h1 { font-size: 1.65rem; margin-bottom: 8px; }
p { color: #58677d; line-height: 1.5; }
form { display: grid; gap: 10px; margin-top: 24px; }
label { font-weight: 600; font-size: .9rem; }
input, button { font: inherit; box-sizing: border-box; width: 100%; min-height: 44px; border-radius: 8px; padding: 10px 12px; }
input { border: 1px solid #bac7d7; margin-bottom: 8px; }
input:focus-visible, button:focus-visible { outline: 3px solid #9abaff; outline-offset: 2px; }
button { background: #b3261e; color: white; border: none; font-weight: 600; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
#login-message { margin: 0; min-height: 1.5em; color: #a32d36; font-size: .9rem; }
.login-methods { display: grid; gap: 12px; margin: 24px 0; }
.login-link { display: block; padding: 12px; border: 1px solid #b3261e; border-radius: 8px; text-align: center; text-decoration: none; font-weight: 600; color: white; background: #b3261e; }
.login-link.secondary { background: white; color: #182c47; border-color: #bac7d7; }
.login-link:focus-visible { outline: 3px solid #9abaff; outline-offset: 2px; }
.login-separator { text-align: center; color: #58677d; }
.login-help { font-size: .9rem; }

.ui-language-selector { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid #bac7d7; border-radius: 8px; flex-shrink: 0; }
.ui-language-selector button { width: auto; min-width: 38px; min-height: 32px; padding: 5px 8px; border: 0; border-radius: 5px; font: inherit; font-size: .85rem; font-weight: 600; background: transparent; color: #182c47; cursor: pointer; }
.ui-language-selector button.active { background: #182c47; color: white; }
.ui-language-selector button:focus-visible { outline: 3px solid #9abaff; outline-offset: 2px; }
.login-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
