:root {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #172033;
    background: #f3f6fb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #dfe5ef;
}

.header-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    color: #172033;
    font-weight: 700;
    text-decoration: none;
}

.main-content {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 48px 0;
}

.card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #dfe5ef;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 14px 40px rgba(31, 45, 75, 0.08);
}

.card.narrow {
    max-width: 520px;
}

.center {
    text-align: center;
}

h1 {
    margin-top: 0;
    font-size: 1.8rem;
}

.muted {
    color: #62708a;
}

.field {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 7px;
    font-weight: 650;
}

input {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #b8c2d3;
    border-radius: 8px;
    font-size: 1rem;
}

input:focus {
    outline: 3px solid rgba(40, 95, 210, 0.18);
    border-color: #285fd2;
}

.button {
    display: inline-block;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    background: #285fd2;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.button.full {
    width: 100%;
}

.link-button {
    border: 0;
    background: transparent;
    color: #285fd2;
    cursor: pointer;
    font-weight: 650;
}

.alert {
    border-radius: 8px;
    padding: 13px 15px;
    margin: 18px 0;
}

.alert.warning {
    background: #fff4d8;
    border: 1px solid #f0c45b;
}

.alert.success {
    background: #e7f7ed;
    border: 1px solid #7bc694;
}

.validation {
    color: #a91d2a;
    margin-bottom: 14px;
}

.requirements {
    margin: 16px 0;
    padding: 12px;
    background: #f6f8fc;
    border-radius: 8px;
    color: #4d5a72;
    font-size: 0.94rem;
}

.status-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 10px 18px;
    margin: 24px 0;
}

.status-grid dt {
    font-weight: 700;
}

.status-grid dd {
    margin: 0;
}

.site-footer {
    padding: 20px 0;
    color: #657089;
    text-align: center;
    font-size: 0.9rem;
}

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