/* ========================================
   Bans Page - Design System Styles
   ======================================== */

/* Type selector pills */
.bans-type-pill {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50rem;
    padding: 0.375rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.bans-type-pill:hover {
    background: rgba(13, 202, 240, 0.1);
    border-color: rgba(13, 202, 240, 0.4);
    color: #fff;
}

.bans-type-pill.active {
    background: rgba(13, 202, 240, 0.2);
    border-color: #0dcaf0;
    color: #0dcaf0;
    box-shadow: 0 0 12px rgba(13, 202, 240, 0.2);
}

/* Filter card */
.bans-filter-card {
    background: rgba(15, 22, 33, 0.6);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.bans-filter-card:hover {
    border-color: rgba(13, 202, 240, 0.25);
}

/* Glass progress bar */
.bans-progress {
    position: relative;
    height: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bans-progress-bar {
    height: 100%;
    border-radius: 50rem;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bans-progress-bar.bar-active {
    background: linear-gradient(90deg, #ffc107 0%, #fd7e14 100%);
}

.bans-progress-bar.bar-expired {
    background: linear-gradient(90deg, #198754 0%, #20c997 100%);
}

.bans-progress-bar.bar-permanent {
    background: linear-gradient(90deg, #dc3545 0%, #e35d6a 100%);
}

.bans-progress-bar.bar-bugged {
    background: linear-gradient(90deg, #0d6efd 0%, #6ea8fe 100%);
}

.bans-progress-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 600;
    font-size: 0.7rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 4px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

/* Steam link icon button */
.bans-steam-link {
    color: rgba(13, 202, 240, 0.6);
    transition: color 0.2s ease;
    text-decoration: none;
}

.bans-steam-link:hover {
    color: #0dcaf0;
}

/* Edit button */
.bans-edit-btn {
    background: transparent;
    color: rgba(13, 202, 240, 0.7);
    border: 1px solid rgba(13, 202, 240, 0.3);
    border-radius: 0.5rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.bans-edit-btn:hover {
    background: rgba(13, 202, 240, 0.15);
    border-color: #0dcaf0;
    color: #0dcaf0;
}

/* Add sanction button */
.bans-add-btn {
    background: transparent;
    color: rgba(255, 193, 7, 0.8);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 0.5rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.bans-add-btn:hover {
    background: rgba(255, 193, 7, 0.15);
    border-color: #ffc107;
    color: #ffc107;
}

/* Pagination */
.bans-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.375rem;
}

.bans-page-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-width: 2rem;
    text-align: center;
}

.bans-page-btn:hover:not(:disabled) {
    background: rgba(13, 202, 240, 0.1);
    border-color: rgba(13, 202, 240, 0.4);
    color: #fff;
}

.bans-page-btn.active {
    background: rgba(13, 202, 240, 0.2);
    border-color: #0dcaf0;
    color: #0dcaf0;
}

.bans-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Typography helpers */
.bans-steamid {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

.bans-player-name {
    font-weight: 500;
    color: #fff;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bans-admin-name {
    color: rgba(255, 255, 255, 0.65);
}

.bans-reason {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.7);
}

.bans-ends-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Empty state */
.bans-empty-icon {
    color: rgba(13, 202, 240, 0.3);
}

/* Glass form controls — transparent bg so parent glass surface shows through */
.bans-filter-card .form-control,
.bans-filter-card .form-select,
.modal-content-modern .form-control,
.modal-content-modern .form-select {
    background: rgba(15, 22, 33, 0.7);
    border-color: rgba(255, 255, 255, 0.12);
}

.bans-filter-card .form-control:focus,
.bans-filter-card .form-select:focus,
.modal-content-modern .form-control:focus,
.modal-content-modern .form-select:focus {
    background: rgba(15, 22, 33, 0.85);
    border-color: rgba(13, 202, 240, 0.6);
    box-shadow: 0 0 0 3px rgba(13, 202, 240, 0.12);
}
