/* ===== Bans Page Styles ===== */

.bans-section {
    padding: 60px 0 100px;
    background: var(--secondary-bg);
}

/* Controls */
.bans-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.search-box {
    position: relative;
    width: 300px;
}

.search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.filter-tabs {
    display: flex;
    gap: 10px;
    background: rgba(30, 41, 59, 0.8);
    padding: 5px;
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.filter-btn {
    padding: 8px 20px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Table */
.bans-table-wrapper {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 20px;
    overflow: hidden;
    overflow-x: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.bans-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.bans-table th {
    text-align: left;
    padding: 20px 25px;
    background: rgba(15, 23, 42, 0.5);
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.bans-table td {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.05);
    color: var(--text-primary);
    transition: background 0.2s ease;
}

.bans-table tr:last-child td {
    border-bottom: none;
}

.bans-table tbody tr:hover td {
    background: rgba(99, 102, 241, 0.05);
}

/* Player cells */
.player-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-head {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #1e293b;
}

/* Status Badges */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.active {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success-color);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.expired {
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-secondary);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.status-badge.permanent {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error-color);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Loading */
.loading-row {
    text-align: center;
    padding: 50px !important;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: rgba(30, 41, 59, 0.8);
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .bans-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        width: 100%;
    }

    .filter-tabs {
        overflow-x: auto;
        padding: 5px;
    }

    .filter-btn {
        flex-shrink: 0;
    }
}