/* assets/css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f0f13;
    color: #e0e0e0;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #1a1a24 0%, #13131a 100%);
    border-right: 1px solid #2a2a35;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.logo {
    padding: 0 20px 20px 20px;
    border-bottom: 1px solid #2a2a35;
    margin-bottom: 20px;
}

.logo h2 {
    color: #ff7b00;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.menu-section {
    margin-bottom: 20px;
}

.menu-title {
    padding: 8px 20px;
    font-size: 11px;
    text-transform: uppercase;
    color: #6b6b7c;
    letter-spacing: 1px;
    font-weight: 600;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #b8b8c9;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.menu-item i {
    width: 24px;
    font-size: 16px;
    color: #ff7b00;
}

.menu-item:hover {
    background-color: #24242f;
    border-left-color: #ff7b00;
    color: #ffffff;
}

.server-item {
    cursor: default;
    color: #8f8fa3;
}

.server-item:hover {
    background-color: transparent;
    border-left-color: transparent;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 30px;
    background-color: #0f0f13;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #1e1e2a, #16161f);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid #2a2a35;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 32px;
    color: #ff7b00;
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 14px;
    color: #8f8fa3;
    font-weight: 500;
    margin-bottom: 8px;
}

.stat-card .stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
}

/* Servers List */
.servers-list {
    background: #1a1a24;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 40px;
    border: 1px solid #2a2a35;
}

.servers-list h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
}

.server-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #2a2a35;
}

.server-row:last-child {
    border-bottom: none;
}

.server-row i {
    width: 30px;
    color: #ff7b00;
    font-size: 16px;
}

.server-name {
    flex: 1;
    font-weight: 500;
    color: #ffffff;
}

.server-status {
    color: #4caf50;
    font-size: 14px;
}

.server-status i {
    color: #4caf50;
    width: auto;
    margin-right: 5px;
}

/* Top Players Table */
.top-players {
    background: #1a1a24;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #2a2a35;
}

.top-players h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
}

.players-table {
    width: 100%;
    border-collapse: collapse;
}

.players-table th {
    text-align: left;
    padding: 12px 10px;
    font-size: 12px;
    color: #6b6b7c;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 2px solid #2a2a35;
}

.players-table td {
    padding: 12px 10px;
    font-size: 14px;
    border-bottom: 1px solid #2a2a35;
}

.players-table tr:hover {
    background-color: #24242f;
}

.players-table td:first-child,
.players-table th:first-child {
    padding-left: 15px;
}

.players-table td:last-child,
.players-table th:last-child {
    padding-right: 15px;
}

.player-name {
    color: #ff7b00;
    font-weight: 500;
    text-decoration: none;
}

.player-name:hover {
    text-decoration: underline;
}

.kd-positive {
    color: #4caf50;
    font-weight: 600;
}

.kd-negative {
    color: #f44336;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 0;
        display: none;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.user-menu-info {
    padding: 10px 20px;
    border-bottom: 1px solid #2a2a35;
    margin-bottom: 5px;
}

.user-menu-name {
    display: block;
    color: #ff7b00;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}