.adminlist_container {
    background-color: var(--card);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 13px;
}

.adminlist_header {
    margin-bottom: 20px;
}

.adminlist_header h1 {
    font-size: 24px;
    color: var(--text-custom);
    margin-bottom: 10px;
}

.adminlist_header p {
    font-size: 14px;
    color: var(--text-custom);
    opacity: 0.8;
}

.admin_filter {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter_label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-custom);
    opacity: 0.8;
}

.custom-select {
    width: 100%;
    max-width: 350px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--bottom-line-table);
    background-color: var(--transparent);
    color: var(--text-custom);
    font-size: 14px;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-select:hover {
    border-color: var(--button);
}

.custom-select:focus {
    outline: none;
    border-color: var(--button);
    box-shadow: 0 0 0 2px rgba(100, 206, 130, 0.2);
}

.adminlist_table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.table_header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr 1fr;
    gap: 10px;
    padding: 10px;
    background-color: var(--bg-table);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-custom);
    opacity: 0.8;
}

.table_body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.table_row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr 1fr;
    gap: 10px;
    padding: 10px;
    background-color: var(--navbar);
    border-radius: 12px;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.table_row:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.row_item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin_avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.admin_nickname {
    cursor: pointer;
    color: var(--text-custom);
    font-size: 14px;
    transition: color 0.2s ease;
}

.admin_nickname:hover {
    color: var(--button);
}

.admin_status {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    text-align: center;
    font-weight: 500;
}

.admin_status.online {
    background-color: rgba(100, 206, 130, 0.1);
    color: var(--green);
}

.admin_status.offline {
    background-color: rgba(255, 73, 64, 0.1);
    color: var(--red);
}

.admin_term {
    font-size: 14px;
    color: var(--text-custom);
}

.admin_stats {
    display: flex;
    gap: 10px;
}

.stat_item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--text-custom);
}

.steam_button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 8px;
    background-color: var(--button);
    color: var(--text-custom);
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.steam_button:hover {
    background-color: var(--button-hover);
    transform: scale(1.03);
}

.steam_button svg {
    width: 16px;
    height: 16px;
    fill: var(--text-custom);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.button_pagination {
    padding: 8px 12px;
    background-color: var(--button);
    color: var(--text-custom);
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button_pagination:hover {
    background-color: var(--button-hover);
    transform: scale(1.05);
}

.button_pagination.active {
    background-color: var(--span);
    color: white;
}

.stat_icon svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    transition: fill 0.2s ease;
}

.stat_item:hover svg {
    fill: var(--span);
}

/* Мобильная версия */
@media (max-width: 768px) {
    .adminlist_container {
        padding: 15px;
        border-radius: 12px;
        background: linear-gradient(145deg, var(--card), var(--grey)); /* Лёгкий градиент для глубины */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .adminlist_header h1 {
        font-size: 22px;
        font-weight: 600;
        color: var(--text-custom);
    }

    .adminlist_header p {
        font-size: 13px;
        opacity: 0.7;
    }

    .admin_filter {
        flex-direction: row;
        gap: 8px;
        padding: 10px;
        border-radius: 10px;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .filter_label {
        font-size: 14px;
        font-weight: 500;
    }

    .custom-select {
        width: 100%;
        max-width: none;
        font-size: 14px;
        padding: 8px 12px;
        border-radius: 6px;
        background-color: var(--card);
        border: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .table_header {
        display: none; /* Скрываем заголовок */
    }

    .table_row {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        background: linear-gradient(145deg, #1c1717, #1d1d1d);
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .table_row:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }

    .row_item {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    /* Никнейм и аватар */
    .row_item:nth-child(1) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 10px;
    }

    .admin_avatar img {
        width: 48px;
        height: 48px;
        border: 2px solid var(--button);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    .admin_nickname {
        font-size: 16px;
        font-weight: 600;
        color: var(--text-custom);
    }

    .admin_nickname:hover {
        color: var(--span);
    }

    /* Группа */
    .row_item:nth-child(2) {
        font-size: 14px;
        font-weight: 500;
        color: var(--text-custom);
        opacity: 0.9;
    }

    /* Статус */
    .row_item:nth-child(3) {
        justify-content: flex-start;
    }

    .admin_status {
        padding: 5px 12px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .admin_status.online {
        background-color: var(--green);
        color: white;
    }

    .admin_status.offline {
        background-color: var(--red);
        color: white;
    }

    /* Срок */
    .row_item:nth-child(4) {
        font-size: 13px;
        color: var(--text-custom);
        opacity: 0.8;
    }

    /* Статистика */
    .admin_stats {
        gap: 15px;
        justify-content: flex-start;
        padding: 8px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat_item {
        font-size: 14px;
        font-weight: 500;
    }

    .stat_icon svg {
        width: 18px;
        height: 18px;
    }

    /* Кнопка Steam */
    .steam_button {
        padding: 8px 16px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 8px;
        background: linear-gradient(90deg, var(--button), var(--button-hover));
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    .steam_button:hover {
        background: linear-gradient(90deg, var(--button-hover), var(--button));
        transform: scale(1.05);
    }

    .steam_button svg {
        width: 18px;
        height: 18px;
    }

    .pagination {
        gap: 6px;
        flex-wrap: wrap;
        padding: 10px 0;
        margin-left: -17px;
    }

    .button_pagination {
        padding: 8px 14px;
        font-size: 13px;
        font-weight: 500;
        border-radius: 6px;
        background-color: var(--button);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .button_pagination.active {
        background-color: var(--span);
        transform: scale(1.1);
    }
}

@media (max-width: 480px) {
    .adminlist_container {
        padding: 12px;
    }

    .adminlist_header h1 {
        font-size: 20px;
    }

    .adminlist_header p {
        font-size: 12px;
    }

    .filter_label {
        font-size: 13px;
    }

    .custom-select {
        font-size: 13px;
        padding: 7px 10px;
    }

    .table_row {
        padding: 12px;
        gap: 8px;
    }

    .admin_avatar img {
        width: 42px;
        height: 42px;
    }

    .admin_nickname {
        font-size: 15px;
    }

    .admin_status {
        font-size: 11px;
        padding: 4px 10px;
    }

    .row_item:nth-child(2),
    .row_item:nth-child(4) {
        font-size: 12px;
    }

    .stat_item {
        font-size: 13px;
    }

    .stat_icon svg {
        width: 16px;
        height: 16px;
    }

    .steam_button {
        padding: 7px 14px;
        font-size: 13px;
    }

    .button_pagination {
        padding: 6px 12px;
        font-size: 12px;
    }
}