﻿:root {
            --accent: #0f6cbd; --accent-2: #4aa8ef;
            --stroke: rgba(0,0,0,.06); --stroke-strong: rgba(0,0,0,.09);
            --text: #1b1b1f; --text-2: #444450; --text-3: #70707c; --text-dis: #a3a3ad;
            --layer: #fff; --layer-alt: #fbfbfd;
        }
        * { box-sizing: border-box; }
        body {
            min-height: 100vh; margin: 0; display: grid; place-items: center; padding: 1.5rem;
            font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
            font-size: 14px; color: var(--text);
            background:
                radial-gradient(46rem 32rem at 12% 8%,  rgba(74, 168, 239, .28) 0%, transparent 60%),
                radial-gradient(40rem 30rem at 88% 18%, rgba(139, 121, 240, .24) 0%, transparent 60%),
                radial-gradient(44rem 34rem at 70% 96%, rgba(45, 190, 168, .20) 0%, transparent 62%),
                linear-gradient(160deg, #eef2f9 0%, #e7ebf5 100%);
        }

        .auth {
            width: min(880px, 100%); display: grid; grid-template-columns: 1.05fr .95fr;
            background: var(--layer); border-radius: 22px; overflow: hidden;
            box-shadow: 0 30px 70px rgba(20, 26, 48, .18), 0 2px 6px rgba(20, 26, 48, .06);
        }

        /* Р›РµРІР°СЏ РїРѕР»РѕРІРёРЅР° вЂ” РІРёС‚СЂРёРЅР°, С‡С‚РѕР±С‹ РІС…РѕРґ РЅРµ РІС‹РіР»СЏРґРµР» РіРѕР»РѕР№ С„РѕСЂРјРѕР№ */
        .auth-aside {
            position: relative; padding: 2.4rem 2.2rem; color: #fff;
            background: linear-gradient(150deg, #0f6cbd 0%, #2f8ad9 48%, #4aa8ef 100%);
            display: flex; flex-direction: column; justify-content: space-between;
        }
        .auth-aside::after {
            content: ""; position: absolute; inset: 0;
            background:
                radial-gradient(18rem 14rem at 85% 12%, rgba(255,255,255,.22) 0%, transparent 65%),
                radial-gradient(16rem 12rem at 8% 92%, rgba(255,255,255,.16) 0%, transparent 60%);
            pointer-events: none;
        }
        .auth-brand { display: flex; align-items: center; gap: .65rem; position: relative; z-index: 1; }
        .auth-brand svg { flex: 0 0 auto; }
        .auth-brand b { font-size: 1rem; font-weight: 600; }
        .auth-pitch { position: relative; z-index: 1; margin: 2.2rem 0; }
        .auth-pitch h2 { font-size: 1.55rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 .5rem; }
        .auth-pitch p { font-size: .92rem; opacity: .88; margin: 0; line-height: 1.5; }
        .auth-features { position: relative; z-index: 1; display: grid; gap: .55rem; }
        .auth-feature { display: flex; align-items: center; gap: .6rem; font-size: .88rem; }
        .auth-feature i {
            width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
            background: rgba(255,255,255,.2); font-size: 1rem; flex: 0 0 auto;
        }

        .auth-form { padding: 2.4rem 2.2rem; display: flex; flex-direction: column; justify-content: center; }
        .auth-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
        .auth-head h1 { font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; margin: 0; }
        .auth-head p { color: var(--text-3); font-size: .86rem; margin: .25rem 0 0; }

        .seg { display: inline-flex; background: #eef0f5; border-radius: 10px; padding: 3px; gap: 2px; flex: 0 0 auto; }
        .seg a {
            font-size: .78rem; font-weight: 600; padding: .22rem .55rem; border-radius: 7px;
            color: var(--text-2); text-decoration: none;
        }
        .seg a.on { background: #fff; color: var(--accent); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

        .form-label { font-size: .8rem; color: var(--text-2); margin-bottom: .3rem; font-weight: 500; }
        .form-control {
            background: var(--layer-alt); border: 1px solid var(--stroke-strong); border-radius: 10px;
            padding: .55rem .8rem; font-size: .9rem; width: 100%;
        }
        .form-control:focus {
            background: #fff; border-color: var(--accent); outline: 0;
            box-shadow: 0 0 0 3.5px rgba(15, 108, 189, .14);
        }
        .input-icon { position: relative; }
        .input-icon i {
            position: absolute; left: .75rem; top: 50%; transform: translateY(-50%);
            color: var(--text-dis); font-size: 1rem; pointer-events: none;
        }
        .input-icon .form-control { padding-left: 2.35rem; }
        .form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
        .invalid-feedback { font-size: .8rem; }

        .btn-signin {
            width: 100%; border: 0; border-radius: 10px; padding: .65rem; color: #fff;
            font-weight: 600; font-size: .92rem; cursor: pointer;
            background: linear-gradient(135deg, #0f6cbd 0%, #3a90d8 100%);
            box-shadow: 0 8px 20px rgba(15, 108, 189, .32);
        }
        .btn-signin:hover { filter: brightness(1.05); }
        .btn-signin:disabled { opacity: .7; cursor: default; }

        .auth-hint {
            margin-top: 1.3rem; padding: .7rem .85rem; border-radius: 10px;
            background: #f4f7fc; color: var(--text-3); font-size: .8rem; line-height: 1.5;
        }

        @media (max-width: 780px) {
            .auth { grid-template-columns: 1fr; }
            .auth-aside { display: none; }
            .auth-form { padding: 1.8rem 1.4rem; }
        }
