body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', 'REM', Arial, sans-serif;
    background: #181c23;
    color: #fff;
}
.manager-wrapper {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 270px;
    background: #232b36;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-shadow: 2px 0 8px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
}
.sidebar-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.2rem 1rem 1.2rem 1rem;
    border-bottom: 1px solid #222;
}
.sidebar-logo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    margin-bottom: 0.7rem;
    background: #181c23;
    object-fit: contain;
}
.sidebar-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
    color: #fff;
    text-align: center;
}
.sidebar-user {
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
    text-align: center;
}
.sidebar-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 0.7rem;
}
.badge {
    display: inline-block;
    padding: 0.25rem 1.1rem;
    border-radius: 1.2rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: #c44b17;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    letter-spacing: 0.02em;
    border: none;
    text-align: center;
}
/* Exemples de couleurs de rôles (à compléter selon tes besoins) */
.badge-directeur { background: #1a237e; } /* bleu foncé */
.badge-administrateur { background: #e91e63; } /* rose */
.badge-developpeurdiscord { background: #7c3aed; } /* violet */
.badge-developpeurjava { background: #c44b17; } /* orange */
.badge-developpeurweb { background: #00bcd4; } /* cyan */
.badge-sysadmin { background: #d32f2f; } /* rouge */
.badge-builder { background: #43a047; } /* vert */
.badge-aidesentreprise, .badge-aidesbusiness { background: #ffd600; color: #232b36; } /* jaune */
.badge-cuisine { background: #ffb6b9; color: #232b36; } /* provisoire */
.badge-garage { background: #424242; } /* gris foncé */
.badge-support { background: #00838f; } /* cyan foncé */
.badge-animateur { background: #0c8b87; }
.badge-partenaire { background: #cab04b; color: #232b36; }
.badge-donateur { background: #ffd700; color: #232b36; } /* or */
.badge-client { background: #ff9800; }
.badge-membre { background: #bdbdbd; color: #232b36; }

.sidebar-menu {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
}
.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu-section {
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    margin-top: 1.2rem;
}
.menu-section ul {
    margin-top: 0.3rem;
    margin-bottom: 0.7rem;
    padding-left: 1.1rem;
}
.menu-section ul li {
    margin-bottom: 0.3rem;
}
.menu-section ul li a {
    color: #bdb9b9;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 500;
    padding: 0.18rem 0.5rem;
    border-radius: 0.5rem;
    display: block;
    transition: background 0.15s, color 0.15s;
}
.menu-section ul li a:hover, .menu-section ul li a.active {
    background: #232b36;
    color: #c44b17;
}
.manager-content {
    flex: 1;
    background: #181c23;
    padding: 2.5rem 2.5rem 2.5rem 2.5rem;
    min-height: 100vh;
    overflow-x: auto;
}
@media (max-width: 900px) {
    .sidebar {
        width: 70vw;
        min-width: 180px;
        max-width: 320px;
    }
    .manager-content {
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    }
}
@media (max-width: 600px) {
    .sidebar {
        width: 100vw;
        min-width: 0;
        max-width: none;
        position: fixed;
        z-index: 100;
        left: 0;
        top: 0;
        height: 100vh;
        box-shadow: 2px 0 8px rgba(0,0,0,0.18);
    }
    .manager-content {
        padding: 0.5rem;
    }
}
.dashboard-welcome {
    margin-bottom: 2.5rem;
    text-align: left;
}
.dashboard-welcome h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}
.dashboard-welcome p {
    color: #bdb9b9;
    font-size: 1.15rem;
}
.dashboard-widgets {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: flex-start;
}
.stats-cards {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.stat-card {
    background: #232b36;
    border-radius: 1.2rem;
    padding: 1.7rem 2.2rem;
    min-width: 180px;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 0.5rem;
}
.stat-title {
    color: #bdb9b9;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}
.stat-value {
    color: #fff;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}
.dashboard-graph {
    background: #232b36;
    border-radius: 1.2rem;
    padding: 1.5rem 2rem;
    min-width: 380px;
    min-height: 220px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
.dashboard-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 260px;
    flex: 1 1 220px;
}
.dashboard-notifications, .dashboard-todo, .dashboard-calendar {
    background: #232b36;
    border-radius: 1.2rem;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.dashboard-notifications h3, .dashboard-todo h3, .dashboard-calendar h3 {
    color: #c44b17;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}
.dashboard-notifications ul, .dashboard-todo ul, .dashboard-calendar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dashboard-notifications li, .dashboard-todo li, .dashboard-calendar li {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    padding-left: 0.2rem;
}
.dashboard-notifications li:last-child, .dashboard-todo li:last-child, .dashboard-calendar li:last-child {
    margin-bottom: 0;
}
@media (max-width: 1200px) {
    .dashboard-widgets {
        flex-direction: column;
        gap: 1.5rem;
    }
    .dashboard-graph {
        min-width: 0;
        width: 100%;
    }
    .stats-cards {
        flex-wrap: wrap;
        gap: 1rem;
    }
}
@media (max-width: 900px) {
    .dashboard-widgets {
        flex-direction: column;
        gap: 1.2rem;
    }
    .dashboard-graph {
        min-width: 0;
        width: 100%;
        padding: 1rem 0.5rem;
    }
    .dashboard-side {
        min-width: 0;
        width: 100%;
    }
}
@media (max-width: 600px) {
    .stats-cards {
        flex-direction: column;
        gap: 0.7rem;
    }
    .dashboard-graph {
        padding: 0.5rem 0.2rem;
    }
    .dashboard-notifications, .dashboard-todo, .dashboard-calendar {
        padding: 0.7rem 0.7rem;
    }
}
.widget-placeholder {
    background: #232b36;
    color: #c44b17;
    border-radius: 1.2rem;
    padding: 2.5rem 2.5rem;
    font-size: 1.2rem;
    min-width: 320px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.users-table {
    border-collapse: collapse;
    width: 90%;
    margin: 2rem auto;
    background: transparent;
}
.users-table th, .users-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    color: #fff;
    vertical-align: middle;
}
.users-table th {
    color: #fff8e1;
    font-size: 1.1rem;
    font-weight: bold;
    background: transparent;
}
.users-table tr:nth-child(even) {
    background: rgba(255,255,255,0.01);
}
.edit-link {
    color: #c44b17;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.15s;
}
.edit-link:hover {
    color: #ff9800;
}
.edit-roles-form {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.roles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem 1.5rem;
    margin-bottom: 2.2rem;
}
.role-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.08rem;
    cursor: pointer;
    user-select: none;
}
.role-checkbox input[type="checkbox"] {
    accent-color: #c44b17;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
}
.btn-primary {
    background: #c44b17;
    color: #fff;
    border: none;
    border-radius: 1.2rem;
    padding: 0.7rem 2.2rem;
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.15s;
}
.btn-primary:hover {
    background: #ff9800;
    color: #232b36;
}
.check-green {
    color: #2ecc40;
    font-size: 1.3rem;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
}
.users-page-centered {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.search-bar-form {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}
.search-bar {
    width: 350px;
    background: #232b36;
    border: none;
    border-radius: 1.2rem;
    padding: 0.8rem 1.5rem;
    color: #fff;
    font-size: 1.08rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    outline: none;
    transition: box-shadow 0.15s;
}
.search-bar:focus {
    box-shadow: 0 0 0 2px #c44b17;
}
.legend-confirm {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    margin-bottom: 1.2rem;
    font-size: 1.08rem;
    font-weight: 600;
}
.legend-dot {
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    margin-right: 0.5rem;
    vertical-align: middle;
    border: 2px solid #232b36;
}
.legend-dot.confirmed {
    background: #2ecc40;
    border-color: #2ecc40;
}
.legend-dot.not-confirmed {
    background: #c44b17;
    border-color: #c44b17;
}
.users-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.dashboard-title {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.dashboard-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #232b36;
    border-radius: 1.5rem;
    padding: 0.7rem;
}
.dashboard-title-text {
    font-family: 'Nunito', 'REM', Arial, sans-serif;
    font-size: 2.1rem;
    font-weight: 900;
    color: #fff;
}
.dashboard-separator {
    width: 100%;
    border: none;
    border-top: 2px solid #232b36;
    margin: 1.5rem 0 2.2rem 0;
}
.users-subtitle {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.2rem;
    align-self: flex-start;
}
.legend-confirm-box {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    margin-bottom: 1.2rem;
    font-size: 1.08rem;
    font-weight: 600;
    background: #232b36;
    border-radius: 1.2rem;
    padding: 0.7rem 2.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.search-bar-form-wide {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
}
.search-bar-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.search-bar-wide {
    width: 100%;
    max-width: 500px;
    background: #232b36;
    border: none;
    border-radius: 1.2rem;
    padding: 0.8rem 1.5rem 0.8rem 2.8rem;
    color: #fff;
    font-size: 1.08rem;
    outline: none;
    transition: box-shadow 0.15s;
}
.search-bar-wide:focus {
    box-shadow: 0 0 0 2px #c44b17;
}
.members-table.members-table-rounded th {
    background: #232b36;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff8e1;
    padding: 1.1rem 1.5rem;
}
.members-table.members-table-rounded tr {
    background: #232b36;
    border-radius: 1.2rem;
}
.members-table.members-table-rounded td {
    background: #232b36;
    border-bottom: 2px solid #181c23;
    padding: 1.1rem 1.5rem;
}
.members-table.members-table-rounded tr:last-child td {
    border-bottom: none;
}
.members-table.members-table-rounded tr {
    transition: background 0.15s;
}
.members-table.members-table-rounded tr:hover td {
    background: #2c3440;
}
.user-unverified td {
    background: #4a232b !important;
    color: #c44b17 !important;
}
.legend-dot-red {
    background: #c44b17 !important;
    border-color: #c44b17 !important;
}
.legend-red {
    color: #c44b17;
    font-weight: 700;
    margin-left: 0.2rem;
}
.legend-confirm-box-duo {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: #232b36;
    border-radius: 1.2rem;
    padding: 1.1rem 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid #313846;
    margin-bottom: 2rem;
    margin-top: 0.5rem;
    justify-content: center;
}
.legend-duo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.13rem;
    font-weight: 700;
}
.legend-dot-grey {
    background: #3a404a !important;
    border-color: #3a404a !important;
    box-shadow: 0 0 0 2px #fff2 inset;
}
.legend-grey {
    color: #fff8e1;
    font-weight: 700;
}

.edit-user-container {
    background: #23272f;
    border-radius: 18px;
    padding: 36px 40px 32px 40px;
    max-width: 480px;
    margin: 48px auto 0 auto;
    color: #fff;
    box-shadow: 0 4px 24px #0002;
}
.edit-user-container h1 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: #fff;
    letter-spacing: 0.5px;
}
.edit-user-form .form-group {
    margin-bottom: 22px;
}
.edit-user-form label {
    display: block;
    margin-bottom: 7px;
    color: #e0e0e0;
    font-size: 1.05rem;
    font-weight: 500;
}
.edit-user-form input[type="text"],
.edit-user-form input[type="email"],
.edit-user-form input[type="password"] {
    padding: 9px 13px;
    border-radius: 10px;
    border: 1.5px solid #363a40;
    background: #181a20;
    color: #fff;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    transition: border 0.2s;
}
.edit-user-form input:focus {
    border: 1.5px solid #c44b17;
    outline: none;
}
.edit-user-form input[type="checkbox"] {
    accent-color: #c44b17;
    width: 18px;
    height: 18px;
    margin-right: 7px;
    vertical-align: middle;
}
.edit-user-form .btn {
    padding: 12px 32px;
    border-radius: 22px;
    border: none;
    margin-right: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

/* TEAM TABLE */
.team-table { width: 100%; border-collapse: separate; border-spacing: 0 18px; margin: 0 auto 2.5rem auto; color: #fff; background: none; }
.team-table th { color: #fff8e1; font-size: 1.1rem; font-weight: bold; background: transparent; padding-bottom: 0.7rem; }
.team-table td { background: #23272f; border-radius: 12px; padding: 1.1rem 1.5rem; vertical-align: middle; font-size: 1.08rem; }
.team-img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; box-shadow: 0 2px 8px #0004; }
.team-badge { display: inline-block; padding: 5px 18px; border-radius: 16px; font-size: 1.05rem; font-weight: 600; color: #fff; background: #c44b17; }
.team-btn { background: #c44b17; color: #fff; border: none; border-radius: 1.2rem; padding: 0.7rem 1.6rem; font-size: 1.08rem; font-weight: 700; cursor: pointer; margin-right: 0.5rem; transition: background 0.15s; }
.team-btn:hover { background: #ff9800; color: #232b36; }

/* ABOUT TABLE */
.about-table { width: 100%; border-collapse: separate; border-spacing: 0 18px; margin: 0 auto 2.5rem auto; color: #fff; background: none; }
.about-table th { color: #fff8e1; font-size: 1.1rem; font-weight: bold; background: transparent; padding-bottom: 0.7rem; }
.about-table td { background: #23272f; border-radius: 12px; padding: 1.1rem 1.5rem; vertical-align: middle; font-size: 1.08rem; }
.about-img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; box-shadow: 0 2px 8px #0004; }
.about-badge { display: inline-block; padding: 5px 18px; border-radius: 16px; font-size: 1.05rem; font-weight: 600; color: #fff; background: #c44b17; }
.about-btn { background: #c44b17; color: #fff; border: none; border-radius: 1.2rem; padding: 0.7rem 1.6rem; font-size: 1.08rem; font-weight: 700; cursor: pointer; margin-right: 0.5rem; transition: background 0.15s; }
.about-btn:hover { background: #ff9800; color: #232b36; }

/* CONTACT TABLE */
.contact-table { width: 100%; border-collapse: separate; border-spacing: 0 18px; margin: 0 auto 2.5rem auto; color: #fff; background: none; }
.contact-table th { color: #fff8e1; font-size: 1.1rem; font-weight: bold; background: transparent; padding-bottom: 0.7rem; }
.contact-table td { background: #23272f; border-radius: 12px; padding: 1.1rem 1.5rem; vertical-align: middle; font-size: 1.08rem; }
.text-center { text-align: center; }