/* Secular Dashboard - Apple-inspired Dark Theme */

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #141414;
    --bg-card: rgba(28, 28, 30, 0.8);
    --bg-hover: rgba(255, 255, 255, 0.05);
    --bg-glass: rgba(28, 28, 30, 0.72);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.4);

    --accent-primary: #c41e3a;
    --accent-primary-light: #e63950;
    --accent-primary-dark: #8b1528;
    --accent-blue: #0a84ff;
    --accent-green: #30d158;
    --accent-orange: #ff9f0a;
    --accent-red: #ff453a;
    --accent-purple: #bf5af2;
    --accent-cyan: #64d2ff;

    --border-color: rgba(255, 255, 255, 0.1);
    --border-subtle: rgba(255, 255, 255, 0.05);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(196, 30, 58, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Hidden */
.hidden {
    display: none !important;
}

/* ============ LOGIN SCREEN ============ */
.login-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    background-image:
        radial-gradient(ellipse at top, rgba(196, 30, 58, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(139, 21, 40, 0.08) 0%, transparent 50%);
}

.login-container {
    width: 100%;
    max-width: 380px;
    padding: 48px;
    background: var(--bg-glass);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.login-logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-dark));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 16px;
    box-shadow: 0 8px 32px rgba(196, 30, 58, 0.4);
}

.login-logo h1 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.login-logo .tagline {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.15);
}

.input-group input::placeholder {
    color: var(--text-tertiary);
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}

