* {
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
    margin: 0;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    background: #f3f6fb;
    color: #172b4d;
    font-family: Verdana, Arial, sans-serif;
    font-size: 10pt;
}

.login-panel {
    width: 100%;
    max-width: 390px;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e3e9f2;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(28, 49, 82, 0.09);
}

.brand {
    margin: 0 0 8px;
    color: #1769aa;
    font-size: 10pt;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 8px;
    color: #172b4d;
    font-size: 23pt;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.subtitle {
    margin: 0 0 26px;
    color: #64748b;
    line-height: 1.6;
}

.field {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 9pt;
    font-weight: bold;
}

select,
input {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #172b4d;
    font-family: inherit;
    font-size: 10pt;
}

select:focus,
input:focus {
    border-color: #1769aa;
    outline: 3px solid rgba(23, 105, 170, 0.15);
}

button {
    display: block;
    width: 100%;
    min-height: 46px;
    margin-top: 24px;
    padding: 12px 16px;
    border: 0;
    border-radius: 7px;
    background: #1769aa;
    color: #fff;
    font-family: inherit;
    font-size: 10pt;
    font-weight: bold;
    cursor: pointer;
    transition: background 150ms ease;
}

button:hover {
    background: #12558b;
}

button:focus-visible {
    outline: 3px solid #8cc8f5;
    outline-offset: 3px;
}

.message {
    margin: 0 0 18px;
    padding: 12px;
    border: 1px solid #f0b9b9;
    border-radius: 7px;
    background: #fff1f1;
    color: #922b2b;
    font-size: 9pt;
    line-height: 1.5;
}

@media (max-width: 420px) {
    .login-panel {
        padding: 24px 20px;
    }
}
