#content {
    padding-right: 0;
    overflow: hidden;
}

.search-container {
    width: 100%;
    text-align: center;
    padding: 15px;
    background: rgba(36, 36, 36, 0.95);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    box-sizing: border-box;
}

.search-container form {
    display: flex;
    gap: 10px;
}

.search-container input[type="text"] {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    margin-right: 10px;
    width: 300px;
    background: rgba(36, 36, 36, 0.8);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-container input[type="text"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(36, 36, 36, 0.9);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.search-container input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-container button {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    background: #333333;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-container button:hover {
    background: #404040;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Таблица с прокруткой */
.table-container {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    background: #242424;
    overflow: hidden;
}

.bans-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #242424;
    margin: 0;
    padding: 0;
}

.bans-table thead tr:first-child th:first-child {
    border-top-left-radius: 8px;
}

.bans-table thead tr:first-child th:last-child {
    border-top-right-radius: 8px;
}

.bans-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.bans-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.bans-table th {
    background: rgba(36, 36, 36, 0.95);
    color: #fff;
    padding: 12px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

/* Задаем ширину для каждой колонки */
.bans-table th:nth-child(1) { width: 10%; } /* Дата бана */
.bans-table th:nth-child(2) { width: 18%; } /* Игрок */
.bans-table th:nth-child(3) { width: 18%; } /* Админ */
.bans-table th:nth-child(4) { width: 25%; } /* Причина */
.bans-table th:nth-child(5) { width: 9%; }  /* Время */
.bans-table th:nth-child(6) { width: 10%; } /* Осталось */
.bans-table th:nth-child(7) { width: 10%; } /* Разбанен */

.bans-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #fff;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bans-table tbody tr:last-child td {
    border-bottom: none;
}

/* Стили для строк */
.bans-table tbody tr:nth-child(even) td {
    background-color: rgba(36, 36, 36, 0.02);
}

.bans-table tbody tr:nth-child(odd) td {
    background-color: rgba(36, 36, 36, 0.05);
}

.bans-table tbody tr:hover td {
    background-color: rgba(36, 36, 36, 0.1);
}

/* Стили для статусов банов */
.bans-table tr.active-ban {
    background: rgba(255, 0, 0, 0.2);
}

.bans-table tr.active-ban:hover {
    background: rgba(255, 0, 0, 0.25);
}

.bans-table tr.expired-ban {
    background: transparent;
}

.bans-table tr.unbanned {
    background: rgba(0, 255, 0, 0.1);
}

.bans-table tr.unbanned:hover {
    background: rgba(0, 255, 0, 0.15);
}

/* Стили для информации о дате и игроке */
.date-time span,
.player-info span {
    display: block;
    margin: 2px 0;
}

.date-time .time {
    font-size: 1.1em;
    color: #fff;
}

.date-time .date {
    color: #888;
    font-size: 0.9em;
}

.player-info .name {
    color: #fff;
}

.player-info .steam-id {
    color: #888;
    font-size: 0.9em;
}

.remaining-time {
    font-weight: bold;
}

/* Пагинация */
.pagination {
    width: calc(100% - 40px);
    text-align: center;
    padding: 15px;
    background: rgba(36, 36, 36, 0.95);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.pagination a, 
.pagination span {
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #333333;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagination a:hover {
    background: #404040;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pagination a.active {
    background: #404040;
    font-weight: bold;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagination-dots {
    color: rgba(255, 255, 255, 0.7);
    padding: 0 5px;
    font-weight: bold;
}

.pagination-input {
    width: 70px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(36, 36, 36, 0.8);
    color: #fff;
    text-align: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(36, 36, 36, 0.9);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.pagination-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Статистика */
.stats-container {
    width: calc(100% - 25px);
    text-align: center;
    padding: 15px;
    background: rgba(36, 36, 36, 0.95);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.stats-container p {
    margin: 0;
    text-align: center;
}

/* Стили для сообщения об отсутствии результатов */
.no-results {
    background: #242424;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.no-results p {
    margin: 5px 0;
    font-size: 16px;
} 