/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #006EFF;
    --dark-color: #1C1C1E;
    --light-color: #F5F6FA;
    --success-color: #22C58B;
    --danger-color: #FF5F57;
    --border-radius: 0.5rem;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--light-color);
    min-height: 100vh;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Navbar */
.navbar {
    background-color: var(--dark-color);
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
    color: white;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    margin-right: 1rem;
}

.navbar-brand h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin-right: 1.5rem;
    position: relative;
}

.nav-links a {
    color: white;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.dropdown-menu {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    color: var(--dark-color);
    padding: 0.5rem 1rem;
}

.dropdown-menu a:hover {
    color: var(--primary-color);
    background-color: rgba(0, 110, 255, 0.05);
}

.user-menu {
    color: white;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.btn-logout {
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-radius: var(--border-radius);
    padding: 0.25rem 0.75rem;
    font-weight: 500;
    text-decoration: none;
    margin-left: 1rem;
}

.btn-logout:hover {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

/* Admin Container */
.admin-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    text-align: center;
}

.stat-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.stat-card .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Recent Incidents */
.recent-incidents {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-top: 2rem;
}

.recent-incidents h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

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

.table th, .table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    font-weight: 600;
    color: var(--dark-color);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-warning {
    background-color: #FFE8CC;
    color: #FF9500;
}

.badge-success {
    background-color: #DCFCE7;
    color: #22C58B;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.btn-info {
    background-color: var(--primary-color);
    color: white;
}

.btn-info:hover {
    background-color: #0056CC;
    color: white;
}

.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background-color: var(--danger-color);
    color: white;
}

/* Header */
header {
    background-color: #333;
    color: white;
    width: 100%;
    position: relative;
    z-index: 1000;
}

.header-title {
    background-color: #333;
    padding: 1rem 2rem;
    width: 100%;
}

.header-title h1 {
    margin: 0;
    font-size: 1.5rem;
}

/* Navigation principale */
.main-nav {
    background-color: white;
    border-bottom: 1px solid #dee2e6;
    width: 100%;
    position: relative;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    min-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.main-nav a {
    color: #495057;
    text-decoration: none;
    padding: 1rem 0;
    display: block;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: #0d6efd;
}

.main-nav a.active {
    color: #0d6efd;
    position: relative;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0d6efd;
}

/* Menu utilisateur */
.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-email {
    color: #6c757d;
    font-size: 0.9rem;
}

.btn-logout {
    background-color: #dc3545;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
    font-size: 0.9rem;
}

.btn-logout:hover {
    background-color: #bb2d3b;
    text-decoration: none;
}

/* Menu déroulant */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 0.75rem 1rem;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
}

/* Sections */
section {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Boutons */
button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}

button:hover {
    background-color: #0056b3;
}

/* Éditeur de plan */
.editor-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    height: calc(100vh - 200px);
    min-height: 500px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px;
}

.espaces-sidebar {
    width: 300px;
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 20px;
    overflow-y: auto;
}

.espaces-sidebar h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2rem;
}

.plan-container {
    flex: 1;
    position: relative;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.canvas-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: auto;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

#planCanvas {
    display: block;
    margin: 0 auto;
    background-color: #fff;
}

#espacesList {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.espace-item {
    background-color: #fff;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: move;
    transition: all 0.2s ease;
}

.espace-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.espace-item.dragging {
    opacity: 0.5;
    background-color: #e9ecef;
}

.espace-item .espace-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.espace-item .espace-type {
    color: #6c757d;
    font-size: 0.9em;
}

.espace-item .espace-type.carre::before {
    content: "□";
    margin-right: 5px;
}

.espace-item .espace-type.rond::before {
    content: "○";
    margin-right: 5px;
}

/* Styles pour les contrôles de l'éditeur */
.editor-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.editor-controls button {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.editor-controls .btn-save {
    background-color: #28a745;
}

.editor-controls .btn-save:hover {
    background-color: #218838;
}

.editor-controls .btn-cancel {
    background-color: #dc3545;
}

.editor-controls .btn-cancel:hover {
    background-color: #c82333;
}

/* Styles pour les messages de l'éditeur */
.editor-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}

