/* ============================================
   RESET & BASE
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121f;
    --bg-card: #1a1a2e;
    --bg-card-hover: #222240;
    --bg-input: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.06);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.3);
    --accent-blue: #00b4ff;
    --accent-purple: #7c3aed;
    --accent-red: #ff4444;
    --accent-green: #22c55e;
    --accent-orange: #f59e0b;
    --sidebar-width: 260px;
    --header-height: 70px;
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* ============================================
   SIDEBAR
============================================ */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: var(--transition);
}

.sidebar-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 2px;
    position: relative;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.nav-item.active {
    background: rgba(0, 180, 255, 0.08);
    color: var(--accent-blue);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: var(--accent-blue);
    border-radius: 0 4px 4px 0;
}

.nav-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.nav-text {
    font-size: 14px;
    font-weight: 500;
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 180, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-role {
    font-size: 11px;
    color: var(--text-muted);
}

.logout-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.logout-btn:hover {
    color: var(--accent-red);
    background: rgba(255, 68, 68, 0.1);
}

/* ============================================
   MAIN CONTENT
============================================ */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    padding: 0;
}

/* ============================================
   TOP HEADER
============================================ */
.top-header {
    padding: 20px 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-left h1 {
    font-size: 22px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    display: block;
    margin-top: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-stats {
    display: flex;
    gap: 16px;
}

.stat-badge {
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot.live {
    background: var(--accent-green);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.refresh-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    transform: rotate(90deg);
}

/* ============================================
   PAGES
============================================ */
.page-content {
    display: none;
    padding: 24px 32px 40px;
    animation: fadeIn 0.3s ease;
}

.page-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   FILTER BAR
============================================ */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.filter-group {
    display: flex;
    gap: 6px;
    background: var(--bg-card);
    padding: 4px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.filter-btn {
    padding: 6px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--accent-blue);
    color: #fff;
}

.filter-select {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    outline: none;
}

.filter-select option {
    background: var(--bg-secondary);
}

/* ============================================
   STATS GRID
============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.stat-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 180, 255, 0.05);
    border-radius: var(--radius);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* ============================================
   CHART
============================================ */
.chart-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 28px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.chart-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.chart-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.chart-wrapper {
    height: 280px;
    position: relative;
}

/* ============================================
   RECENT SECTION
============================================ */
.recent-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.section-badge {
    font-size: 11px;
    color: var(--accent-green);
    background: rgba(34, 197, 94, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.recent-list {
    min-height: 80px;
}

.empty-state {
    color: var(--text-muted);
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

/* ============================================
   PLAYERS TABLE
============================================ */
.players-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.players-header h2 {
    font-size: 20px;
}

.search-box {
    display: flex;
    gap: 8px;
}

.search-box input {
    padding: 8px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    width: 250px;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 180, 255, 0.05);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box button {
    padding: 8px 16px;
    background: var(--accent-blue);
    border: none;
    border-radius: var(--radius);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--accent-purple);
}

.players-table-wrapper {
    overflow-x: auto;
}

.players-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.players-table thead {
    background: var(--bg-secondary);
}

.players-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.players-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.players-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.players-table .player-name {
    color: var(--text-primary);
    font-weight: 500;
}

.action-btn-small {
    padding: 4px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 4px;
}

.action-btn-small.view {
    background: rgba(0, 180, 255, 0.1);
    color: var(--accent-blue);
}

.action-btn-small.view:hover {
    background: rgba(0, 180, 255, 0.2);
}

.action-btn-small.ban {
    background: rgba(255, 68, 68, 0.1);
    color: var(--accent-red);
}

.action-btn-small.ban:hover {
    background: rgba(255, 68, 68, 0.2);
}

.action-btn-small.mute {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-orange);
}

.action-btn-small.mute:hover {
    background: rgba(245, 158, 11, 0.2);
}

/* ============================================
   BANS PAGE
============================================ */
.bans-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.bans-header h2 {
    font-size: 20px;
}

.bans-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-card);
    padding: 4px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.tab-btn {
    padding: 6px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--accent-blue);
    color: #fff;
}

/* ============================================
   LIVE PAGE
============================================ */
.live-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    height: calc(100vh - 140px);
}

.live-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
    overflow-y: auto;
}

