* { box-sizing: border-box; }

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 24px;
    background: #f0f4f8;
    color: #0f172a;
    font-family: Inter, Arial, sans-serif;
}

.card {
    width: 440px;
    max-width: 100%;
    padding: 42px;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,.06);
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 44px; height: 44px; border-radius: 12px; }
h1 { margin: 0; color: #0a2463; font-size: 26px; }
p { color: #64748b; line-height: 1.5; }
form { display: grid; gap: 16px; margin-top: 24px; }
label { display: block; margin-bottom: 7px; color: #475569; font-size: 13px; font-weight: 700; }
input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    font: inherit;
}
input:focus { outline: 2px solid #0a2463; outline-offset: 1px; }
button[type="submit"] {
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-radius: 12px;
    background: #0a2463;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.notice { margin: 20px 0 0; padding: 12px 14px; border-radius: 12px; line-height: 1.5; }
.notice.error { background: #fee2e2; color: #991b1b; }
.notice.success { background: #dcfce7; color: #166534; }
.links { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; }
a { color: #0a2463; font-weight: 700; text-decoration: none; }
a:hover { text-decoration: underline; }

@media (max-width: 480px) {
    .card { padding: 28px 22px; }
}
