/* Fichier CSS optimisé - Doublons supprimés
   Fichier original: public/css/style.css
   Traité le: 02/10/2025 21:20:11
   Taille originale: 34.5KB
   Taille optimisée: 34.8KB
   Réduction: -0.8%
*/

@charset "UTF-8";

:root {
  --header-height: 70px;
  --sidebar-width: 280px;
  --sidebar-collapsed-width: 70px;
  --padding-header: 1rem;
  --border-radius-header: 20px;
  --backround_header_degradé: linear-gradient(
    135deg,
    #0b63e9 0%,
    #3b82f6 50%,
    #1e40af 100%
  );
}

/* ========================================
   PAGE LOADER - Spinner de chargement
   ======================================== */
/* Le CSS du loader est maintenant INLINE dans head.php pour chargement immédiat */
/* Cela évite le FOUC (Flash Of Unstyled Content) */

/* Animation de fade-in quand la page est prête */
body.page-ready .modern-header,
body.page-ready .modern-sidebar,
body.page-ready .main-content {
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f0f4ff 0%, #f8fafc 100%);
  transition: background 0.4s ease;
}

body.dark-theme {
  background: #1a1a1a;
}

.hero-header {
  background: var(--backround_header_degradé) !important;
  color: white;
  padding: var(--padding-header) !important;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-header) !important;
}

.hero-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(25deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.page-header {
  background: var(--backround_header_degradé) !important;
  color: white;
  padding: var(--padding-header) !important;
  border-radius: var(--border-radius-header) !important;
  text-align: center;

  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(35deg);
}

.page-header h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 2.2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
  opacity: 0.9;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.modal-backdrop,
.modal-backdrop.show,
.modal-backdrop.fade {
  background-color: transparent !important;
  background: transparent !important;
}

.modal-backdrop {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) brightness(0.95) !important;
  -webkit-backdrop-filter: blur(10px) brightness(0.95) !important;
}

body.dark-theme .modal-backdrop {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px) brightness(0.8) !important;
  -webkit-backdrop-filter: blur(12px) brightness(0.8) !important;
}

.modal.show .modal-backdrop,
.modal.fade.show .modal-backdrop,
.modal-backdrop.fade.show {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) brightness(0.95) !important;
  -webkit-backdrop-filter: blur(10px) brightness(0.95) !important;
}

body.dark-theme .modal.show .modal-backdrop,
body.dark-theme .modal.fade.show .modal-backdrop,
body.dark-theme .modal-backdrop.fade.show {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px) brightness(0.8) !important;
  -webkit-backdrop-filter: blur(12px) brightness(0.8) !important;
}

.main-content {
  margin-top: var(--header-height);
  margin-left: var(--sidebar-width);
  transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  justify-content: center;
}

.main-content.collapsed {
  margin-left: var(--sidebar-collapsed-width);
}

.main-content-fix {
  margin-top: var(--header-height);
  margin-left: var(--sidebar-width);
  transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  justify-content: center;
}

.main-content-fixe.collapsed {
  margin-left: var(--sidebar-collapsed-width);
}

