:root {
    --sidebar: #2c3e50;
    --accent: #3498db;
    --text: #000;
    --muted: #637487;
    --danger: #d93025;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #f5f7fa;
    color: var(--text);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 13px;
}
.login-card {
    width: min(420px, calc(100vw - 32px));
    background: #fff;
    border: 1px solid #edf0f2;
    border-radius: 4px;
    box-shadow: 0 1px 18px rgba(0, 0, 0, 0.09);
}
.login-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 74px;
    padding: 18px 22px;
    background: var(--sidebar);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}
.login-head img {
    display: block;
    flex: 0 1 auto;
    width: auto;
    max-width: 96px;
    height: auto;
    max-height: 56px;
    object-fit: contain;
}
.login-body { padding: 24px; }
h1 { margin: 0 0 18px; font-size: 18px; }
label { display: block; margin: 0 0 6px; font-weight: 700; }
input {
    width: 100%;
    height: 36px;
    margin-bottom: 14px;
    padding: 8px 10px;
    border: 1px solid #cfd7df;
    border-radius: 4px;
    font: inherit;
}
button {
    width: 100%;
    min-height: 36px;
    border: 0;
    border-radius: 3px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.error {
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid #f0b8b2;
    border-radius: 4px;
    background: #fff1f0;
    color: var(--danger);
}
.hint {
    margin-top: 14px;
    color: var(--muted);
    text-align: center;
}
