.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}
 
.rp-topbar {
    background: rgba(15, 23, 42, 0.94);
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
    backdrop-filter: blur(8px);
    min-height: 72px;
    position: sticky;
    top: 0;
    z-index: 1040;
    width: 100%;
}

.rp-navbar-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 40px;
    line-height: 0;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
    min-height: 44px;
    margin: 0;
    padding: 0;
}

.rp-navbar-brand img {
    display: block;
    height: 34px;
    width: auto;
    vertical-align: middle;
    transform: translateY(1px);
}

.rp-brand__rub {
    color: #ffffff;
}

.rp-brand__pay {
    color: #a4adba;
}

.rp-topbar .navbar-nav {
    gap: 4px;
}

.rp-topbar .nav-link {
    color: rgba(226, 232, 240, 0.86);
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 500;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.rp-topbar .nav-link:hover,
.rp-topbar .nav-link.active {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.18);
}

.rp-topbar .nav-link svg,
.rp-topbar .nav-link i {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.rp-topbar .dropdown-menu {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
}

.rp-topbar__toggler {
    border-color: rgba(148, 163, 184, 0.4);
    z-index: 2002;
}

.rp-topbar__toggler:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}

/* Slightly wider layout containers (still not full-width) */
@media (min-width: 576px) {
    .container,
    .container-sm {
        max-width: min(620px, calc(100vw - 28px));
    }
}

@media (min-width: 768px) {
    .container,
    .container-sm,
    .container-md {
        max-width: min(820px, calc(100vw - 32px));
    }
}

@media (min-width: 992px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg {
        max-width: min(1100px, calc(100vw - 36px));
    }
}

@media (min-width: 1200px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        max-width: min(1320px, calc(100vw - 44px));
    }
}

@media (min-width: 1400px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: min(1520px, calc(100vw - 52px));
    }
}

/* Unified button theme: neutral + one accent */
.btn {
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.18s ease;
    border-width: 1px;
}

.btn:focus,
.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.btn.btn-primary,
.btn.btn-success {
    color: #ffffff;
    background-color: #10b981;
    border-color: #10b981;
}

.btn.btn-primary:hover,
.btn.btn-success:hover {
    color: #ffffff;
    background-color: #0ea271;
    border-color: #0ea271;
}

.btn.btn-dark,
.btn.btn-secondary,
.btn.btn-info {
    color: #f8fafc;
    background-color: #1e293b;
    border-color: #1e293b;
}

.btn.btn-dark:hover,
.btn.btn-secondary:hover,
.btn.btn-info:hover {
    color: #ffffff;
    background-color: #0f172a;
    border-color: #0f172a;
}

