@import '_content/PayhubClient.UI/PayhubClient.UI.6h2dmrkc86.bundle.scp.css';

/* /Components/AppLoadingOverlay.razor.rz.scp.css */
.ovl[b-hqw8hc8xbn] {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Размытие фона того, что под оверлеем */
    background: rgba(244, 242, 255, 0.45);
    backdrop-filter: blur(6px) saturate(115%);
    -webkit-backdrop-filter: blur(6px) saturate(115%);
    border-radius: inherit;
    animation: ovl-in-b-hqw8hc8xbn 0.18s ease;
}

.ovl-fixed[b-hqw8hc8xbn] {
    position: fixed;
}

@keyframes ovl-in-b-hqw8hc8xbn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ovl-card[b-hqw8hc8xbn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    max-width: 80%;
    padding: 22px 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(124, 92, 255, 0.18);
    box-shadow: 0 18px 48px -18px rgba(86, 60, 200, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
}

.ovl-spinner[b-hqw8hc8xbn] {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #7c5cff, #1fc7e6, #7c5cff);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
    animation: ovl-spin-b-hqw8hc8xbn 0.9s linear infinite;
}

@keyframes ovl-spin-b-hqw8hc8xbn {
    to { transform: rotate(360deg); }
}

.ovl-text[b-hqw8hc8xbn] {
    font-weight: 600;
    font-size: 0.98rem;
    color: #2a2350;
}

.ovl-sub[b-hqw8hc8xbn] {
    font-size: 0.84rem;
    color: #6b647f;
}

.ovl-bar[b-hqw8hc8xbn] {
    width: 200px;
    height: 6px;
    border-radius: 4px;
    background: rgba(124, 92, 255, 0.16);
    overflow: hidden;
}

.ovl-bar-fill[b-hqw8hc8xbn] {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #7c5cff, #1fc7e6);
    transition: width 0.3s ease;
}

/* ── Тёмная тема ── */
html.app-dark .ovl[b-hqw8hc8xbn] {
    background: rgba(13, 15, 26, 0.5);
}

html.app-dark .ovl-card[b-hqw8hc8xbn] {
    background: rgba(28, 30, 48, 0.86);
    border-color: rgba(168, 150, 240, 0.28);
    box-shadow: 0 18px 48px -16px rgba(0, 0, 0, 0.6);
}

html.app-dark .ovl-text[b-hqw8hc8xbn] { color: #e7e3ff; }
html.app-dark .ovl-sub[b-hqw8hc8xbn] { color: #9b93b5; }
html.app-dark .ovl-bar[b-hqw8hc8xbn] { background: rgba(168, 150, 240, 0.2); }
/* /Components/Course.razor.rz.scp.css */
/* Старое (на случай если ещё где-то используется) */
.text-green[b-zoqb8pqm3g] { color: var(--bs-success); }
.text-red[b-zoqb8pqm3g] { color: var(--bs-danger); }

/* ── Таблица курсов со sparkline'ами ─────────────────────── */
.course-wrap[b-zoqb8pqm3g] {
    padding: 8px 10px;
    color: rgba(220, 210, 255, 0.92);
}

.course-head[b-zoqb8pqm3g] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.course-time[b-zoqb8pqm3g] {
    font-size: 11px;
    color: rgba(220, 210, 255, 0.65);
}
.course-spin[b-zoqb8pqm3g] {
    width: 12px; height: 12px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-top-color: #58a6ff;
    border-radius: 50%;
    animation: course-sp-b-zoqb8pqm3g 0.7s linear infinite;
}
@keyframes course-sp-b-zoqb8pqm3g { to { transform: rotate(360deg); } }

.course-empty[b-zoqb8pqm3g] {
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(220, 210, 255, 0.6);
}

.course-tbl[b-zoqb8pqm3g] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11.5px;
}
.course-tbl th[b-zoqb8pqm3g] {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    color: rgba(220, 210, 255, 0.55);
    padding: 4px 6px;
    border-bottom: 0.5px solid rgba(255,255,255,0.12);
    text-align: left;
}
.course-tbl th.num[b-zoqb8pqm3g],
.course-tbl td.num[b-zoqb8pqm3g] { text-align: right; font-variant-numeric: tabular-nums; }

.course-tbl td[b-zoqb8pqm3g] {
    padding: 5px 6px;
    border-bottom: 0.5px solid rgba(255,255,255,0.06);
    vertical-align: middle;
}
.course-tbl tr:last-child td[b-zoqb8pqm3g] { border-bottom: none; }
.course-tbl tr:hover td[b-zoqb8pqm3g] { background: rgba(255,255,255,0.04); }

.course-code[b-zoqb8pqm3g] { font-weight: 600; color: #ffffff; }
.course-tbl td.old[b-zoqb8pqm3g] { color: rgba(220, 210, 255, 0.5); font-size: 11px; }

/* Код валюты как пилюля; подключённые трейдеру валюты — контурная подсветка */
.cur-code[b-zoqb8pqm3g] {
    display: inline-block;
    padding: 1px 7px;
    border: 1.5px solid transparent;
    border-radius: 6px;
    line-height: 1.4;
}
.cur-code.is-connected[b-zoqb8pqm3g] {
    border-color: #4ade80;
    color: #eafff1;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.45), inset 0 0 4px rgba(74, 222, 128, 0.25);
}

.pos[b-zoqb8pqm3g] { color: #4ade80; font-weight: 600; }
.neg[b-zoqb8pqm3g] { color: #f87171; font-weight: 600; }
.neu[b-zoqb8pqm3g] { color: rgba(220, 210, 255, 0.5); }

.course-tbl th.green[b-zoqb8pqm3g],
.course-tbl td.num.green[b-zoqb8pqm3g] { color: #4ade80; font-weight: 600; }
.course-tbl th.red[b-zoqb8pqm3g],
.course-tbl td.num.red[b-zoqb8pqm3g] { color: #f87171; font-weight: 600; }
.course-tbl th.green[b-zoqb8pqm3g],
.course-tbl th.red[b-zoqb8pqm3g] { opacity: 0.85; }

.spark-cell[b-zoqb8pqm3g] { padding: 2px 6px !important; min-width: 90px; }
.spark-box[b-zoqb8pqm3g] {
    position: relative;
    height: 26px;
    width: 100%;
}
.spark-box canvas[b-zoqb8pqm3g] {
    width: 100% !important;
    height: 100% !important;
}

/* Светлая тема (drawer тоже фиолетовый, но текст контрастнее) */
html:not(.app-dark) .course-wrap[b-zoqb8pqm3g] { color: rgba(245, 240, 255, 0.95); }
html:not(.app-dark) .course-tbl th[b-zoqb8pqm3g] { color: rgba(245, 240, 255, 0.7); border-bottom-color: rgba(255,255,255,0.18); }
html:not(.app-dark) .course-tbl td.old[b-zoqb8pqm3g] { color: rgba(245, 240, 255, 0.65); }
/* /Components/IncomingPayOrders.razor.rz.scp.css */
.flexGrid[b-hkxg7n07s2] {
    flex: 1 1 auto;
    /*overflow-y: auto;*/
    min-height: 0; /* важно для корректной работы flex внутри */
}

.dashboard-header[b-hkxg7n07s2] {
    text-align: center;
}
/* /Components/InfoCard.razor.rz.scp.css */
.info-card[b-nvqd7wto8j] {
    background: var(--card-bg, #ffffff);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.25s ease;
    position: relative;
    border: 1px solid var(--border-color, #e0e0e0);
}

.info-card:hover[b-nvqd7wto8j] {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.card-icon[b-nvqd7wto8j] {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.2rem;
    color: var(--primary, #3f51b5);
    opacity: 0.15;
}

.card-content[b-nvqd7wto8j] {
    padding: 24px 28px 20px;
}

.card-title[b-nvqd7wto8j] {
    margin: 0 0 16px 0;
    font-size: 1.38rem;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
}

.card-fields[b-nvqd7wto8j] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.field-row[b-nvqd7wto8j] {
    display: flex;
    justify-content: space-between;
    font-size: 0.98rem;
}

.field-label[b-nvqd7wto8j] {
    color: var(--text-secondary, #666);
    font-weight: 500;
}

.field-value[b-nvqd7wto8j] {
    font-weight: 500;
    color: var(--text-primary, #111);
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.card-description[b-nvqd7wto8j] {
    margin: 12px 0 0;
    color: var(--text-secondary, #555);
    font-size: 0.94rem;
    line-height: 1.45;
}

.card-actions[b-nvqd7wto8j] {
    padding: 16px 28px;
    border-top: 1px solid var(--border-color, #eee);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: var(--card-actions-bg, #f8f9fa);
}

.action-btn[b-nvqd7wto8j] {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover[b-nvqd7wto8j] {
    opacity: 0.92;
    transform: translateY(-1px);
}

.btn-primary[b-nvqd7wto8j]    { background: #3f51b5; color: white; }
.btn-secondary[b-nvqd7wto8j]  { background: #f50057; color: white; }
.btn-outline[b-nvqd7wto8j]    { background: transparent; border: 1px solid #ccc; color: #333; }
.btn-success[b-nvqd7wto8j]    { background: #4caf50; color: white; }
/* /Components/OutgoingOrders.razor.rz.scp.css */
.stacklayout-item[b-zu5krkdk1o] {
    font-size: 1.2em;
    font-weight: 500;
    text-align: center;
    height: 100%;
    padding: 0.5rem;
    text-align: center;
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stacklayout-item[b-zu5krkdk1o]:before {
    content: " ";
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.4;
}

/* /Components/OutorderChekUpload.razor.rz.scp.css */
/* Стили для popup */
.check-popup-overlay[b-s21ss1auvs] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn-b-s21ss1auvs 0.2s ease;
}

.check-popup-container[b-s21ss1auvs] {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 450px;
    animation: slideUp-b-s21ss1auvs 0.3s ease;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.check-popup-header[b-s21ss1auvs] {
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.check-popup-header h5[b-s21ss1auvs] {
    font-weight: 600;
    color: #212529;
}

.check-popup-body[b-s21ss1auvs] {
    padding: 1.25rem;
    flex: 1;
    overflow-y: auto;
}

.check-popup-footer[b-s21ss1auvs] {
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Детали ордера */
.order-details[b-s21ss1auvs] {
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 4px solid #007bff;
}

.detail-row[b-s21ss1auvs] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.detail-row:last-child[b-s21ss1auvs] {
    margin-bottom: 0;
}

.detail-label[b-s21ss1auvs] {
    color: #6c757d;
    font-weight: 500;
}

.detail-value[b-s21ss1auvs] {
    font-weight: 600;
    color: #212529;
}

/* Загрузка файла */
.file-upload-label[b-s21ss1auvs] {
    display: block;
    border: 2px dashed #adb5bd;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    background: #f8f9fa;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.file-upload-label:hover[b-s21ss1auvs] {
    border-color: #007bff;
    background: #e9f5ff;
}

.file-empty[b-s21ss1auvs] {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #6c757d;
}

/* Мобильные кнопки выбора чека: две равные плитки в ряд (камера / галерея-файлы) */
.file-upload-mobile-row[b-s21ss1auvs] {
    margin-top: 0.5rem;
}

.file-upload-mobile-row .file-upload-label[b-s21ss1auvs] {
    margin-top: 0;
    padding: 1rem 0.5rem;
}

.file-upload-mobile-row .file-empty[b-s21ss1auvs] {
    font-size: 0.9rem;
    gap: 0.15rem;
}

.file-selected[b-s21ss1auvs] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
}

.file-name[b-s21ss1auvs] {
    font-weight: 500;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size[b-s21ss1auvs] {
    color: #6c757d;
    font-size: 0.85rem;
}

.btn-file-remove[b-s21ss1auvs] {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-file-remove:hover[b-s21ss1auvs] {
    background: rgba(220, 53, 69, 0.1);
}

/* QR секция */
.qr-container[b-s21ss1auvs] {
    display: grid;
    justify-content: center;
    margin-top: 0.5rem;
}

.qr-placeholder[b-s21ss1auvs] {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.qr-hint[b-s21ss1auvs] {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Превью */
.preview-section[b-s21ss1auvs] {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem;
    background: white;
}

.preview-header[b-s21ss1auvs] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.btn-preview-close[b-s21ss1auvs] {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0.25rem;
}

.btn-preview-close:hover[b-s21ss1auvs] {
    color: #dc3545;
}

.preview-image[b-s21ss1auvs] {
    max-width: 100%;
    max-height: 150px;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

/* Анимации */
@keyframes fadeIn-b-s21ss1auvs {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-s21ss1auvs {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 576px) {
    .check-popup-container[b-s21ss1auvs] {
        width: 95%;
        margin: 1rem;
    }

    .check-popup-body[b-s21ss1auvs] {
        padding: 1rem;
    }

    .file-name[b-s21ss1auvs] {
        max-width: 150px;
    }

    .qr-placeholder[b-s21ss1auvs] {
        width: 120px;
        height: 120px;
        padding: 1rem;
    }
}

/* QR код - адаптивный */
.qr-responsive-wrapper[b-s21ss1auvs] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-frame[b-s21ss1auvs] {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.qr-responsive-image[b-s21ss1auvs] {
    width: 100%;
    height: auto;
    display: block;
    max-width: 200px;
    margin: 0 auto;
}

/* Плейсхолдер QR */
.qr-placeholder[b-s21ss1auvs] {
    border: 2px dashed #adb5bd;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    background: #f8f9fa;
    transition: all 0.2s;
    max-width: 250px;
    margin: 0 auto;
}

.qr-placeholder:hover[b-s21ss1auvs] {
    border-color: #007bff;
    background: #e9f5ff;
}

.placeholder-icon[b-s21ss1auvs] {
    font-size: 2.5rem;
    color: #6c757d;
    margin-bottom: 10px;
}

/* Кнопки действий QR */
.qr-actions[b-s21ss1auvs] {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.qr-actions .btn[b-s21ss1auvs] {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

/* Информация QR */
.qr-info[b-s21ss1auvs] {
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Поле для ссылки */
.input-group-sm .form-control[b-s21ss1auvs] {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    height: calc(1.5em + 0.5rem);
}

/* Адаптивность */
@media (max-width: 576px) {
    .qr-frame[b-s21ss1auvs] {
        padding: 10px;
        max-width: 200px;
    }

    .qr-responsive-image[b-s21ss1auvs] {
        max-width: 160px;
    }

    .qr-placeholder[b-s21ss1auvs] {
        padding: 20px 15px;
        max-width: 200px;
    }

    .placeholder-icon[b-s21ss1auvs] {
        font-size: 2rem;
    }
}

@media (max-width: 400px) {
    .qr-frame[b-s21ss1auvs] {
        max-width: 180px;
    }

    .qr-responsive-image[b-s21ss1auvs] {
        max-width: 140px;
    }
}

/* Стили для загруженного чека */
.file-already-uploaded[b-s21ss1auvs] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #198754;
    padding: 1.5rem;
}

.qr-used[b-s21ss1auvs] {
    position: relative;
    border-color: #198754 !important;
}

.qr-overlay-check[b-s21ss1auvs] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(25, 135, 84, 0.9);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.qr-overlay-check i[b-s21ss1auvs] {
    font-size: 2rem;
    color: white;
}

.qr-placeholder-success[b-s21ss1auvs] {
    border-color: #198754 !important;
    background: rgba(25, 135, 84, 0.05);
}

.opacity-50[b-s21ss1auvs] {
    opacity: 0.5;
}

/* Анимация успеха */
.alert-success[b-s21ss1auvs] {
    animation: fadeInSuccess-b-s21ss1auvs 0.5s ease;
}

@keyframes fadeInSuccess-b-s21ss1auvs {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 576px) {
    .qr-overlay-check[b-s21ss1auvs] {
        width: 50px;
        height: 50px;
    }

    .qr-overlay-check i[b-s21ss1auvs] {
        font-size: 1.5rem;
    }
}

/* Красное выделение для срочных строк */
.highlight-red-row[b-s21ss1auvs] {
    background-color: rgba(220, 53, 69, 0.1) !important; /* Светло-красный фон */
}

.highlight-red-row:hover[b-s21ss1auvs] {
    background-color: rgba(220, 53, 69, 0.15) !important; /* Немного темнее при наведении */
}

/* Более выразительный вариант */
.highlight-red-row[b-s21ss1auvs] {
    background: linear-gradient(90deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%) !important;
    border-left: 4px solid #dc3545 !important;
    border-right: 1px solid #dc3545 !important;
}

/* Вариант с градиентом для всей строки */
.highlight-red-row td[b-s21ss1auvs] {
    background: inherit !important;
    border-top: 1px solid rgba(220, 53, 69, 0.2) !important;
    border-bottom: 1px solid rgba(220, 53, 69, 0.2) !important;
}

.action-cell[b-s21ss1auvs] {
    max-width: 100%;
    overflow: hidden;
}

.action-select[b-s21ss1auvs] {
    min-width: 0 !important;
    width: 100%;
}

.mud-select[b-s21ss1auvs] {
    max-width: 100%;
}

/* ================================================================
   Тёмная тема (html.app-dark). Блоки этого компонента (детали ордера,
   загрузка чека, QR) по умолчанию светлые — в тёмной теме перекрашиваем.
   Scoped CSS: html.app-dark — ancestor на <html>, scope-атрибут на самих
   элементах компонента, поэтому правила достают даже в портале DxPopup.
   ================================================================ */
html.app-dark .check-popup-container[b-s21ss1auvs] { background: #161b22; }

html.app-dark .check-popup-header[b-s21ss1auvs],
html.app-dark .check-popup-footer[b-s21ss1auvs] {
    background: #0d1117;
    border-color: #30363d;
}
html.app-dark .check-popup-header h5[b-s21ss1auvs] { color: #e6edf3; }

html.app-dark .order-details[b-s21ss1auvs] {
    background: #1c2128;
    border-left-color: #388bfd;
}
html.app-dark .detail-label[b-s21ss1auvs] { color: #8b949e; }
html.app-dark .detail-value[b-s21ss1auvs] { color: #e6edf3; }

html.app-dark .file-upload-label[b-s21ss1auvs],
html.app-dark .qr-placeholder[b-s21ss1auvs] {
    background: #0d1117;
    border-color: #30363d;
}
html.app-dark .file-upload-label:hover[b-s21ss1auvs],
html.app-dark .qr-placeholder:hover[b-s21ss1auvs] {
    border-color: #388bfd;
    background: #161b22;
}
html.app-dark .file-empty[b-s21ss1auvs],
html.app-dark .file-size[b-s21ss1auvs],
html.app-dark .qr-hint[b-s21ss1auvs],
html.app-dark .qr-info[b-s21ss1auvs],
html.app-dark .placeholder-icon[b-s21ss1auvs] { color: #8b949e; }
html.app-dark .file-name[b-s21ss1auvs] { color: #c9d1d9; }

html.app-dark .preview-section[b-s21ss1auvs],
html.app-dark .qr-frame[b-s21ss1auvs] {
    background: #161b22;
    border-color: #30363d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
html.app-dark .qr-placeholder-success[b-s21ss1auvs] { background: rgba(25, 135, 84, 0.12); }

html.app-dark .input-group-sm .form-control[b-s21ss1auvs] {
    background-color: #0d1117;
    border-color: #30363d;
    color: #c9d1d9;
}
/* /Layout/Drawer.razor.rz.scp.css */
/* ================================================================
   Drawer — тёмно-фиолетовый градиент (как в PayScrowing sidebar)
   ================================================================ */

/* Панель drawer — сине-чёрный градиент (light theme) */
[b-oagqwg4lvs] .dxbl-drawer .dxbl-drawer-panel {
    background-image: linear-gradient(180deg, #14306e 0%, #0a0f1c 100%);
}

/* ── Меню внутри drawer ─────────────────────────────────────── */
[b-oagqwg4lvs] .dxbl-menu .dxbl-btn,
[b-oagqwg4lvs] .dxbl-menu .dxbl-btn span,
[b-oagqwg4lvs] .dxbl-menu .dxbl-menu-item-text {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

[b-oagqwg4lvs] .dxbl-menu .dxbl-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

/* Активный пункт */
[b-oagqwg4lvs] .dxbl-menu .dxbl-state-active .dxbl-btn,
[b-oagqwg4lvs] .dxbl-menu .dxbl-state-active .dxbl-btn span {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14) !important;
    font-weight: 600 !important;
}

/* Иконки */
[b-oagqwg4lvs] .dxbl-menu .dxbl-btn .dxbl-image,
[b-oagqwg4lvs] .dxbl-menu .dxbl-btn i {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 14px !important;
}
[b-oagqwg4lvs] .dxbl-menu .dxbl-btn:hover .dxbl-image,
[b-oagqwg4lvs] .dxbl-menu .dxbl-btn:hover i {
    color: #ffffff !important;
}
[b-oagqwg4lvs] .dxbl-menu .dxbl-state-active .dxbl-btn .dxbl-image,
[b-oagqwg4lvs] .dxbl-menu .dxbl-state-active .dxbl-btn i {
    color: #ffffff !important;
}

/* Разделитель */
[b-oagqwg4lvs] .dxbl-menu .dxbl-menu-separator {
    background: rgba(255,255,255,0.12) !important;
    margin: 4px 12px !important;
}

/* Вложенное подменю */
[b-oagqwg4lvs] .dxbl-menu .dxbl-menu-submenu-container {
    background: rgba(20, 12, 50, 0.95) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5) !important;
}

/* Полоска-акцент слева на активном пункте */
[b-oagqwg4lvs] .dxbl-menu .dxbl-state-active > .dxbl-btn {
    border-left: 3px solid rgba(200, 180, 255, 0.7) !important;
    padding-left: calc(var(--dxbl-menu-item-padding-x, 0.9375rem) - 3px) !important;
}

/* ── Тёмная тема: drawer ────────────────────────────────────── */
html.app-dark[b-oagqwg4lvs]  .dxbl-drawer .dxbl-drawer-panel {
    background-image: linear-gradient(180deg, #161b22 0%, #0d1117 100%);
}

html.app-dark[b-oagqwg4lvs]  .dxbl-menu .dxbl-btn,
html.app-dark[b-oagqwg4lvs]  .dxbl-menu .dxbl-btn span,
html.app-dark[b-oagqwg4lvs]  .dxbl-menu .dxbl-menu-item-text {
    color: #8b949e !important;
}
html.app-dark[b-oagqwg4lvs]  .dxbl-menu .dxbl-btn:hover {
    background: rgba(255,255,255,0.06) !important;
    color: #c9d1d9 !important;
}
html.app-dark[b-oagqwg4lvs]  .dxbl-menu .dxbl-state-active .dxbl-btn,
html.app-dark[b-oagqwg4lvs]  .dxbl-menu .dxbl-state-active .dxbl-btn span {
    color: #e6edf3 !important;
    background: rgba(255,255,255,0.08) !important;
}
html.app-dark[b-oagqwg4lvs]  .dxbl-menu .dxbl-state-active > .dxbl-btn {
    border-left: 3px solid #388bfd !important;
}
html.app-dark[b-oagqwg4lvs]  .dxbl-menu .dxbl-btn .dxbl-image,
html.app-dark[b-oagqwg4lvs]  .dxbl-menu .dxbl-btn i {
    color: #8b949e !important;
}
html.app-dark[b-oagqwg4lvs]  .dxbl-menu .dxbl-btn:hover .dxbl-image,
html.app-dark[b-oagqwg4lvs]  .dxbl-menu .dxbl-btn:hover i {
    color: #c9d1d9 !important;
}
html.app-dark[b-oagqwg4lvs]  .dxbl-menu .dxbl-menu-separator { background: #21262d !important; }

/* ── Balance-panel (правый drawer) — текст светлый на тёмном градиенте ── */
[b-oagqwg4lvs] .balance-panel,
[b-oagqwg4lvs] .balance-card,
[b-oagqwg4lvs] .balance-row {
    color: rgba(220, 210, 255, 0.92);
}
[b-oagqwg4lvs] .balance-amount {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
}
[b-oagqwg4lvs] .balance-currency {
    color: rgba(220, 210, 255, 0.75);
    font-size: 0.85rem;
    margin-left: 4px;
}
[b-oagqwg4lvs] .balance-row { font-size: 0.85rem; }
[b-oagqwg4lvs] .balance-panel .text-muted { color: rgba(220, 210, 255, 0.55) !important; }
[b-oagqwg4lvs] .balance-row .text-success { color: #4ade80 !important; }
[b-oagqwg4lvs] .balance-row .text-danger  { color: #f87171 !important; }
[b-oagqwg4lvs] .balance-row .text-warning { color: #fbbf24 !important; }
[b-oagqwg4lvs] .wallet-addr { color: rgba(220, 210, 255, 0.75); }

html.app-dark[b-oagqwg4lvs]  .balance-panel,
html.app-dark[b-oagqwg4lvs]  .balance-card,
html.app-dark[b-oagqwg4lvs]  .balance-row { color: #c9d1d9; }
html.app-dark[b-oagqwg4lvs]  .balance-amount { color: #e6edf3; }
html.app-dark[b-oagqwg4lvs]  .balance-currency { color: #8b949e; }
html.app-dark[b-oagqwg4lvs]  .balance-panel .text-muted { color: #8b949e !important; }

/* ── Мобильный shading overlay ──────────────────────────────── */
@media (max-width: 768px) {
    .mobile-drawer-closed .shading-copy[b-oagqwg4lvs] { display: none; visibility: hidden; }
    .shading-copy[b-oagqwg4lvs] {
        background-color: var(--dxbl-drawer-content-shading-bg);
        height: 100%; position: absolute;
        transition: opacity ease var(--dxbl-drawer-animation-duration);
        visibility: visible; width: 100%; z-index: 100;
        opacity: var(--dxbl-drawer-content-shading-opacity);
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* ================================================================
   MainLayout — оформление идентично PayScrowing
   Светлая тема: белый топбар с фиолетовым акцентом
   Тёмная тема: #161b22 топбар (GitHub Dark)
   ================================================================ */

.page[b-5blcno5cuz] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: var(--ph-font-family, 'Roboto', sans-serif);
}

/* ── Топ-бар ────────────────────────────────────────────────── */
.top-bar[b-5blcno5cuz] {
    display: flex;
    align-items: center;
    height: var(--ph-topbar-height, 3.5rem);
    padding: 0 1rem;
    background-color: var(--ph-bg-topbar, #ffffff);
    color: var(--ph-text-primary, #2A2F5B);
    gap: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: var(--ph-topbar-shadow, 0 1px 0 #ddd9f0, 0 2px 8px rgba(40,20,80,0.06));
    transition: background-color 0.2s, color 0.2s;
}

/* ── Кнопка гамбургера ──────────────────────────────────────── */
.toggle-btn[b-5blcno5cuz] {
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    padding: 0;
    transition: background-color 0.15s ease;
    color: var(--ph-text-secondary, #575962);
}
.toggle-btn:hover[b-5blcno5cuz] {
    background-color: rgba(113, 106, 202, 0.1);
}
.toggle-btn:active[b-5blcno5cuz] {
    background-color: rgba(113, 106, 202, 0.18);
}

/* Три полоски гамбургера */
.toggle-icon[b-5blcno5cuz] {
    display: block;
    width: 1.2rem;
    height: 2px;
    background-color: var(--ph-text-secondary, #575962);
    border-radius: 2px;
    position: relative;
    transition: background-color 0.2s ease;
}
.toggle-icon[b-5blcno5cuz]::before,
.toggle-icon[b-5blcno5cuz]::after {
    content: '';
    display: block;
    width: 1.2rem;
    height: 2px;
    background-color: var(--ph-text-secondary, #575962);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: transform 0.2s ease;
}
.toggle-icon[b-5blcno5cuz]::before { top: -7px; }
.toggle-icon[b-5blcno5cuz]::after  { top: 7px; }

/* ── Правая часть топбара ───────────────────────────────────── */
.top-bar-extra[b-5blcno5cuz] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
}

.app-title[b-5blcno5cuz] {
    font-size: 1.05rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--ph-text-primary);
}

/* ── Меню в шапке ───────────────────────────────────────────── */
.menu-container[b-5blcno5cuz] {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-menu ul[b-5blcno5cuz] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.25rem;
}

/* Glass-pill вокруг меню — точно как в PayScrowing */
.main-menu[b-5blcno5cuz] {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 40px;
    padding: 0 4px;
    border-radius: 14px;
    background: rgba(100, 80, 200, 0.07);
    border: 1px solid rgba(130, 110, 210, 0.38);
    box-shadow:
        inset 0 1.5px 0 rgba(255,255,255,0.75),
        inset 0 -1px 0 rgba(100,80,200,0.08),
        0 3px 14px rgba(90,70,160,0.13);
}

.menu-link[b-5blcno5cuz] {
    position: relative;
    z-index: 3;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px;
    padding: 0 10px;
    height: 100%;
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(60, 55, 110, 0.65);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: color 0.18s;
}
.menu-link:hover[b-5blcno5cuz] {
    color: rgba(50, 46, 120, 0.92);
    text-decoration: none;
    background: transparent;
}

.menu-text[b-5blcno5cuz] {
    display: inline;
    font-size: 12.5px;
}

/* ── Кнопка переключения темы ───────────────────────────────── */
.theme-toggle-btn[b-5blcno5cuz] {
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    padding: 0;
    color: var(--ph-text-secondary, #575962);
    font-size: 1rem;
    transition: color 0.18s, background-color 0.15s;
    margin-left: 0.25rem;
}
.theme-toggle-btn:hover[b-5blcno5cuz] {
    color: var(--ph-text-primary);
    background-color: rgba(113, 106, 202, 0.1);
}

/* ── Правая группа сервисных кнопок (Баланс / Курсы / Связь / Тема) ── */
.top-bar-right[b-5blcno5cuz] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
}

/* Имя текущего пользователя в шапке (только ПК-версия) */
.top-bar-user[b-5blcno5cuz] {
    align-items: center;
    gap: 0.4rem;
    padding: 0 0.6rem;
    margin-right: 0.2rem;
    max-width: 220px;
    color: var(--ph-text-secondary, #575962);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}
.top-bar-user .bi[b-5blcno5cuz] { font-size: 1.1rem; flex-shrink: 0; }
.top-bar-user-name[b-5blcno5cuz] {
    overflow: hidden;
    text-overflow: ellipsis;
}
html.app-dark .top-bar-user[b-5blcno5cuz] { color: #c9d1d9; }

/* Вариант-кнопка: имя + самообновляющийся баланс трейдера (открывает баланс-панель) */
.top-bar-user-btn[b-5blcno5cuz] {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    max-width: none;
    border-radius: 0.375rem;
    transition: background-color .15s;
}
.top-bar-user-btn .top-bar-user-name[b-5blcno5cuz] { max-width: 140px; }
.top-bar-user-btn:hover[b-5blcno5cuz] { background-color: rgba(113,106,202,0.1); }
html.app-dark .top-bar-user-btn:hover[b-5blcno5cuz] { background-color: rgba(255,255,255,0.06); }

.top-bar-balance[b-5blcno5cuz] {
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    padding-left: 0.55rem;
    margin-left: 0.1rem;
    border-left: 1px solid var(--ph-border, #e0e0e5);
    font-weight: 600;
    color: var(--ph-text-primary, #2e2f33);
    white-space: nowrap;
}
.top-bar-balance-cur[b-5blcno5cuz] {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.65;
}
html.app-dark .top-bar-balance[b-5blcno5cuz] { color: #e6edf3; border-left-color: #30363d; }

.top-bar-icon[b-5blcno5cuz] {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    padding: 0;
    color: var(--ph-text-secondary, #575962);
    font-size: 1.05rem;
    transition: color .18s, background-color .15s;
}
.top-bar-icon:hover[b-5blcno5cuz] { color: var(--ph-text-primary); background-color: rgba(113,106,202,0.1); }
.top-bar-icon-static[b-5blcno5cuz] { cursor: default; }
.top-bar-icon-static:hover[b-5blcno5cuz] { background-color: transparent; color: inherit; }

html.app-dark .top-bar-icon[b-5blcno5cuz]        { color: #8b949e; }
html.app-dark .top-bar-icon:hover[b-5blcno5cuz]  { color: #c9d1d9; background-color: rgba(255,255,255,0.06); }

/* ── Drawer (через ::deep) ──────────────────────────────────── */
[b-5blcno5cuz] .navigation-drawer {
    height: calc(100vh - var(--ph-topbar-height, 3.5rem));
    --dxbl-drawer-panel-footer-justify-content: center;
}

[b-5blcno5cuz] .dxbl-drawer > .dxbl-drawer-panel > .dxbl-drawer-body {
    --dxbl-drawer-panel-body-padding-x: 0;
    --dxbl-drawer-panel-body-padding-y: 0.75rem;
}

[b-5blcno5cuz] .dxbl-drawer .dxbl-drawer-content {
    padding: 0 !important;
}

/* ── Основной контент ───────────────────────────────────────── */
/* Высота ограничена вьюпортом (минус топбар), поэтому overflow-y:auto
   реально включает прокрутку контента. С min-height:100% контент рос
   неограниченно и обрезался drawer'ом (overflow:hidden) — страница не
   скроллилась, нижние строки таблиц были не видны. */
.main-content[b-5blcno5cuz] {
    padding: 1.5rem;
    flex: 1;
    min-height: 0;
    max-height: calc(100vh - var(--ph-topbar-height, 3.5rem));
    overflow-y: auto;
    background-color: var(--ph-bg-body, #f8f9fa);
}

@media (max-width: 768px) {
    .main-content[b-5blcno5cuz] { padding: 1rem; }
    .menu-text[b-5blcno5cuz] { display: none; }
    .menu-link[b-5blcno5cuz] { padding: 0 8px; font-size: 1.15rem; }
    .main-menu[b-5blcno5cuz] { height: 36px; }
}

/* ── Тёмная тема ────────────────────────────────────────────── */
html.app-dark .top-bar[b-5blcno5cuz] {
    background-color: #161b22;
    color: #c9d1d9;
    box-shadow: 0 1px 0 #30363d;
}

html.app-dark .toggle-icon[b-5blcno5cuz],
html.app-dark .toggle-icon[b-5blcno5cuz]::before,
html.app-dark .toggle-icon[b-5blcno5cuz]::after {
    background-color: #8b949e;
}

html.app-dark .toggle-btn:hover[b-5blcno5cuz]     { background-color: rgba(255,255,255,0.06); }
html.app-dark .theme-toggle-btn[b-5blcno5cuz]     { color: #8b949e; }
html.app-dark .theme-toggle-btn:hover[b-5blcno5cuz] { color: #c9d1d9; background-color: rgba(255,255,255,0.06); }

html.app-dark .main-menu[b-5blcno5cuz] {
    background: rgba(255,255,255,0.045);
    border-color: rgba(255,255,255,0.1);
    box-shadow:
        inset 0 1.5px 0 rgba(255,255,255,0.14),
        inset 0 -1px 0 rgba(255,255,255,0.04),
        0 2px 14px rgba(0,0,0,0.22);
}

html.app-dark .menu-link[b-5blcno5cuz]         { color: rgba(139,148,158,0.6); }
html.app-dark .menu-link:hover[b-5blcno5cuz]   { color: rgba(201,209,217,0.9); }

html.app-dark .main-content[b-5blcno5cuz] { background-color: #0d1117; }
/* /Pages/Admin/SiteConfiguration.razor.rz.scp.css */
.site-config-page[b-nm8zhk7bax] {
    max-width: 1000px;
    margin: 0 auto;
    padding: 12px 12px 48px;
    /* разрешает анимацию block-size к/от auto (Chrome 129+) */
    interpolate-size: allow-keywords;
}

.scfg-header[b-nm8zhk7bax] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.scfg-header i[b-nm8zhk7bax] { font-size: 1.4rem; }

.scfg-accordion[b-nm8zhk7bax] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── Панель аккордеона (native <details>), liquid-glass фиолет ── */
.cfg-panel[b-nm8zhk7bax] {
    border: 1px solid rgba(124, 107, 196, 0.22);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    box-shadow: 0 4px 18px rgba(124, 107, 196, 0.14);
}

.cfg-head[b-nm8zhk7bax] {
    list-style: none;
    cursor: pointer;
    padding: 13px 16px;
    font-weight: 600;
    color: #33285e; /* тёмно-фиолетовый для светлой темы */
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
    user-select: none;
    display: flex;
    align-items: center;

    /* Жидкое стекло: диагональный полупрозрачный фиолет + блюр бэкдропа */
    background:
        linear-gradient(135deg,
            rgba(168, 150, 240, 0.55) 0%,
            rgba(124, 107, 196, 0.42) 55%,
            rgba(150, 132, 230, 0.50) 100%);
    backdrop-filter: blur(12px) saturate(180%) brightness(1.05);
    -webkit-backdrop-filter: blur(12px) saturate(180%) brightness(1.05);
    box-shadow:
        inset 0 1.5px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(124, 107, 196, 0.28),
        0 3px 14px rgba(124, 107, 196, 0.18);
    transition: filter 0.15s ease;
}

.cfg-head[b-nm8zhk7bax]::-webkit-details-marker { display: none; }

/* Тёмная тема */
html.app-dark .cfg-panel[b-nm8zhk7bax] {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

html.app-dark .cfg-head[b-nm8zhk7bax] {
    color: #fff; /* в тёмной теме — белый шрифт */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    background:
        linear-gradient(135deg,
            rgba(124, 107, 196, 0.45) 0%,
            rgba(90, 74, 160, 0.40) 55%,
            rgba(124, 107, 196, 0.42) 100%);
    box-shadow:
        inset 0 1.5px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(124, 107, 196, 0.4),
        0 3px 14px rgba(0, 0, 0, 0.28);
}

.cfg-head[b-nm8zhk7bax]::after {
    content: "▸";
    margin-left: auto;
    transition: transform 0.25s ease;
}

.cfg-panel[open] > .cfg-head[b-nm8zhk7bax]::after { transform: rotate(90deg); }

.cfg-head:hover[b-nm8zhk7bax] { filter: brightness(0.95); }

/* Плавное раскрытие/закрытие (Chrome 129+: анимация block-size к auto) */
.cfg-panel[b-nm8zhk7bax]::details-content {
    block-size: 0;
    overflow: clip;
    opacity: 0;
    transition: block-size 0.28s ease, opacity 0.28s ease, content-visibility 0.28s allow-discrete;
}

.cfg-panel[open][b-nm8zhk7bax]::details-content {
    block-size: auto;
    opacity: 1;
}

.cfg-body[b-nm8zhk7bax] {
    padding: 16px;
    max-height: 560px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.55);
}

html.app-dark .cfg-body[b-nm8zhk7bax] {
    background: rgba(20, 22, 34, 0.35);
}

/* Узкая форма (регистрация) */
.scfg-form-narrow[b-nm8zhk7bax] { max-width: 460px; }

/* Расширяем форму регистрации, когда показан редактор процентов по валютам */
.scfg-form-wide[b-nm8zhk7bax] { max-width: 100%; }

.reg-cur-head[b-nm8zhk7bax] {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 4px 0 8px;
    display: flex;
    align-items: center;
}

/* Кнопка-ссылка «Логи баланса» */
.cfg-link-btn[b-nm8zhk7bax] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 8px;
    color: #33285e;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-weight: 600;
    background:
        linear-gradient(135deg,
            rgba(168, 150, 240, 0.55) 0%,
            rgba(124, 107, 196, 0.42) 55%,
            rgba(150, 132, 230, 0.50) 100%);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.6), 0 3px 14px rgba(124, 107, 196, 0.2);
}

.cfg-link-btn:hover[b-nm8zhk7bax] { filter: brightness(0.95); }

html.app-dark .cfg-link-btn[b-nm8zhk7bax] {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

@media (max-width: 576px) {
    .site-config-page[b-nm8zhk7bax] { padding: 8px 6px 40px; }
    .cfg-body[b-nm8zhk7bax] { padding: 12px; }
}
/* /Pages/Admin/SiteConfig/CurrencyRateEditor.razor.rz.scp.css */
.cur-editor[b-bix2dt8tuo] {
    margin-top: 6px;
}

.cur-grid[b-bix2dt8tuo] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.cur-card[b-bix2dt8tuo] {
    border: 1px solid rgba(124, 107, 196, 0.22);
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
    box-shadow: 0 2px 10px rgba(124, 107, 196, 0.1);
    transition: opacity 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.cur-card.is-on[b-bix2dt8tuo] {
    border-color: rgba(124, 107, 196, 0.45);
    box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.6), 0 3px 14px rgba(124, 107, 196, 0.18);
}

.cur-card.is-off[b-bix2dt8tuo] {
    opacity: 0.62;
}

.cur-card-head[b-bix2dt8tuo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(124, 107, 196, 0.25);
}

.cur-code[b-bix2dt8tuo] {
    font-weight: 700;
    font-size: 1.05rem;
    color: #33285e;
    letter-spacing: 0.02em;
}

.cur-card-body[b-bix2dt8tuo] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cur-label[b-bix2dt8tuo] {
    font-size: 0.78rem;
    color: #6b647f;
    margin: 6px 0 1px;
}

.cur-input[b-bix2dt8tuo] {
    width: 100%;
}

/* ── Привязка «мерчант → процент» ── */
.cur-mp[b-bix2dt8tuo] {
    margin-top: 10px;
    padding: 8px 10px;
    border: 1px dashed rgba(124, 107, 196, 0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cur-mp-head[b-bix2dt8tuo] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4d4370;
}

.cur-mp-row[b-bix2dt8tuo] {
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(124, 107, 196, 0.07);
}

.cur-mp-title[b-bix2dt8tuo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.cur-mp-name[b-bix2dt8tuo] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #33285e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cur-mp-remove[b-bix2dt8tuo] {
    border: none;
    background: transparent;
    color: #a03e57;
    padding: 0 2px;
    line-height: 1;
    cursor: pointer;
}

.cur-mp-remove:disabled[b-bix2dt8tuo] {
    opacity: 0.4;
    cursor: default;
}

.cur-mp-fields[b-bix2dt8tuo] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.cur-mp-hint[b-bix2dt8tuo] {
    font-size: 0.72rem;
    color: #6b647f;
}

/* ── Тёмная тема ── */
html.app-dark .cur-card[b-bix2dt8tuo] {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

html.app-dark .cur-card.is-on[b-bix2dt8tuo] {
    border-color: rgba(168, 150, 240, 0.45);
}

html.app-dark .cur-code[b-bix2dt8tuo] {
    color: #d7ccff;
}

html.app-dark .cur-label[b-bix2dt8tuo] {
    color: #9b93b5;
}

html.app-dark .cur-mp[b-bix2dt8tuo] {
    border-color: rgba(168, 150, 240, 0.3);
}

html.app-dark .cur-mp-head[b-bix2dt8tuo] {
    color: #c3b8ea;
}

html.app-dark .cur-mp-row[b-bix2dt8tuo] {
    background: rgba(255, 255, 255, 0.05);
}

html.app-dark .cur-mp-name[b-bix2dt8tuo] {
    color: #d7ccff;
}

html.app-dark .cur-mp-hint[b-bix2dt8tuo] {
    color: #9b93b5;
}

@media (max-width: 576px) {
    .cur-grid[b-bix2dt8tuo] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/AllTransfers.razor.rz.scp.css */
html[b-o03m287y64], body[b-o03m287y64] {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: auto; /* разрешаем скролл всей странице */
}

.transfer-order-header[b-o03m287y64] {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 20px 0;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
}

.loading-container[b-o03m287y64] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loading-text[b-o03m287y64] {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.status-active[b-o03m287y64] {
    color: black;
    font-weight: bold;
}

.status-confirmed[b-o03m287y64] {
    color: darkgreen;
    font-weight: bold;
}

.status-cancelled[b-o03m287y64] {
    color: red;
    font-weight: bold;
}

.grid-wrapper[b-o03m287y64] {
    display: flex;
    flex-direction: column;
    height: 100%; /* или min-height: 100vh */
    overflow-y: auto; /* вместо hidden */
}

.fab-container[b-o03m287y64] {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    user-select: none;
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 1000;
}

.fab[b-o03m287y64] {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .35) !important;
}

.flexGrid[b-o03m287y64] {
    flex: 1 1 auto;
    /*overflow-y: auto;*/
    min-height: 0; /* важно для корректной работы flex внутри */
}

/* Стили строк (row-in/out/delivery), статусов и активной строки DxGrid —
   только в глобальном wwwroot/css/dx-grid.css: scoped-css сюда не достаёт,
   т.к. <tr>/<td> рендерит дочерний компонент DxGrid без scope-атрибута. */
/* /Pages/Arbitrations.razor.rz.scp.css */
html[b-p89me8dpos], body[b-p89me8dpos] {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: auto; /* разрешаем скролл всей странице */
}

.transfer-order-header[b-p89me8dpos] {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 20px 0;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
}

.loading-container[b-p89me8dpos] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loading-text[b-p89me8dpos] {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.status-active[b-p89me8dpos] {
    color: black;
    font-weight: bold;
}

.status-confirmed[b-p89me8dpos] {
    color: darkgreen;
    font-weight: bold;
}

.status-cancelled[b-p89me8dpos] {
    color: red;
    font-weight: bold;
}

.grid-wrapper[b-p89me8dpos] {
    display: flex;
    flex-direction: column;
    height: 100%; /* или min-height: 100vh */
    overflow-y: auto; /* вместо hidden */
}

.fab-container[b-p89me8dpos] {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    user-select: none;
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 1000;
}

.fab[b-p89me8dpos] {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .35) !important;
}

.flexGrid[b-p89me8dpos] {
    flex: 1 1 auto;
    /*overflow-y: auto;*/
    min-height: 0; /* важно для корректной работы flex внутри */
}

/* Бейджи статусов (status-*), стили строк и кнопок арбитража — в глобальных
   wwwroot/css/dx-grid.css и wwwroot/css/arbitrations.css: scoped-css не достаёт
   до содержимого, которое рендерит дочерний DxGrid. */
/* /Pages/Team.razor.rz.scp.css */
/* Страница «Моя команда». Все цвета — через токены --ph-*, которые сами
   переключаются под html.app-dark, поэтому отдельных dark-правил не требуется. */

/* На больших экранах не растягиваем во всю ширину — держим в центре. */
.team-wrap[b-ya69h2jy5g] {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

/* Переключатель периода (segmented) */
.team-period[b-ya69h2jy5g] {
    display: inline-flex;
    border: 1px solid var(--ph-border-color);
    border-radius: 8px;
    overflow: hidden;
}
.team-period button[b-ya69h2jy5g] {
    border: none;
    background: transparent;
    color: var(--ph-text-secondary);
    padding: 6px 14px;
    font-size: 0.85rem;
    line-height: 1.2;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.team-period button:not(:last-child)[b-ya69h2jy5g] {
    border-right: 1px solid var(--ph-border-color);
}
.team-period button:hover[b-ya69h2jy5g] {
    background: rgba(113, 106, 202, 0.10);
    color: var(--ph-text-primary);
}
.team-period button.active[b-ya69h2jy5g] {
    background: var(--ph-color-secondary);
    color: #fff;
}

/* Таблица */
.team-table[b-ya69h2jy5g] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.team-table thead th[b-ya69h2jy5g] {
    text-align: left;
    font-weight: 700;
    color: var(--ph-text-secondary);
    padding: 10px 12px;
    border-bottom: 2px solid var(--ph-border-color);
    white-space: nowrap;
}
.team-table tbody td[b-ya69h2jy5g] {
    padding: 12px;
    border-bottom: 1px solid var(--ph-border-color);
    color: var(--ph-text-primary);
    vertical-align: middle;
}
.team-table tbody tr:last-child td[b-ya69h2jy5g] {
    border-bottom: none;
}
.team-table tbody tr:hover td[b-ya69h2jy5g] {
    background: rgba(113, 106, 202, 0.06);
}
.team-table tbody tr.is-self td[b-ya69h2jy5g] {
    background: rgba(113, 106, 202, 0.12);
}

/* Пропорции колонок: трейдер забирает свободное место слева, остальные фиксированы. */
.col-status[b-ya69h2jy5g] { width: 260px; }
.col-income[b-ya69h2jy5g] { width: 190px; }
.col-num[b-ya69h2jy5g] { width: 110px; text-align: center; }
.col-actions[b-ya69h2jy5g] { width: 96px; text-align: center; white-space: nowrap; }

/* Доход: заголовок по центру, значение справа. */
.team-table thead th.col-income[b-ya69h2jy5g] { text-align: center; }
.team-table tbody td.col-income[b-ya69h2jy5g] { text-align: right; white-space: nowrap; }

/* Иконки устройств рядом с «В сети» */
.team-dev[b-ya69h2jy5g] {
    margin-left: 6px;
    color: var(--ph-text-muted);
    font-size: 0.85rem;
}
.team-dev:first-of-type[b-ya69h2jy5g] { margin-left: 8px; }

.team-name[b-ya69h2jy5g] {
    font-weight: 600;
    color: var(--ph-text-primary);
}
.team-badge-self[b-ya69h2jy5g] {
    margin-left: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--ph-color-secondary);
    color: #fff;
}

/* Статус онлайн/оффлайн */
.team-status[b-ya69h2jy5g] {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
}
.team-status.on[b-ya69h2jy5g] { color: var(--ph-color-success); }
.team-status.off[b-ya69h2jy5g] { color: var(--ph-text-muted); }
.team-dot[b-ya69h2jy5g] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}
.team-dot.on[b-ya69h2jy5g] { background: var(--ph-color-success); }
.team-dot.off[b-ya69h2jy5g] { background: var(--ph-text-muted); }

.team-income[b-ya69h2jy5g] {
    font-weight: 700;
    color: var(--ph-text-primary);
}
.team-income .unit[b-ya69h2jy5g] {
    color: var(--ph-text-muted);
    font-weight: 400;
    font-size: 0.8rem;
}

/* Кнопка-шестерёнка */
.team-gear[b-ya69h2jy5g] {
    border: 1px solid var(--ph-border-color);
    background: transparent;
    color: var(--ph-text-secondary);
    border-radius: 8px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color .15s, border-color .15s, background .15s;
    flex: 0 0 auto;
}
.team-gear:hover[b-ya69h2jy5g] {
    color: var(--ph-color-secondary);
    border-color: var(--ph-color-secondary);
    background: rgba(113, 106, 202, 0.08);
}

/* ─────────────────────────────────────────────────────────────────────────
   Адаптив: десктоп — таблица, мобайл — карточки.
   ───────────────────────────────────────────────────────────────────────── */
.team-mobile[b-ya69h2jy5g] { display: none; }

@media (max-width: 720px) {
    .team-desktop[b-ya69h2jy5g] { display: none; }
    .team-mobile[b-ya69h2jy5g] { display: flex; flex-direction: column; gap: 12px; }

    /* Период дохода: занять всю ширину и распределить кнопки поровну. */
    .team-period[b-ya69h2jy5g] { width: 100%; }
    .team-period button[b-ya69h2jy5g] { flex: 1 1 0; padding: 8px 6px; }
}

/* Карточка участника */
.team-card[b-ya69h2jy5g] {
    border: 1px solid var(--ph-border-color);
    border-radius: 12px;
    padding: 14px;
    background: var(--ph-surface, transparent);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.team-card.is-self[b-ya69h2jy5g] {
    border-color: var(--ph-color-secondary);
    background: rgba(113, 106, 202, 0.08);
}

.team-card-head[b-ya69h2jy5g] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.team-card-title[b-ya69h2jy5g] {
    display: flex;
    align-items: center;
    min-width: 0;
    flex-wrap: wrap;
    gap: 4px;
}
.team-card-title .team-name[b-ya69h2jy5g] {
    font-size: 1.05rem;
}

.team-card-status[b-ya69h2jy5g] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Баланс — крупно, как акцент карточки. */
.team-card-balance[b-ya69h2jy5g] {
    font-size: 1.35rem;
    line-height: 1.1;
}
.team-card-balance .unit[b-ya69h2jy5g] {
    font-size: 0.85rem;
}

/* Активные / Закрытые — две колонки. */
.team-card-stats[b-ya69h2jy5g] {
    display: flex;
    gap: 10px;
}
.team-stat[b-ya69h2jy5g] {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 6px;
    border: 1px solid var(--ph-border-color);
    border-radius: 8px;
}
.team-stat-val[b-ya69h2jy5g] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ph-text-primary);
}
.team-stat-label[b-ya69h2jy5g] {
    font-size: 0.72rem;
    color: var(--ph-text-secondary);
}
