.slider_in_monitoring {
    display: grid;
    order  : -1;
    /* Принудительно ставим его третьим */
}

.card-sliders {
    display      : flex;
    flex-wrap    : wrap;
    gap          : var(--section-padding-y);
    background   : var(--background-light);
    padding      : 1rem;
    border-radius: var(--border-radius);
    overflow     : hidden;
    gap          : 1rem;
}

.card-sliders__item {
    flex     : 1 1 20%;
    /* Базовый размер ~30% */
    min-width: 200px;
}

/* Последние 2 элемента растягиваем поровну */
.card-sliders__item:nth-last-child(n+3):nth-last-child(2),
.card-sliders__item:nth-last-child(n+3):nth-last-child(1) {
    flex: 1 1 45%;
    /* Чуть меньше 50%, чтобы учитывать gap */
}

.swiper {
    width       : 100%;
    margin-left : auto;
    margin-right: auto;
    position    : relative;
    overflow    : hidden;
    list-style  : none;
    padding     : 0;
    z-index     : 1;
}

.swiper {
    width        : 100%;
    height       : 100%;
    background   : var(--background-light);
    border-radius: 15px;
    display      : flex;
    align-items  : center;
}

.swiper-slide .card-body a {
    background-color: color-mix(in srgb, var(--card-color) 10%, transparent);
    color           : var(--card-color);
    padding         : 10px 15px;
    font-size       : 14px;
    border-radius   : 10px;
    display         : flex;
    justify-content : center;
    align-items     : center;
    gap             : 10px;
    overflow        : hidden;
    transition      : all 0.15s ease;
    width           : fit-content;
}

.swiper-slide .card-body a:hover svg {
    transform: scale(1.3);
    fill     : #fff;
}

.swiper-slide .card-body a svg {
    width     : 14px;
    height    : 14px;
    fill      : currentColor;
    transform : scale(1);
    transition: transform 0.35s ease-in-out, fill 0s;
}

.swiper-slide .card-body p {
    color    : color-mix(in srgb, var(--card-color) 30%, transparent);
    font-size: 14px;
    width    : 85%;
}

.swiper-slide .card-body a:hover {
    background-color: color-mix(in srgb, var(--card-color) 60%, transparent);
    color           : #fff;
}

.swiper-slide .card-body {
    color  : var(--card-color);
    display: grid;
    gap    : 20px;
    padding: 40px 30px;
    height : 100%;
}

.swiper-wrapper {
    position           : relative;
    width              : 100%;
    height             : 100%;
    z-index            : 1;
    display            : flex;
    transition-property: transform;
    box-sizing         : content-box;
}

.swiper-backface-hidden .swiper-slide {
    transform                  : translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility        : hidden;
}

.swiper-slide {
    flex-shrink        : 0;
    width              : 100%;
    height             : 100%;
    position           : relative;
    transition-property: transform;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 10px;
    left  : 0;
    width : 100%;
}

.swiper-pagination {
    position  : absolute;
    text-align: center;
    transition: .3s opacity;
    transform : translate3d(0, 0, 0);
    z-index   : 10;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
}

