body {
    background: #0d1117;
    color: #ffffff;
    margin: 0;
    font-family: "Segoe UI", sans-serif;
}

.text-muted {
    color: #adb5bd !important;
}

.player-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    font-weight: 600;
    white-space: normal;
    text-align: center;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.player-menu .player-menu-button:not(.active):hover {
    color: #ffffff;
    background-color: #146c43;
    border-color: #146c43;
}

.player-menu .player-menu-button.active {
    color: #ffffff;
    background-color: #198754;
    border-color: #198754;
    cursor: default;
}

/* Layout principal */
.wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: #161b22;
    border-right: 1px solid #30363d;
    flex-shrink: 0;
}

.sidebar a {
    display: block;
    padding: 12px 20px;
    margin: 8px 0;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.sidebar a:hover {
    background: #238636;
    color: #ffffff;
}

.sidebar a.active {
    background: #238636;
    color: #ffffff;
    font-weight: 600;
}

/* Contenu */
.content {
    flex: 1;
    padding: 30px;
    overflow-x: auto;
}

/* Cartes Bootstrap */
.card {
    background: #1c2128 !important;
    border: 1px solid #30363d !important;
    color: #ffffff !important;
    transition: all 0.25s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(35, 134, 54, 0.35);
}

/* Avatar utilisateur */
.profile-avatar {
    border: 3px solid #238636;
    transition: all 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
}

/* Mobile */
@media (max-width: 991px) {

    .sidebar {
        display: none;
    }

    .content {
        width: 100%;
        padding: 20px;
    }
}

/* Menu Offcanvas */
.offcanvas {
    background: #161b22 !important;
    color: white !important;
}

.offcanvas a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 12px 15px;
    border-radius: 8px;
    transition: 0.25s;
}

.offcanvas a:hover {
    background: #238636;
}

.offcanvas a.active {
    background: #238636;
    font-weight: 600;
}
