:root { font-family: Tahoma, Arial, sans-serif; color: #14283d; background: #f4f7fb; }
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; display: grid; place-items: center; padding: 20px; }
.card { width: min(100%, 480px); margin: 20px 0; padding: 34px 38px; background: #fff; border: 1px solid #e8edf3; border-radius: 20px; box-shadow: 0 20px 60px #17324c12; }
.brand { display: block; width: 170px; margin-bottom: 20px; text-decoration: none; }
.brand img { display: block; width: 100%; height: auto; }
h1 { margin: 0 0 8px; font-size: 1.75rem; }
.intro, .switch { color: #637386; line-height: 1.7; }
.intro { margin: 0 0 20px; }
form { display: grid; gap: 8px; }
label { margin-top: 7px; font-size: .94rem; font-weight: 700; }
input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #d6dfe8; border-radius: 10px; background: #fff; color: #14283d; font: inherit; }
input:focus { border-color: #087e8b; outline: 3px solid #087e8b20; }
small { color: #637386; line-height: 1.6; }
button { min-height: 50px; margin-top: 9px; border: 0; border-radius: 10px; background: #087e8b; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
a:focus-visible, button:focus-visible { outline: 3px solid #f0b44d; outline-offset: 3px; }
.message { margin: 4px 0 0; padding: 11px 12px; border-radius: 9px; background: #fff0ef; color: #a3312a; line-height: 1.6; }
.message.success { background: #e8f7ee; color: #168544; font-weight: 700; }
.switch { margin: 18px 0 0; text-align: center; }
.switch a { color: #087e8b; font-weight: 700; }
@media (max-width: 420px) { .card { padding: 28px 22px; } }
