// Admin Layout .admin-layout { display: flex; min-height: 100vh; } .admin-sidebar { width: 250px; background: #1a1a1a; color: white; padding: 1rem; display: flex; flex-direction: column; position: fixed; height: 100vh; .sidebar-header { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 1rem; text-align: center; .user-welcome { margin-top: 1rem; padding-top: 0.5rem; border-top: 1px solid rgba(255,255,255,0.1); .welcome-text { display: block; color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 0.2rem; } .user-name { display: block; font-weight: 600; font-size: 1.1rem; // Couleurs spécifiques pour chaque rôle &.role-founder { color: #ffff00; // Or pour les fondateurs text-shadow: 0 0 5px rgba(255, 215, 0, 0.3); } &.role-admin { color: #ffa600; // Orange-rouge pour les admins text-shadow: 0 0 5px rgba(255, 69, 0, 0.3); } &.role-mod { color: #ff0000; // Rose pour les modérateurs text-shadow: 0 0 5px rgba(255, 105, 180, 0.3); } &.role-d1 { color: #00eeff; // Bleu clair pour la gérance D1 text-shadow: 0 0 5px rgba(0, 238, 255, 0.3); } &.role-d2 { color: #07756b; // Vert foncé pour la gérance D2 text-shadow: 0 0 5px rgba(7, 117, 107, 0.3); } &.role-fia { color: #0dff00; // Vert vif pour la FIA text-shadow: 0 0 5px rgba(13, 255, 0, 0.3); } &.role-caster { color: #bd156f; // Rose foncé pour les casteurs text-shadow: 0 0 5px rgba(189, 21, 111, 0.3); } } } } .nav-link { color: rgba(255,255,255,0.7); padding: 0.75rem 1rem; display: flex; align-items: center; border-radius: 8px; transition: all 0.3s ease; i { margin-right: 10px; font-size: 1.2rem; } &:hover { color: white; background: rgba(255,255,255,0.1); } &.active { background: #FF69B4; color: white; } } .sidebar-footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); } } .admin-main { flex: 1; margin-left: 93px; padding: 2rem; background: #f5f5f5; } // Media Query pour le responsive @media (max-width: 768px) { .admin-sidebar { width: 60px; padding: 0.5rem; .sidebar-header { padding: 0.5rem; img { width: 40px; } .user-welcome { .welcome-text { display: none; } .user-name { font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } } .nav-link span { display: none; } i { margin-right: 0; font-size: 1.4rem; } } .admin-main { margin-left: 60px; } } // Styles pour la liste des pilotes .pilots-list-container { padding: 1rem; max-width: calc(100vw - 280px); // 250px (largeur sidebar) + 30px (marge) margin: 0 auto; .card { width: 100%; } // Ajustement de la taille du tableau .table { font-size: 0.9rem; // Réduire légèrement la taille du texte th, td { padding: 0.75rem; // Réduire le padding } } // Ajustement des badges et boutons .team-badge, .badge { font-size: 0.8rem; padding: 0.2rem 0.4rem; } .btn-group .btn { padding: 0.2rem 0.4rem; i { font-size: 0.9rem; } } } // Styles des badges d'équipes .team-badge { padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); transition: all 0.3s ease; min-width: 120px; text-align: center; display: inline-block; &:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); } // Styles spécifiques pour chaque équipe &.redbull { background: linear-gradient(135deg, #0600EF 0%, #1B1464 100%); border: 1px solid #0600EF; } &.mercedes { background: linear-gradient(135deg, #00A19C 0%, #2C2C2C 100%); border: 1px solid #00A19C; } &.ferrari { background: linear-gradient(135deg, #FF2800 0%, #8B0000 100%); border: 1px solid #FF2800; } &.mclaren { background: linear-gradient(135deg, #FF8700 0%, #2C2C2C 100%); border: 1px solid #FF8700; } &.astonmartin { background: linear-gradient(135deg, #006F62 0%, #2C2C2C 100%); border: 1px solid #006F62; } &.alpine { background: linear-gradient(135deg, #0090FF 0%, #2C2C2C 100%); border: 1px solid #0090FF; } &.williams { background: linear-gradient(135deg, #005AFF 0%, #00001F 100%); border: 1px solid #005AFF; } &.haas { background: linear-gradient(135deg, #FFFFFF 0%, #B6BABD 100%); border: 1px solid #CCCCCC; color: #333; } &.sauber { background: linear-gradient(135deg, #52E252 0%, #1D1D1B 100%); border: 1px solid #52E252; } &.racingbulls { background: linear-gradient(135deg, #1E1E1E 0%, #2B4562 100%); border: 1px solid #2B4562; } // Style par défaut pour "Sans écurie" et "Réserviste" &.sansecurie{ background: linear-gradient(135deg, #666666 0%, #333333 100%); border: 1px solid #666666; } &.reserviste { background: linear-gradient(135deg, #FF69B4 0%, #C71585 100%); border: 1px solid #C71585; } // Couleur par défaut pour tous les badges d'équipe sauf Haas &:not(.haas) { color: white; } } // Ajustement pour le responsive @media (max-width: 768px) { .team-badge { padding: 0.3rem 0.6rem; font-size: 0.75rem; min-width: 100px; } } // Ajustement pour le responsive @media (max-width: 1200px) { .pilots-list-container { .table { font-size: 0.85rem; } } } @media (max-width: 768px) { .pilots-list-container { max-width: calc(100vw - 80px); // 60px (largeur sidebar réduite) + 20px (marge) } } // Styles pour le modal d'ajout de pilote .modal { .modal-content { border-radius: 10px; border: none; box-shadow: 0 0 20px rgba(0,0,0,0.1); } .modal-header { background: #f8f9fa; border-bottom: 1px solid #eee; border-radius: 10px 10px 0 0; .modal-title { font-weight: 600; color: #333; } } .modal-body { padding: 1.5rem; .form-label { font-weight: 500; color: #555; } .form-control, .form-select { border-radius: 6px; border: 1px solid #ddd; padding: 0.5rem 0.75rem; &:focus { border-color: #FF69B4; box-shadow: 0 0 0 0.2rem rgba(255,105,180,0.25); } } } .modal-footer { border-top: 1px solid #eee; padding: 1rem 1.5rem; } } // Styles pour les sélecteurs de division .division-select { font-weight: 600; padding: 0.4rem 0.8rem; border-radius: 6px; border: 1px solid #ddd; transition: all 0.3s ease; background-color: transparent; width: auto; min-width: 140px; // Style pour Division 1 option[value="Division 1"] { color: #FF0000; font-weight: 600; } // Style pour Division 2 option[value="Division 2"] { color: #0066CC; font-weight: 600; } // Styles pour l'option sélectionnée &:has(option[value="Division 1"]:checked) { color: #FF0000; border-color: #FF0000; background-color: rgba(255, 0, 0, 0.05); } &:has(option[value="Division 2"]:checked) { color: #0066CC; border-color: #0066CC; background-color: rgba(0, 102, 204, 0.05); } // Effet hover &:hover { box-shadow: 0 2px 4px rgba(0,0,0,0.1); transform: translateY(-1px); } // Focus &:focus { outline: none; box-shadow: 0 0 0 2px rgba(255,105,180,0.25); } // Style pour mobile @media (max-width: 768px) { min-width: 120px; padding: 0.3rem 0.6rem; font-size: 0.9rem; } } // Styles pour la section D1 .team-select { font-weight: 600; padding: 0.4rem 0.8rem; border-radius: 6px; transition: all 0.3s ease; width: auto; min-width: 160px; background-color: transparent; // Styles pour chaque option d'équipe option[value="Red Bull"] { background-color: #1B1464; color: white; } option[value="Mercedes"] { background-color: #00A19C; color: white; } option[value="Ferrari"] { background-color: #DC0000; color: white; } option[value="McLaren"] { background-color: #FF8700; color: white; } option[value="Aston Martin"] { background-color: #006F62; color: white; } option[value="Alpine"] { background-color: #0090FF; color: white; } option[value="Williams"] { background-color: #005AFF; color: white; } option[value="Racing Bulls"] { background-color: #2B4562; color: white; } option[value="Sauber"] { background-color: #52E252; color: white; } option[value="Haas"] { background-color: #FFFFFF; color: #333; } option[value="Sans ecurie"] { background-color: #666666; color: white; } // Style pour l'option sélectionnée &:has(option[value="Red Bull"]:checked) { border-color: #1B1464; color: #1B1464; } &:has(option[value="Mercedes"]:checked) { border-color: #00A19C; color: #00A19C; } &:has(option[value="Ferrari"]:checked) { border-color: #DC0000; color: #DC0000; } &:has(option[value="McLaren"]:checked) { border-color: #FF8700; color: #FF8700; } &:has(option[value="Aston Martin"]:checked) { border-color: #006F62; color: #006F62; } &:has(option[value="Alpine"]:checked) { border-color: #0090FF; color: #0090FF; } &:has(option[value="Williams"]:checked) { border-color: #005AFF; color: #005AFF; } &:has(option[value="Racing Bulls"]:checked) { border-color: #2B4562; color: #2B4562; } &:has(option[value="Sauber"]:checked) { border-color: #52E252; color: #52E252; } &:has(option[value="Haas"]:checked) { border-color: #CCCCCC; color: #333; } &:has(option[value="Sans ecurie"]:checked) { border-color: #666666; color: #666666; } &:has(option[value="Reserviste"]:checked) { border-color: #FF69B4; color: #FF69B4; } // Effet hover &:hover { box-shadow: 0 2px 4px rgba(0,0,0,0.1); transform: translateY(-1px); } // Focus &:focus { outline: none; box-shadow: 0 0 0 2px rgba(255,105,180,0.25); } } // Style pour l'input des points .points-input { font-weight: 600; padding: 0.4rem 0.8rem; border-radius: 6px; border: 1px solid #ddd; width: 100px; text-align: center; transition: all 0.3s ease; &:hover { border-color: #FF69B4; } &:focus { outline: none; border-color: #FF69B4; box-shadow: 0 0 0 2px rgba(255,105,180,0.25); } } // Styles pour la liste des utilisateurs .users-list-container { padding: 1rem; max-width: calc(100vw - 280px); margin: 0 auto; .card { box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .table { th { font-weight: 600; color: #444; } td { vertical-align: middle; // Ajouter du padding pour les cellules contenant les rôles &:nth-child(2) { // La colonne des rôles padding: 0.75rem 1rem; .role-badge { margin: 0.2rem; display: inline-block; } } } } .badge { padding: 0.5rem 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; } .btn-group { .btn { padding: 0.4rem 0.8rem; margin: 0 0.2rem; i { margin-right: 0.3rem; } } } // Style pour mobile @media (max-width: 768px) { max-width: calc(100vw - 80px); .btn-group { display: flex; flex-direction: column; .btn { margin: 0.2rem 0; } } } } // Styles pour les badges de rôle .role-badge { padding: 0.5rem 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 6px; // Fondateur &.fondateur { background: #ffff00; color: #000; border: 1px solid #ffff00; } // Administrateur &.administrateur { background: #ffa600; color: white; border: 1px solid #ffa600; } // Modérateur &.moderateur { background: #ff0000; color: white; border: 1px solid #ff0000; } // Gérance D1 &.gerance-d1 { background: #00eeff; color: white; border: 1px solid #00eeff; } // Gérance D2 &.gerance-d2 { background: #07756b; color: white; border: 1px solid #07756b; } // FIA &.fia { background: #0dff00; color: white; border: 1px solid #0dff00; } &.casteur { background: #bd156f; color: white; border: 1px solid #bd156f; } // Effet hover &:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0,0,0,0.2); } } // Style pour le formulaire d'édition des utilisateurs #editFormCard { background: white; border: none; box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-radius: 16px; margin-bottom: 2rem; overflow: hidden; transition: all 0.3s ease; .card-body { padding: 2.5rem; background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%); } // Style pour le select des utilisateurs #userSelect { background: white; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1rem; font-size: 1rem; color: #1a202c; transition: all 0.2s ease; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1em; padding-right: 2.5rem; &:focus { border-color: #FF69B4; box-shadow: 0 0 0 3px rgba(255,105,180,0.1); outline: none; } option { padding: 1rem; font-size: 0.95rem; } } // Style pour les inputs .form-control { background: white; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1rem; font-size: 1rem; color: #1a202c; transition: all 0.2s ease; &:focus { border-color: #FF69B4; box-shadow: 0 0 0 3px rgba(255,105,180,0.1); outline: none; } &::placeholder { color: #a0aec0; } } // Style pour les labels .form-label { font-size: 0.9rem; font-weight: 600; color: #4a5568; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; } // Style pour la section des rôles #editUserRoles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; padding: 1.5rem; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0; .form-check { margin: 0; padding: 0; position: relative; .form-check-input { display: none; } .form-check-label { display: block; padding: 1rem; background: white; border: 1px solid #e2e8f0; border-radius: 10px; cursor: pointer; font-weight: 500; color: #4a5568; text-align: center; transition: all 0.2s ease; &:hover { background: #f8fafc; transform: translateY(-2px); } } .form-check-input:checked + .form-check-label { background: none; color: white; border: 1px solid transparent; box-shadow: 0 4px 12px rgba(0,0,0,0.2); // Fondateur &[for^="role_1"] { background: #ffff00; color: #000; border-color: #ffff00; } // Administrateur &[for^="role_2"] { background: #ffa600; color: white; border-color: #ffa600; } // Modérateur &[for^="role_3"] { background: #ff0000; color: white; border-color: #ff0000; } // Gérance D1 &[for^="role_4"] { background: #00eeff; color: white; border-color: #00eeff; } // Gérance D2 &[for^="role_5"] { background: #07756b; color: white; border-color: #07756b; } // FIA &[for^="role_6"] { background: #0dff00; color: white; border-color: #0dff00; } // Casteur &[for^="role_7"] { background: #bd156f; color: white; border-color: #bd156f; } } } } // Style pour les boutons .btn { padding: 1rem 2rem; font-weight: 600; border-radius: 12px; transition: all 0.2s ease; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem; &.btn-primary { background: linear-gradient(135deg, #FF69B4 0%, #ff458b 100%); border: none; box-shadow: 0 4px 12px rgba(255,105,180,0.3); &:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,105,180,0.4); } } &.btn-secondary { background: #f8fafc; color: #4a5568; border: 1px solid #e2e8f0; &:hover { background: #e2e8f0; transform: translateY(-2px); } } } // Animation d'apparition animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); } @keyframes slideIn { 0% { opacity: 0; transform: translateY(-10px) scale(0.98); } 100% { opacity: 1; transform: translateY(0) scale(1); } } // Login page styles .login-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%); padding: 1rem; } .login-card { background: #1e1e1e; border-radius: 16px; padding: 2.5rem; width: 100%; max-width: 420px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.1); animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); } .login-header { text-align: center; margin-bottom: 2.5rem; .login-logo { width: 140px; margin-bottom: 1.5rem; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)); } h2 { color: #ffffff; font-size: 1.8rem; font-weight: 600; margin: 0; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); } } .login-form { .form-group { margin-bottom: 1.5rem; label { display: block; color: #9ca3af; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; i { margin-right: 0.5rem; color: #3b82f6; } } } .form-control { width: 100%; padding: 0.8rem 1rem; background: #2d2d2d; border: 2px solid #3d3d3d; border-radius: 10px; font-size: 1rem; color: #ffffff; transition: all 0.3s ease; &:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); outline: none; } &::placeholder { color: #6b7280; } } .password-input { position: relative; .toggle-password { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: #9ca3af; cursor: pointer; padding: 0; &:hover { color: #3b82f6; } } } .remember-me { display: flex; align-items: center; cursor: pointer; user-select: none; input[type="checkbox"] { margin-right: 0.5rem; width: 18px; height: 18px; background: #2d2d2d; border: 2px solid #3d3d3d; border-radius: 4px; appearance: none; cursor: pointer; transition: all 0.2s ease; &:checked { background-color: #3b82f6; border-color: #3b82f6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23fff'%3E%3Cpath d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E"); background-size: 14px; background-position: center; background-repeat: no-repeat; } &:focus { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); } } span { font-size: 0.9rem; color: #9ca3af; } } .btn-login { width: 100%; padding: 1rem; background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); border: none; border-radius: 10px; color: white; font-weight: 600; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); text-transform: uppercase; letter-spacing: 0.5px; i { font-size: 1.2rem; } &:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4); background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); } &:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); } } } .alert { padding: 1rem; border-radius: 10px; margin-bottom: 1.5rem; font-size: 0.9rem; background: #2d2d2d; &.alert-danger { background-color: rgba(220, 38, 38, 0.2); color: #ef4444; border: 1px solid rgba(220, 38, 38, 0.3); } } @keyframes slideIn { 0% { opacity: 0; transform: translateY(-10px) scale(0.98); } 100% { opacity: 1; transform: translateY(0) scale(1); } } @media (max-width: 480px) { .login-card { padding: 1.5rem; } .login-header { .login-logo { width: 120px; } h2 { font-size: 1.5rem; } } } // Style pour les champs désactivés dans le formulaire utilisateur #editUserForm { input:disabled { background-color: #9b9b9b; border-color: #3d3d3d; color: #ffffff; cursor: not-allowed; opacity: 0.7; & + label { color: #666; } &::placeholder { color: #4a4a4a; } } .form-label { &::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; } } // Indicateur visuel pour les champs verrouillés input:disabled + .form-label::after { background-color: #dc3545; } // Indicateur visuel pour les champs modifiables input:not(:disabled) + .form-label::after { background-color: #28a745; } // Style spécial pour les champs désactivés .form-control:disabled { &:hover { border-color: #dc3545; box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.1); } &::before { content: "🔒"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 14px; } } } // Style pour les checkboxes désactivées .form-check { input:disabled + .form-check-label { color: #666; cursor: not-allowed; text-decoration: line-through; opacity: 0.7; } } // Style pour le bouton de suppression désactivé .btn.delete-user { &:disabled { cursor: not-allowed; opacity: 0.6; &:hover { background-color: transparent; color: #dc3545; } } } // Dashboard styles .dashboard-container { padding: 2rem; max-width: 1200px; margin: 0 auto; .dashboard-title { font-size: 2rem; margin-bottom: 2rem; color: #333; border-bottom: 2px solid #2196F3; padding-bottom: 0.5rem; } } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 2rem; } .stat-card { background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%); border-radius: 15px; padding: 1.5rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); display: flex; align-items: flex-start; transition: transform 0.3s ease, box-shadow 0.3s ease; &:hover { transform: translateY(-5px); box-shadow: 0 6px 12px rgba(33, 150, 243, 0.15); } .stat-icon { background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%); color: white; width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-right: 1rem; i { font-size: 1.5rem; } } .stat-content { flex: 1; h3 { margin: 0 0 1rem 0; color: #333; font-size: 1.2rem; } .stat-numbers { display: flex; gap: 1.5rem; .stat-item { display: flex; flex-direction: column; align-items: flex-start; .stat-value { font-size: 1.5rem; font-weight: bold; color: #1976D2; } .stat-label { font-size: 0.85rem; color: #666; } } } } } // Responsive adjustments @media (max-width: 768px) { .stats-grid { grid-template-columns: 1fr; } .stat-card { padding: 1rem; .stat-icon { width: 40px; height: 40px; i { font-size: 1.2rem; } } .stat-content { .stat-numbers { flex-wrap: wrap; gap: 1rem; .stat-item { .stat-value { font-size: 1.2rem; } } } } } } // Style pour le message de bienvenue .welcome-message { background: white; border-radius: 15px; padding: 2rem; margin-top: 2rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); text-align: center; h2 { color: #333; margin-bottom: 1rem; font-size: 1.8rem; } p { color: #666; font-size: 1.1rem; line-height: 1.6; } } // Ajustement responsive pour le message de bienvenue @media (max-width: 768px) { .welcome-message { padding: 1.5rem; h2 { font-size: 1.5rem; } p { font-size: 1rem; } } } // Styles pour la page Mon Compte .account-container { max-width: 1000px; margin: 0 auto; padding: 2rem; .account-header { margin-bottom: 2rem; text-align: center; h1 { color: #333; font-size: 2.2rem; margin-bottom: 0.5rem; } .text-muted { color: #666; font-size: 1.1rem; } } .account-card { border: none; border-radius: 15px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); overflow: hidden; .card-title { display: flex; align-items: center; font-size: 1.4rem; color: #333; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid #eee; i { margin-right: 0.8rem; color: #FF69B4; font-size: 1.6rem; } } } .roles-display { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; } .password-section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #eee; h3 { font-size: 1.2rem; color: #333; margin-bottom: 1rem; } } .form-actions { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #eee; text-align: right; .btn { padding: 0.6rem 1.5rem; font-weight: 500; i { margin-right: 0.5rem; } } } // Style pour le tableau d'historique .table { th { font-weight: 600; color: #444; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; } td { vertical-align: middle; font-size: 0.9rem; } .badge { padding: 0.4rem 0.8rem; font-weight: 500; font-size: 0.8rem; } } } // Responsive adjustments @media (max-width: 768px) { .account-container { padding: 1rem; .account-header { h1 { font-size: 1.8rem; } } .roles-display { flex-direction: column; .role-badge { width: 100%; text-align: center; } } } } // Nouveau style pour le graphique .chart-container { background: white; border-radius: 15px; padding: 1.5rem; margin-top: 2rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); .chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; h3 { color: #333; font-size: 1.2rem; margin: 0; } .chart-filters { display: flex; gap: 1rem; .btn { padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.9rem; background: #f5f5f5; border: 1px solid #ddd; color: #666; cursor: pointer; transition: all 0.3s ease; &.active { background: #2196F3; color: white; border-color: #2196F3; } } } } .charts-grid { display: block; position: relative; height: 400px; } .chart-wrapper { position: absolute; width: 100%; height: 100%; } } // Style pour la grille des graphiques .charts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2rem; } .chart-card { background: white; border-radius: 15px; padding: 1.5rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); .chart-header { margin-bottom: 1rem; h3 { color: #333; font-size: 1.2rem; margin: 0; } } .chart-body { height: 300px; position: relative; } } // Responsive @media (max-width: 768px) { .charts-grid { grid-template-columns: 1fr; } }