/* Kirish sahifasi. Asosiy paneldan alohida: bu sahifa Tabler yuklamaydi. */
:root {
    --bg: #F4F5F7; --card: #FFFFFF; --ink: #171A26; --muted: #586074; --line: #E3E6EC; --soft: #EEF0F4;
    --accent: #44597F; --off-b: #FFE0DD; --off-t: #A3231A;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #11131C; --card: #1B1E2B; --ink: #F2F3F7; --muted: #A9AEC0; --line: #2C3142; --soft: #242838;
        --accent: #8FA6D1; --off-b: #4A1C1A; --off-t: #FFB1AA;
    }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    background: var(--bg);
    color: var(--ink);
    font: 15px/1.4 'Onest', system-ui, sans-serif;
}
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.login-side { flex: 1 1 520px; min-width: 0; min-height: 260px; position: relative; overflow: hidden; background: #17123A; color: #FFFFFF; }
.login-side__scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.login-brand { position: absolute; top: 32px; left: 40px; z-index: 1; display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; }
.login-brand__logo { width: 52px; height: 52px; border-radius: 15px; background: #FFCB05; color: #17132E; display: flex; align-items: center; justify-content: center; font-size: 26px; }

.login-pane { flex: 1 1 420px; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.login-box { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 16px; }
.login-box h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.6px; }
.login-box p { margin: 4px 0 0; color: var(--muted); }
.login-error { padding: 10px 14px; border-radius: 12px; background: var(--off-b); color: var(--off-t); font-weight: 600; }
.login-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.login-input { display: flex; align-items: center; height: 52px; padding: 0 6px 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.login-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--soft); }
.login-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font-size: 15px; font-weight: 500; }
.login-input select { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; -webkit-appearance: none; appearance: none; cursor: pointer; }
.login-input select:invalid { color: var(--muted); }
.login-caret { flex: none; margin-right: 8px; color: var(--muted); pointer-events: none; }
.login-eye { width: 44px; height: 44px; flex: none; border: 0; border-radius: 10px; background: none; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.login-remember { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; cursor: pointer; }
.login-remember input { width: 20px; height: 20px; accent-color: var(--accent); }
.login-submit { height: 52px; border: 0; border-radius: 14px; background: #FFCB05; color: #17132E; font-size: 16px; font-weight: 800; cursor: pointer; }
.login-submit:hover { background: #FFD633; }

@media (max-width: 700px) {
    .login-brand { top: 16px; left: 16px; }
    .login-pane { padding: 24px 16px; }
}