.editor-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.editor-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.editor-message.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Liste des plans */
.plans-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.plan-card {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Formulaires */
select {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .editor-container {
        flex-direction: column;
    }
    
    .tools {
        width: 100%;
    }
}

/* Styles pour la modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group input[type="file"] {
    border: none;
    padding: 0;
}

/* Gestion des zones */
.zone-manager {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.zones-list {
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.zone-item {
    background-color: #fff;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: move;
    transition: background-color 0.2s;
}

.zone-item:hover {
    background-color: #f0f0f0;
}

.zone-item.dragging {
    opacity: 0.5;
    background-color: #e9ecef;
}

.zone-item .zone-name {
    font-weight: bold;
}

.zone-item .zone-type {
    color: #666;
    font-size: 0.9em;
}

/* Styles pour les espaces draggables */
.espace-item {
    background-color: #fff;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: move;
    transition: all 0.2s;
}

.espace-item:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.espace-item.dragging {
    opacity: 0.5;
    background-color: #e9ecef;
}

.espace-item .espace-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.espace-item .espace-type {
    color: #666;
    font-size: 0.9em;
}

.espace-item .espace-type.carre::before {
    content: "□";
    margin-right: 5px;
}

.espace-item .espace-type.rond::before {
    content: "○";
    margin-right: 5px;
}

.plan-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.edit-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.2s;
}

.edit-btn:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Boutons d'action */
.btn-primary {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-edit,
.btn-delete {
    padding: 5px 10px;
    margin: 0 5px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.btn-edit {
    background-color: #4CAF50;
    color: white;
}

.btn-delete {
    background-color: #f44336;
    color: white;
}

.btn-edit:hover {
    background-color: #45a049;
}

.btn-delete:hover {
    background-color: #da190b;
}

/* Types d'espaces dans la table */
.espace-type {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #f8f9fa;
    font-size: 0.9em;
}

.espace-type.carre::before {
    content: "□";
    margin-right: 5px;
    font-size: 1.2em;
}

.espace-type.rond::before {
    content: "○";
    margin-right: 5px;
    font-size: 1.2em;
}

/* Styles pour la grille des plans */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.plan-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.plan-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.plan-info {
    padding: 15px;
}

.plan-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.plan-date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.view-btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.view-btn:hover {
    background-color: #0056b3;
}

.admin-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.admin-link:hover {
    background-color: #555;
}

/* Styles pour les types de zones */
.color-preview {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    vertical-align: middle;
    margin-left: 5px;
}

.types-list {
    margin-top: 20px;
}

.type-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.type-item .color-preview {
    margin-right: 10px;
}

.type-item .actions {
    margin-left: auto;
}

.add-type-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="color"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group select[multiple] {
    height: 120px;
}

.form-group input[type="file"] {
    padding: 8px 0;
}

.color-preview {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 5px;
    vertical-align: middle;
}

.no-image {
    color: #999;
    font-style: italic;
}

.data-table img {
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-edit,
.btn-delete {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 5px;
}

.btn-edit {
    background-color: #4CAF50;
    color: white;
}

.btn-delete {
    background-color: #f44336;
    color: white;
}

.btn-edit:hover {
    background-color: #45a049;
}

.btn-delete:hover {
    background-color: #da190b;
}

/* Styles pour l'authentification */
.auth-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.auth-container h1 {
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.auth-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.auth-form button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.auth-form button:hover {
    background-color: #0056b3;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links a {
    color: #007bff;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Styles pour la gestion des utilisateurs */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.data-table tr:hover {
    background-color: #f8f9fa;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-pending {
    background-color: #ffeeba;
    color: #856404;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-inactive {
    background-color: #f8d7da;
    color: #721c24;
}

.btn-success {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-danger {
    background-color: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-danger:hover {
    background-color: #c82333;
}

/* Messages de succès et d'erreur */
.success-message,
.error-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Styles pour le tableau de bord */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #007bff;
    margin: 0;
}

.recent-activity {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.recent-activity h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2em;
}

/* Style général pour les conteneurs */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.container h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 1.8em;
}

/* Style pour les tableaux de données */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: #fff;
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.data-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.data-table tr:hover {
    background-color: #f5f5f5;
}

/* Styles pour les statuts utilisateur */
.user-status {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.9em;
}

.user-status.pending {
    background-color: #ffd700;
    color: #000;
}

.user-status.active {
    background-color: #4CAF50;
    color: white;
}

.user-status.inactive {
    background-color: #f44336;
    color: white;
}

/* Styles pour les rôles utilisateur */
.user-role {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.9em;
}

.user-role.super-admin {
    background-color: #9c27b0;
    color: white;
}

.user-role.admin {
    background-color: #2196F3;
    color: white;
}

.user-role.user {
    background-color: #607D8B;
    color: white;
}

/* Styles pour la page d'administration des incidents */
.settings-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.settings-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.add-category-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.add-category-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.categories-list {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.categories-list h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.status-indicator {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-indicator.active {
    background-color: #4CAF50;
    color: white;
}

.status-indicator.inactive {
    background-color: #f44336;
    color: white;
}

.btn-duplicate {
    background-color: #2196F3;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 5px;
}

.btn-duplicate:hover {
    background-color: #0b7dda;
} 