/* =========================
   BANLIST / TABLE OPTIMIZED
   light + .night_theme
   ========================= */

* {
    box-sizing: border-box;
}

.banlist-form {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(18, 18, 18, 0.07);
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    padding: 28px;
    overflow: hidden;
}

.top-banlist {
    margin-bottom: 24px;
}

h1.h1-text {
    margin: 0 0 8px;
    color: #1f2328;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

p.p-text {
    margin: 0;
    color: #707784;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
    max-width: 980px;
}

/* search */
.object-search {
    position: relative;
    color: #858C95;
    margin-bottom: 20px;
}

.object-search form {
    width: 100%;
}

svg.search-ico {
    position: absolute;
    top: 17px;
    left: 18px;
    color: #fe902f;
    z-index: 3;
    opacity: 0.95;
}

.group-objects {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    width: 100%;
}

input#banlist {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 0 18px 0 58px;
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: #ffffff;
    color: #22252a;
    box-shadow: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

input#banlist:focus {
    outline: none;
    border-color: rgba(254, 144, 47, 0.55);
    box-shadow: 0 0 0 3px rgba(254, 144, 47, 0.10);
}

input#banlist::placeholder {
    color: #98a0aa;
}

.group-buttons-banlist {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

/* paginator */
.list-pages {
    margin-top: 22px;
    margin-bottom: 0;
}

.nums {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.num {
    display: flex;
    align-items: center;
    justify-content: center;
}

.num > a,
.num > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    color: #6c7480;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.num > a:hover {
    color: #ffffff;
    background: #fe902f;
    border-color: #fe902f;
}

.num.active > a {
    color: #ffffff;
    background: #fe902f;
    border-color: #fe902f;
    pointer-events: none;
}

/* table */
.banlist-main {
    margin-top: 22px;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

table.table-banlist {
    width: 100%;
    min-width: 100%;
    text-align: left;
    border-collapse: separate;
    border-spacing: 0 14px;
    table-layout: fixed;
}

thead {
    position: relative;
}

th {
    padding: 0 16px 10px;
    color: #727a86;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

tbody tr {
    position: relative;
}

tbody tr td {
    background: #fbfbfc;
    border-top: 1px solid rgba(17, 24, 39, 0.06);
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
    padding: 18px 16px;
    color: #23272f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    vertical-align: middle;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

tbody tr td:first-child {
    border-left: 1px solid rgba(17, 24, 39, 0.06);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

tbody tr td:last-child {
    border-right: 1px solid rgba(17, 24, 39, 0.06);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

tbody tr:hover td {
    background: #fff7f1;
    border-color: rgba(254, 144, 47, 0.16);
}

tr.inactive > td {
    opacity: 0.58;
}

tr.inactive:hover > td {
    opacity: 1;
}

td.number_id {
    color: #8d95a1;
    font-weight: 800;
    letter-spacing: 0.03em;
}

td.slice {
    max-width: 260px;
}

.reason {
    color: #2f343d;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.user-info {
    min-width: 0;
}

.user-info a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    color: #22262d;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.18s ease;
    letter-spacing: -0.02em;
}

.user-info a:hover {
    color: #fe902f;
}

.user-info a span,
.user-info a strong,
.user-info a b {
    min-width: 0;
}

img.avatar-user-banlist {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: block;
    object-fit: cover;
    background: #fff4ea;
    border: 1px solid rgba(254, 144, 47, 0.16);
    box-shadow: none;
	padding: 4px;
}

.right-time {
    white-space: nowrap;
}

.image-link {
    position: relative;
    color: #fe902f;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-decoration: none;
}

.tooltip {
    display: none;
    position: absolute;
    border: 1px solid #ddd;
    background-color: #fff;
    z-index: 1000;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.10);
}

.tooltip img {
    max-width: 100%;
    max-height: 100%;
}

img.img_absolute {
    position: absolute;
    left: 50%;
    opacity: 0;
    top: 25px;
    pointer-events: none;
    transform: translate(-50%, 0);
    max-width: 420px;
    width: max-content;
    border-radius: 12px;
    transition: opacity 0.2s ease;
    overflow: auto;
    z-index: 1000;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

a.image-link:hover > img {
    opacity: 1;
}

.mobi {
    display: none;
    color: #858C95;
    font-size: 8px;
    font-weight: 400;
    line-height: 1.3;
    margin-right: auto;
    text-align: left;
    padding-right: 14px;
}

/* =========================
   NIGHT THEME
   ========================= */

.night_theme .banlist-form {
    background: #141417;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.20);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.night_theme h1.h1-text {
    color: #ffffff;
}

.night_theme p.p-text {
    color: rgba(255, 255, 255, 0.62);
}

.night_theme .object-search {
    color: rgba(255, 255, 255, 0.6);
}

.night_theme svg.search-ico {
    color: #fcb503;
}

.night_theme input#banlist {
    color: #f5f7fa;
    background: #1b1c20;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.night_theme input#banlist::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.night_theme input#banlist:focus {
    border-color: rgba(252, 181, 3, 0.45);
    box-shadow: 0 0 0 3px rgba(252, 181, 3, 0.10);
}

.night_theme .num > a,
.night_theme .num > span {
    color: rgba(255, 255, 255, 0.78);
    background: #1b1c20;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.night_theme .num > a:hover,
.night_theme .num.active > a {
    color: #1d1406;
    background: #fcb503;
    border-color: #fcb503;
}

.night_theme th {
    color: rgba(255, 255, 255, 0.76);
}

.night_theme tbody tr td {
    color: #eef2f6;
    background: #1d1d1c;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: none;
}

.night_theme tbody tr td:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.night_theme tbody tr td:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.night_theme tbody tr:hover td {
    background: #2b2a23;
    border-color: rgba(252, 181, 3, 0.14);
}

.night_theme td.number_id {
    color: rgba(255, 255, 255, 0.55);
}

.night_theme .reason {
    color: rgba(255, 255, 255, 0.92);
}

.night_theme .user-info a {
    color: #ffffff;
}

.night_theme .user-info a:hover {
    color: #fcb503;
}

.night_theme img.avatar-user-banlist {
    background: rgba(252, 181, 3, 0.08);
    border: 1px solid rgba(252, 181, 3, 0.16);
    box-shadow: none;
	 padding: 4px;
}

.night_theme .image-link {
    color: #fcb503;
}

.night_theme .tooltip {
    background: #16181d;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================
   LARGE TABLE TUNING
   ========================= */

.table-banlist th:nth-child(1),
.table-banlist td:nth-child(1) {
    width: 100%;
}

.table-banlist th:nth-child(2),
.table-banlist td:nth-child(2) {
    width: 100%;
}

.table-banlist th:nth-child(3),
.table-banlist td:nth-child(3) {
    width: 144%;
}

.table-banlist th:nth-child(4),
.table-banlist td:nth-child(4) {
    width: 117%;
}

.table-banlist th:nth-child(5),
.table-banlist td:nth-child(5) {
    width: 100%;
}

.table-banlist th:nth-child(6),
.table-banlist td:nth-child(6) {
    width: 100%;
}

.table-banlist th:nth-child(7),
.table-banlist td:nth-child(7) {
    width: 100%;
}

/* =========================
   BANLIST / TABLE OPTIMIZED
   light + .night_theme
   ========================= */

* {
    box-sizing: border-box;
}

.banlist-form {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(18, 18, 18, 0.07);
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    padding: 28px;
    overflow: hidden;
}

.top-banlist {
    margin-bottom: 24px;
}

h1.h1-text {
    margin: 0 0 8px;
    color: #1f2328;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

p.p-text {
    margin: 0;
    color: #707784;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
    max-width: 980px;
}

/* search */
.object-search {
    position: relative;
    color: #858C95;
    margin-bottom: 20px;
}

.object-search form {
    width: 100%;
}

svg.search-ico {
    position: absolute;
    top: 17px;
    left: 18px;
    color: #fe902f;
    z-index: 3;
    opacity: 0.95;
}

.group-objects {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    width: 100%;
}

input#banlist {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 0 18px 0 58px;
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: #ffffff;
    color: #22252a;
    box-shadow: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

input#banlist:focus {
    outline: none;
    border-color: rgba(254, 144, 47, 0.55);
    box-shadow: 0 0 0 3px rgba(254, 144, 47, 0.10);
}

input#banlist::placeholder {
    color: #98a0aa;
}

.group-buttons-banlist {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

/* paginator */
.list-pages {
    margin-top: 22px;
    margin-bottom: 0;
}

.nums {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.num {
    display: flex;
    align-items: center;
    justify-content: center;
}

.num > a,
.num > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    color: #6c7480;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.num > a:hover {
    color: #ffffff;
    background: #fe902f;
    border-color: #fe902f;
}

.num.active > a {
    color: #ffffff;
    background: #fe902f;
    border-color: #fe902f;
    pointer-events: none;
}

/* table */
.banlist-main {
    margin-top: 22px;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

table.table-banlist {
    width: 100%;
    min-width: 100%;
    text-align: left;
    border-collapse: separate;
    border-spacing: 0 14px;
    table-layout: fixed;
}

thead {
    position: relative;
}

th {
    padding: 0 16px 10px;
    color: #727a86;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

tbody tr {
    position: relative;
}

tbody tr td {
    background: #fbfbfc;
    border-top: 1px solid rgba(17, 24, 39, 0.06);
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
    padding: 18px 16px;
    color: #30394c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    vertical-align: middle;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

tbody tr td:first-child {
    border-left: 1px solid rgba(17, 24, 39, 0.06);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

tbody tr td:last-child {
    border-right: 1px solid rgba(17, 24, 39, 0.06);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

tbody tr:hover td {
    background: #fff7f1;
    border-color: rgba(254, 144, 47, 0.16);
}

tr.inactive > td {
    opacity: 0.58;
}

tr.inactive:hover > td {
    opacity: 1;
}

td.number_id {
    color: #8d95a1;
    font-weight: 800;
    letter-spacing: 0.03em;
}

td.slice {
    max-width: 260px;
}

.reason {
    color: #2f343d;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.user-info {
    min-width: 113px;
}

.user-info a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    color: #22262d;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.18s ease;
    letter-spacing: -0.02em;
}

.user-info a:hover {
    color: #fe902f;
}

.user-info a span,
.user-info a strong,
.user-info a b {
    min-width: 0;
}

img.avatar-user-banlist {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: block;
    object-fit: cover;
    background: #fff4ea;
    border: 1px solid rgba(254, 144, 47, 0.16);
    box-shadow: none;
}

.right-time {
    white-space: nowrap;
}

.image-link {
    position: relative;
    color: #fe902f;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-decoration: none;
}

.tooltip {
    display: none;
    position: absolute;
    border: 1px solid #ddd;
    background-color: #fff;
    z-index: 1000;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.10);
}

.tooltip img {
    max-width: 100%;
    max-height: 100%;
}

img.img_absolute {
    position: absolute;
    left: 50%;
    opacity: 0;
    top: 25px;
    pointer-events: none;
    transform: translate(-50%, 0);
    max-width: 420px;
    width: max-content;
    border-radius: 12px;
    transition: opacity 0.2s ease;
    overflow: auto;
    z-index: 1000;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

a.image-link:hover > img {
    opacity: 1;
}

.mobi {
    display: none;
    color: #858C95;
    font-size: 8px;
    font-weight: 400;
    line-height: 1.3;
    margin-right: auto;
    text-align: left;
    padding-right: 14px;
}

/* =========================
   NIGHT THEME
   ========================= */

.night_theme .banlist-form {
    background: #141417;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.20);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.night_theme h1.h1-text {
    color: #ffffff;
}

.night_theme p.p-text {
    color: rgba(255, 255, 255, 0.62);
}

.night_theme .object-search {
    color: rgba(255, 255, 255, 0.6);
}

.night_theme svg.search-ico {
    color: #fcb503;
}

.night_theme input#banlist {
    color: #f5f7fa;
    background: #1b1c20;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.night_theme input#banlist::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.night_theme input#banlist:focus {
    border-color: rgba(252, 181, 3, 0.45);
    box-shadow: 0 0 0 3px rgba(252, 181, 3, 0.10);
}

.night_theme .num > a,
.night_theme .num > span {
    color: rgba(255, 255, 255, 0.78);
    background: #1b1c20;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.night_theme .num > a:hover,
.night_theme .num.active > a {
    color: #1d1406;
    background: #fcb503;
    border-color: #fcb503;
}

.night_theme th {
    color: rgba(255, 255, 255, 0.76);
}

.night_theme tbody tr td {
    color: #eef2f6;
    background: #1d1d1c;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: none;
}

.night_theme tbody tr td:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.night_theme tbody tr td:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.night_theme tbody tr:hover td {
    background: #2b2a23;
    border-color: rgba(252, 181, 3, 0.14);
}

.night_theme td.number_id {
    color: rgba(255, 255, 255, 0.55);
}

.night_theme .reason {
    color: rgba(255, 255, 255, 0.92);
}

.night_theme .user-info a {
    color: #ffffff;
}

.night_theme .user-info a:hover {
    color: #fcb503;
}

.night_theme img.avatar-user-banlist {
    background: rgba(252, 181, 3, 0.08);
    border: 1px solid rgba(252, 181, 3, 0.16);
    box-shadow: none;
}

.night_theme .image-link {
    color: #fcb503;
}

.night_theme .tooltip {
    background: #16181d;
    border: 1px solid rgba(255, 255, 255, 0.08);
}


/* =========================
   MOBILE / WIDE CARDS
   ========================= */

@media (max-width: 1100px) {
    .banlist-form {
        padding: 16px;
        border-radius: 18px;
    }

    .banlist-main {
        margin-top: 18px;
        overflow: visible;
        width: 100%;
    }

    table.table-banlist,
    .table-banlist thead,
    .table-banlist tbody,
    .table-banlist tr,
    .table-banlist td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .table-banlist {
        border-spacing: 0;
        min-width: 0;
        table-layout: auto;
    }

    .table-banlist thead {
        display: none;
    }

    .table-banlist tbody {
        display: flex;
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    .table-banlist tbody tr {
        width: 100%;
        background: #fbfbfc;
        border: 1px solid rgba(17, 24, 39, 0.07);
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 4px 14px rgba(16, 24, 40, 0.05);
    }

    .night_theme .table-banlist tbody tr {
        background: #1f1c1a;
        border: 1px solid rgba(255, 255, 255, 0.07);
        box-shadow: none;
        width: 100%;
    }

    .table-banlist tbody tr td {
        position: relative;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 14px;
        width: 100%;
        min-width: 0;
        padding: 12px 14px;
        margin: 0;
        background: transparent !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(17, 24, 39, 0.06) !important;
        border-radius: 0 !important;
        text-align: left;
        font-size: 13px;
        line-height: 1.4;
    }

    .night_theme .table-banlist tbody tr td {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
        width: 433px;
    }

    .table-banlist tbody tr td:last-child,
    .night_theme .table-banlist tbody tr td:last-child {
        border-bottom: 0 !important;
    }

    /* скрываем старые подписи */
    .mobi {
        display: none !important;
    }

    /* новый левый label */
    .table-banlist tbody tr td::before {
        flex: 0 0 110px;
        min-width: 110px;
        max-width: 110px;
        display: block;
        color: #8b93a0;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        line-height: 1.35;
        text-align: left;
    }

    .night_theme .table-banlist tbody tr td::before {
        color: rgba(255, 255, 255, 0.48);
    }

    .table-banlist tbody tr td:nth-child(1)::before { content: "Код мира"; }
    .table-banlist tbody tr td:nth-child(2)::before { content: "Тип"; }
    .table-banlist tbody tr td:nth-child(3)::before { content: "Нарушитель"; }
    .table-banlist tbody tr td:nth-child(4)::before { content: "Модератор"; }
    .table-banlist tbody tr td:nth-child(5)::before { content: "Причина"; }
    .table-banlist tbody tr td:nth-child(6)::before { content: "Дата"; }
    .table-banlist tbody tr td:nth-child(7)::before { content: "Истекает"; }

    /* всё содержимое справа */
    .table-banlist tbody tr td > *:not(.mobi) {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        text-align: right;
    }

    td.number_id {
        color: #8d95a1;
        font-size: 12px;
        font-weight: 800;
    }

    .night_theme td.number_id {
        color: rgba(255, 255, 255, 0.55);
    }

    td.slice {
        max-width: 100%;
    }

    .reason {
        font-size: 13px !important;
        line-height: 1.45;
        text-align: right;
        color: #2f343d;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .night_theme .reason {
        color: rgba(255, 255, 255, 0.92);
    }

    .user-info {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        min-width: 0;
    }

    .user-info a {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        max-width: 100%;
        gap: 0;
        font-size: 13px;
        text-align: right;
        line-height: 1.35;
        word-break: break-word;
    }

    img.avatar-user-banlist {
        display: none;
    }

    .right-time {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    img.img_absolute {
        left: auto;
        right: 0;
        transform: none;
        max-width: min(260px, 78vw);
    }
}

/* только на очень узком экране уже в колонку */
@media (max-width: 640px) {
    .banlist-form {
        padding: 12px;
        border-radius: 16px;
    }

    .table-banlist tbody {
        gap: 12px;
    }

    .table-banlist tbody tr {
        border-radius: 16px;
    }

    .table-banlist tbody tr td {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 6px;
        padding: 10px 11px;
    }

    .table-banlist tbody tr td::before {
        flex: none;
        min-width: 0;
        max-width: 100%;
        font-size: 9px;
    }

    .table-banlist tbody tr td > *:not(.mobi) {
        width: 100%;
        text-align: left;
    }

    .user-info {
        justify-content: flex-start;
    }

    .user-info a {
        justify-content: flex-start;
        text-align: left;
        font-size: 13px;
    }

    .reason {
        text-align: left;
        font-size: 12px !important;
    }

    td.number_id {
        font-size: 11px;
    }
	
}

.reason-rule-link {
    color: #fe902f;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px dashed rgba(254, 144, 47, 0.45);
    transition: 0.18s ease;
}

.reason-rule-link:hover {
    color: #fcb503;
    border-bottom-color: rgba(252, 181, 3, 0.65);
}

.night_theme .reason-rule-link {
    color: #fcb503;
    border-bottom-color: rgba(252, 181, 3, 0.45);
}

.night_theme .reason-rule-link:hover {
    color: #ffd15f;
    border-bottom-color: rgba(255, 209, 95, 0.75);
}

/* =========================
   TRANSACTIONS TABLE WIDTHS
   ========================= */

.table-transactions th:nth-child(1),
.table-transactions td:nth-child(1) {
    width: 70px;
}

.table-transactions th:nth-child(2),
.table-transactions td:nth-child(2) {
    width: 170px;
}

.table-transactions th:nth-child(3),
.table-transactions td:nth-child(3) {
    width: 260px;
}

.table-transactions th:nth-child(4),
.table-transactions td:nth-child(4) {
    width: 120px;
}

.table-transactions th:nth-child(5),
.table-transactions td:nth-child(5) {
    width: 120px;
}

.table-transactions th:nth-child(6),
.table-transactions td:nth-child(6) {
    width: 170px;
}

.table-transactions th:nth-child(7),
.table-transactions td:nth-child(7) {
    width: 180px;
}

.table-transactions th:nth-child(8),
.table-transactions td:nth-child(8) {
    width: 150px;
}

.table-transactions th:nth-child(9),
.table-transactions td:nth-child(9) {
    width: 120px;
}

/* mobile labels for transactions */
@media (max-width: 1100px) {
    .table-transactions tbody tr td:nth-child(1)::before { content: "ID"; }
    .table-transactions tbody tr td:nth-child(2)::before { content: "Тип"; }
    .table-transactions tbody tr td:nth-child(3)::before { content: "Товар"; }
    .table-transactions tbody tr td:nth-child(4)::before { content: "Сумма"; }
    .table-transactions tbody tr td:nth-child(5)::before { content: "Количество"; }
    .table-transactions tbody tr td:nth-child(6)::before { content: "Оплата"; }
    .table-transactions tbody tr td:nth-child(7)::before { content: "Промокод"; }
    .table-transactions tbody tr td:nth-child(8)::before { content: "Дата"; }
    .table-transactions tbody tr td:nth-child(9)::before { content: "Статус"; }
}