.content-card {
  background: linear-gradient(135deg, #ffffff, #f8faff);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(13, 110, 253, 0.08);
  color: #333;
  box-shadow: 0 8px 32px rgba(13, 110, 253, 0.08);
}

body.dark-theme .content-card {
  background: linear-gradient(135deg, #ffffff, #f8faff);
  border: 1px solid rgba(13, 110, 253, 0.08);
  color: #333;
  box-shadow: 0 8px 32px rgba(13, 110, 253, 0.08);
}

.container {
  max-width: 1800px;
  margin: auto;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.modern-sidebar,
.modern-header,
.main-content {
  animation: fadeIn 0.3s ease-in;
}

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

.toast-container {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 9999 !important;
}

.toast {
  font-size: 1rem;
  padding: 0.3rem 1.6rem;
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: relative;
  overflow: hidden;
  min-width: 320px;
  margin-bottom: 12px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  animation: slideInRight 0.4s ease-out;
}

.toast.success {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.toast.warning {
  background: linear-gradient(135deg, #ffc107, #f59e0b);
  color: #1f2937;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.toast.error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.toast.info {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.toast.extreme {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border: 2px solid #fbbf24;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
  animation: slideInRight 0.4s ease-out, extremePulse 1s ease-in-out infinite;
}

.toast-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.toast-body {
  display: flex;
  align-items: center;
  flex: 1;
  font-weight: 500;
}

.toast-body i {
  font-size: 18px;
  margin-right: 12px;
  opacity: 0.95;
}

.toast.extreme .toast-body i {
  animation: iconBlink 0.5s ease-in-out infinite;
}

.toast-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 12px;
  padding: 0;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.toast.warning .toast-close {
  background: rgba(0, 0, 0, 0.1);
  color: #1f2937;
}

.toast.warning .toast-close:hover {
  background: rgba(0, 0, 0, 0.2);
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.toast-progress-bar {
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  width: 100%;
  transition: width linear;
  transform-origin: left center;
}

.toast.success .toast-progress-bar {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.toast.warning .toast-progress-bar {
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.toast.error .toast-progress-bar {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.toast.info .toast-progress-bar {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

.toast.extreme .toast-progress-bar {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.8);
}

@keyframes slideInRight {
  from {
    transform: translateX(110%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.hiding {
  animation: slideOutRight 0.3s ease-out forwards;
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(110%);
    opacity: 0;
  }
}

@keyframes extremePulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.6), 0 0 40px rgba(220, 38, 38, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.9),
      0 0 60px rgba(251, 191, 36, 0.5), inset 0 0 15px rgba(251, 191, 36, 0.2);
  }
}

@keyframes iconBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@media (max-width: 480px) {
  .toast-container {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    top: 20px;
    width: calc(100% - 20px);
    max-width: 400px;
  }

  .toast {
    min-width: auto;
    width: 100%;
  }
}

.table thead.table-dark th {
  background-color: #212529 !important;
  color: #fff !important;
  border-color: #2e2e2e !important;
  vertical-align: middle;
}

.table td,
.table th {
  vertical-align: middle;
  text-align: center;
}

.table-responsive {
  overflow-x: auto;
}

.table-dark {
  --bs-table-bg: #1e1e1e;
  --bs-table-color: #e0e0e0;
}

.table-dark tbody tr {
  background-color: #1e1e1e !important;
}

.table-dark .text-profit {
  color: #28a745 !important;
}

.table-dark .text-loss {
  color: #dc3545 !important;
}

#modalImageSrc {
  cursor: zoom-in;
  transition: transform 0.25s ease;
  max-width: 100%;
  max-height: 100%;
}

#modalImageSrc.zoomed {
  transform: scale(2);
  cursor: zoom-out;
}

#modalImageSrc.dragging {
  cursor: grab;
}

@media (max-width: 768px) {
  .table {
    font-size: 0.85rem;
  }

  .table-responsive {
    width: 100%;
    overflow-x: auto;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
  }

  .container {
    padding: 10px;
  }
}

.status-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}

.status-active {
  background: #28a745;
  animation: pulse 2s infinite;
}

.status-inactive {
  background: #dc3545;
}

.abo-demo {
  background: linear-gradient(135deg, #f093fb, #f5576c) !important;
  color: rgb(0, 0, 0) !important;
  border: none !important;
}

.abo-basic {
  background: linear-gradient(135deg, #4facfe, #00f2fe) !important;
  color: rgb(0, 0, 0) !important;
  border: none !important;
}

.abo-pro {
  background: linear-gradient(135deg, #43e97b, #38f9d7) !important;
  color: rgb(0, 0, 0) !important;
  border: none !important;
}

.abo-max {
  background: linear-gradient(135deg, #fa709a, #fee140) !important;
  color: rgb(0, 0, 0) !important;
  border: none !important;
}

.details-control {
  cursor: pointer;
  color: #3b82f6;
}

.details-control i {
  transition: transform 0.3s ease;
}

tr.shown {
  background: rgba(59, 130, 246, 0.05) !important;
}

.user-detail-card {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border-radius: 12px;
  padding: 20px;
  margin: 10px;
  border-left: 4px solid #3b82f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.dark-theme .user-detail-card {
  background: linear-gradient(135deg, #2a2a2a, #1e1e1e);
  border-left-color: #60a5fa;
}

.user-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.user-avatar {
  font-size: 2rem;
  color: #3b82f6;
}

.user-info {
  flex: 1;
}

.username-input {
  font-weight: 600;
  font-size: 1.1rem !important;
}

.btn i {
  margin-right: 4px;
}

.btn-group-sm .btn {
  padding: 0.35rem 0.75rem;
}

.form-label.small {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: 600;
  margin-bottom: 4px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

@media (max-width: 768px) {
  .user-detail-card {
    padding: 15px;
    margin: 5px;
  }

  .btn-group {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    border-radius: 0.25rem !important;
    margin-bottom: 5px;
  }
}

#entrepriseTable {
  width: 100% !important;
  table-layout: auto;
}

#entrepriseTable th:nth-child(3),
#entrepriseTable td:nth-child(3) {
  min-width: 150px;
  max-width: 250px;
}

#entrepriseTable input.form-control-sm,
#entrepriseTable select.form-select-sm {
  width: 100%;
  min-width: 0;
  color: #333 !important;
}

#entrepriseTable .btn-group-sm {
  display: flex;
  gap: 2px;
}

#entrepriseTable .btn-group-sm .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

@media (max-width: 1400px) {
  #entrepriseTable .btn-group-sm .btn i {
    display: none;
  }

  #entrepriseTable .btn-group-sm .btn {
    padding: 0.25rem 0.4rem;
  }
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.content-card {
  overflow: hidden;
  max-width: 100%;
  background: linear-gradient(135deg, #ffffff, #f8faff) !important;
  color: #333 !important;
  border-color: rgba(13, 110, 253, 0.08) !important;
}

.dataTables_wrapper {
  overflow-x: auto;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 10px;
}

@media (min-width: 1200px) {
  #entrepriseTable th:nth-child(1) {
    width: 30px !important;
  }
  #entrepriseTable th:nth-child(2) {
    width: 50px !important;
  }
  #entrepriseTable th:nth-child(4) {
    width: 80px !important;
  }
  #entrepriseTable th:nth-child(5) {
    width: 120px !important;
  }
  #entrepriseTable th:nth-child(6) {
    width: 130px !important;
  }
  #entrepriseTable th:nth-child(7) {
    width: 100px !important;
  }
  #entrepriseTable th:nth-child(8) {
    width: 140px !important;
  }
  #entrepriseTable th:nth-child(9) {
    width: 150px !important;
  }
}

