/* 
 * FragBans CS:GO - Refined CSS Overrides
 */

:root {
    --fg-blue: #ff0000;
    --fg-cyan: #ff4040;
    --fg-danger: #ff0000;
    --fg-warning: #f59e0b;
    --fg-success: #00dc64;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    color-scheme: dark;
}

/* Force dark backgrounds for selects/datalists/inputs */
input,
select,
textarea,
datalist,
option {
    background-color: #121212 !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

select option {
    background-color: #1a1a1a !important;
    color: white !important;
}


#fragBansTable {
    width: 100% !important;
    min-width: 1300px !important;
    /* Allow room for long data */
    table-layout: fixed !important;
    border-collapse: collapse !important;
    display: table !important;
    margin: 0 !important;
}

thead {
    display: table-header-group !important;
    width: 100% !important;
}

tbody {
    display: table-row-group !important;
    width: 100% !important;
}

/* FIX: Target only main rows for expansion logic */
.ban-row {
    display: table-row !important;
    width: 100% !important;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.01);
    animation: rowEntrance 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
    transition: background 0.3s, transform 0.2s;
}

th {
    padding: 22px 10px !important;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ff4d4d;
    font-weight: 900;
    text-align: center !important;
    /* Header Centering */
    border-bottom: 2px solid rgba(255, 77, 77, 0.15);
    background: transparent !important;
    display: table-cell !important;
    box-sizing: border-box !important;
}

/* COLUMN WIDTHS - RESTORED 6 COLUMNS */
.col-mod { width: 8% !important; }
.col-date { width: 16% !important; }
.col-nick { width: 30% !important; }
.col-admin { width: 16% !important; }
.col-length { width: 15% !important; }
.col-progress { width: 15% !important; }

/* Hide forensic columns from main table */
.col-ip, .col-ai { display: none !important; }

td {
    padding: 20px 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.05rem;
    color: white;
    vertical-align: middle !important;
    text-align: center !important;
    /* Data Centering - CRITICAL */
    display: table-cell !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box !important;
}

tr.ban-row:hover td {
    background: rgba(255, 0, 0, 0.12) !important;
    color: white;
    box-shadow: inset 0 0 15px rgba(255, 0, 0, 0.05);
}

tr.ban-row.status-expired:hover td {
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.02);
}

tr.ban-row.status-unbanned:hover td {
    background: rgba(0, 255, 100, 0.12) !important;
    box-shadow: inset 0 0 15px rgba(0, 255, 100, 0.05);
}

tr.ban-row:active {
    transform: scale(0.998);
}

/* Badges & Progress */
.badge {
    padding: 6px 12px;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

.badge-permanent {
    background: rgba(255, 0, 0, 0.15);
    color: #ff3030;
    border: 1px solid rgba(255, 0, 0, 0.4);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
}

.badge-active {
    background: rgba(245, 158, 11, 0.15);
    color: #ffb100;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-expired {
    background: rgba(0, 220, 100, 0.1);
    color: #00dc64;
    border: 1px solid rgba(0, 220, 100, 0.3);
}

.badge-unban,
.badge-unbanned {
    background: rgba(0, 150, 255, 0.15);
    color: #00B4FF;
    border: 1px solid rgba(0, 150, 255, 0.4);
    box-shadow: 0 0 10px rgba(0, 150, 255, 0.1);
}

.badge-ac {
    background: rgba(245, 158, 11, 0.15);
    color: #ff9d00;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-cheat {
    background: rgba(255, 50, 50, 0.2);
    color: #ff4040;
    border: 1px solid rgba(255, 50, 50, 0.5);
    font-weight: 800;
}

.badge-expired-white {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.badge-mini {
    padding: 3px 8px;
    font-size: 10.5px;
    font-weight: 800;
    min-width: unset;
    margin-left: 6px;
    vertical-align: middle;
    border-radius: 4px;
}

.badge-multi {
    background: linear-gradient(45deg, #ff00a0, #bd00ff);
    color: white;
    border: 1px solid rgba(255, 0, 160, 0.4);
    box-shadow: 0 0 10px rgba(255, 0, 160, 0.6);
    animation: glow-multi 1.5s infinite alternate;
}

@keyframes glow-multi {
    0% {
        box-shadow: 0 0 5px rgba(255, 0, 160, 0.4);
    }

    100% {
        box-shadow: 0 0 15px rgba(255, 0, 160, 0.9), 0 0 20px rgba(189, 0, 255, 0.7);
    }
}

.linked-acc-btn {
    background: rgba(255, 0, 160, 0.15);
    border: 1px solid rgba(255, 0, 160, 0.3);
    color: #ffb8e0;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: 0.2s;
    font-weight: 600;
}

.linked-acc-btn:hover {
    background: rgba(255, 0, 160, 0.3);
    border-color: rgba(255, 0, 160, 0.5);
    color: #ffffff;
    box-shadow: 0 0 8px rgba(255, 0, 160, 0.4);
}

.progress-container {
    width: 140px;
    height: 6px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin: 0 auto !important;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-fill.red {
    background: #ff0000;
    box-shadow: 0 0 12px #ff0000;
}

.progress-fill.orange {
    background: #ff8c00;
    box-shadow: 0 0 10px #ff8c00;
}

.progress-fill.green {
    background: #00dc64;
    opacity: 0.6;
}

/* SEARCH & FILTERS */
.refined-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 0 5px;
    gap: 20px;
}

.search-and-filter {
    display: flex;
    align-items: center;
    gap: 25px;
}

.refined-search {
    position: relative;
    width: 350px;
}

.refined-search .material-symbols-outlined {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff0000;
    /* Standard Red */
    font-size: 20px;
    opacity: 0.8;
}

.refined-search input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 0, 0, 0.15);
    border-radius: 6px;
    padding: 10px 10px 10px 40px;
    color: white;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: all 0.3s;
}

.refined-search input:focus {
    border-color: #ff0000;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.15);
}

/* CUSTOM NEON CHECKBOX */
.refined-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.refined-checkbox:hover {
    color: white;
}

.refined-checkbox input {
    display: none;
}

.refined-checkbox span::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 0, 0, 0.2);
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

