/* ==========================================================================
   op.sobpi.com design system (Bootstrap 5.3 on top). Colours and shell follow the
   legacy pos.sobpi.com "modern shell" theme (views/userHome.php inline styles).
   Prefix: .op-*  (login page: .lg-*). Use Bootstrap utilities first; add here only
   what is shared by several screens.
   ========================================================================== */

:root {
    --op-accent: #3c8dbc;
    --op-accent-2: #5fb0e6;
    --op-deep: #0c5889;
    --op-green: #37a000;
    --op-green-2: #43bd0c;
    --op-danger: #dc3545;
    --op-text: #33465c;
    --op-muted: #6b7a8c;
    --op-bg: #f3f6f9;
    --op-card: #ffffff;
    --op-border: #e3e9ef;
    --op-sidebar-w: 250px;
    --op-sidebar-mini-w: 64px;
    --op-topbar-h: 60px;
    --op-sidebar-bg: linear-gradient(195deg, #242e40 0%, #1b2230 55%, #151b27 100%);
    --op-sidebar-text: #96a3b4;
    --op-sidebar-icon: #78879c;
    --op-radius: 12px;

    /* Bootstrap overrides */
    --bs-primary: #3c8dbc;
    --bs-primary-rgb: 60, 141, 188;
    --bs-link-color: #2f7aa8;
    --bs-link-color-rgb: 47, 122, 168;
    --bs-link-hover-color: #0c5889;
    --bs-body-font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --bs-body-font-size: .9rem;
    --bs-body-color: #33465c;
    --bs-body-bg: #f3f6f9;
    --bs-border-radius: .5rem;
}

.btn-primary {
    --bs-btn-bg: var(--op-accent);
    --bs-btn-border-color: var(--op-accent);
    --bs-btn-hover-bg: var(--op-deep);
    --bs-btn-hover-border-color: var(--op-deep);
    --bs-btn-active-bg: var(--op-deep);
    --bs-btn-active-border-color: var(--op-deep);
    --bs-btn-disabled-bg: var(--op-accent);
    --bs-btn-disabled-border-color: var(--op-accent);
}
.btn-success {
    --bs-btn-bg: var(--op-green);
    --bs-btn-border-color: var(--op-green);
    --bs-btn-hover-bg: #2f9200;
    --bs-btn-hover-border-color: #2f9200;
}
.btn .fa-solid, .btn .fa-regular { margin-right: .25rem; }
.dropdown-item > i { width: 1.25rem; text-align: center; margin-right: .35rem; color: var(--op-accent); }
.dropdown-item.text-danger > i { color: var(--op-danger); }

/* ---------------------------------------------------------------- shell */
html, body { height: 100%; }
.op-body { background: var(--op-bg); }
.op-shell { display: flex; min-height: 100vh; }

.op-sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 1040;
    width: var(--op-sidebar-w);
    background: var(--op-sidebar-bg);
    box-shadow: 2px 0 18px rgba(0,0,0,.22), inset -1px 0 0 rgba(255,255,255,.04);
    display: flex; flex-direction: column;
    overflow-y: auto; overflow-x: hidden;
    transition: width .25s ease, transform .25s ease;
}
.op-sidebar::-webkit-scrollbar { width: 6px; }
.op-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 10px; }

.op-main {
    flex: 1 1 auto; min-width: 0;
    margin-left: var(--op-sidebar-w);
    display: flex; flex-direction: column; min-height: 100vh;
    transition: margin-left .25s ease;
}

