﻿.orders-shell{
    position:relative;
    margin-top:0;
}

.orders-toolbar{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    margin-top:-50px;
    margin-bottom:10px;
    position:relative;
    z-index:6;
    pointer-events:none;
}

.orders-columns{
    position:relative;
    z-index:7;
    pointer-events:auto;
}

.orders-top-metrics{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    flex-wrap:wrap;
    min-height:36px;
    pointer-events:auto;
}

.orders-top-metric{
    position:relative;
    min-width:132px;
    min-height:36px;
    padding:7px 12px;
    border:0;
    border-radius:7px;
    color:#fff;
    display:grid;
    grid-template-columns:auto 1fr;
    gap:4px 8px;
    align-items:center;
    box-shadow:0 1px 0 rgba(15,23,42,0.08);
    cursor:pointer;
    text-align:left;
    font:inherit;
    transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.orders-top-metric:hover{
    transform:translateY(-1px);
    filter:brightness(1.03);
}

.orders-top-metric.active{
    transform:translateY(1px);
    box-shadow:0 0 0 2px #ffffff, 0 0 0 5px #2563eb, inset 0 2px 6px rgba(15,23,42,.22);
    filter:saturate(1.12) brightness(.98);
}

.orders-top-metric.active::after{
    content:"";
    position:absolute;
    top:-7px;
    right:-7px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#2563eb;
    border:2px solid #ffffff;
    box-shadow:0 2px 6px rgba(15,23,42,.24);
}

.orders-top-metric.active::before{
    content:"";
    position:absolute;
    top:-1px;
    right:-1px;
    width:7px;
    height:4px;
    border-left:2px solid #ffffff;
    border-bottom:2px solid #ffffff;
    transform:rotate(-45deg);
    z-index:1;
}

.orders-top-metric svg{
    width:18px;
    height:18px;
    grid-row:1 / span 2;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.orders-top-metric strong{
    font-size:14px;
    line-height:1;
    font-weight:700;
    white-space:nowrap;
}

.orders-top-metric span{
    font-size:11px;
    line-height:1.15;
    font-weight:600;
    white-space:nowrap;
}

.orders-top-metric-black{
    background:#1f2937;
}

.orders-top-metric-green{
    background:#16a34a;
}

.orders-top-metric-orange{
    background:#f59e0b;
}

.orders-columns-toggle{
    min-width:58px;
    height:36px;
    padding:0 0 0 12px;
    display:inline-flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    border:1px solid var(--line-2);
    background:white;
    color:#344054;
    border-radius:8px;
}

.orders-columns-toggle:hover{
    background:#f5f8ff;
}

.orders-columns-toggle svg{
    width:18px;
    height:18px;
    stroke:currentColor;
}

.orders-columns-toggle-main{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.orders-columns-toggle-caret{
    width:22px;
    height:22px;
    margin-left:auto;
    margin-right:6px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid #d9e2f1;
    border-radius:6px;
    background:#f8fafc;
    color:#667085;
    font-size:11px;
    line-height:1;
    flex-shrink:0;
}

.orders-columns-toggle.active .orders-columns-toggle-caret{
    background:#eef4ff;
    color:#1d4ed8;
    border-color:#bfd2ff;
}

.orders-columns-panel{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    width:260px;
    max-height:320px;
    overflow:auto;
    background:white;
    border:1px solid var(--line);
    border-radius:14px;
    box-shadow:0 18px 48px rgba(15,23,42,0.16);
    padding:10px;
    display:none;
    z-index:25;
}

.orders-columns-panel.show{
    display:block;
}

.orders-columns-list{
    display:grid;
    gap:4px;
}

.orders-columns-item{
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px 10px;
    border-radius:10px;
    font-size:14px;
    color:var(--text);
}

.orders-columns-item:hover{
    background:#f8fbff;
}

.orders-columns-item input{
    width:auto;
    margin:0;
}

.orders-table-wrap{
    background:white;
    border-radius:16px;
    border:1px solid var(--line);
    overflow:visible;
    box-shadow:0 1px 0 rgba(16,24,40,0.02);
    margin-top:19px;
}

.orders-pagination{
    display:none;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    padding:14px 6px 0;
}

.orders-bulkbar{
    display:none;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    padding:14px 6px 0;
}

.orders-bulkbar.show{
    display:flex;
}

.orders-bulk-btn{
    min-height:40px;
    padding:8px 14px;
    border:1px solid #d9e2f1;
    border-radius:8px;
    background:#fff;
    color:#344054;
    font-size:14px;
    font-weight:500;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

.orders-bulk-btn:hover{
    background:#f8fbff;
}

.orders-bulk-btn svg{
    width:18px;
    height:18px;
    stroke:currentColor;
    flex-shrink:0;
}

.orders-bulk-count{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#344054;
    font-size:14px;
    font-weight:500;
}

.orders-bulk-clear{
    width:24px;
    height:24px;
    padding:0;
    min-height:24px;
    border-radius:999px;
    border:1px solid #d9d9d9;
    background:#f3f4f6;
    color:#98a2b3;
    font-size:14px;
    line-height:1;
}

.orders-bulk-clear:hover{
    background:#e5e7eb;
    color:#667085;
}

.orders-bulk-actions-wrap{
    position:relative;
}
.orders-bulk-actions-menu{
    display:none;
    position:absolute;
    bottom:calc(100% + 6px);
    left:0;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:8px;
    box-shadow:0 4px 16px rgba(15,23,42,.12);
    min-width:150px;
    z-index:200;
    overflow:hidden;
}
.orders-bulk-actions-menu.show{
    display:block;
}
.orders-bulk-action-item{
    display:block;
    width:100%;
    text-align:left;
    padding:9px 14px;
    background:none;
    border:none;
    font-size:14px;
    color:#1e293b;
    cursor:pointer;
}
.orders-bulk-action-item:hover{background:#f8fafc;}
.orders-bulk-action-danger{color:#dc2626;}
.orders-bulk-action-danger:hover{background:#fff5f5;}

.orders-pagination-btn{
    min-width:36px;
    height:36px;
    padding:6px 10px;
    border:1px solid var(--line);
    border-radius:8px;
    background:#fff;
    color:#344054;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
}

.orders-pagination-btn:hover{
    background:#f8fbff;
}

.orders-pagination-btn.active{
    background:var(--blue);
    border-color:var(--blue);
    color:#fff;
}

.orders-pagination-ellipsis{
    color:#667085;
    font-size:14px;
    padding:0 2px;
}

table{
    width:100%;
    border-collapse:collapse;
    background:white;
    table-layout:fixed;
}

th,td{
    padding:6px 10px;
    border-bottom:1px solid #edf1f7;
    text-align:left;
    font-size:13px;
    height:32px;
    min-height:32px;
    max-height:32px;
    vertical-align:middle;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.orders-select-col{
    width:46px;
    min-width:46px;
    max-width:46px;
    text-align:center;
    padding:0 8px;
}

.orders-select-cell{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
}

.orders-select-checkbox{
    width:18px;
    height:18px;
    margin:0;
    accent-color:#2f6df6;
    cursor:pointer;
}

th{
    background:#EEF2F7;
    color:#475467;
    font-weight:700;
    position:relative;
    cursor:grab;
    user-select:none;
    padding:0;
    white-space:nowrap;
}

th.orders-column-head.is-dragging{
    opacity:0.65;
    cursor:grabbing;
}

.orders-column-head-inner{
    width:100%;
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:12px 18px 12px 10px;
}

.orders-column-sort{
    flex:1 1 auto;
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:0;
    border:none;
    background:transparent;
    color:inherit;
    font:inherit;
    text-align:left;
    cursor:pointer;
}

.orders-column-sort:hover{
    background:transparent;
}

.orders-column-sort-label{
    overflow:hidden;
    text-overflow:ellipsis;
}

.orders-column-sort-arrow{
    flex-shrink:0;
    font-size:12px;
    color:#667085;
    opacity:1;
    line-height:1;
}

.orders-cell-content{
    display:block;
    width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.orders-status-cell{
    overflow:visible;
}

.orders-status-cell .orders-cell-content{
    overflow:visible;
    white-space:normal;
}

.orders-status-select{
    width:100%;
    min-width:140px;
    min-height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:6px 28px 6px 10px;
    border:1px solid var(--status-select-border, #d9e2f1);
    border-radius:8px;
    background:var(--status-select-bg, #f8fbff);
    color:#ffffff;
    font-size:14px;
    font-weight:500;
    cursor:pointer;
    box-shadow:inset 0 0 0 1px rgba(15,23,42,0.10);
}

.orders-status-select::after{
    content:"▾";
    font-size:11px;
    line-height:1;
    color:#667085;
    flex-shrink:0;
}

.orders-status-select:disabled{
    opacity:0.7;
    cursor:wait;
}

.orders-status-select-label{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:normal;
}

.orders-status-picker{
    position:relative;
    width:100%;
}

.orders-status-menu{
    position:absolute;
    top:calc(100% + 6px);
    left:0;
    min-width:190px;
    max-width:220px;
    padding:8px;
    border:1px solid #d9e2f1;
    border-radius:12px;
    background:#ffffff;
    box-shadow:0 14px 36px rgba(15,23,42,0.12);
    display:none;
    z-index:30;
}

.orders-status-picker.open .orders-status-menu{
    display:grid;
    gap:8px;
}

.orders-status-group{
    display:grid;
    gap:6px;
}

.orders-status-group-title{
    padding:2px 4px 0;
    color:#667085;
    font-size:12px;
    line-height:1.2;
}

.orders-status-group-list{
    display:grid;
    gap:6px;
}

.orders-status-option-row{
    width:100%;
    padding:3px 6px;
    border-radius:8px;
    transition:background 0.15s ease;
}

.orders-status-option-row:hover{
    background:#eef1f5;
}

.orders-status-option{
    width:auto;
    max-width:100%;
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:6px 10px;
    border:1px solid var(--status-select-border, #d9e2f1);
    border-radius:8px;
    background:var(--status-select-bg, #ffffff);
    color:#ffffff;
    font-size:13px;
    font-weight:500;
    line-height:1.15;
    text-align:left;
    transition:background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow:inset 0 0 0 1px rgba(15,23,42,0.10);
}

.orders-status-option:hover{
    box-shadow:inset 0 0 0 1px rgba(15,23,42,0.10);
}

.orders-status-option.active{
    box-shadow:inset 0 0 0 1px rgba(24,34,48,0.10);
}

.orders-order-cell{
    display:grid;
    gap:4px;
}

.orders-order-number{
    display:block;
    width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.orders-order-meta{
    display:block;
    width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:12px;
    color:#667085;
    line-height:1.2;
}

.orders-column-resize{
    position:absolute;
    top:0;
    right:0;
    width:8px;
    height:100%;
    cursor:col-resize;
    z-index:2;
}

.orders-column-resize::before{
    content:"";
    position:absolute;
    top:10px;
    bottom:10px;
    right:3px;
    width:1px;
    background:rgba(0,0,0,0.08);
    opacity:0;
}

.orders-column-head:hover .orders-column-resize::before,
.orders-column-resize.is-resizing::before{
    opacity:1;
}

th + th::before{
    content:"";
    position:absolute;
    left:0;
    top:10px;
    bottom:10px;
    width:1px;
    background:rgba(0,0,0,0.05);
}

tbody tr:hover{
    background:#eaf2ff;
    cursor:pointer;
}

tbody tr.orders-row-selected{
    background:#eaf2ff;
}

.topbar{
    display:grid;
    grid-template-columns:360px minmax(0, 1fr);
    grid-template-areas:
        "orders-title orders-side"
        "orders-search orders-side"
        "orders-actions orders-side"
        "orders-filters orders-filters";
    align-items:start;
    gap:12px 24px;
    margin:-2px 0 16px;
    overflow:visible;
}

.topbar::before{
    content:"Заказы";
    grid-area:orders-title;
    display:block;
    color:#071d44;
    font-size:26px;
    line-height:1.2;
    font-weight:900;
    letter-spacing:0;
}

.topbar-left{
    display:contents;
}

.topbar-right{
    grid-area:orders-side;
    display:flex;
    align-items:flex-start;
    justify-content:flex-end;
    gap:14px;
    flex-wrap:nowrap;
    padding-top:34px;
}

#search{
    grid-area:orders-search;
    justify-self:start;
    width:360px;
    max-width:100%;
    margin-left:0;
    height:44px;
    padding:0 16px 0 44px;
    border:1px solid rgba(185,202,226,0.86);
    border-radius:8px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238198b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") 16px 50% / 18px 18px no-repeat,
        rgba(255,255,255,0.86);
    box-shadow:0 8px 26px rgba(76,104,144,0.08), inset 0 1px 0 rgba(255,255,255,0.92);
    color:#071d44;
    font-size:14px;
    font-weight:700;
}

#search::placeholder{
    color:#7f93b4;
    font-weight:600;
}

.orders-actions{
    grid-area:orders-actions;
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
    justify-self:start;
    margin-left:0;
}

.orders-create-btn,
.orders-filter-btn{
    min-width:112px;
    height:44px;
    margin-top:0;
    padding:0 18px;
    border-radius:8px;
    font-size:14px;
    font-weight:900;
    line-height:1;
    box-shadow:0 10px 24px rgba(41,104,244,0.16);
}

.orders-create-btn{
    border:1px solid rgba(45,105,247,0.9);
    background:linear-gradient(180deg, #3c78ff 0%, #2462f3 100%);
    color:#ffffff;
}

.orders-create-btn:hover{
    background:linear-gradient(180deg, #4a84ff 0%, #2b6bfb 100%);
}

.orders-filter-btn{
    border:1px solid rgba(188,205,229,0.9);
    background:rgba(255,255,255,0.9);
    color:#071d44;
    box-shadow:0 8px 22px rgba(76,104,144,0.08);
}

.orders-filter-btn:hover,
.orders-filter-btn.active{
    border-color:#a9c0e3;
    background:#ffffff;
    color:#145ff5;
}

.orders-filter-btn svg{
    width:17px;
    height:17px;
    color:#5b7194;
}

.orders-saved-filters{
    margin-top:0;
}

.orders-top-metrics{
    display:flex;
    align-items:flex-start;
    justify-content:flex-end;
    gap:14px;
    min-height:78px;
}

.orders-top-metric{
    min-width:170px;
    min-height:78px;
    padding:14px 16px;
    border:1px solid rgba(223,231,243,0.94);
    border-radius:10px;
    background:rgba(255,255,255,0.86);
    color:#071d44;
    grid-template-columns:42px 1fr;
    gap:4px 14px;
    box-shadow:0 12px 32px rgba(36,64,102,0.08), inset 0 1px 0 rgba(255,255,255,0.94);
}

.orders-top-metric:hover{
    transform:translateY(-1px);
    filter:none;
    box-shadow:0 16px 36px rgba(36,64,102,0.12), inset 0 1px 0 rgba(255,255,255,0.94);
}

.orders-top-metric.active{
    transform:none;
    border-color:#8eb3ff;
    box-shadow:0 0 0 1px rgba(35,102,246,0.22), 0 16px 36px rgba(36,64,102,0.12);
    filter:none;
}

.orders-top-metric.active::before,
.orders-top-metric.active::after{
    display:none;
}

.orders-top-metric svg{
    width:40px;
    height:40px;
    grid-row:1 / span 2;
    padding:9px;
    border-radius:8px;
    box-sizing:border-box;
    stroke-width:2;
    background:#236cff;
    color:#ffffff;
    filter:drop-shadow(0 10px 18px rgba(25, 95, 229, 0.18));
}

.orders-top-metric-black svg{
    background:#071d44;
    color:#ffffff;
    filter:drop-shadow(0 10px 18px rgba(7, 29, 68, 0.18));
}

.orders-top-metric-green svg{
    background:linear-gradient(180deg, #35c776 0%, #20a95b 100%);
    color:#ffffff;
    filter:drop-shadow(0 10px 18px rgba(32, 169, 91, 0.18));
}

.orders-top-metric-orange svg{
    background:linear-gradient(180deg, #ffb13d 0%, #f59a18 100%);
    color:#ffffff;
    filter:drop-shadow(0 10px 18px rgba(245, 154, 24, 0.2));
}

.orders-top-metric strong{
    align-self:end;
    color:#6f819f;
    font-size:12px;
    line-height:1.15;
    font-weight:800;
}

.orders-top-metric span{
    color:#071d44;
    font-size:13px;
    line-height:1.25;
    font-weight:900;
}

.orders-columns-toggle{
    min-width:68px;
    height:44px;
    padding:0 8px 0 14px;
    border:1px solid rgba(188,205,229,0.9);
    border-radius:8px;
    background:rgba(255,255,255,0.9);
    color:#071d44;
    box-shadow:0 8px 22px rgba(76,104,144,0.08);
}

.orders-columns-toggle:hover,
.orders-columns-toggle.active{
    background:#ffffff;
    border-color:#a9c0e3;
    color:#145ff5;
}

.orders-columns-toggle-caret{
    border:0;
    background:transparent;
    color:inherit;
}

.orders-columns-panel,
.orders-filter-select-menu,
.orders-status-menu,
.orders-bulk-actions-menu{
    border-color:rgba(197,211,232,0.9);
    background:rgba(255,255,255,0.98);
    box-shadow:0 18px 44px rgba(28,55,92,0.14);
}

.orders-filter-panel{
    grid-area:orders-filters;
    width:100%;
    margin:0;
    padding:16px;
    border:1px solid rgba(223,231,243,0.95);
    border-radius:10px;
    background:rgba(255,255,255,0.82);
    box-shadow:0 12px 34px rgba(36,64,102,0.08), inset 0 1px 0 rgba(255,255,255,0.94);
}

.orders-filter-actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px 14px;
}

.orders-filter-select-chip,
.orders-filter-chip,
.orders-saved-filter-btn{
    min-height:42px;
    padding:0 16px;
    border:1px solid rgba(188,205,229,0.9);
    border-radius:8px;
    background:rgba(255,255,255,0.9);
    color:#071d44;
    font-size:13px;
    font-weight:800;
    box-shadow:0 7px 18px rgba(76,104,144,0.06);
}

.orders-filter-select-chip:hover,
.orders-filter-chip:hover,
.orders-saved-filter-btn:hover,
.orders-saved-filter-btn.active{
    border-color:#a9c0e3;
    background:#ffffff;
    color:#145ff5;
}

.orders-filter-select-chip svg,
.orders-filter-chip svg{
    width:16px;
    height:16px;
    color:#6f819f;
}

.orders-filter-link{
    color:#285ba8;
    font-weight:800;
}

.orders-table-wrap{
    margin-top:14px;
    border:1px solid rgba(223,231,243,0.95);
    border-radius:10px;
    background:rgba(255,255,255,0.86);
    overflow:hidden;
    box-shadow:0 18px 46px rgba(36,64,102,0.08), inset 0 1px 0 rgba(255,255,255,0.94);
}

table{
    background:transparent;
}

th{
    background:linear-gradient(180deg, rgba(248,251,255,0.96), rgba(243,247,253,0.96));
    color:#5d6f8e;
    font-size:12px;
    font-weight:900;
}

th,
td{
    border-bottom:1px solid rgba(224,233,244,0.9);
}

td{
    height:68px;
    min-height:68px;
    max-height:68px;
    padding:12px 16px;
    color:#071d44;
    font-size:13px;
    font-weight:700;
    background:rgba(255,255,255,0.58);
}

.orders-column-head-inner{
    min-height:56px;
    padding:14px 18px;
}

.orders-column-sort-arrow{
    color:#93a4bd;
    font-weight:900;
}

.orders-select-col{
    width:58px;
    min-width:58px;
    max-width:58px;
}

.orders-select-checkbox{
    width:17px;
    height:17px;
    accent-color:#256dff;
}

.orders-order-number{
    color:#1268f3;
    font-weight:900;
}

.orders-order-meta{
    margin-top:5px;
    color:#6f819f;
    font-size:12px;
    font-weight:700;
}

.orders-status-select{
    width:auto;
    min-width:92px;
    min-height:34px;
    padding:6px 28px 6px 12px;
    border-radius:8px;
    font-size:12px;
    font-weight:900;
    box-shadow:0 8px 18px rgba(64,99,153,0.08);
}

.orders-status-select::after{
    color:currentColor;
    opacity:0.75;
}

.orders-bulkbar{
    padding:14px 0 0;
}

.orders-bulk-btn,
.orders-pagination-btn{
    border-radius:8px;
    border-color:rgba(188,205,229,0.9);
    background:#ffffff;
    color:#071d44;
    font-weight:800;
}

@media (max-width: 1280px){
    .topbar{
        grid-template-columns:1fr;
        grid-template-areas:
            "orders-title"
            "orders-left"
            "orders-side";
    }

    .topbar-right{
        padding-top:0;
        justify-content:flex-start;
        flex-wrap:wrap;
    }
}

@media (max-width: 760px){
    .topbar::before{
        font-size:23px;
    }

    .orders-top-metrics{
        justify-content:flex-start;
    }

    .orders-top-metric{
        min-width:calc(50% - 8px);
    }

    .orders-table-wrap{
        overflow:auto;
    }
}

/* ── Login page ── */
#loginBlock {
    position: fixed;
    inset: 0;
    z-index: 100;
    overflow: auto;
    background: #f3f7ff;
    font-family: inherit;
    color: #0b1734;
}

.lp-photo-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #eef4fb;
    overflow: hidden;
}

.lp-photo-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(247, 250, 255, 0.96) 0%, rgba(247, 250, 255, 0.82) 31%, rgba(247, 250, 255, 0.18) 50%, rgba(247, 250, 255, 0) 72%),
        linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0) 42%, rgba(255,255,255,0.12));
    background-size: auto, auto;
    pointer-events: none;
}

.orders-shell .orders-table-wrap {
    overflow: visible;
}

.orders-status-picker.open {
    z-index: 300;
}

.orders-status-picker.open .orders-status-menu {
    z-index: 301;
}

.lp-photo-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("../../assets/login/crm-login-office-v2.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    filter: saturate(1.12) contrast(1.04) brightness(1);
    transform: scale(1.001);
}

.lp-page {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 76px 46px 34px;
    box-sizing: border-box;
}

.lp-page::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 42px;
    width: 340px;
    height: 190px;
    background: radial-gradient(circle, rgba(34, 101, 245, 0.12) 0 1.6px, transparent 2px);
    background-size: 13px 13px;
    pointer-events: none;
    z-index: -1;
}

.lp-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0;
}

.lp-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lp-logo-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.lp-logo-name {
    color: #0b1734;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.lp-logo-sub {
    color: #59677e;
    font-size: 12px;
    margin-top: 4px;
}

.lp-body {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 86px;
    min-height: 0;
    padding-top: 56px;
}

.lp-features-col {
    width: 330px;
    flex-shrink: 0;
}

.lp-hero-title {
    margin: 0 0 16px;
    color: #0b1734;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.17;
    letter-spacing: 0;
}

.lp-hero-desc {
    margin: 0 0 32px;
    color: #42516a;
    font-size: 15px;
    line-height: 1.55;
}

.lp-features {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.lp-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.lp-feature-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(29, 111, 247, 0.09);
    color: #1d6ff7;
    box-shadow: inset 0 0 0 1px rgba(29, 111, 247, 0.08);
}

.lp-feature-icon svg {
    width: 18px;
    height: 18px;
}

.lp-feature-title {
    color: #0b1734;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 4px;
}

.lp-feature-desc {
    color: #4f5f76;
    font-size: 12px;
    line-height: 1.45;
}

.lp-card-col {
    flex: 0 0 370px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 12px;
}

.loginBox {
    background: rgba(255, 255, 255, 0.94);
    padding: 32px 30px 28px;
    width: 368px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.86);
    box-shadow: 0 18px 52px rgba(15, 23, 42, 0.13);
    backdrop-filter: blur(8px);
    box-sizing: border-box;
}

.auth-title {
    margin: 0 0 8px;
    color: #0b1734;
    font-size: 25px;
    font-weight: 800;
    text-align: center;
}

.auth-subtitle {
    margin: 0 0 22px;
    color: #66758e;
    font-size: 12px;
    text-align: center;
    line-height: 1.45;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 13px;
    width: 16px;
    height: 16px;
    color: #94a3b8;
    pointer-events: none;
    flex-shrink: 0;
}

.auth-input {
    width: 100%;
    height: 43px;
    border: 1px solid #d8e2ef;
    border-radius: 7px;
    padding: 0 42px;
    color: #0b1734;
    font-size: 13px;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.auth-input:focus {
    border-color: #1a6ef5;
    box-shadow: 0 0 0 3px rgba(26, 110, 245, 0.1);
}

.auth-input::placeholder {
    color: #94a3b8;
}

.auth-eye-btn {
    position: absolute;
    right: 11px;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.auth-eye-btn svg {
    width: 16px;
    height: 16px;
}

.auth-eye-btn:hover {
    color: #475467;
}

.auth-form-actions {
    margin-top: 4px;
}

.auth-form-actions button,
#loginBtn,
#registerBtn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 7px;
    background: #115cf5;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    min-height: unset;
}

.auth-form-actions button:hover,
#loginBtn:hover,
#registerBtn:hover {
    background: #1259d4;
}

.auth-or {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    font-size: 13px;
    margin: 3px 0;
}

.auth-or::before,
.auth-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e8eef6;
}

.auth-sso-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 43px;
    border: 1px solid #d8e2ef;
    border-radius: 7px;
    background: #fff;
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    min-height: unset;
}

.auth-sso-btn svg {
    width: 16px;
    height: 16px;
    color: #1a6ef5;
}

.auth-sso-btn:hover {
    background: #f4f8ff;
    border-color: #b8cef0;
}

.auth-switch {
    margin-top: 10px;
    text-align: center;
    font-size: 13.5px;
    color: #64748b;
}

.auth-switch button {
    padding: 0;
    min-height: auto;
    background: none;
    border: none;
    color: #1a6ef5;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

.auth-switch button:hover {
    background: none;
    color: #1259d4;
    text-decoration: underline;
}

/* ── Trust row ── */
.lp-trust-row {
    display: none;
}

.lp-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: #3f4f67;
    font-size: 11px;
    line-height: 1.4;
}

.lp-trust-item span {
    display: none;
}

.lp-trust-item svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    color: #1a6ef5;
    padding: 7px;
    border-radius: 999px;
    background: rgba(29, 111, 247, 0.08);
    box-sizing: border-box;
}

.lp-footer {
    flex-shrink: 0;
    padding: 0;
    text-align: center;
    color: #8a98ad;
    font-size: 11px;
}

@media (max-width: 1180px) {
    .lp-body { gap: 44px; }
    .lp-features-col { width: 310px; }
    .lp-hero-title { font-size: 29px; }
}

@media (min-width: 1400px) {
    .lp-photo-bg::after {
        background-size: auto 100%;
        background-position: right center;
    }

    .lp-page {
        padding: 70px 72px 32px;
    }

    .lp-logo-icon {
        width: 46px;
        height: 46px;
    }

    .lp-logo-name {
        font-size: 34px;
    }

    .lp-logo-sub {
        font-size: 13px;
    }

    .lp-body {
        gap: 120px;
        padding-top: 54px;
    }

    .lp-features-col {
        width: 400px;
    }

    .lp-hero-title {
        font-size: 38px;
        line-height: 1.13;
    }

    .lp-hero-desc {
        font-size: 16px;
        margin-bottom: 34px;
    }

    .lp-feature-icon {
        width: 44px;
        height: 44px;
    }

    .lp-feature-title {
        font-size: 14px;
    }

    .lp-feature-desc {
        font-size: 13px;
    }

    .lp-card-col {
        flex-basis: 430px;
    }

    .loginBox {
        width: 430px;
        padding: 38px 36px 32px;
    }

    .auth-title {
        font-size: 28px;
    }

    .auth-subtitle {
        font-size: 13px;
    }

    .auth-input,
    .auth-sso-btn {
        height: 48px;
        font-size: 14px;
    }

    .auth-form-actions button,
    #loginBtn,
    #registerBtn {
        height: 48px;
        font-size: 15px;
    }

    .lp-trust-row {
        gap: 82px;
        padding-bottom: 22px;
    }

    .lp-trust-item {
        font-size: 12px;
    }
}

@media (max-width: 820px) {
    .lp-photo-bg::after { background-position: 70% center; }
    .lp-photo-bg::before {
        background: linear-gradient(180deg, rgba(247,250,255,0.96), rgba(247,250,255,0.9));
    }
    .lp-page { padding: 28px 20px 24px; }
    .lp-body { flex-direction: column; gap: 24px; align-items: stretch; min-height: 0; padding-top: 36px; }
    .lp-features-col { display: none; }
    .lp-card-col { flex: none; justify-content: stretch; padding-top: 0; }
    .loginBox { width: 100%; padding: 28px 20px; }
    .lp-logo-name { font-size: 26px; }
    .lp-trust-row { gap: 16px; flex-wrap: wrap; padding-top: 26px; }
}

.page-placeholder{
    background:white;
    border:1px solid var(--line);
    border-radius:16px;
    padding:24px;
}