.refined-checkbox input:checked+span::before {
    background: #ff0000;
    border-color: white;
    box-shadow: 0 0 12px #ff0000;
}

/* PREMIUM PAGINATION */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-bottom: 40px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(0, 210, 255, 0.3);
    transform: translateY(-2px);
}

.page-btn.active {
    background: var(--fg-cyan);
    color: black;
    border-color: white;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.page-btn.disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

/* MANUAL PAGE JUMPER */
.page-jumper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.page-jumper span {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

.page-jumper input {
    width: 60px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 6px;
    color: white;
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-jumper input:focus {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.05);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.15);
}

/* Hide number arrows */
.page-jumper input::-webkit-outer-spin-button,
.page-jumper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Tab Switching */
.tab-container {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.02);
    padding: 5px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn {
    padding: 8px 20px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    background: var(--fg-cyan);
    color: black;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.tab-btn:active,
.page-btn:active {
    transform: scale(0.95);
}

/* Legacy Row Expansion & Modal Styles Removed - Switched to Premium JS implementation */
/* 
.details-row, .details-content, .details-list, .detail-row-item {
    display: none !important;
}
*/


.media-placeholder {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-style: italic;
    font-size: 0.9rem;
}

/* ADVANCED SEARCH UI */
.advanced-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0 30px;
}

.advanced-search-btn {
    background: #141d26;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 10px 24px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.advanced-search-btn:hover {
    background: #1c2936;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.advanced-search-btn .material-symbols-outlined {
    font-size: 1.2rem;
}

.advanced-search-panel.active {
    display: block;
}

/* UNIFIED SEARCH ACTION BAR */
.search-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 10px;
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: 4px;
    padding: 2px 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1100;
    height: 40px;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-input-wrapper .material-symbols-outlined {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff3030;
    font-size: 20px;
    opacity: 0.7;
    pointer-events: none;
}

.search-input-wrapper input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 3px;
    padding: 4px 8px 4px 40px;
    color: #fff;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    outline: none;
    transition: all 0.3s;
}

.search-input-wrapper input:focus {
    background: rgba(255, 0, 0, 0.05);
    border-color: #ff3030;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.1);
}

.filter-group {
    display: flex;
    gap: 10px;
}

.filter-group select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 5px 10px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 90px;
    appearance: none;
    /* Try to kill native looks */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 28px;
}

.filter-group select option {
    background: #0d1117 !important;
    color: #fff !important;
    padding: 8px;
}

.filter-group select:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 48, 48, 0.3);
}

.filter-group select:focus {
    border-color: #ff3030;
    color: white;
}

.settings-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px 14px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.settings-toggle-btn:hover,
.settings-toggle-btn.active {
    background: rgba(255, 48, 48, 0.2);
    border-color: rgba(255, 48, 48, 0.4);
    color: #ff3030;
}

.settings-toggle-btn span {
    color: inherit;
    font-size: 20px;
}