.swiper-pagination-bullet {
    width        : var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
    height       : var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
    display      : inline-block;
    border-radius: 50%;
    background   : var(--swiper-pagination-bullet-inactive-color, #000);
    opacity      : var(--swiper-pagination-bullet-inactive-opacity, .2);
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
}

.swiper-pagination-bullet {
    width        : var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
    height       : var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
    display      : inline-block;
    border-radius: 50%;
    background   : var(--swiper-pagination-bullet-inactive-color, #000);
    opacity      : var(--swiper-pagination-bullet-inactive-opacity, .2);
}

.swiper-pagination-bullet-active {
    opacity   : var(--swiper-pagination-bullet-opacity, .6);
    background: var(--text-muted);
}


/* Мониторинг в sidebar */

.servers_monitoring__item {
    position     : relative;
    border-radius: calc(var(--border-radius) / 1);
    overflow     : hidden;
    height       : fit-content;
}

.servers_monitoring__item .server-image {
    position           : absolute;
    background-position: center;
    background-size    : cover;
    width              : 100%;
    height             : 100%;
    border-radius      : calc(var(--border-radius) / 1);
    overflow           : hidden;
}

.servers_monitoring__item .server_info {
    display         : flex;
    justify-content : space-between;
    flex-direction  : column;
    padding         : var(--section-padding-y);
    width           : 100%;
    height          : 100%;
    background-color: color-mix(in srgb, var(--background) 70%, transparent);
    gap             : calc(var(--section-padding-y) / 2);
    background-image: linear-gradient(135deg, var(--background-light) 0%, color-mix(in srgb, var(--background) 20%, transparent)100%);
    height          : 275px;
}

.servers_monitoring__item .server_info {
    /* border-radius : calc(var(--border-radius) / 1); */
    /* outline       : 1px solid color-mix(in srgb, var(--text-primary) 2%, transparent);
    outline-offset: -1px; */
}

.server_info .server_info__title {
    display    : flex;
    align-items: center;
    flex-wrap  : wrap;
    gap        : 5px;
}

.server_info .server_info__title .tag {
    background-color:
        color-mix(in srgb, var(--text-muted) 5%, transparent);
    background-image: linear-gradient(35deg, color-mix(in srgb, var(--text-muted) 0%, transparent) 0%, color-mix(in srgb, var(--text-primary) 5%, transparent) 100%);
    color           : color-mix(in srgb, var(--text-muted) 85%, transparent);
    padding         : 5px 10px;
    gap             : 5px;
    font-size       : 12px;
    border-radius   : calc(var(--border-radius) / 2);
    display         : flex;
    justify-content : center;
    align-items     : center;
    transition      : all 0.15s ease;
    backdrop-filter : blur(5px);
}

.server_info .server_info__title .tag svg,
.server_info .server_info__title .tag .icon {
    width : 13px;
    height: 13px;
}

.server_info .server_info__title .copy-address svg {
    width : 15px;
    height: 15px;
    fill  : currentColor;
    filter: brightness(70%);
}

.server_info .server_info_footer {
    display    : flex;
    align-items: start;
    gap        : 10px;
}

.server_info .server_info__map {
    font-family        : "Oswald", sans-serif;
    color              : var(--text-primary);
    font-optical-sizing: auto;
    font-weight        : bold;
    font-size          : 52px;
    font-style         : normal;
    text-transform     : uppercase;
}

.server_info .server_info_footer .server_info__buttons {
    width        : 100%;
    display      : flex;
    align-items  : center;
    gap          : 1rem;
    background   : color-mix(in srgb, var(--text-primary) 2%, transparent);
    border-radius: calc(var(--border-radius) / 2);
    padding      : 5px;
    font-size    : 14px;
    border-radius: 10px;
}

.server_info_footer .information {
    gap: calc(var(--section-padding-y) / 2.5);
    color:
        color-mix(in srgb, var(--text-muted) 100%, transparent);
    display        : flex;
    align-items    : center;
    justify-content: start;
}

.server_info_footer .information .dot {
    width        : 5px;
    height       : 5px;
    background   : color-mix(in srgb, var(--text-muted) 30%, transparent);
    border-radius: 100%;
}

.server_info_slider {
    width          : 100%;
    height         : 7px;
    background     : color-mix(in srgb, var(--text-secondary) 5%, transparent);
    border-radius  : var(--border-radius);
    backdrop-filter: blur(5px);
}

.server_info_slider .connecting {
    width           : var(--card-width);
    background      : var(--text-secondary);
    background-image: linear-gradient(75deg, #1D626F40, #8EAF4A40, #FFDF4540, #FF8F4840, #F3573E40);
    position        : absolute;
    left            : 0;
    height          : 100%;
    border-radius   : var(--border-radius);
    max-width       : 100%;
}

.server_info_footer .btn-connect,
.server_info_footer .btn-copy {
    background-color:
        color-mix(in srgb, currentColor 10%, transparent);
    color          : var(--text-secondary);
    padding        : 10px 15px;
    font-size      : 14px;
    border-radius  : 10px;
    display        : flex;
    justify-content: center;
    align-items    : center;
    gap            : 10px;
    overflow       : hidden;
    transition     : all 0.15s ease;
    backdrop-filter: blur(10px);
}

.server_info_footer .btn-copy {
    background-color: color-mix(in srgb, var(--text-muted) 5%, transparent);
    color           : var(--text-muted);
}

.server_info_footer .btn-connect svg,
.server_info_footer .btn-copy svg {
    width : 15px;
    height: 15px;
    fill  : var(--text-secondary);
}

.server_info_footer .btn-copy svg {
    fill: var(--text-muted);
}

/* Top donations */
.card-donate-players {
    border-radius: var(--border-radius);
    background   : color-mix(in srgb, var(--text-secondary) 10%, transparent);
}

.card-donate-players .card-title {
    color: var(--text-secondary) !important;
}

.card-donate-players .card-title svg {
    width : 32px !important;
    height: 32px !important;
}

.donate-grid {
    display  : flex;
    flex-wrap: wrap;
    gap      : 5px;
}

.donat_item:nth-child(1),
.donat_item:nth-child(2) {
    flex: 1 1 100%;
}


.donat_item {
    flex     : 1 1 30%;
    min-width: 150px;
}

.donat_item {
    padding              : .75rem;
    display              : grid;
    width                : 100%;
    grid-template-columns: 40px 2fr 1fr 1fr;
    gap                  : 20px;
    align-items          : center;
    overflow             : hidden;
}

.donat_item {
    background-image: linear-gradient(-90deg,
            color-mix(in srgb, var(--text-secondary) 10%, transparent), transparent 100%);
    background-color: transparent;
    border-radius   : 0.75rem;
}

.donat_item:hover {
    background-image: linear-gradient(-90deg,
            color-mix(in srgb, var(--text-secondary) 10%, transparent), transparent 150%);
}


.donat_item--first {
    background-color: transparent;
    font-size       : 12px;
    color           : var(--text-muted);
    opacity         : .45;
}

.donat_item .avatar {
    border-radius: 0.65rem;
    overflow     : hidden;
}

.donat_item .avatar img {
    width : 40px;
    height: 40px;
}

.donat_item .place {
    font-size  : 24px;
    font-weight: 900;
    position   : absolute;
    right      : 30px;
    scale      : 2.6;
    color      :
        color-mix(in srgb, var(--text-secondary) 30%, transparent);
    pointer-events: none;
    background-image: linear-gradient(45deg,
            color-mix(in srgb, var(--text-secondary) 20%, transparent), transparent);
    color                  : transparent;
    background-clip        : text;
    -webkit-background-clip: text;
    transition             : scale .15s ease, opacity .35s ease;
    opacity                : .3;
}

.donat_item:hover .place {
    scale     : 4;
    opacity   : 1;
    transition: scale .15s ease, opacity .35s ease;
}

.donate-grid__empty {
    display        : flex;
    align-items    : center;
    justify-content: center;
    flex-direction : column;
    width          : 100%;
    height         : 100%;
    gap            : 2rem;
    padding        : 3rem;

    svg {
        width : 126px;
        height: 126px;
        fill  : color-mix(in srgb, var(--text-secondary) 10%, transparent);
    }

    span {
        color    : color-mix(in srgb, var(--text-secondary) 50%, transparent);
        font-size: 1rem;
    }
}

/* Card players top */
.players__item {
    padding              : .75rem;
    display              : grid;
    width                : 100%;
    grid-template-columns: 40px 2fr 1fr 1fr;
    gap                  : 20px;
    align-items          : center;
}

.players__item--first {
    background-color: transparent;
    font-size       : 12px;
    color           : var(--text-muted);
    opacity         : .45;
}

.players__item:nth-child(even) {
    background-color: var(--background);
    border-radius   : 0.75rem;
}

.players__item .avatar img {
    width        : 40px;
    height       : 40px;
    border-radius: 0.65rem;
}

/* Card privileges */
.card-privileges-col {
    flex: 2 0 0%;
}

.card-privileges {
    padding        : 0;
    display        : flex;
    justify-content: center;
    align-items    : center;
    height         : auto;
    overflow       : hidden;

    &:hover {
        img {
            scale     : 1.1;
            transition: scale 0.35s ease;
        }
    }

    img {
        width     : 100%;
        height    : 100%;
        object-fit: cover;
        scale     : 1;
        transition: scale 0.35s ease;
    }

}

/* Card payment */
.card-payment {
    height: 100%;
}