body {
    background-color: var(--bg-dark); /* Utilise ton noir #121212 */
    margin: 0;
    padding: 0;
    color: var(--text-main);
    min-height: 100vh; /* S'assure que le fond couvre toute la hauteur */
}
/* ==========================================
   1. VARIABLES & FONDATIONS (COMMUN)
   ========================================== */
:root {
    --bg-dark: #121212;
    --surface-dark: #1e1e1e;
    --surface-hover: #2a2a2a;
    --accent-color: #00ff88; 
    --text-main: #ffffff;
    --text-muted: #888888;
    --border-color: #333333;
    --radius-main: 6px;      /* Modifié à 6px pour plus de finesse */
    --radius-logo: 4px;
    --font-main: 'Inter', -apple-system, sans-serif;
    --accent: #00ff87; /* Vert MatchDirect */
}

/* Structure pour le côte à côte */
.main-layout {
    display: flex;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px;
    box-sizing: border-box;
    align-items: flex-start;
}

.sidebar-left {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 10px;
}

/* Container principal (Menu ou Classement) */
.widget-container, #classement-container {
    background: var(--bg-dark);
    color: var(--text-main);
    padding: 15px;
    border-radius: var(--radius-main);
    font-family: var(--font-main);
    border: 1px solid var(--border-color);
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

/* Titre Harmonisé */
.widget-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--text-main);
    margin: 5px 0 20px 5px;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
}

.widget-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 18px;
    background: var(--accent-color);
    margin-right: 12px;
    border-radius: 2px;
}

/* Logos */
.logo-box {
    background: #ffffff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-logo);
    padding: 3px;
    flex-shrink: 0;
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Badge commun */
.badge-ui {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--accent-color);
    background: rgba(0, 255, 136, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

/* ==========================================
   2. STYLE MENU (Navigation Equipes)
   ========================================== */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    margin-bottom: 8px;
}

.menu-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    padding: 10px 12px;
    border-radius: var(--radius-main);
    background: var(--surface-dark);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.menu-link:hover {
    background: var(--surface-hover);
    border-color: var(--border-color);
}

.menu-name {
    margin-left: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    flex-grow: 1;
}

/* ==========================================
   3. RESPONSIVE
   ========================================== */

/* TABLETTE & PC */
@media (min-width: 768px) {
    .menu-link:hover {
        transform: translateX(5px);
    }
}

/* MOBILE SPECIFIQUE */
@media (max-width: 900px) {
    .main-layout {
        flex-direction: column;
    }
    .sidebar-left {
        width: 100%;
        position: static;
    }
    .widget-container {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}