.advanced-dropdown-panel {
    position: absolute;
    top: 100%;
    /* Snap to bottom of bar */
    margin-top: 5px;
    right: -20px;
    width: 360px;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 50, 50, 0.3);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
    display: none;
    flex-direction: column;
    gap: 15px;
    z-index: 2100;
}

.advanced-dropdown-panel.active {
    display: flex;
    animation: slideInDown 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-section {
    margin-bottom: 20px;
}

.panel-section:last-child {
    margin-bottom: 0;
}

.panel-section label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.panel-section label .material-symbols-outlined {
    font-size: 18px;
    color: #ff3030;
}

.badge-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.filter-badge {
    cursor: pointer;
    opacity: 0.65;
    transition: all 0.2s;
    user-select: none;
    margin: 0 !important;
    border: 1px solid transparent;
}

.filter-badge:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.filter-badge.active {
    opacity: 1;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 15px currentColor;
    font-weight: bold;
}

.filter-badge[data-value=""] {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 4px;
}

.filter-badge[data-value=""]:hover {
    background: rgba(255, 255, 255, 0.12);
}

.filter-badge[data-value=""].active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Cheat Badges */
.badge-ac {
    background-color: rgba(255, 140, 0, 0.15) !important;
    color: #ff9d00 !important;
    border: 1px solid rgba(255, 140, 0, 0.3) !important;
}

.badge-aim,
.badge-wh,
.badge-spin,
.badge-bh,
.badge-cheat {
    background-color: rgba(255, 64, 64, 0.15) !important;
    color: #ff6060 !important;
    border: 1px solid rgba(255, 64, 64, 0.3) !important;
}

.badge-multi,
.badge-multi-acc {
    background-color: rgba(255, 0, 160, 0.15) !important;
    color: #ff00a0 !important;
    border: 1px solid rgba(255, 0, 160, 0.3) !important;
}

.panel-section select,
.panel-section input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px;
    color: white;
    font-family: 'Poppins', sans-serif;
    outline: none;
}

.dual-row {
    display: flex;
    gap: 10px;
}

.dual-row input {
    flex: 1;
}

.dual-row select {
    flex: 1.5;
}

.panel-section label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    cursor: pointer;
}

.panel-section label input[type="checkbox"] {
    margin: 0;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.panel-actions {
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.apply-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff4b2b, #ff416c) !important;
    color: white !important;
    border: none !important;
    border-radius: 4px;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    display: block;
    box-shadow: 0 4px 15px rgba(255, 75, 43, 0.3);
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 75, 43, 0.5);
    filter: brightness(1.1);
}

.results-counter {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 15px;
}

.results-counter span {
    color: #ff3030;
    font-size: 1rem;
    margin: 0 3px;
}

/* MOBILE RESPONSIVENESS FOR SEARCH BAR */
@media (max-width: 900px) {
    .search-action-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }

    .filter-group {
        justify-content: space-between;
    }

    .filter-group select {
        flex: 1;
    }

    .results-counter {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-top: 10px;
        text-align: center;
    }
}

/* SORTING UI */
th[data-sort] {
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    user-select: none;
}

th[data-sort]:hover {
    background: rgba(255, 0, 0, 0.1) !important;
}

.sort-icon {
    font-size: 1rem !important;
    vertical-align: middle;
    margin-left: 4px;
    opacity: 0.3;
    transition: all 0.3s;
}

