:root {
    --beto-navy: #1a3d8f;
    --beto-navy-dark: #122a63;
    --beto-navy-light: #2f5fbf;
    --beto-red: #e41f26;
    --beto-white: #ffffff;
    --beto-text: #1f2937;
    --beto-text-muted: #6b7280;
    --beto-border: #e5e7eb;
    --beto-font: 'Nunito Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

.login-body {
    min-height: 100vh;
    font-family: var(--beto-font);
    background:
        radial-gradient(circle at 12% 18%, rgba(228, 31, 38, .16), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(47, 95, 191, .22), transparent 36%),
        linear-gradient(160deg, #0f274f 0%, #1a3d8f 48%, #122a63 100%);
    color: var(--beto-text);
}

.login-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 100vh;
    padding: 28px 16px;
}

.login-panel {
    width: min(420px, 100%);
    display: flex;
    justify-content: center;
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 420px;
}

.login-brand img {
    width: min(280px, 70vw);
    height: auto;
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35));
}

.login-form {
    width: 100%;
    padding: 26px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 24px 60px rgba(8, 20, 48, .28);
}

.login-form__head { margin-bottom: 18px; }
.login-form__head h2 { margin: 0 0 6px; color: var(--beto-navy); font-size: 1.3rem; }
.login-form__head p { margin: 0; color: var(--beto-text-muted); font-size: 0.9rem; }
.login-hint-print {
    margin-top: 10px !important;
    padding: 8px 10px;
    border-radius: 8px;
    background: #eef2fb;
    color: var(--beto-navy) !important;
    font-size: 0.82rem !important;
    line-height: 1.35;
}

.beto-field { margin-bottom: 14px; }
.beto-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}
.beto-field input,
.beto-field select {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--beto-border);
    border-radius: 10px;
    background: #fff;
    font: inherit;
}
.beto-field input:focus,
.beto-field select:focus {
    outline: none;
    border-color: var(--beto-navy-light);
    box-shadow: 0 0 0 3px rgba(47, 95, 191, .14);
}

.login-error {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff1f1;
    color: #b42318;
    font-size: 0.88rem;
}
.login-error[hidden] { display: none !important; }

.login-submit {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 12px;
    background: var(--beto-red);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.login-submit:hover { background: #c0181f; }