.btn.btn-warning,
.btn.btn-light {
    color: #0f172a;
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.btn.btn-warning:hover,
.btn.btn-light:hover {
    color: #020617;
    background-color: #f1f5f9;
    border-color: #94a3b8;
}

.btn.btn-danger {
    color: #ffffff;
    background-color: #dc2626;
    border-color: #dc2626;
}

.btn.btn-danger:hover {
    color: #ffffff;
    background-color: #b91c1c;
    border-color: #b91c1c;
}

.btn.btn-outline-primary,
.btn.btn-outline-success {
    color: #0ea271;
    border-color: #10b981;
}

.btn.btn-outline-primary:hover,
.btn.btn-outline-success:hover {
    color: #ffffff;
    background-color: #10b981;
    border-color: #10b981;
}

.btn.btn-outline-dark,
.btn.btn-outline-secondary,
.btn.btn-outline-info {
    color: #1e293b;
    border-color: #334155;
}

.btn.btn-outline-dark:hover,
.btn.btn-outline-secondary:hover,
.btn.btn-outline-info:hover {
    color: #ffffff;
    background-color: #1e293b;
    border-color: #1e293b;
}

.btn.btn-outline-warning,
.btn.btn-outline-light {
    color: #334155;
    border-color: #cbd5e1;
}

.btn.btn-outline-warning:hover,
.btn.btn-outline-light:hover {
    color: #0f172a;
    background-color: #f1f5f9;
    border-color: #94a3b8;
}

.btn.btn-outline-danger {
    color: #b91c1c;
    border-color: #dc2626;
}

.btn.btn-outline-danger:hover {
    color: #ffffff;
    background-color: #dc2626;
    border-color: #dc2626;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.58;
}

/* Pagination in brand palette */
.pagination {
    gap: 6px;
}

.pagination .page-item .page-link {
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    min-width: 36px;
    text-align: center;
    font-weight: 600;
    transition: all 0.18s ease;
}

.pagination .page-item .page-link:hover {
    color: #0f172a;
    background: #f1f5f9;
    border-color: #94a3b8;
}

.pagination .page-item.active .page-link {
    color: #ffffff;
    background: #10b981;
    border-color: #10b981;
}

.pagination .page-item.disabled .page-link {
    color: #94a3b8;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.rp-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    margin-bottom: 1rem;
}

.rp-table-wrap .table-rp {
    margin-bottom: 0;
    min-width: 920px;
}

.rp-table-wrap .table-rp thead th {
    background: #f8fafc;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #e2e8f0;
}

.rp-table-wrap .table-rp th,
.rp-table-wrap .table-rp td {
    white-space: nowrap;
    vertical-align: middle;
    padding: 0.75rem 0.85rem;
    border-color: #eef2f7;
}

.rp-table-wrap .table-rp tbody tr:hover {
    background: #f8fafc;
}

.rp-table-wrap .table-rp tbody tr:nth-child(even) {
    background: #fcfdff;
}

/* Same table language for admin/traders tables without wrapper */
.table.table-rp thead th {
    background: #f8fafc !important;
    color: #1e293b !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #e2e8f0 !important;
}

.table.table-rp th,
.table.table-rp td {
    vertical-align: middle;
    border-color: #eef2f7 !important;
}

.table.table-rp {
    --bs-table-bg: #ffffff;
    --bs-table-accent-bg: transparent;
    --bs-table-striped-bg: #fcfdff;
    --bs-table-hover-bg: #f8fafc;
    --bs-table-striped-color: #0f172a;
    --bs-table-hover-color: #0f172a;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.table.table-rp > :not(caption) > * > * {
    background-color: #ffffff !important;
    box-shadow: none !important;
    padding: 0.72rem 0.85rem;
}

.table.table-rp tbody tr:nth-child(even) > * {
    background: #fcfdff !important;
}

.table.table-rp tbody tr:hover > * {
    background: #f8fafc !important;
}

.table.table-rp .table-success > *,
.table.table-rp .table-warning > *,
.table.table-rp .table-danger > *,
.table.table-rp .table-info > *,
.table.table-rp .table-secondary > * {
    background: inherit !important;
    color: inherit !important;
    box-shadow: none !important;
}

.table.table-rp tbody tr:hover {
    background: #f8fafc;
}

.rp-status-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
}

.rp-status-success {
    color: #166534;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.rp-status-warning {
    color: #92400e;
    background: #fffbeb;
    border-color: #fde68a;
}