.btn-primary:hover {
    background: var(--accent-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.error-message {
    color: var(--accent-red);
    font-size: 13px;
    text-align: center;
    min-height: 20px;
}

.login-footer {
    position: fixed;
    bottom: 24px;
    color: var(--text-tertiary);
    font-size: 12px;
}

/* ============ DASHBOARD ============ */
.dashboard {
    display: flex;
    height: 100vh;
    background: var(--bg-primary);
}

/* Sidebar */
.sidebar {
    width: 240px;
    height: 100vh;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
}

.sidebar-header {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.logo-small {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.sidebar-header span {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.nav-menu {
    list-style: none;
    padding: 16px 12px;
    flex: 1;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-item span {
    font-size: 14px;
    font-weight: 500;
}

.nav-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-item.active {
    background: rgba(196, 30, 58, 0.15);
    color: var(--accent-primary-light);
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-subtle);
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-logout svg {
    width: 18px;
    height: 18px;
}

.btn-logout:hover {
    background: rgba(255, 69, 58, 0.1);
    border-color: var(--accent-red);
    color: var(--accent-red);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 240px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header */
.header {
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.header-time {
    font-size: 13px;
    color: var(--text-tertiary);
    font-variant-numeric: tabular-nums;
}

/* Content Area */
.content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
    background: var(--bg-primary);
}

/* Pages */
.page {
    display: none;
    animation: fadeIn 0.3s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-card.large {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-icon.blue {
    background: rgba(196, 30, 58, 0.15);
    color: var(--accent-primary-light);
}

.stat-icon.green {
    background: rgba(48, 209, 88, 0.15);
    color: var(--accent-green);
}

.stat-icon.orange {
    background: rgba(255, 159, 10, 0.15);
    color: var(--accent-orange);
}

.stat-icon.purple {
    background: rgba(191, 90, 242, 0.15);
    color: var(--accent-purple);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
}

.stat-value.large {
    font-size: 36px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.stat-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-header h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.stat-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-badge.green {
    background: rgba(48, 209, 88, 0.15);
    color: var(--accent-green);
}

.stat-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: var(--accent-green);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.stat-bar-fill.orange {
    background: var(--accent-orange);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

/* Cards */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
}

.card-header h3 {
    font-size: 15px;
    font-weight: 600;
}

.view-all {
    font-size: 13px;
    color: var(--accent-primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--accent-primary);
}

.card-content {
    padding: 16px 24px;
    max-height: 360px;
    overflow-y: auto;
}

/* Violations List */
.violations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.violation-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.violation-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.violation-player {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.player-head {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--bg-tertiary);
}

.violation-player span {
    font-size: 14px;
    font-weight: 500;
}

.violation-check {
    flex: 1;
    font-size: 13px;
    color: var(--text-secondary);
}

.violation-vl {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-orange);
    padding: 4px 10px;
    background: rgba(255, 159, 10, 0.1);
    border-radius: 6px;
}

.violation-time {
    font-size: 12px;
    color: var(--text-tertiary);
    min-width: 60px;
    text-align: right;
}

/* Players List */
.players-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.player-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.player-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.player-item .player-head {
    width: 28px;
    height: 28px;
}

.player-item .name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.player-item .vl {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-red);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-tertiary);
    font-size: 14px;
}

/* Search Box */
.page-header {
    margin-bottom: 24px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    max-width: 400px;
}

.search-box svg {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
}

.search-box input:focus {
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-tertiary);
}

/* Data Table */
.table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-subtle);
}

.data-table td {
    padding: 16px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.data-table .player-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.data-table .player-head {
    width: 32px;
    height: 32px;
}

.trust-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.trust-badge.trusted {
    background: rgba(48, 209, 88, 0.15);
    color: var(--accent-green);
}

.trust-badge.neutral {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.trust-badge.suspicious {
    background: rgba(255, 159, 10, 0.15);
    color: var(--accent-orange);
}

.trust-badge.untrusted {
    background: rgba(255, 69, 58, 0.15);
    color: var(--accent-red);
}

.actions-cell {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-sm.view {
    background: rgba(196, 30, 58, 0.15);
    color: var(--accent-primary-light);
}

.btn-sm.view:hover {
    background: rgba(196, 30, 58, 0.25);
}

.btn-sm.kick {
    background: rgba(255, 159, 10, 0.15);
    color: var(--accent-orange);
}

.btn-sm.kick:hover {
    background: rgba(255, 159, 10, 0.25);
}

/* Checks Grid */
.checks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.check-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.check-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.check-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.check-info span {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
}

.check-toggle {
    position: relative;
    width: 44px;
    height: 26px;
}

.check-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.check-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 13px;
    transition: var(--transition);
}

.check-toggle .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.check-toggle input:checked + .slider {
    background: var(--accent-green);
}

.check-toggle input:checked + .slider:before {
    transform: translateX(18px);
}

/* Violations Feed */
.violations-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.violation-feed-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition);
}

.violation-feed-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.violation-feed-item .player-head {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.violation-feed-content {
    flex: 1;
}

.violation-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.violation-feed-header h4 {
    font-size: 14px;
    font-weight: 600;
}

.violation-feed-header time {
    font-size: 12px;
    color: var(--text-tertiary);
}

.violation-feed-check {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.violation-feed-info {
    font-size: 12px;
    color: var(--text-tertiary);
    font-family: 'SF Mono', 'Fira Code', monospace;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 12px;
    border-radius: 6px;
}

/* Reports List */
.reports-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.report-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.report-id {
    font-size: 12px;
    color: var(--text-tertiary);
}

.report-players {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
}

.report-player {
    display: flex;
    align-items: center;
    gap: 10px;
}

.report-player img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.report-player .label {
    font-size: 11px;
    color: var(--text-tertiary);
    text-transform: uppercase;
}

.report-player .name {
    font-size: 14px;
    font-weight: 500;
}

.report-arrow {
    color: var(--text-tertiary);
    font-size: 20px;
}

.report-reason {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 16px;
}

.report-actions {
    display: flex;
    gap: 12px;
}

.btn-report {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-report.accept {
    background: var(--accent-green);
    color: white;
}

.btn-report.accept:hover {
    background: #28c24d;
}

.btn-report.deny {
    background: rgba(255, 69, 58, 0.15);
    color: var(--accent-red);
}

.btn-report.deny:hover {
    background: rgba(255, 69, 58, 0.25);
}

/* Performance */
.checks-perf-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-perf-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.check-perf-item .name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.check-perf-item .time {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-orange);
    font-variant-numeric: tabular-nums;
}

/* ============ MODAL ============ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 520px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
}

.player-modal-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.player-head-large {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--bg-hover);
}

.player-modal-info h2 {
    font-size: 20px;
    font-weight: 600;
}

.uuid {
    font-size: 11px;
    color: var(--text-tertiary);
    font-family: monospace;
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.player-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.player-stat {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 12px;
}

.player-stat .label {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.player-stat .value {
    font-size: 18px;
    font-weight: 600;
}

.player-violations h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

#modal-violations-list {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.modal-violation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.modal-violation-item .check {
    font-size: 13px;
    font-weight: 500;
}

.modal-violation-item .vl {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-orange);
}

.player-actions {
    display: flex;
    gap: 12px;
}

.btn-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-action svg {
    width: 16px;
    height: 16px;
}

.btn-action.kick {
    background: rgba(255, 159, 10, 0.15);
    color: var(--accent-orange);
}

.btn-action.kick:hover {
    background: rgba(255, 159, 10, 0.25);
}

.btn-action.ban {
    background: rgba(255, 69, 58, 0.15);
    color: var(--accent-red);
}

.btn-action.ban:hover {
    background: rgba(255, 69, 58, 0.25);
}

.btn-action.reset {
    background: rgba(196, 30, 58, 0.15);
    color: var(--accent-primary-light);
}

.btn-action.reset:hover {
    background: rgba(196, 30, 58, 0.25);
}

/* ============ TOAST ============ */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    padding: 16px 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-slow);
    z-index: 2000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-color: var(--accent-green);
}

.toast.error {
    border-color: var(--accent-red);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .sidebar {
        width: 72px;
    }

    .sidebar-header span,
    .nav-item span,
    .btn-logout span {
        display: none;
    }

    .sidebar-header {
        justify-content: center;
    }

    .nav-item {
        justify-content: center;
        padding: 12px;
    }

    .btn-logout {
        justify-content: center;
    }

    .main-content {
        margin-left: 72px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 20px;
    }

    .header {
        padding: 16px 20px;
    }
}
