* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-family: Arial, sans-serif; background: #f5f7fb; color: #172033; }
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-card { width: min(470px, 100%); background: #fff; border: 1px solid #e5e9f0; border-radius: 18px; padding: 38px; box-shadow: 0 18px 50px rgba(23,32,51,.08); }
.auth-card.wide { width: min(620px, 100%); }
.brand { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: #1f6feb; color: #fff; font-weight: 800; margin-bottom: 20px; }
h1 { margin: 0 0 8px; font-size: 30px; }
.subtitle { color: #697386; margin: 0 0 28px; }
label { display: block; font-size: 13px; font-weight: 700; margin: 16px 0 7px; }
input { width: 100%; padding: 13px 14px; border: 1px solid #d9dee8; border-radius: 10px; font-size: 15px; outline: none; }
input:focus { border-color: #1f6feb; box-shadow: 0 0 0 3px rgba(31,111,235,.10); }
button { width: 100%; margin-top: 22px; padding: 14px; border: 0; border-radius: 10px; background: #1f6feb; color: #fff; font-weight: 700; cursor: pointer; font-size: 15px; }
.alert { background: #fff0ee; color: #b42318; border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.switch { text-align: center; color: #697386; font-size: 14px; margin: 22px 0 0; }
a { color: #1f6feb; text-decoration: none; font-weight: 600; }
.auth-foot { margin-top: 24px; color: #8a94a6; font-size: 12px; text-align: center; }
@media (max-width: 560px) { .auth-card { padding: 28px 22px; } .grid { grid-template-columns: 1fr; gap: 0; } }
