:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #17212f;
    background: #eff4fb;
}

* { box-sizing: border-box; }

body { margin: 0; min-width: 320px; }

button, input { font: inherit; }

.login-layout {
    align-items: center;
    background: radial-gradient(circle at top right, #cce7ff, transparent 45%), #eff4fb;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.login-card {
    background: #fff;
    border: 1px solid #dce5f0;
    border-radius: 18px;
    box-shadow: 0 20px 55px rgba(25, 47, 78, .14);
    max-width: 430px;
    padding: 42px;
    width: 100%;
}

.eyebrow { color: #1769aa; font-size: .76rem; font-weight: 800; letter-spacing: .14em; margin: 0 0 12px; }
h1 { font-size: 2rem; margin: 0; }
.intro { color: #586778; line-height: 1.5; margin: 10px 0 28px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
label { font-size: .92rem; font-weight: 700; }
input { border: 1px solid #aab8c8; border-radius: 8px; min-height: 44px; padding: 10px 12px; }
input:focus { border-color: #1769aa; box-shadow: 0 0 0 3px #cce7ff; outline: 0; }
button { background: #1769aa; border: 0; border-radius: 8px; color: #fff; cursor: pointer; font-weight: 700; min-height: 44px; padding: 10px 18px; }
button:hover { background: #105a94; }
button:disabled { cursor: wait; opacity: .7; }

dialog { border: 0; border-radius: 14px; box-shadow: 0 24px 70px rgba(0, 0, 0, .28); max-width: 390px; padding: 0; width: calc(100% - 40px); }
dialog::backdrop { background: rgba(18, 35, 55, .58); }
.modal-content { padding: 28px; }
.modal-content h2 { margin: 0 0 12px; }
.modal-content p { line-height: 1.5; margin: 0 0 24px; }
