.banlist-main {
    padding-top: 53px;
}

.banlist-section {
    display: flex;
    justify-content: center;
    scroll-margin-top: 101px;
    padding-bottom: 58px;
}

.banlist-border {
    width: 1412px;
}

.banlist-heading {
    margin-bottom: 12px;
}

.banlist-description {
    margin-bottom: 20px;
    color: #D0D6E6;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.banlist-server-tabs {
    height: 40px;
    margin-bottom: 18px;
}

.banlist-server-tabs .server-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.site-input {
    position: relative;
    display: flex;
    width: 100%;
    height: 70px;
    align-items: center;
    gap: 14px;
    padding: 0 26px;
    border-radius: 20px;
    border: 1px solid #323539;
    background: #1D1D1E;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.04);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.site-input:focus-within {
    border-color: rgba(255, 85, 51, 0.55);
    background: #202123;
    box-shadow: 0 0 0 4px rgba(255, 85, 51, 0.08);
}

.site-input-icon {
    flex: 0 0 auto;
}

.site-input input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #D0D6E6;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.site-input input::placeholder {
    color: rgba(208, 214, 230, 0.35);
}

.banlist-search {
    margin-bottom: 20px;
}

.banlist-table {
    overflow: hidden;
    border-radius: 24px;
    background: #1D1D1E;
}

.banlist-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.1fr) minmax(240px, 2.3fr) minmax(160px, 1fr) minmax(170px, 1fr) minmax(150px, 0.9fr);
    min-height: 78.42px;
    align-items: center;
    gap: 18px;
    padding: 0 24px;
    color: #D0D6E6;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.banlist-row-head {
    min-height: 78.42px;
    border-radius: 24px 24px 0 0;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 85, 51, 0.10) 0%, rgba(153, 51, 31, 0.10) 100%);
}

.banlist-row-head b {
    color: #FFFFFF;
    text-align: left;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.banlist-row-alt {
    background: rgba(125, 125, 125, 0.11);
}

.banlist-user,
.banlist-moder {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
}

.banlist-user img,
.banlist-moder img {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    border-radius: 6px;
    image-rendering: pixelated;
}

.banlist-moder img {
    border-radius: 5px;
}

.banlist-reason {
    color: #FFF;
    font-family: "FS Elliot Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.banlist-row time {
    color: #FFF;
    font-family: "FS Elliot Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.banlist-row-empty {
    grid-template-columns: 1fr;
    min-height: 90px;
}

.banlist-row-empty div {
    color: rgba(208, 214, 230, 0.7);
}

.banlist-pagination {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.pagination-button {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 128px;
    border: 1px solid #2B2B2D;
    background: #1D1D1E;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.04);
    color: #D0D6E6;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    line-height: 20px;
    letter-spacing: -0.1px;
    opacity: 0.5;
    text-decoration: none;
    transition: opacity 0.22s ease, background 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.pagination-button:hover,
.pagination-button.is-active {
    opacity: 1;
    border-color: rgba(255, 85, 51, 0.45);
    background: radial-gradient(50% 50% at 50% 50%, #F53 0%, #99331F 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.pagination-button:active {
    transform: scale(0.94);
}

.pagination-arrow svg {
    transition: transform 0.22s ease;
}

.pagination-arrow:hover svg {
    transform: scale(1.08);
}

@media (max-width: 1210px) {
    .banlist-main {
        padding-top: 34px;
    }

    .banlist-border {
        width: 100%;
    }

    .banlist-description {
        font-size: 14px;
        line-height: 19px;
    }

    .banlist-server-tabs {
        height: 57px;
    }

    .site-input {
        height: 62px;
        padding: 0 18px;
    }

    .banlist-table {
        display: grid;
        gap: 12px;
        overflow: visible;
        border-radius: 0;
        background: transparent;
    }

    .banlist-row-head {
        display: none;
    }

    .banlist-row {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 10px;
        padding: 18px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        background: #1D1D1E;
    }

    .banlist-row-alt {
        background: rgba(125, 125, 125, 0.11);
    }

    .banlist-row > div:not(.banlist-user):not(.banlist-moder):not(.banlist-reason),
    .banlist-row time {
        display: flex;
        justify-content: space-between;
        gap: 14px;
    }

    .banlist-row > div:not(.banlist-user):not(.banlist-moder)::before {
        content: "Причина";
        color: rgba(208, 214, 230, 0.45);
    }

    .banlist-row .banlist-reason {
        display: flex;
        justify-content: space-between;
        gap: 14px;
    }

    .banlist-row .banlist-reason::before {
        font-size: 14px;
    }

    .banlist-row .banlist-moder::before {
        content: "Модератор";
        margin-right: auto;
        color: rgba(208, 214, 230, 0.45);
        font-size: 14px;
    }

    .banlist-row time:first-of-type::before {
        content: "Дата блокировки";
        color: rgba(208, 214, 230, 0.45);
    }

    .banlist-row time:last-of-type::before {
        content: "Разблокировка";
        color: rgba(208, 214, 230, 0.45);
    }

    .banlist-pagination {
        gap: 10px;
        margin-top: 22px;
    }
}

@media (max-width: 560px) {
    .banlist-server-tabs {
        grid-template-columns: 1fr;
        height: auto;
        gap: 6px;
        padding: 6px;
        border-radius: 18px;
    }

    .banlist-server-tabs .server-tabs-indicator {
        display: none;
    }

    .banlist-server-tabs .server-tab {
        height: 42px;
    }

    .banlist-server-tabs .server-tab.is-active {
        background: radial-gradient(50% 50% at 50% 50%, #F53 0%, #99331F 100%);
    }

    .banlist-pagination {
        gap: 8px;
    }

    .pagination-button {
        width: 36px;
        height: 36px;
    }
}