.rp-status-danger {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.rp-status-info {
    color: #1e3a8a;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.rp-status-secondary {
    color: #334155;
    background: #f8fafc;
    border-color: #cbd5e1;
}

.rp-status-primary {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.rp-status-dark {
    color: #0f172a;
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.rp-status-light {
    color: #475569;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.rp-status-white {
    color: #334155;
    background: #f8fafc;
    border-color: #cbd5e1;
}

.rp-rates-widget {
    position: relative;
}

.rp-rates-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rp-rates-menu {
    min-width: 260px;
    padding: 0;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.rp-rates-menu__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #0f172a;
    color: #f8fafc;
    font-weight: 600;
}

.rp-rates-menu__head small {
    color: #94a3b8;
    font-weight: 500;
    white-space: nowrap;
}

.rp-rates-menu__body {
    padding: 8px;
    background: #ffffff;
}

.rp-rate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 8px;
    border-bottom: 1px solid #eef2f7;
    font-size: 13px;
    color: #334155;
}

.rp-rate-row:last-child {
    border-bottom: 0;
}

.rp-rate-row strong {
    font-size: 14px;
    color: #0f172a;
}

.rp-table-wrap::-webkit-scrollbar {
    height: 8px;
}

.rp-table-wrap::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.rp-table-wrap::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

.rp-table-wrap::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@media (max-width: 992px) {
    .rp-topbar > .container {
        width: 100%;
        max-width: 100%;
    }

    .rp-navbar-brand {
        min-height: 38px;
    }

    .rp-navbar-brand img {
        height: 28px;
        transform: translateY(0);
    }

    .rp-topbar .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        border: 1px solid rgba(148, 163, 184, 0.24);
        border-radius: 12px;
        margin-top: 10px;
        padding: 10px;
    }

    .rp-topbar .navbar-nav.ms-auto {
        margin-left: 0 !important;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(148, 163, 184, 0.2);
    }

    .rp-topbar .nav-link {
        font-size: 16px;
        padding: 10px 12px;
    }

    .rp-rates-menu {
        min-width: min(280px, calc(100vw - 24px));
    }

    .rp-table-wrap {
        margin-bottom: 0.75rem;
    }

    .rp-table-wrap .table-rp {
        min-width: 760px;
    }

    .rp-table-wrap .table-rp thead th {
        font-size: 12px;
        padding: 0.65rem 0.7rem;
    }

    .rp-table-wrap .table-rp td {
        font-size: 13px;
        padding: 0.65rem 0.7rem;
    }

    /* Mobile tables: single horizontal scroll only on wrapper */
    .rp-table-wrap {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: auto;
        touch-action: pan-x;
        overscroll-behavior-x: contain;
    }

    .rp-table-wrap > .table.table-rp {
        display: table;
        width: max-content;
        min-width: 760px;
        margin-bottom: 0;
        white-space: nowrap;
    }

    .rp-table-wrap > .table.table-rp > :not(caption) {
        display: table-row-group;
        width: auto;
        min-width: 0;
    }

    body {
        overflow-x: hidden;
    }

    /* Prevent tiny page overflow from non-table layout blocks */
    html,
    body,
    .rp-topbar,
    .container,
    .footer-nav {
        max-width: 100vw;
    }

    /* footer-nav uses .row outside .container -> negative gutters can widen page */
    .footer-nav {
        overflow-x: hidden;
    }

    .footer-nav .row {
        margin-left: 0;
        margin-right: 0;
        --bs-gutter-x: 0;
    }

    .footer-nav [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 992px) {
    .rp-topbar .container {
        display: flex;
        align-items: center;
    }

    .rp-topbar .navbar-brand {
        margin-right: 18px;
    }

    .rp-topbar .navbar-nav:first-child {
        margin-left: 8px;
    }
}

.rp-topbar__toggler {
    margin-left: auto;
}

/* Keep bootstrap modal layer above any custom sticky/fixed UI */
.modal-backdrop {
    z-index: 1050;
}

.modal {
    z-index: 1060;
}

/* Strong override for helper pagination */
nav[aria-label="Pages"] .pagination {
    gap: 6px !important;
    margin-top: 12px;
    margin-bottom: 12px;
}

nav[aria-label="Pages"] .pagination .page-item .page-link {
    color: #1e293b !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    min-width: 38px;
    text-align: center;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: none !important;
}

nav[aria-label="Pages"] .pagination .page-item .page-link:hover {
    color: #0f172a !important;
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}

nav[aria-label="Pages"] .pagination .page-item.active .page-link {
    color: #ffffff !important;
    background: rgba(37, 99, 235, 0.9) !important;
    border-color: #2563eb !important;
}

nav[aria-label="Pages"] .pagination .page-item.disabled .page-link {
    color: #94a3b8 !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

@media (max-width: 767.98px) {
    nav[aria-label="Pages"] {
        max-width: 100%;
        overflow: hidden;
    }

    nav[aria-label="Pages"] .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px !important;
        margin-top: 10px;
        margin-bottom: 10px;
        max-width: 100%;
    }

    nav[aria-label="Pages"] .pagination .page-item .page-link {
        min-width: 34px;
        padding: 0.35rem 0.45rem;
    }

    /* Usually first/last elements are "Назад" / "Далее" */
    nav[aria-label="Pages"] .pagination .page-item:first-child,
    nav[aria-label="Pages"] .pagination .page-item:last-child {
        display: none;
    }
}

/* Admin users page */
.admin-users-table-wrap {
    margin-bottom: 14px;
}

.admin-users-table {
    min-width: 980px;
}

.admin-users-id {
    font-weight: 700;
    color: #0f172a;
}

.admin-users-name {
    font-weight: 700;
    color: #0f172a;
}

.admin-users-login {
    color: #475569;
    font-size: 13px;
}

.admin-users-comment {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 2px;
}

.admin-users-contact {
    color: #334155;
    font-size: 13px;
}

.admin-users-contact span {
    color: #64748b;
}

.admin-users-telegram-short {
    display: inline-block;
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.admin-users-telegram-btn {
    margin-left: 6px;
    padding: 2px 8px;
    line-height: 1.2;
}

.admin-users-telegram-empty {
    color: #94a3b8;
}

.admin-users-telegram-full {
    word-break: break-word;
    white-space: normal;
    color: #1e293b;
}

.admin-users-balance {
    margin-top: 6px;
    font-weight: 700;
    color: #0f172a;
}

.admin-users-balance-meta {
    font-size: 12px;
    color: #64748b;
}

.admin-users-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.admin-users-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.admin-users-summary__item {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 10px 12px;
}

.admin-users-summary__item span {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-bottom: 4px;
}

.admin-users-summary__item strong {
    color: #0f172a;
    font-size: 16px;
}

@media (max-width: 992px) {
    .admin-users-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Projects page */
.projects-table {
    min-width: 900px;
}

.projects-id {
    font-weight: 700;
    color: #0f172a;
}

.projects-name {
    font-weight: 700;
    color: #0f172a;
}

.projects-url {
    color: #64748b;
    font-size: 13px;
}

.projects-balance {
    font-weight: 700;
    color: #0f172a;
}

.projects-balance-meta {
    color: #64748b;
    font-size: 13px;
}

/* Payins page */
.payins-table-wrap {
    border-radius: 0;
}

.payins-table {
    min-width: 1180px;
}

.payins-maincell__id,
.payins-maincell__order {
    display: block;
    text-decoration: none;
}

.payins-maincell__id {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 2px;
}

.payins-maincell__order {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.payins-amounts {
    min-width: 190px;
}

.payins-amounts__main {
    font-weight: 700;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.payins-amounts__credited,
.payins-amounts__first {
    margin-top: 2px;
    font-size: 12px;
    color: #64748b;
    font-variant-numeric: tabular-nums;
}

.payins-table .badge {
    border-radius: 0;
}

.payins-table .btn.btn-sm {
    padding: 0.34rem 0.58rem;
}

.payins-page .pagination {
    margin-top: 8px;
}

.payins-check-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #334155;
}

.payins-check-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.payins-check-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}

.payins-check-link svg {
    width: 16px;
    height: 16px;
}

.payins-check-copy svg {
    width: 16px;
    height: 16px;
}

.payins-check-link:hover,
.payins-check-copy:hover {
    color: #0f172a;
}

/* Payouts table */
.payouts-table {
    min-width: 1060px;
}

.payouts-maincell__id,
.payouts-maincell__order {
    display: block;
}

.payouts-maincell__id {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.payouts-maincell__order {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.payouts-api-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 2px 5px;
    color: #475569;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
}

.payouts-amounts {
    min-width: 220px;
}

.payouts-amounts__main {
    font-weight: 700;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.payouts-amounts__credited,
.payouts-amounts__meta {
    margin-top: 2px;
    font-size: 12px;
    color: #64748b;
    font-variant-numeric: tabular-nums;
}

/* Payouts page toolbar */
@media (max-width: 992px) {
    .rp-rates-widget,
    .rp-rates-toggle {
        width: 100%;
    }
}

/* Mobile modal layout: no horizontal overflow */
@media (max-width: 767.98px) {
    .modal-dialog,
    .modal-dialog.modal-xl,
    .modal-dialog.modal-lg {
        max-width: calc(100vw - 12px);
        margin: 6px auto;
    }

    .modal-content {
        width: 100%;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 12px;
    }

    .modal-title {
        font-size: 16px;
        line-height: 1.25;
    }

    .modal-body {
        overflow-x: hidden;
    }

    .modal-body img,
    .modal-body video,
    .modal-body iframe {
        max-width: 100%;
        height: auto;
    }

    .modal-body .table,
    .modal-body .table.table-rp {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
    }

    .modal-body .table th,
    .modal-body .table td,
    .modal-body .table.table-rp th,
    .modal-body .table.table-rp td {
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
        max-width: 100%;
    }

    .modal-body .table.table-rp > :not(caption) > * > * {
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        max-width: 100% !important;
        padding-left: 10px;
        padding-right: 10px;
    }

    .modal-body .modal-tariff-table {
        border: 0;
        background: transparent;
    }

    .modal-body .modal-tariff-table tbody tr {
        display: block;
        margin-bottom: 8px;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
    }

    .modal-body .modal-tariff-table tbody tr td {
        display: block;
        width: 100% !important;
        border: 0 !important;
        border-top: 1px solid #e2e8f0 !important;
        background: transparent !important;
        padding: 9px 10px !important;
    }

    .modal-body .modal-tariff-table tbody tr td:first-child {
        border-top: 0 !important;
    }

    .modal-body .modal-tariff-table tbody tr:not(.tariff-section-row) td:nth-child(1)::before,
    .modal-body .modal-tariff-table tbody tr:not(.tariff-section-row) td:nth-child(2)::before,
    .modal-body .modal-tariff-table tbody tr:not(.tariff-section-row) td:nth-child(3)::before {
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #64748b;
        margin-bottom: 3px;
    }

    .modal-body .modal-tariff-table tbody tr:not(.tariff-section-row) td:nth-child(1)::before {
        content: "Метод";
    }

    .modal-body .modal-tariff-table tbody tr:not(.tariff-section-row) td:nth-child(2)::before {
        content: "Лимит";
    }

    .modal-body .modal-tariff-table tbody tr:not(.tariff-section-row) td:nth-child(3)::before {
        content: "Комиссия";
    }

    .modal-body .modal-tariff-table tbody tr.tariff-section-row {
        margin: 12px 0 6px;
        border: 0;
        background: transparent;
    }

    .modal-body .modal-tariff-table tbody tr.tariff-section-row td {
        border: 0 !important;
        padding: 0 2px 6px !important;
        background: transparent !important;
    }

    .modal-body .modal-tariff-table .tariff-section-spacer {
        display: none;
    }

    .modal-body .form-control,
    .modal-body .form-select,
    .modal-body input,
    .modal-body textarea,
    .modal-body select {
        max-width: 100%;
    }

    .modal-body .btn-group {
        display: flex;
        width: 100%;
    }

    .modal-footer {
        gap: 8px;
    }

    .modal-footer .btn {
        width: 100%;
    }

    .payouts-table {
        min-width: 820px;
    }

    .payouts-table th,
    .payouts-table td {
        white-space: normal !important;
        vertical-align: top;
        font-size: 12px;
        line-height: 1.3;
        padding: 0.55rem 0.45rem !important;
    }

    .payouts-maincell__order {
        font-size: 12px;
    }
}