.live-rooms h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.room-item {
    padding: 10px 14px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.room-item.active {
    background: rgba(0, 180, 255, 0.08);
    border-left: 3px solid var(--accent-blue);
}

.room-name {
    font-size: 13px;
    color: var(--text-secondary);
}

.room-players {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-primary);
    padding: 2px 10px;
    border-radius: 12px;
}

.live-main {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 16px;
}

.live-chat {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 14px;
    font-weight: 600;
}

.chat-header span {
    font-size: 12px;
    color: var(--text-muted);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    min-height: 200px;
    max-height: 300px;
}

.chat-message {
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.chat-message .msg-player {
    color: var(--accent-blue);
    font-weight: 600;
}

.chat-message .msg-text {
    color: var(--text-secondary);
}

.chat-message .msg-time {
    color: var(--text-muted);
    font-size: 11px;
    margin-right: 8px;
}

.chat-input {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
}

.chat-input input {
    flex: 1;
    padding: 8px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
}

.chat-input input:focus {
    border-color: var(--accent-blue);
}

.chat-input input:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.chat-input button {
    padding: 8px 20px;
    background: var(--accent-blue);
    border: none;
    border-radius: var(--radius);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input button:hover {
    background: var(--accent-purple);
}

.chat-input button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.live-game {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
}

.game-status {
    display: flex;
    align-items: center;
    gap: 20px;
}

.game-status h3 {
    font-size: 14px;
    font-weight: 600;
}

.game-score {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.score-red {
    color: var(--accent-red);
}

.score-blue {
    color: var(--accent-blue);
}

.score-vs {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
}

.game-teams {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.team-red span {
    color: var(--accent-red);
    font-weight: 600;
}

.team-blue span {
    color: var(--accent-blue);
    font-weight: 600;
}

.game-timer {
    font-size: 14px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.game-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn.ban-btn {
    background: rgba(255, 68, 68, 0.1);
    color: var(--accent-red);
}

.action-btn.ban-btn:hover {
    background: rgba(255, 68, 68, 0.2);
}

.action-btn.mute-btn {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-orange);
}

.action-btn.mute-btn:hover {
    background: rgba(245, 158, 11, 0.2);
}

.action-btn.kick-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.action-btn.kick-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   SEARCH PAGE
============================================ */
.search-container {
    max-width: 900px;
    margin: 0 auto;
}

.search-hero {
    text-align: center;
    padding: 40px 0 30px;
}

.search-hero h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.search-input-group {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.search-input-group input {
    flex: 1;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.search-input-group input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 30px rgba(0, 180, 255, 0.05);
}

.search-input-group button {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border: none;
    border-radius: var(--radius);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 180, 255, 0.2);
}

.search-results {
    margin-top: 30px;
}

/* ============================================
   MODAL
============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--bg-secondary);
    z-index: 1;
}

.modal-header h2 {
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.modal-body {
    padding: 24px;
}

/* ============================================
   SETTINGS
============================================ */
.settings-container {
    max-width: 700px;
    margin: 0 auto;
}

.settings-group {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}

.settings-group h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item label {
    font-size: 14px;
    color: var(--text-secondary);
}

.setting-item input {
    width: 120px;
    padding: 6px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    text-align: center;
    outline: none;
}

.setting-item input:focus {
    border-color: var(--accent-blue);
}

.save-settings-btn {
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border: none;
    border-radius: var(--radius);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.save-settings-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 180, 255, 0.2);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .live-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    .live-sidebar {
        max-height: 200px;
    }
    .live-main {
        grid-template-rows: 300px auto;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .sidebar-toggle {
        display: block;
    }
    .main-content {
        margin-left: 0;
    }
    .top-header {
        padding: 16px;
        flex-wrap: wrap;
        gap: 12px;
    }
    .header-left h1 {
        font-size: 18px;
    }
    .page-content {
        padding: 16px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-group {
        flex-wrap: wrap;
    }
    .players-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .search-box input {
        width: 100%;
    }
    .live-game {
        grid-template-columns: 1fr;
    }
    .game-actions {
        justify-content: center;
    }
    .game-score {
        font-size: 20px;
    }
    .chat-messages {
        max-height: 200px;
    }
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    .search-input-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .header-stats {
        flex-wrap: wrap;
    }
    .bans-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
}