@media (max-width: 1199px) {
  #entrepriseTable {
    font-size: 0.85rem;
  }

  #entrepriseTable input.form-control-sm,
  #entrepriseTable select.form-select-sm {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
  }

  #entrepriseTable .btn {
    font-size: 0.7rem;
    padding: 0.2rem 0.3rem;
  }
}

.user-detail-card {
  background: linear-gradient(135deg, #f8f9fa, #ffffff) !important;
  border-left: 4px solid #3b82f6 !important;
  color: #333 !important;
}

#entrepriseTable {
  background: white !important;
}

#entrepriseTable tbody tr {
  background: white !important;
  color: #333 !important;
}

#entrepriseTable tbody tr:hover {
  background: #f8f9fa !important;
}

.dataTables_wrapper {
  color: #333 !important;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  color: #333 !important;
}

.stat-card {
  background: linear-gradient(135deg, #ffffff, #f8faff);
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  border: 1px solid rgba(13, 110, 253, 0.08);
  box-shadow: 0 4px 24px rgba(13, 110, 253, 0.06);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(13, 110, 253, 0.12);
}

/* .stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
  animation: gradientSlide 3s ease infinite;
}

@keyframes gradientSlide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
} */

.stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-content {
  position: relative;
}

.stat-title {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 12px;
}

.stat-details {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.stat-progress-group {
  margin-top: 12px;
}

.stat-progress-item small {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 600;
}

.progress {
  background-color: #f3f4f6;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  border-radius: 10px;
  transition: width 1s ease-in-out;
}

.stat-mini-cards {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.stat-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  flex: 1;
}

.stat-mini-icon {
  font-size: 1.25rem;
}

.stat-mini-value {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1;
}

.stat-mini-label {
  font-size: 0.625rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-bar {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(13, 110, 253, 0.08);
  flex-wrap: wrap;
  gap: 20px;
}

.stat-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-bar-item i {
  font-size: 1.1rem;
}

.stat-bar-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.stat-bar-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1f2937;
}

.stat-card {
}

.stat-card:nth-child(1) {
  animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
  animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
  animation-delay: 0.3s;
}

.stat-card:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .stat-value {
    font-size: 1.5rem;
  }

  .stat-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .stat-mini-cards {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .stat-card {
    padding: 15px;
  }

  .stat-icon-wrapper {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

.badge-days {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.5rem;
  color: #fff;
  min-width: 40px;
  text-align: center;
}

.badge-days.bg-success {
  background-color: #28a745 !important;
}

.badge-days.bg-danger {
  background-color: #dc3545 !important;
}

.feedback-header {
  background: var(--backround_header_degradé) !important;
  color: white;
  padding: 2rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.feedback-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(35deg);
}

.feedback-header h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.stat-box {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.stat-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--stat-color, #667eea),
    var(--stat-color-end, #764ba2)
  );
}

.stat-box.bugs {
  --stat-color: #ef4444;
  --stat-color-end: #dc2626;
}

.stat-box.suggestions {
  --stat-color: #3b82f6;
  --stat-color-end: #2563eb;
}

.stat-box.pending {
  --stat-color: #f59e0b;
  --stat-color-end: #d97706;
}

.stat-box.resolved {
  --stat-color: #10b981;
  --stat-color-end: #059669;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(
    135deg,
    var(--stat-color, #667eea),
    var(--stat-color-end, #764ba2)
  );
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-detail {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-detail-value {
  font-weight: 700;
  color: #374151;
}

.stat-detail-label {
  font-size: 0.75rem;
  color: #9ca3af;
}

.tab-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  background: #f8f9fa;
  padding: 0.5rem;
  border-radius: 12px;
}

.tab-btn {
  flex: 1;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  color: #374151;
}

.tab-btn.active {
  background: white;
  color: #1f2937;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feedback-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feedback-card-header {
  display: flex;
  justify-content: between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border-radius: 12px 12px 0 0;
  border-bottom: 2px solid #f3f4f6;
}

.feedback-card-header h4 {
  margin: 0;
  font-size: 1.25rem;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.module-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4b5563;
}

.table-container {
  padding: 1.5rem;
}

.action-btn-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.action-btn-group .btn {
  white-space: nowrap;
}

.badge {
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .feedback-header h1 {
    font-size: 1.5rem;
  }

  .tab-nav {
    flex-direction: column;
  }
}

.nouveau-item {
  background-color: #fff3cd !important;
  border-left: 4px solid #ffc107;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.notification-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.notification-badge-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notification-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.notification-alert {
  background: #d1ecf1;
  border: 1px solid #bee5eb;
  border-radius: 8px;
  padding: 12px 20px;
  color: #0c5460;
  font-size: 14px;
  max-width: 600px;
  text-align: center;
}

@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }

  .desktop-only {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .mobile-only {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }

  .modal-body .d-flex.flex-column {
    gap: 12px;
  }

  .mobile-only.btn {
    padding: 12px 16px;
    font-size: 16px;
    min-height: 48px;
  }
}

.image-container-with-rotation {
  position: relative;
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.image-container-with-rotation:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.rotation-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 24px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0.8;
  transform: scale(0.9);
}

.rotation-btn:hover {
  background: rgba(13, 110, 253, 0.9);
  border-color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
  opacity: 1;
}

.rotation-btn:active {
  transform: scale(0.95);
}

.rotation-btn.rotating {
  animation: rotateButton 0.5s ease;
}

@keyframes rotateButton {
  0% {
    transform: scale(1.1) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1.1) rotate(360deg);
  }
}

.image-container-with-rotation img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  display: block;
}

.image-container-with-rotation:hover .rotation-btn {
  opacity: 1;
  transform: scale(1);
}

.image-container-with-rotation img[src*="default_image.png"] ~ .rotation-btn {
  display: none !important;
}

@media (max-width: 768px) {
  .rotation-btn {
    width: 36px;
    height: 24px;
    font-size: 11px;
    opacity: 1;
    transform: scale(1);
    top: 5px;
    right: 5px;
  }

  .rotation-btn:hover {
    transform: scale(1.05);
  }
}

body.dark-theme .rotation-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

body.dark-theme .rotation-btn:hover {
  background: rgba(13, 110, 253, 0.8);
  border-color: rgba(255, 255, 255, 0.9);
}

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

.stat-card {
  background: linear-gradient(135deg, #ffffff, #f8faff);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  border: 1px solid rgba(13, 110, 253, 0.08);
  box-shadow: 0 4px 24px rgba(13, 110, 253, 0.06);
  overflow: hidden;
}

.quick-actions {
  background: linear-gradient(135deg, #ffffff, #f8faff);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(13, 110, 253, 0.08);
  box-shadow: 0 4px 24px rgba(13, 110, 253, 0.06);
}

.quick-actions h3 {
  color: #1f2937;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: #374151;
  transition: all 0.3s ease;
  font-weight: 500;
  cursor: pointer;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.12);
  text-decoration: none;
  color: #0d6efd;
  border-color: #0d6efd;
}

.action-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #6b7280;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.action-btn:hover .action-icon {
  background: linear-gradient(135deg, #0d6efd, #0856d1);
  color: white;
}

.feature-card {
  background: linear-gradient(135deg, #ffffff, #f8faff);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(13, 110, 253, 0.08);
  box-shadow: 0 4px 24px rgba(13, 110, 253, 0.06);
  margin-bottom: 2rem;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0d6efd, #3b82f6, #1e40af);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(13, 110, 253, 0.12);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0d6efd, #0856d1);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
}

.feature-description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.notification-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.notification-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.notification-card.unread {
  border-left: 4px solid #3b82f6;
  background: linear-gradient(135deg, #f0f9ff, #ffffff);
}

.notification-header {
  padding: 1.25rem;
  border-bottom: 1px solid #f3f4f6;
}

.notification-body {
  padding: 1.25rem;
}

.notification-footer {
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border-top: 1px solid #f3f4f6;
}

.type-badge {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: capitalize;
}

.priority-badge {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-new {
  background: linear-gradient(135deg, #88d498, #2c6e49);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(44, 110, 73, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 15px 5px rgba(44, 110, 73, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(44, 110, 73, 0.4);
  }
}

.like-btn {
  transition: all 0.3s ease;
}

.like-btn.liked {
  background-color: #fee2e2;
  border-color: #f87171;
  color: #dc2626;
}

.like-btn:hover {
  transform: translateY(-1px);
}

.mark-read-btn:hover {
  transform: translateY(-1px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(13, 110, 253, 0.1);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.animate-in {
  animation: fadeInUp 0.6s ease-out;
}

.animate-in:nth-child(1) {
  animation-delay: 0.1s;
}

.animate-in:nth-child(2) {
  animation-delay: 0.2s;
}

.animate-in:nth-child(3) {
  animation-delay: 0.3s;
}

.animate-in:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .actions-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .stat-card {
    padding: 1.25rem;
  }

  .notification-header,
  .notification-body {
    padding: 1rem;
  }

  .notification-footer {
    padding: 0.75rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .feature-card {
    padding: 1.25rem;
  }

  .stat-icon-wrapper {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .action-btn {
    padding: 1rem;
  }

  .action-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: #6b7280;
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h4 {
  color: #374151;
  margin-bottom: 0.5rem;
}

body.dark-theme .stat-card,
body.dark-theme .feature-card,
body.dark-theme .quick-actions {
  background: linear-gradient(135deg, #1e293b, #334155);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

body.dark-theme .stat-title,
body.dark-theme .feature-description {
  color: #94a3b8;
}

body.dark-theme .stat-value,
body.dark-theme .feature-title {
  color: #f1f5f9;
}

body.dark-theme .notification-card {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

body.dark-theme .notification-footer {
  background: #334155;
}

body.dark-theme .action-btn {
  background: #334155;
  border-color: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

body.dark-theme .action-btn:hover {
  border-color: #60a5fa;
  color: #60a5fa;
}

/* PROFIL PAGE */

/* CSS pour le nouveau design de la page profil */
/* Remplace les styles existants pour cette page */

.profile-container {
  max-width: 100%;
  margin: 0;
  padding: 20px;
  width: 100%;
}

.profile-header {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  border: 1px solid #e2e8f0;
}

.profile-header h1 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.profile-header p {
  color: #64748b;
  margin: 8px 0 0 0;
  font-size: 0.95rem;
}

.profile-role-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #3b82f6;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-role-badge i {
  font-size: 1rem;
}

/* Navigation par onglets */
.profile-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 32px;
  gap: 4px;
}

.profile-tab {
  flex: 1;
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
}

.profile-tab:hover {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.profile-tab.active {
  background: white;
  color: #1e293b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.profile-tab i {
  font-size: 1.1rem;
}

/* Contenu des onglets */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Layout principal */
.profile-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  align-items: start;
  width: 100%;
}

/* Carte principale */
.profile-main-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  width: 100%;
}

.profile-section {
  padding: 40px;
  border-bottom: 1px solid #f1f5f9;
}

.profile-section:last-child {
  border-bottom: none;
}

.profile-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.profile-section-icon {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.1rem;
}

.profile-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.profile-section-subtitle {
  color: #64748b;
  font-size: 0.875rem;
  margin: 4px 0 0 0;
}

/* Formulaires */
.profile-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 24px;
}

.profile-form-row.single {
  grid-template-columns: 1fr;
}

.profile-form-row.triple {
  grid-template-columns: 2fr 1fr 1fr;
}

.profile-form-row.invitation {
  grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
  gap: 20px;
}

.profile-form-group {
  display: flex;
  flex-direction: column;
}

.profile-form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.profile-form-input {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #1f2937;
  transition: all 0.2s ease;
  background: white;
}

.profile-form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.profile-form-input:disabled {
  background: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
}

.profile-readonly-field {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #6b7280;
  gap: 8px;
}

.profile-readonly-field i {
  color: #9ca3af;
}

/* Sidebar */
.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-info-card {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.profile-info-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(15deg);
  pointer-events: none;
}

.profile-info-card .content {
  position: relative;
  z-index: 2;
}

.subscription-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}

.subscription-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.subscription-subtitle {
  opacity: 0.9;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.usage-bar {
  background: rgba(255, 255, 255, 0.2);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.usage-progress {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.usage-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

.expiry-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Carte d'informations rapides */
.quick-info-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
}

.quick-info-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 20px;
}

.quick-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.quick-info-item:last-child {
  border-bottom: none;
}

.quick-info-label {
  color: #64748b;
  font-size: 0.875rem;
}

.quick-info-value {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.875rem;
}

/* Support card */
.support-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 24px;
}

.support-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0369a1;
  margin-bottom: 8px;
}

.support-text {
  color: #0284c7;
  font-size: 0.875rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.support-btn {
  width: 100%;
  padding: 12px;
  background: #0ea5e9;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.support-btn:hover {
  background: #0284c7;
  transform: translateY(-1px);
}

/* Boutons d'action */
.profile-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
}

.profile-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-btn-primary {
  background: #3b82f6;
  color: white;
}

.profile-btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.profile-btn-secondary {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.profile-btn-secondary:hover {
  background: #e2e8f0;
}

/* Responsive */
@media (max-width: 1200px) {
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .profile-sidebar {
    order: -1;
  }

  .profile-info-card {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: center;
  }

  .profile-form-row.invitation {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .profile-form-row.invitation .profile-form-group:nth-child(3),
  .profile-form-row.invitation .profile-form-group:nth-child(4) {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .profile-container {
    padding: 16px;
  }

  .profile-header {
    padding: 20px;
    position: relative;
  }

  .profile-role-badge {
    position: static;
    margin-top: 16px;
    align-self: flex-start;
  }

  .profile-tabs {
    flex-direction: column;
  }

  .profile-form-row,
  .profile-form-row.invitation {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .profile-section {
    padding: 24px 20px;
  }

  .profile-info-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-actions {
    flex-direction: column;
  }

  .profile-btn {
    justify-content: center;
  }
}

/* Suppression des styles existants à remplacer */
/* Vous pouvez supprimer ou commenter ces classes dans votre CSS existant : */
/*
- .hero-header
- .content-card (pour cette page uniquement)
- .stat-card (pour cette page uniquement)
- .stat-icon-wrapper (pour cette page uniquement)
*/