/* user box (legacy top-left header box) */
.op-userbox {
    flex: 0 0 var(--op-topbar-h); height: var(--op-topbar-h);
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 0 12px 0 16px; position: relative;
    background: linear-gradient(145deg, #2c3648 0%, #1a2130 55%, #121824 100%);
    box-shadow: inset 0 -3px 9px rgba(0,0,0,.45);
}
.op-userbox::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
    background: linear-gradient(90deg, var(--op-accent), var(--op-accent-2), var(--op-green));
}
.op-userbox-name {
    color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .3px; text-decoration: none;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.op-userbox-name:hover { color: #8fd0f5; }
.op-userbox-logout {
    flex: 0 0 auto; width: 34px; height: 34px; border: 0; border-radius: 9px;
    display: grid; place-items: center;
    background: rgba(220,53,69,.20); color: #ff6b6b; transition: all .2s ease;
}
.op-userbox-logout:hover { background: var(--op-danger); color: #fff; transform: translateY(-1px); }

.op-userpanel { padding: 16px 16px 14px; box-shadow: inset 0 -1px 0 rgba(255,255,255,.07); }
.op-userpanel-name { color: #fff; font-weight: 700; font-size: 13px; }
.op-userpanel-outlet { color: #c7d0dc; font-size: 12px; font-weight: 600; margin: 2px 0 8px; }
.op-userpanel-role {
    display: inline-block; padding: 3px 11px; border-radius: 20px;
    background: linear-gradient(135deg, rgba(60,141,188,.30), rgba(60,141,188,.14));
    border: 1px solid rgba(95,176,230,.25); color: #8fd0f5;
    font-size: 9.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
}

/* menu */
.op-nav { padding: 6px 8px 16px; }
.op-menu { list-style: none; margin: 0; padding: 0; }
.op-menu > li { position: relative; }
.op-menu-link {
    display: flex; align-items: center; gap: 12px;
    padding: 7px 12px; border-radius: 8px;
    color: var(--op-sidebar-text); font-size: 13px; font-weight: 500; line-height: 1.25;
    text-decoration: none; position: relative; transition: color .16s ease, background .16s ease;
}
.op-menu-link > i:first-child { flex: 0 0 20px; text-align: center; font-size: 15px; color: var(--op-sidebar-icon); transition: color .16s ease; }
.op-menu-link > span { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-menu > li:hover > .op-menu-link { color: #eef3f8; background: rgba(255,255,255,.05); }
.op-menu > li:hover > .op-menu-link > i:first-child { color: var(--op-accent-2); }
.op-menu > li.active > .op-menu-link { color: #fff; background: rgba(60,141,188,.16); }
.op-menu > li.active > .op-menu-link > i:first-child { color: var(--op-accent-2); }
.op-menu > li.active:not(.op-tree) > .op-menu-link::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 3px; height: 60%; border-radius: 0 3px 3px 0; background: var(--op-accent-2);
    box-shadow: 0 0 7px rgba(95,176,230,.65);
}
.op-chevron { flex: 0 0 auto; font-size: 12px; color: #5f6d80; transition: transform .25s ease; }
.op-menu-link[aria-expanded="true"] .op-chevron { transform: rotate(-90deg); color: var(--op-accent-2); }

.op-submenu { list-style: none; margin: 1px 0 2px; padding: 1px 0 2px; position: relative; }
.op-submenu::before { content: ""; position: absolute; left: 22px; top: 2px; bottom: 6px; width: 1px; background: rgba(255,255,255,.1); }
.op-submenu-title { display: none; }
.op-submenu > li > a, .op-submenu-btn {
    display: block; width: 100%; text-align: left; position: relative;
    padding: 6px 12px 6px 40px; border: 0; border-radius: 7px; background: transparent;
    color: #8592a4; font-size: 12.5px; font-weight: 500; text-decoration: none;
    transition: color .16s ease, background .16s ease;
}
.op-submenu > li > a > i, .op-submenu-btn > i {
    position: absolute; left: 19px; top: 50%; transform: translateY(-50%); font-size: 6px; color: #586a7e;
}
.op-submenu > li > a:hover, .op-submenu-btn:hover { background: rgba(255,255,255,.045); color: #eef3f8; }
.op-submenu > li.active > a { color: #fff; background: rgba(60,141,188,.13); }
.op-submenu > li.active > a > i { color: var(--op-accent-2); }
.op-menu-secondary { margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.06); }

/* collapsed (desktop "sidebar-mini"): icons only, fly-out on hover */
@media (min-width: 992px) {
    .op-collapsed .op-sidebar { width: var(--op-sidebar-mini-w); overflow: visible; }
    .op-collapsed .op-main { margin-left: var(--op-sidebar-mini-w); }
    .op-collapsed .op-userbox { padding: 0; justify-content: center; }
    .op-collapsed .op-userbox-name, .op-collapsed .op-userpanel { display: none; }
    .op-collapsed .op-nav { padding: 6px 0; }
    .op-collapsed .op-menu-link { justify-content: center; padding: 10px 0; border-radius: 0; }
    .op-collapsed .op-menu-link > span, .op-collapsed .op-chevron { display: none; }
    .op-collapsed .op-menu-link > i:first-child { font-size: 16px; }
    .op-collapsed .op-menu > li.active > .op-menu-link::before { display: none; }
    .op-collapsed .op-submenu { display: none !important; }
    .op-collapsed .op-menu > li:hover > .op-menu-link > span {
        display: block; position: absolute; left: var(--op-sidebar-mini-w); top: 0; z-index: 1051;
        height: 38px; line-height: 38px; padding: 0 16px; min-width: 200px;
        background: #1b2230; color: #fff; font-weight: 600; border-left: 2px solid var(--op-accent);
        border-radius: 0 8px 8px 0; box-shadow: 10px 9px 26px -8px rgba(0,0,0,.55);
    }
    .op-collapsed .op-menu > li.op-tree:hover > .op-menu-link > span { border-radius: 0 8px 0 0; }
    .op-collapsed .op-menu > li.op-tree:hover > .op-submenu {
        display: block !important; position: absolute; left: var(--op-sidebar-mini-w); top: 38px; z-index: 1050;
        min-width: 200px; max-height: 70vh; overflow-y: auto; margin: 0; padding: 6px;
        background: #1b2230; border-left: 2px solid var(--op-accent); border-radius: 0 0 8px 0;
        box-shadow: 10px 12px 30px -8px rgba(0,0,0,.6);
    }
    .op-collapsed .op-menu > li.op-tree:hover > .op-submenu::before { display: none; }
    .op-collapsed .op-submenu > li > a, .op-collapsed .op-submenu-btn { padding: 7px 14px; color: #c3cdda; }
    .op-collapsed .op-submenu > li > a > i, .op-collapsed .op-submenu-btn > i { position: static; transform: none; margin-right: 7px; }
}

/* mobile: off-canvas */
.op-backdrop { display: none; }
@media (max-width: 991.98px) {
    .op-sidebar { transform: translateX(calc(-1 * var(--op-sidebar-w))); box-shadow: 8px 0 30px rgba(0,0,0,.45); }
    .op-main { margin-left: 0; }
    .op-sidebar-open .op-sidebar { transform: none; }
    .op-sidebar-open .op-backdrop {
        display: block; position: fixed; inset: 0; z-index: 1035;
        background: rgba(8,12,20,.5); backdrop-filter: blur(2px);
    }
}

/* ---------------------------------------------------------------- top bar */
.op-topbar {
    position: sticky; top: 0; z-index: 1030;
    height: var(--op-topbar-h);
    display: flex; align-items: center; gap: 10px; padding: 0 14px;
    background: #fff;
    box-shadow: 0 14px 30px -12px rgba(16,42,73,.30), 0 4px 10px rgba(0,0,0,.06);
}
.op-topbar::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--op-deep), var(--op-accent), var(--op-accent-2), var(--op-green), var(--op-accent-2), var(--op-accent), var(--op-deep));
    background-size: 220% 100%; animation: opGlow 7s linear infinite;
}
@keyframes opGlow { from { background-position: 0 0; } to { background-position: 220% 0; } }
@media (prefers-reduced-motion: reduce) { .op-topbar::after { animation: none; } }

.op-toggle {
    flex: 0 0 auto; width: 40px; height: 40px; border: 0; border-radius: 12px;
    display: grid; place-items: center; background: transparent; color: var(--op-text); font-size: 17px;
    text-decoration: none; transition: background .2s ease, transform .2s ease;
}
.op-toggle:hover { background: rgba(0,0,0,.06); color: var(--op-deep); transform: translateY(-1px); }
.op-brand { display: flex; align-items: center; gap: 8px; color: var(--op-deep); font-weight: 800; letter-spacing: .4px; text-decoration: none; white-space: nowrap; }
.op-brand > i { color: var(--op-green); }
.op-brand:hover { color: var(--op-accent); }
.op-center { flex: 1 1 auto; justify-content: center; }
.op-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.op-pill {
    padding: 3px 13px; border-radius: 20px; font-weight: 700; font-size: 13px; white-space: nowrap;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(233,242,250,.70));
    border: 1px solid rgba(60,141,188,.22);
    box-shadow: 0 3px 10px rgba(16,42,73,.12), inset 0 1px 0 rgba(255,255,255,.95);
}
.op-clock { color: #00a65a; }

.op-outlet-btn {
    display: inline-flex; align-items: center; gap: 7px; max-width: 260px;
    padding: 6px 14px; border-radius: 22px; border: 1px solid rgba(60,141,188,.25);
    background: #eef6fc; color: var(--op-deep); font-weight: 700; font-size: 13px;
    box-shadow: 0 2px 10px rgba(16,42,73,.10);
}
.op-outlet-btn > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-outlet-btn:hover, .op-outlet-btn[aria-expanded="true"] { box-shadow: 0 0 16px rgba(60,141,188,.40); }
.op-outlet-static { cursor: default; }
.op-outlet-menu { min-width: 240px; max-height: 70vh; overflow-y: auto; border-radius: 14px; padding: 8px; border: 1px solid rgba(60,141,188,.16); box-shadow: 0 24px 54px -14px rgba(16,42,73,.45); }
.op-outlet-menu .dropdown-item { display: flex; align-items: center; gap: 8px; border-radius: 10px; font-weight: 600; }
.op-outlet-menu .dropdown-item.active, .op-outlet-menu .dropdown-item:active { background: linear-gradient(135deg, var(--op-accent), var(--op-accent-2)); color: #fff; }
.op-outlet-menu .dropdown-item.active > i { color: #fff; }

.op-sell-btn {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 17px; border-radius: 22px;
    background: linear-gradient(145deg, var(--op-green-2), #2f9200 55%, #237000); color: #fff;
    font-weight: 700; font-size: 13px; letter-spacing: .4px; text-decoration: none;
    box-shadow: 0 4px 14px rgba(47,146,0,.45), inset 0 1px 0 rgba(255,255,255,.38);
    transition: transform .2s ease, box-shadow .25s ease;
}
.op-sell-btn:hover, .op-sell-btn:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 0 22px rgba(63,181,10,.7); }

.op-user-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 4px 6px; border-radius: 22px; color: var(--op-text); font-weight: 600; font-size: 13px; }
.op-user-btn:hover { background: rgba(0,0,0,.05); }
.op-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(145deg, var(--op-accent), var(--op-deep)); }
.op-role-badge { background: rgba(60,141,188,.14); color: var(--op-deep); }
.op-user .dropdown-menu { border-radius: 14px; min-width: 230px; border: 0; box-shadow: 0 16px 40px rgba(0,0,0,.18); }

@media (max-width: 575.98px) {
    .op-brand > span, .op-sell-btn > span { display: none; }
    .op-outlet-btn { max-width: 150px; padding: 5px 10px; }
}

/* ---------------------------------------------------------------- content */
.op-content { flex: 1 1 auto; padding: 20px 22px 28px; }
.op-page-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.op-page-title { margin: 0; font-size: 1.35rem; font-weight: 700; color: var(--op-deep); }
.op-page-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.op-section-title { font-size: .8rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--op-muted); margin: 8px 0 12px; }
.op-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding: 12px 22px; font-size: 12px; color: var(--op-muted); border-top: 1px solid var(--op-border); background: #fff; }

/* cards / boxes (legacy .box) */
.op-card { border: 1px solid var(--op-border); border-radius: var(--op-radius); box-shadow: 0 6px 18px -10px rgba(16,42,73,.25); }
.op-card > .card-header { background: #fff; border-bottom: 1px solid var(--op-border); font-weight: 700; color: var(--op-deep); border-radius: var(--op-radius) var(--op-radius) 0 0; }
.op-card > .card-header > i { color: var(--op-accent); margin-right: 6px; }
.op-filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-bottom: 14px; }

/* stat tiles */
.op-stat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--op-radius); background: #fff; border: 1px solid var(--op-border); box-shadow: 0 6px 18px -10px rgba(16,42,73,.25); height: 100%; }
.op-stat-icon { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: #fff; }
.op-stat-blue .op-stat-icon { background: linear-gradient(145deg, var(--op-accent-2), var(--op-deep)); }
.op-stat-green .op-stat-icon { background: linear-gradient(145deg, var(--op-green-2), #237000); }
.op-stat-purple .op-stat-icon { background: linear-gradient(145deg, #8f73ff, #5a3fd1); }
.op-stat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--op-muted); }
.op-stat-value { font-size: 1.15rem; font-weight: 800; color: var(--op-text); }
.op-stat-sub { font-size: 12px; color: var(--op-muted); }

/* module cards (dashboard) */
.op-module-card { position: relative; padding: 14px 16px; border-radius: var(--op-radius); background: #fff; border: 1px solid var(--op-border); transition: box-shadow .2s ease, transform .2s ease; }
.op-module-card:hover { box-shadow: 0 12px 26px -12px rgba(16,42,73,.35); transform: translateY(-2px); }
.op-module-head { display: flex; align-items: center; gap: 10px; }
.op-module-icon { flex: 0 0 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(145deg, #e8f3fb, #d3e8f7); color: var(--op-accent); }
.op-module-title { font-weight: 700; color: var(--op-text); text-decoration: none; }
a.op-module-title:hover { color: var(--op-accent); }
.op-module-links { list-style: none; margin: 10px 0 0 46px; padding: 0; font-size: 12.5px; }
.op-module-links li { margin: 3px 0; }
.op-module-links a { text-decoration: none; }

/* money / numbers in tables and forms */
.op-num, td.op-num, th.op-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.op-neg { color: var(--op-danger); }

/* DataTables (legacy .datatable font sizes) */
table.dataTable { font-size: 13.5px; }
table.dataTable thead th { font-weight: 700; color: var(--op-deep); background: #f6f9fc; white-space: nowrap; }
div.dt-container div.dt-processing { position: fixed; top: 50%; left: 50%; z-index: 2000; }
div.dt-container .dt-paging .dt-paging-button.current { background: var(--op-accent) !important; color: #fff !important; border-color: var(--op-accent) !important; }

/* select2 inside input groups / small forms */
.select2-container--bootstrap-5 .select2-selection { min-height: calc(1.5em + .75rem + 2px); }

/* SweetAlert2 brand colours */
.swal2-styled.swal2-confirm { background-color: var(--op-deep) !important; }

/* print */
@media print {
    .op-sidebar, .op-topbar, .op-footer, .op-page-actions, .noPrint { display: none !important; }
    .op-main { margin-left: 0 !important; }
    .op-content { padding: 0; }
}

/* ---------------------------------------------------------------- POS layout */
.op-pos { background: #eef2f6; }
.op-pos-topbar { height: 52px; }
.op-pos-content { padding: 10px; min-height: calc(100vh - 52px); }

/* ---------------------------------------------------------------- error pages */
.op-plain { background: radial-gradient(900px 500px at 80% -10%, #dbeaf5 0%, transparent 60%), var(--op-bg); }
.op-plain-main { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.op-error-card { max-width: 520px; width: 100%; text-align: center; padding: 40px 32px; border-radius: 20px; background: #fff; border: 1px solid var(--op-border); box-shadow: 0 30px 60px -30px rgba(16,42,73,.45); }
.op-error-icon { width: 72px; height: 72px; margin: 0 auto 10px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; color: #fff; background: linear-gradient(145deg, var(--op-accent), var(--op-deep)); }
.op-error-code { font-size: 44px; font-weight: 800; color: var(--op-deep); line-height: 1.1; }
.op-error-title { font-size: 1.3rem; font-weight: 700; margin: 6px 0 8px; }
.op-error-msg { color: var(--op-muted); margin-bottom: 22px; }
.op-error-ref { margin: 18px 0 0; font-size: 12px; color: var(--op-muted); }

/* ---------------------------------------------------------------- login (legacy login.php look) */
.op-login {
    margin: 0; min-height: 100vh; padding: 24px; overflow-x: hidden; position: relative;
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif; color: #e9eff7;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(1200px 700px at 82% -12%, #14263b 0%, transparent 55%),
                radial-gradient(1000px 700px at -12% 112%, #0e2a22 0%, transparent 55%),
                linear-gradient(160deg, #0b1220 0%, #0a0f18 100%);
}
.op-login::before {
    content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .4;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
}
.lg-orb { position: fixed; border-radius: 50%; filter: blur(64px); opacity: .55; pointer-events: none; z-index: 0; animation: lgFloat 19s ease-in-out infinite; }
.lg-orb.o1 { width: 420px; height: 420px; top: -120px; left: -110px; background: radial-gradient(circle, #3c8dbc, transparent 70%); }
.lg-orb.o2 { width: 380px; height: 380px; bottom: -130px; right: -90px; background: radial-gradient(circle, #37a000, transparent 70%); animation-delay: -6s; }
.lg-orb.o3 { width: 320px; height: 320px; top: 42%; left: 56%; background: radial-gradient(circle, #7b5cff, transparent 70%); opacity: .32; animation-delay: -11s; }
@keyframes lgFloat { 0%, 100% { transform: translate(0,0) scale(1); } 33% { transform: translate(32px,-26px) scale(1.08); } 66% { transform: translate(-22px,20px) scale(.94); } }
@media (prefers-reduced-motion: reduce) { .lg-orb { animation: none; } }
.lg-card {
    position: relative; z-index: 2; width: 100%; max-width: 880px; display: grid; grid-template-columns: 1.05fr .95fr;
    border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.09);
    background: linear-gradient(160deg, rgba(20,28,42,.86), rgba(12,18,28,.92)); backdrop-filter: blur(18px);
    box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 12px 30px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
}
.lg-brand { position: relative; padding: 46px 42px; color: #fff; background: linear-gradient(155deg, #0c5889 0%, #2b6a90 42%, #237000 100%); }
.lg-logo { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 27px; color: #fff; background: linear-gradient(145deg, rgba(255,255,255,.24), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.35); box-shadow: 0 12px 26px rgba(0,0,0,.35); }
.lg-brand h1 { margin: 22px 0 6px; font-size: 27px; font-weight: 800; letter-spacing: .5px; }
.lg-tag { margin: 0 0 28px; font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.55; max-width: 300px; }
.lg-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.lg-feats li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 500; }
.lg-feats .fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.lg-brandftr { margin-top: 32px; font-size: 12px; color: rgba(255,255,255,.62); display: flex; align-items: center; gap: 8px; }
.lg-form { padding: 46px 42px; display: flex; flex-direction: column; justify-content: center; }
.lg-mbrand { display: none; }
.lg-form h2 { margin: 0 0 6px; font-size: 24px; font-weight: 800; letter-spacing: .3px; }
.lg-sub { margin: 0 0 26px; font-size: 13.5px; color: #94a6bc; }
.lg-field { margin-bottom: 18px; }
.lg-field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #aebccd; margin-bottom: 8px; }
.lg-inwrap { position: relative; }
.lg-ic { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #6f8296; font-size: 15px; pointer-events: none; }
.lg-input {
    width: 100%; height: 50px; border-radius: 13px; padding: 0 46px; font-size: 14.5px; color: #e9eff7;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.lg-input::placeholder { color: #5f7183; }
.lg-input:focus { border-color: #5fb0e6; background: rgba(60,141,188,.08); box-shadow: 0 0 0 4px rgba(60,141,188,.16); }
.lg-input.input-validation-error { border-color: rgba(220,53,69,.7); }
.lg-inwrap:focus-within > .lg-ic { color: #5fb0e6; }
.lg-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: #6f8296; border-radius: 9px; display: grid; place-items: center; }
.lg-eye:hover { color: #5fb0e6; background: rgba(255,255,255,.05); }
.lg-err { display: block; margin-top: 6px; font-size: 12.5px; color: #ff9a9a; }
.lg-btn {
    width: 100%; height: 52px; margin-top: 6px; border: 0; border-radius: 13px; color: #fff; font-size: 15.5px; font-weight: 700; letter-spacing: .5px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(135deg, #3c8dbc 0%, #2b8f5a 55%, #37a000 100%); background-size: 180% 100%;
    box-shadow: 0 14px 30px -10px rgba(55,160,0,.55), 0 6px 16px rgba(60,141,188,.35);
    transition: transform .2s ease, box-shadow .25s ease, background-position .5s ease;
}
.lg-btn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 0 26px rgba(67,189,12,.6); }
.lg-alert { display: flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: 11px; margin-bottom: 14px; font-size: 13px; background: rgba(220,53,69,.14); border: 1px solid rgba(220,53,69,.4); color: #ff9a9a; }
.lg-alert.validation-summary-valid { display: none; }
.lg-alert.lg-ok { background: rgba(55,160,0,.14); border-color: rgba(67,189,12,.45); color: #9be27a; }
.lg-alert ul { margin: 0; padding: 0; list-style: none; }
@media (max-width: 820px) {
    .lg-card { grid-template-columns: 1fr; max-width: 440px; }
    .lg-brand { display: none; }
    .lg-form { padding: 34px 26px 30px; }
    .lg-mbrand { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
    .lg-mbrand .lg-logo { width: 50px; height: 50px; font-size: 22px; border-radius: 15px; background: linear-gradient(145deg, #0c5889, #37a000); }
    .lg-mbrand b { font-size: 18px; font-weight: 800; display: block; }
    .lg-mbrand span { font-size: 12px; color: #94a6bc; }
}