.sort-icon.active {
    opacity: 1;
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
        filter: brightness(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.adv-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.adv-row {
    display: grid;
    grid-template-columns: 40px 180px 1fr;
    align-items: center;
}

.adv-indicator {
    width: 14px;
    height: 14px;
    border: 2px solid #00a2ff;
    border-radius: 50%;
    margin-right: 15px;
}

.adv-row label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.adv-inputs {
    display: flex;
    gap: 10px;
}

.adv-inputs input,
.adv-inputs select {
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 10px 15px;
    color: white;
    width: 100%;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.adv-inputs input:focus,
.adv-inputs select:focus {
    border-color: #00a2ff;
    box-shadow: 0 0 10px rgba(0, 162, 255, 0.15);
}

.adv-inputs.dual input {
    width: 40%;
}

.adv-inputs.dual select {
    width: 60%;
}

.adv-inputs.triple input {
    width: 80px;
    text-align: center;
}

.adv-inputs.dual-select select:first-child {
    width: 80px;
}

.adv-inputs.dual-select select:last-child {
    width: calc(100% - 90px);
}

.adv-footer {
    margin-top: 30px;
    display: flex;
    justify-content: flex-start;
    padding-left: 220px;
    /* Aligned with inputs */
}

.search-action-btn {
    background: #006b3d;
    border: 1px solid #008f51;
    border-radius: 4px;
    color: white;
    padding: 10px 40px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: capitalize;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s;
}

.search-action-btn:hover {
    background: #008f51;
    box-shadow: 0 0 15px rgba(0, 255, 100, 0.2);
    transform: translateY(-1px);
}

/* GLOBAL ANIMATIONS */
@keyframes rowEntrance {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contentExpand {
    from {
        opacity: 0;
        transform: translateY(-10px) scaleY(0.95);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        /* Opaque element, background handled via rgba */
        transform: translateY(0) scaleY(1);
        filter: blur(0);
    }
}

@keyframes pulseBorder {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.page-btn.active {
    animation: pulseBorder 2s infinite !important;
}

/* Loader */
.refined-loader {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem;
    color: var(--fg-cyan);
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.refined-loader .material-symbols-outlined {
    font-size: 3.5rem !important;
    animation: spin 1.2s linear infinite;
    display: inline-block;
}

.refined-loader span:not(.material-symbols-outlined) {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   PREMIUM BAN DETAILS MODAL - CYBER BLUE OVERRIDE
   ========================================================================== */

body .ban-details-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999999 !important;
    background: rgba(8, 8, 10, 0.95) !important;
    backdrop-filter: blur(25px) saturate(2) !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px !important;
    opacity: 0;
    transition: opacity 0.4s ease;
}

body .ban-details-overlay.active {
    display: flex !important;
    opacity: 1 !important;
}

body .ban-details-modal {
    width: 100% !important;
    max-width: 720px !important;
    background: #0a0a0c !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 20px !important;
    box-shadow: 0 40px 150px rgba(0, 0, 0, 1), 0 0 0 1px rgba(255, 255, 255, 0.02) !important;
    overflow: hidden !important;
    transform: translateY(40px) !important;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

body .ban-details-overlay.active .ban-details-modal {
    transform: translateY(0) !important;
}

/* HEADER */
body .ban-modal-hdr {
    background: rgba(255, 255, 255, 0.02) !important;
    padding: 30px 40px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body .hdr-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.15rem !important;
    letter-spacing: 0.05em !important;
    color: #fff !important;
    margin: 0 !important;
    text-transform: uppercase !important;
}

body .hdr-icon {
    font-size: 36px !important;
    color: #ff3c3c !important;
    margin-right: 15px !important;
    filter: drop-shadow(0 0 10px rgba(255, 60, 60, 0.4)) !important;
}

body .hdr-close {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s !important;
}

body .hdr-close:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    transform: rotate(90deg) !important;
}

/* BODY internals */
body .ban-modal-body {
    padding: 30px 40px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    max-height: 70vh !important;
    background: transparent !important;
}

body .info-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

body .group-hdr {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 850 !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.25) !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
}

body .group-box {
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    border-radius: 14px !important;
    padding: 20px 25px !important;
}

body .box-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

body .box-item label {
    display: block !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.25) !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
}

body .box-item .val {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #fff !important;
}

body .val.highlight {
    font-weight: 800 !important;
    font-size: 1.1rem !important;
}

body .val.steamid-box {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.8rem !important;
    color: #ff3c3c !important;
    background: rgba(255, 60, 60, 0.08) !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    display: inline-block !important;
}

body .val.ip-masked {
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.1em !important;
}

body .val.duration-val {
    color: #ffc107 !important;
}

/* REASON BUBBLE */
body .reason-bubble {
    background: rgba(0,0,0,0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.02) !important;
    border-left: 4px solid #ff3c3c !important;
    border-radius: 10px !important;
    padding: 15px 20px !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-style: italic !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}

/* FOOTER */
body .ban-modal-foot {
    padding: 30px 40px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

body .btn-close-action {
    background: #ff3c3c !important;
    border: none !important;
    color: #fff !important;
    padding: 14px 45px !important;
    border-radius: 12px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.05rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 5px 25px rgba(255, 60, 60, 0.3) !important;
}

body .btn-close-action:hover {
    transform: scale(1.05) translateY(-2px) !important;
    box-shadow: 0 10px 35px rgba(255, 60, 60, 0.5) !important;
}

body .copy-link-box {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    padding: 10px 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    width: 320px !important;
}

body .copy-link-box label {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.2) !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

body .copy-link-box input {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    width: 100% !important;
    outline: none !important;
}

@media (max-width: 650px) {
    body .box-grid { grid-template-columns: 1fr !important; }
    body .ban-details-modal { border-radius: 0 !important; }
    body .copy-link-box { width: 100% !important; margin-bottom: 15px; }
    body .ban-modal-foot { flex-direction: column !important; }
}