@charset "UTF-8";
/* =========================================================
   NAVIGATION ÉLÉGANTE + MORPHING LIQUIDE MOBILE
   ========================================================= */
/* ===== RESET MODERNE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #111;
  color: #f1f1f1;
  font-family: "Inter", "Satoshi", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: radial-gradient(at 15% 25%, rgba(13, 110, 253, 0.06), transparent 50%), radial-gradient(at 85% 75%, rgba(13, 110, 253, 0.04), transparent 50%);
  background-color: #111;
  background-attachment: fixed;
}

/* ===== CONTAINERS ===== */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* =========================================================
   HEADER ÉLÉGANT
   ========================================================= */
.main-header {
  background: rgba(10, 12, 16, 0.95);
  padding: 0;
  border-bottom: 1px solid rgba(13, 110, 253, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(13, 110, 253, 0.15);
}
.main-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.6), transparent);
}
.main-header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem 0;
  position: relative;
}

/* =========================================================
   LOGO ÉLÉGANT
   ========================================================= */
.logo {
  position: relative;
  z-index: 1001;
}
.logo a {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #ffffff 0%, #0d6efd 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 2px 10px rgba(13, 110, 253, 0.3));
}
.logo a:hover {
  background-position: right center;
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 16px rgba(13, 110, 253, 0.5));
}

/* =========================================================
   NAVIGATION DESKTOP - TRÈS ÉLÉGANTE
   ========================================================= */
.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav li {
  position: relative;
}
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.8rem 1.3rem;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.2), transparent);
  transition: left 0.5s ease;
}
.nav a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.12));
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.4), 0 4px 16px rgba(13, 110, 253, 0.25);
}
.nav a:hover::before {
  left: 100%;
}
.nav a:active {
  transform: translateY(0);
}

/* =========================================================
   BADGE MESSAGES - ÉLÉGANT
   ========================================================= */
.nav-dashboard {
  position: relative;
}
.nav-dashboard .badge-msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.45rem;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 11px;
  margin-left: 0.5rem;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(239, 68, 68, 0.25), 0 3px 10px rgba(239, 68, 68, 0.5);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3), 0 0 0 5px rgba(239, 68, 68, 0.35), 0 4px 16px rgba(239, 68, 68, 0.7);
  }
}
/* =========================================================
   NOTIFICATIONS - CLOCHE + DROPDOWN ÉLÉGANT
   ========================================================= */
.nav-notifications {
  position: relative;
}
@media (min-width: 769px) {
  .nav-notifications {
    display: flex;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .nav-notifications {
    position: absolute;
    top: 1.1rem;
    right: 5rem;
    z-index: 1001;
  }
}

.notifications-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.3rem;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.notifications-btn:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.12));
  border-color: rgba(13, 110, 253, 0.4);
  transform: translateY(-2px);
}
.notifications-btn:hover .bell-icon {
  animation: bellRing 0.5s ease-in-out;
}
.notifications-btn[aria-expanded=true] {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.25), rgba(13, 110, 253, 0.15));
  border-color: rgba(13, 110, 253, 0.5);
}
@media (max-width: 768px) {
  .notifications-btn {
    padding: 0.6rem 0.9rem;
    font-size: 1.1rem;
  }
}

.bell-icon {
  display: inline-block;
  transform-origin: top center;
}

@keyframes bellRing {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(-15deg);
  }
  20%, 40% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(0deg);
  }
}
.badge-notif {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 0.4rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 10px;
  position: absolute;
  top: 4px;
  right: 4px;
  box-shadow: 0 0 0 2px rgb(10, 12, 16), 0 3px 10px rgba(59, 130, 246, 0.5);
}
.badge-notif.pulse {
  animation: notifPulse 2s ease-in-out infinite;
}
@media (max-width: 768px) {
  .badge-notif {
    min-width: 16px;
    height: 16px;
    font-size: 0.65rem;
    top: 2px;
    right: 2px;
  }
}

@keyframes notifPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgb(10, 12, 16), 0 0 0 4px rgba(59, 130, 246, 0.35), 0 4px 16px rgba(59, 130, 246, 0.7);
  }
}
/* ===== DROPDOWN ===== */
.notifications-dropdown {
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 0;
  width: min(420px, 90vw);
  max-height: 600px;
  background: rgba(18, 22, 30, 0.98);
  border: 1px solid rgba(13, 110, 253, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(13, 110, 253, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transform-origin: top right;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10000;
}
.notifications-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
@media (max-width: 768px) {
  .notifications-dropdown {
    position: fixed;
    top: 4.5rem;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    max-height: calc(100vh - 5.5rem);
    border-radius: 12px;
  }
}

.notifications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.notifications-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
@media (max-width: 768px) {
  .notifications-header {
    padding: 1rem 1.2rem;
  }
  .notifications-header h3 {
    font-size: 1rem;
  }
}

.btn-mark-all-read {
  padding: 0.5rem 1rem;
  background: rgba(13, 110, 253, 0.15);
  border: 1px solid rgba(13, 110, 253, 0.3);
  border-radius: 8px;
  color: #0d6efd;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-mark-all-read:hover {
  background: rgba(13, 110, 253, 0.25);
  border-color: #0d6efd;
}
@media (max-width: 768px) {
  .btn-mark-all-read {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
}

.notifications-list {
  max-height: 420px;
  overflow-y: auto;
  padding: 0.5rem;
}
@media (max-width: 768px) {
  .notifications-list {
    max-height: calc(100vh - 14rem);
    padding: 0.5rem 0.75rem;
  }
}

.notification-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  animation: notifSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.notification-item.unread {
  background: rgba(13, 110, 253, 0.08);
  border-color: rgba(13, 110, 253, 0.2);
}
.notification-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(13, 110, 253, 0.3);
  transform: translateX(4px);
}
.notification-item.fade-out {
  animation: notifFadeOut 0.3s ease forwards;
}
@media (max-width: 768px) {
  .notification-item {
    gap: 0.75rem;
    padding: 0.85rem;
  }
}

@keyframes notifSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes notifFadeOut {
  to {
    opacity: 0;
    transform: translateX(20px) scale(0.9);
  }
}
.notif-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.2rem;
}
.notif-icon--success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.notif-icon--error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.notif-icon--warning {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.notif-icon--info {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
@media (max-width: 768px) {
  .notif-icon {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
}

.notif-content {
  flex: 1;
  min-width: 0;
}

.notif-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.3rem 0;
}
@media (max-width: 768px) {
  .notif-title {
    font-size: 0.85rem;
  }
}

.notif-message {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0 0 0.5rem 0;
}
@media (max-width: 768px) {
  .notif-message {
    font-size: 0.8rem;
  }
}

.notif-time {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}
@media (max-width: 768px) {
  .notif-time {
    font-size: 0.7rem;
  }
}

.btn-mark-read {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.15);
  border: 1px solid rgba(13, 110, 253, 0.3);
  border-radius: 8px;
  color: #0d6efd;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-mark-read:hover {
  background: rgba(13, 110, 253, 0.25);
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .btn-mark-read {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
}

.notifications-empty {
  padding: 3rem 2rem;
  text-align: center;
}
.notifications-empty .empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.notifications-empty p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .notifications-empty {
    padding: 2rem 1.5rem;
  }
  .notifications-empty .empty-icon {
    font-size: 2.5rem;
  }
  .notifications-empty p {
    font-size: 0.9rem;
  }
}

.notifications-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 768px) {
  .notifications-footer {
    padding: 0.85rem 1.2rem;
  }
}

.btn-see-all {
  display: block;
  width: 100%;
  padding: 0.8rem;
  background: rgba(13, 110, 253, 0.15);
  border: 1px solid rgba(13, 110, 253, 0.3);
  border-radius: 10px;
  color: #0d6efd;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}
.btn-see-all:hover {
  background: rgba(13, 110, 253, 0.25);
  border-color: #0d6efd;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .btn-see-all {
    padding: 0.7rem;
    font-size: 0.85rem;
  }
}

/* ===== SCROLLBAR DROPDOWN ===== */
.notifications-list::-webkit-scrollbar {
  width: 6px;
}

.notifications-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-thumb {
  background: rgba(13, 110, 253, 0.5);
  border-radius: 3px;
}
.notifications-list::-webkit-scrollbar-thumb:hover {
  background: rgba(13, 110, 253, 0.7);
}

/* =========================================================
   MENU BURGER - DESIGN MODERNE
   ========================================================= */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.08));
  border: 1px solid rgba(13, 110, 253, 0.25);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.burger:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.25), rgba(13, 110, 253, 0.15));
  border-color: rgba(13, 110, 253, 0.4);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3), 0 0 30px rgba(13, 110, 253, 0.15);
}
.burger span {
  width: 24px;
  height: 2.5px;
  background: linear-gradient(90deg, #fff, rgba(13, 110, 253, 0.9));
  border-radius: 3px;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.burger.active {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.35), rgba(13, 110, 253, 0.25));
  transform: rotate(90deg);
}
.burger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background: #fff;
}
.burger.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0) rotate(180deg);
}
.burger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background: #fff;
}

/* =========================================================
   NAVIGATION MOBILE - MORPHING LIQUIDE ! 🌊💧
   ========================================================= */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 88vw);
    background: linear-gradient(165deg, rgba(18, 22, 30, 0.98) 0%, rgba(12, 16, 24, 0.98) 50%, rgba(10, 14, 22, 0.98) 100%);
    border-left: 2px solid rgba(13, 110, 253, 0.3);
    padding: 6rem 2rem 2.5rem;
    opacity: 0;
    visibility: hidden;
    clip-path: circle(0% at 100% 0%);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8), -5px 0 25px rgba(13, 110, 253, 0.2), inset 2px 0 0 rgba(13, 110, 253, 0.15);
    transition: clip-path 1.2s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.8s cubic-bezier(0.85, 0, 0.15, 1);
    overflow-y: auto;
    overflow-x: hidden;
  }
  .nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, rgba(13, 110, 253, 0.5), #0d6efd);
    background-size: 200% 100%;
    animation: glowSlide 3s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.7);
    opacity: 0;
    transition: opacity 0.6s ease 0.4s;
  }
  .nav::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 20%, rgba(13, 110, 253, 0.15), transparent 50%), radial-gradient(ellipse at 50% 80%, rgba(13, 110, 253, 0.08), transparent 50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: radialWave 4s ease-in-out infinite;
    transition: opacity 0.6s ease 0.5s;
  }
  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
  }
  .nav li {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    filter: blur(5px);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.7s ease;
  }
  .nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 1.3rem 1.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.06));
    border: 1px solid rgba(13, 110, 253, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
  }
  .nav a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.5), rgba(13, 110, 253, 0.2));
    transform: translate(-50%, -50%);
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .nav a::after {
    content: "";
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.4), transparent);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
    filter: blur(12px);
  }
  .nav a:hover {
    transform: translateX(10px) scale(1.03);
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.25), rgba(13, 110, 253, 0.15));
    border-color: rgba(13, 110, 253, 0.5);
    box-shadow: 0 6px 25px rgba(13, 110, 253, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
  .nav a:hover::before {
    width: 300%;
    height: 300%;
  }
  .nav a:hover::after {
    opacity: 1;
  }
  .nav.active {
    opacity: 1;
    visibility: visible;
    clip-path: circle(150% at 100% 0%);
  }
  .nav.active::before {
    opacity: 1;
  }
  .nav.active::after {
    opacity: 1;
  }
  .nav.active li {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  .nav.active li:nth-child(1) {
    transition-delay: 0.38s, 0.38s, 0.38s;
  }
  .nav.active li:nth-child(2) {
    transition-delay: 0.46s, 0.46s, 0.46s;
  }
  .nav.active li:nth-child(3) {
    transition-delay: 0.54s, 0.54s, 0.54s;
  }
  .nav.active li:nth-child(4) {
    transition-delay: 0.62s, 0.62s, 0.62s;
  }
  .nav.active li:nth-child(5) {
    transition-delay: 0.7s, 0.7s, 0.7s;
  }
  .nav.active li:nth-child(6) {
    transition-delay: 0.78s, 0.78s, 0.78s;
  }
  .nav.active li:nth-child(7) {
    transition-delay: 0.86s, 0.86s, 0.86s;
  }
  .nav.active li:nth-child(8) {
    transition-delay: 0.94s, 0.94s, 0.94s;
  }
  .nav.active li:nth-child(9) {
    transition-delay: 1.02s, 1.02s, 1.02s;
  }
  .nav.active li:nth-child(10) {
    transition-delay: 1.1s, 1.1s, 1.1s;
  }
  body:has(.nav.active)::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(13, 110, 253, 0.15), transparent 40%), radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95));
    z-index: 999;
    opacity: 0;
    animation: liquidOverlay 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    pointer-events: auto;
  }
}
@keyframes liquidOverlay {
  0% {
    opacity: 0;
    clip-path: circle(0% at 100% 0%);
  }
  100% {
    opacity: 1;
    clip-path: circle(150% at 50% 50%);
  }
}
@keyframes glowSlide {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes radialWave {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1) translateY(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) translateY(-10px);
  }
}
/* =========================================================
   SCROLLBAR ÉLÉGANTE
   ========================================================= */
.nav::-webkit-scrollbar {
  width: 6px;
}

.nav::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

.nav::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.8), rgba(13, 110, 253, 0.5));
  border-radius: 3px;
  box-shadow: inset 0 0 6px rgba(13, 110, 253, 0.5);
}
.nav::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0d6efd, rgba(13, 110, 253, 0.7));
}

/* =========================================================
   PAGE CONTENT
   ========================================================= */
.page-content {
  min-height: calc(100vh - 200px);
  padding: 3rem 0;
}

/* =========================================================
   MESSAGES DJANGO - ÉLÉGANTS
   ========================================================= */
.messages-wrapper {
  position: fixed;
  top: 5.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: min(420px, 100vw - 3rem);
}

.alert {
  padding: 1.1rem 1.6rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  animation: alertSlide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.alert::before {
  font-size: 1.3rem;
  font-weight: 800;
}
.alert-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #fff;
}
.alert-success::before {
  content: "✓";
}
.alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fff;
}
.alert-error::before {
  content: "✕";
}
.alert-warning {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.95), rgba(245, 158, 11, 0.95));
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #000;
}
.alert-warning::before {
  content: "⚠";
}
.alert-info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(37, 99, 235, 0.95));
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #fff;
}
.alert-info::before {
  content: "ℹ";
}

@keyframes alertSlide {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* =========================================================
   SYSTÈME D'AIDE - DESIGN MODERNE ET ÉLÉGANT
   ========================================================= */
.help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  border-radius: 50%;
  padding: 0;
  margin-left: 10px;
  cursor: pointer;
  vertical-align: middle;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25), 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
}
.help-btn svg {
  width: 14px;
  height: 14px;
  stroke: white;
  fill: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.help-btn:hover {
  transform: scale(1.12) translateY(-1px);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
}
.help-btn:hover svg {
  transform: rotate(-15deg) scale(1.08);
}
.help-btn:active {
  transform: scale(1.02);
}
@media (max-width: 1024px) {
  .help-btn {
    width: 26px;
    height: 26px;
  }
  .help-btn svg {
    width: 15px;
    height: 15px;
  }
}
@media (max-width: 767px) {
  .help-btn {
    width: 28px;
    height: 28px;
    margin-left: 8px;
  }
  .help-btn svg {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 480px) {
  .help-btn {
    width: 30px;
    height: 30px;
  }
  .help-btn svg {
    width: 17px;
    height: 17px;
  }
}

.help-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
}
.help-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.25s ease-out;
}

.help-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  animation: overlayFadeIn 0.3s ease-out;
}

.help-modal-content {
  position: relative;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
  padding: 40px 32px 32px;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 10px 20px -5px rgba(59, 130, 246, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: contentSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.help-modal-content::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4), 0 0 0 4px rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
}
.help-modal-content::after {
  content: "ℹ";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 700;
  pointer-events: none;
}
.help-modal-content p {
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
  text-align: center;
}
@media (max-width: 1024px) {
  .help-modal-content {
    max-width: 540px;
    padding: 38px 30px 30px;
  }
}
@media (max-width: 767px) {
  .help-modal-content {
    width: 92%;
    padding: 36px 28px 28px;
    border-radius: 24px;
  }
  .help-modal-content p {
    font-size: 14px;
    line-height: 1.65;
  }
}
@media (max-width: 480px) {
  .help-modal-content {
    width: 94%;
    padding: 32px 24px 24px;
  }
  .help-modal-content p {
    font-size: 13px;
    line-height: 1.6;
  }
  .help-modal-content::before, .help-modal-content::after {
    width: 36px;
    height: 36px;
    top: -18px;
  }
  .help-modal-content::after {
    font-size: 18px;
  }
}

.help-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(100, 116, 139, 0.08);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.help-modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  transform: rotate(90deg) scale(1.08);
}
.help-modal-close:active {
  transform: rotate(90deg) scale(0.95);
}
@media (max-width: 767px) {
  .help-modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes contentSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* =========================================================
   FOOTER ÉLÉGANT
   ========================================================= */
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  background: rgba(8, 10, 14, 0.98);
  padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  border-top: 1px solid rgba(13, 110, 253, 0.2);
  position: relative;
}
.footer-links::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.5), transparent);
}
.footer-links li {
  position: relative;
}
.footer-links li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: clamp(-0.6rem, -1.5vw, -1.1rem);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: linear-gradient(180deg, transparent, rgba(13, 110, 253, 0.4), transparent);
}
.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: clamp(0.9rem, 1.8vw, 0.98rem);
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  display: inline-block;
  background: rgba(255, 255, 255, 0.02);
}
.footer-links a:hover {
  color: #fff;
  background: rgba(13, 110, 253, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}
@media (max-width: 480px) {
  .footer-links {
    flex-direction: column;
    gap: 0.8rem;
    padding: 2.5rem 1.5rem;
  }
  .footer-links li {
    width: 100%;
    text-align: center;
  }
  .footer-links li:not(:last-child)::after {
    display: none;
  }
  .footer-links li:not(:last-child) {
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(13, 110, 253, 0.15);
  }
  .footer-links a {
    display: block;
    width: 100%;
    padding: 0.85rem 1.2rem;
  }
}

.footer-share {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 0 0 2rem 0;
  background: rgba(8, 10, 14, 0.98);
}
.footer-share .btn-share {
  background: rgba(13, 110, 253, 0.15);
  border: 1px solid rgba(13, 110, 253, 0.4);
  color: #93c5fd;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}
.footer-share .btn-share:hover {
  background: rgba(13, 110, 253, 0.3);
  transform: translateY(-2px);
}
@media (max-width: 480px) {
  .footer-share {
    flex-direction: column;
    align-items: center;
    padding: 0 1.5rem 2rem;
  }
  .footer-share .btn-share {
    width: 100%;
    text-align: center;
  }
}

/* =========================================================
   UTILITAIRES GLOBAUX
   ========================================================= */
button,
a {
  font-family: inherit;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: rgba(13, 110, 253, 0.5);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(13, 110, 253, 0.7);
}

::selection {
  background: rgba(13, 110, 253, 0.35);
  color: #fff;
}

*:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.6);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */
@media (max-width: 480px) {
  body {
    font-size: 0.95rem;
  }
  .container {
    width: 95%;
    padding: 0 0.75rem;
  }
  .page-content {
    padding: 2rem 0;
  }
  .messages-wrapper {
    top: 5rem;
    right: 1rem;
    max-width: calc(100vw - 2rem);
  }
  .alert {
    padding: 1rem 1.3rem;
    font-size: 0.9rem;
  }
  .main-header .header-container {
    padding: 1rem 0;
  }
}
/* =========================================================
   ANIMATIONS PERFORMANCE
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}
/* =========================================================
   PAGE LISTE PRESTATIONS - PREMIUM DESIGN OPTIMISÉ MOBILE
   ========================================================= */
/* ================================================= */
/*              CONTAINER PRINCIPAL                  */
/* ================================================= */
.prestations-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  min-height: 100vh;
}

/* ================================================= */
/*                  HEADER TOP                       */
/* ================================================= */
.prestations-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.prestations-top::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #0d6efd, transparent);
  border-radius: 2px;
}
.prestations-top h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.prestations-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ================================================= */
/*                    BOUTONS                        */
/* ================================================= */
.btn-publier,
.btn-prendre {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0d6efd, rgb(1.762295082, 87.2336065574, 213.237704918));
  color: #000;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.3s ease;
}
.btn-publier:hover,
.btn-prendre:hover {
  background: linear-gradient(135deg, rgb(38.2909836066, 125.1536885246, 253.2090163934), #0d6efd);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 110, 253, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.btn-publier:active,
.btn-prendre:active {
  transform: translateY(0);
}

.btn-second {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(60, 70, 85, 0.6), rgba(45, 55, 70, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.65rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-second:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.3), rgba(13, 110, 253, 0.2));
  border-color: rgba(13, 110, 253, 0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.2);
}
.btn-second:active {
  transform: translateY(0);
}

/* ================================================= */
/*                  FILTRES                          */
/* ================================================= */
.filters-wrapper {
  margin-bottom: 3rem;
}

.filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, rgba(60, 70, 85, 0.6), rgba(45, 55, 70, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filters-toggle:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.3), rgba(13, 110, 253, 0.2));
  border-color: rgba(13, 110, 253, 0.5);
  color: #fff;
  transform: translateY(-2px);
}
.filters-toggle.is-active {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.1));
  border-color: rgba(13, 110, 253, 0.4);
  color: #0d6efd;
}

.prestations-filters {
  margin-top: 1.5rem;
  background: linear-gradient(145deg, rgba(30, 35, 45, 0.95), rgba(20, 25, 35, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.prestations-filters.is-open {
  max-height: 1000px;
  opacity: 1;
  padding: 2.5rem;
}
.prestations-filters input,
.prestations-filters select {
  width: 100%;
  background: linear-gradient(135deg, rgba(20, 25, 35, 0.8), rgba(15, 20, 30, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.prestations-filters input::placeholder,
.prestations-filters select::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.prestations-filters input:focus,
.prestations-filters select:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}
.prestations-filters select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.prestations-filters select option {
  background: rgba(20, 25, 35, 0.95);
  color: #fff;
  padding: 0.5rem;
}

.filters-actions {
  grid-column: 1/-1;
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
  margin-top: 1rem;
}

.btn-reset {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  transition: all 0.2s ease;
}
.btn-reset:hover {
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.1);
}

/* ================================================= */
/*              SECTION URGENTE                      */
/* ================================================= */
.urgent-section {
  margin-bottom: 4rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(220, 38, 38, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.urgent-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ef4444, transparent);
}

.urgent-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ef4444;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* ================================================= */
/*              SEPARATEUR                           */
/* ================================================= */
.section-separator {
  margin: 4rem 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(13, 110, 253, 0.3), transparent);
  border-radius: 1px;
}

/* ================================================= */
/*                    GRID                           */
/* ================================================= */
.prestations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* ================================================= */
/*              CARD PRESTATION                      */
/* ================================================= */
.prestation {
  background: linear-gradient(145deg, rgba(30, 35, 45, 0.95), rgba(20, 25, 35, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.prestation::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #0d6efd;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.prestation::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.4), transparent);
}
.prestation:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(13, 110, 253, 0.2);
  border-color: rgba(13, 110, 253, 0.3);
}
.prestation:hover::before {
  opacity: 1;
}
.prestation.urgent {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2), 0 20px 50px rgba(239, 68, 68, 0.15);
}
.prestation.urgent::before {
  background: #ef4444;
  opacity: 0.8;
}
.prestation.urgent::after {
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.6), transparent);
}
.prestation.urgent:hover {
  box-shadow: 0 24px 60px rgba(239, 68, 68, 0.25), 0 0 30px rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.6);
}

/* ================================================= */
/*                CONTENU CARD                       */
/* ================================================= */
.prestation h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  flex-grow: 1;
}

.entreprise {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.entreprise::before {
  content: "🏢";
  font-size: 0.9rem;
}

.propose-par {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0.5rem 0;
}
.propose-par .link-profile {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.propose-par .link-profile:hover {
  color: rgb(63.5819672131, 140.3073770492, 253.4180327869);
  text-decoration: underline;
}

.prix {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0d6efd;
  margin: 0.5rem 0;
  text-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

.tva {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* ================================================= */
/*                BADGE URGENT                       */
/* ================================================= */
.urgent-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(220, 38, 38, 0.2));
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  animation: urgentPulse 2s ease-in-out infinite;
}

@keyframes urgentPulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
  }
}
.urgent-timer {
  font-weight: 700;
  color: #fef2f2;
}

/* ================================================= */
/*                    POPUP                          */
/* ================================================= */
.popup-mission {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
  opacity: 1;
  transition: opacity 0.3s ease-out;
}
.popup-mission.hidden {
  display: none;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.popup-mission-content {
  background: linear-gradient(145deg, rgba(30, 35, 45, 0.98), rgba(20, 25, 35, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: #fff;
  padding: 2.5rem;
  width: min(650px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  animation: popupSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes popupSlideIn {
  from {
    transform: scale(0.95) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
.popup-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(60, 70, 85, 0.8), rgba(45, 55, 70, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}
.popup-close:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.2));
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
  transform: rotate(90deg);
}

.popup-mission-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.popup-mission-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}
.popup-mission-content p strong {
  color: #0d6efd;
  font-weight: 700;
  margin-right: 0.5rem;
}

.popup-prix {
  font-size: 2rem;
  font-weight: 700;
  color: #0d6efd;
  text-align: center;
  padding: 1.5rem;
  margin: 1rem 0;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.05));
  border: 1px solid rgba(13, 110, 253, 0.2);
  border-radius: 10px;
}

.btn-prendre-confirm,
.btn-voir-mission {
  display: block;
  margin-top: 1rem;
  background: linear-gradient(135deg, #0d6efd, rgb(1.762295082, 87.2336065574, 213.237704918));
  color: #000;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.4);
  transition: all 0.3s ease;
}
.btn-prendre-confirm:hover,
.btn-voir-mission:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 110, 253, 0.5);
}

/* Message vide */
.vide {
  grid-column: 1/-1;
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
}

/* ================================================= */
/*                 RESPONSIVE                        */
/* ================================================= */
@media (max-width: 1200px) {
  .prestations-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}
@media (max-width: 768px) {
  .prestations-page {
    padding: 2rem 1.5rem;
  }
  .prestations-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .prestations-actions {
    width: 100%;
  }
  .prestations-actions a {
    flex: 1;
    justify-content: center;
  }
  .prestations-filters {
    grid-template-columns: repeat(2, 1fr);
  }
  .filters-actions {
    grid-column: span 2;
  }
  .prestations-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
  }
  .prestation h2 {
    font-size: 1.2rem;
  }
  .prestation .prix {
    font-size: 1.6rem;
  }
}
@media (max-width: 480px) {
  .prestations-page {
    padding: 1.2rem 0.8rem;
  }
  .prestations-top {
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
  }
  .prestations-top h1 {
    font-size: 1.5rem;
  }
  .prestations-actions {
    flex-direction: column;
    gap: 0.6rem;
  }
  .prestations-actions a {
    width: 100%;
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
  .filters-wrapper {
    margin-bottom: 1.5rem;
  }
  .filters-toggle {
    padding: 0.65rem 1.2rem;
    font-size: 0.85rem;
  }
  .prestations-filters {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .prestations-filters.is-open {
    padding: 1.5rem;
  }
  .prestations-filters input,
  .prestations-filters select {
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
  }
  .filters-actions {
    grid-column: span 1;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
  }
  .filters-actions button,
  .filters-actions a {
    width: 100%;
    padding: 0.7rem;
    font-size: 0.85rem;
  }
  .urgent-section {
    padding: 1.2rem;
    margin-bottom: 2rem;
  }
  .urgent-section .urgent-title {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
  }
  .section-separator {
    margin: 2rem 0;
  }
  .prestations-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .prestation {
    padding: 1.2rem;
    gap: 0.75rem;
    border-radius: 12px;
  }
  .prestation h2 {
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 0.3rem;
  }
  .prestation p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0.3rem 0;
  }
  .prestation p strong {
    font-size: 0.8rem;
  }
  .prestation .desc {
    font-size: 0.85rem;
  }
  .prestation .propose-par {
    font-size: 0.8rem;
    margin: 0.3rem 0;
  }
  .prestation .prix {
    font-size: 1.4rem;
    margin: 0.4rem 0;
  }
  .prestation .tva {
    font-size: 0.75rem;
  }
  .prestation .urgent-badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
  }
  .prestation .btn-second,
  .prestation .btn-prendre {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    margin-top: 0.3rem;
  }
  .prestation:hover {
    transform: translateY(-3px);
  }
  .popup-content {
    padding: 1.5rem 1.2rem;
    border-radius: 16px;
  }
  .popup-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }
  .popup-content p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .popup-content .popup-prix {
    font-size: 1.5rem;
    padding: 1rem;
    margin: 0.8rem 0;
  }
  .popup-close {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    top: 1rem;
    right: 1rem;
  }
  .btn-publier,
  .btn-prendre,
  .btn-second,
  .btn-prendre-confirm,
  .btn-voir-mission {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
  .btn-prendre-confirm,
  .btn-voir-mission {
    margin-top: 0.8rem;
  }
}
/* ================================================= */
/*       OPTIMISATION TRÈS PETITS ÉCRANS < 360px    */
/* ================================================= */
@media (max-width: 360px) {
  .prestations-page {
    padding: 1rem 0.6rem;
  }
  .prestations-top h1 {
    font-size: 1.3rem;
  }
  .prestation {
    padding: 1rem;
  }
  .prestation h2 {
    font-size: 0.95rem;
  }
  .prestation .prix {
    font-size: 1.2rem;
  }
  .prestation p {
    font-size: 0.8rem;
  }
}
/* ================================================= */
/*              ANIMATIONS D'ENTRÉE                  */
/* ================================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.prestation {
  animation: fadeInUp 0.6s ease-out backwards;
}
.prestation:nth-child(1) {
  animation-delay: 0.05s;
}
.prestation:nth-child(2) {
  animation-delay: 0.1s;
}
.prestation:nth-child(3) {
  animation-delay: 0.15s;
}
.prestation:nth-child(4) {
  animation-delay: 0.2s;
}
.prestation:nth-child(5) {
  animation-delay: 0.25s;
}
.prestation:nth-child(6) {
  animation-delay: 0.3s;
}
.prestation:nth-child(7) {
  animation-delay: 0.35s;
}
.prestation:nth-child(8) {
  animation-delay: 0.4s;
}
.prestation:nth-child(9) {
  animation-delay: 0.45s;
}
.prestation:nth-child(10) {
  animation-delay: 0.5s;
}
.prestation:nth-child(11) {
  animation-delay: 0.55s;
}
.prestation:nth-child(12) {
  animation-delay: 0.6s;
}

/* =========================================================
   PUBLIER UNE PRESTATION - VERSION PREMIUM
========================================================= */
/* ===========================
   TITRE PAGE
=========================== */
.page-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 3rem;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ===========================
   FORMULAIRE GLOBAL
=========================== */
#prestation-form {
  max-width: 1100px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

/* ===========================
   SECTIONS NORMALES (toujours ouvertes)
=========================== */
.form-section {
  background: linear-gradient(145deg, rgba(30, 35, 45, 0.95), rgba(20, 25, 35, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.4s ease-out both;
}
.form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.6), transparent);
}
.form-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.form-section h2::before {
  content: "";
  width: 5px;
  height: 28px;
  background: #0d6efd;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.5);
}

/* ===========================
   SECTIONS REPLIABLES (ACCORDÉONS)
=========================== */
.form-section-collapsible {
  background: linear-gradient(145deg, rgba(30, 35, 45, 0.8), rgba(20, 25, 35, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.4s ease-out both;
}
.form-section-collapsible summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(40, 45, 55, 0.6), rgba(30, 35, 45, 0.6));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px 16px 0 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}
.form-section-collapsible summary::after {
  content: "▼";
  font-size: 0.9rem;
  color: #0d6efd;
  transition: transform 0.3s ease;
}
.form-section-collapsible summary:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.08));
  border-bottom-color: rgba(13, 110, 253, 0.3);
  color: #fff;
}
.form-section-collapsible[open] summary {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.form-section-collapsible[open] summary::after {
  transform: rotate(180deg);
}
.form-section-collapsible .collapsible-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===========================
   GROUPES DE CHAMPS
=========================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.form-group small.help {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.2rem;
}
.form-group input[type=text],
.form-group input[type=number],
.form-group input[type=date],
.form-group input[type=time],
.form-group select,
.form-group textarea {
  background: linear-gradient(135deg, rgba(20, 25, 35, 0.9), rgba(15, 20, 30, 0.9));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
}
.form-group input[type=text]:focus,
.form-group input[type=number]:focus,
.form-group input[type=date]:focus,
.form-group input[type=time]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15), 0 2px 8px rgba(0, 0, 0, 0.2);
}
.form-group input[type=text]::placeholder,
.form-group input[type=number]::placeholder,
.form-group input[type=date]::placeholder,
.form-group input[type=time]::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ===========================
   RADIOS CUSTOM PREMIUM
=========================== */
.form-group--radio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-group--radio label {
  margin-bottom: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, rgba(30, 35, 45, 0.6), rgba(20, 25, 35, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.radio-label:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.08));
  border-color: rgba(13, 110, 253, 0.4);
}
.radio-label input[type=radio] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.radio-label input[type=radio]:checked {
  border-color: #0d6efd;
  background: rgba(13, 110, 253, 0.2);
}
.radio-label input[type=radio]:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #0d6efd;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.6);
}
.radio-label .radio-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.radio-label:has(input:checked) {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.1));
  border-color: #0d6efd;
}
.radio-label:has(input:checked) .radio-text {
  color: #fff;
  font-weight: 600;
}

/* ===========================
   CHECKBOXES CUSTOM PREMIUM
=========================== */
.form-group--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, rgba(30, 35, 45, 0.6), rgba(20, 25, 35, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  transition: all 0.3s ease;
}
.form-group--checkbox:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.08));
  border-color: rgba(13, 110, 253, 0.4);
}
.form-group--checkbox input[type=checkbox] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.form-group--checkbox input[type=checkbox]:checked {
  border-color: #0d6efd;
  background: #0d6efd;
}
.form-group--checkbox input[type=checkbox]:checked::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  font-size: 0.9rem;
  font-weight: 700;
}
.form-group--checkbox label {
  cursor: pointer;
  font-weight: 500;
  margin: 0;
}
.form-group--checkbox:has(input:checked) {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.1));
  border-color: #0d6efd;
}
.form-group--checkbox:has(input:checked) label {
  color: #fff;
  font-weight: 600;
}

/* ===========================
   GRILLES
=========================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ===========================
   VÉHICULES
=========================== */
#vehicles-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.vehicle-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 44px;
  gap: 1rem;
  align-items: end;
  background: linear-gradient(135deg, rgba(20, 25, 35, 0.8), rgba(15, 20, 30, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.vehicle-row:hover {
  border-color: rgba(13, 110, 253, 0.3);
}

.remove-vehicle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 107, 107, 0.4);
  background: linear-gradient(135deg, #3a1f1f, #2a1b1b);
  color: #ff6b6b;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.remove-vehicle:hover {
  background: linear-gradient(135deg, #4a2525, #3a1f1f);
  transform: scale(1.05);
}

/* ===========================
   BOUTONS
=========================== */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}
.btn-primary:active,
.btn-secondary:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, #0d6efd, rgb(1.762295082, 87.2336065574, 213.237704918));
  color: #000;
  padding: 1.1rem 2.5rem;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(13, 110, 253, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(60, 70, 85, 0.8), rgba(45, 55, 70, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.8rem 1.6rem;
}
.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.3), rgba(13, 110, 253, 0.2));
  border-color: rgba(13, 110, 253, 0.5);
  color: #fff;
}

.btn-big {
  width: 100%;
  padding: 1.3rem 2.5rem;
  font-size: 1.1rem;
}

/* ===========================
   LIEN RETOUR
=========================== */
.back-link-wrapper {
  text-align: center;
  margin: 2rem 0 3rem;
}

.back-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.back-link:hover {
  color: #0d6efd;
}

/* ===========================
   ERREURS
=========================== */
.field-error {
  margin-top: 0.5rem;
  color: #ff5c5c;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.form-section:nth-child(1),
.form-section-collapsible:nth-child(1) {
  animation-delay: 0.05s;
}
.form-section:nth-child(2),
.form-section-collapsible:nth-child(2) {
  animation-delay: 0.1s;
}
.form-section:nth-child(3),
.form-section-collapsible:nth-child(3) {
  animation-delay: 0.15s;
}
.form-section:nth-child(4),
.form-section-collapsible:nth-child(4) {
  animation-delay: 0.2s;
}
.form-section:nth-child(5),
.form-section-collapsible:nth-child(5) {
  animation-delay: 0.25s;
}
.form-section:nth-child(6),
.form-section-collapsible:nth-child(6) {
  animation-delay: 0.3s;
}
.form-section:nth-child(7),
.form-section-collapsible:nth-child(7) {
  animation-delay: 0.35s;
}
.form-section:nth-child(8),
.form-section-collapsible:nth-child(8) {
  animation-delay: 0.4s;
}
.form-section:nth-child(9),
.form-section-collapsible:nth-child(9) {
  animation-delay: 0.45s;
}
.form-section:nth-child(10),
.form-section-collapsible:nth-child(10) {
  animation-delay: 0.5s;
}
.form-section:nth-child(11),
.form-section-collapsible:nth-child(11) {
  animation-delay: 0.55s;
}
.form-section:nth-child(12),
.form-section-collapsible:nth-child(12) {
  animation-delay: 0.6s;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .vehicle-row {
    grid-template-columns: 1fr;
  }
  .form-section,
  .form-section-collapsible .collapsible-content {
    padding: 1.8rem 1.5rem;
  }
}
@media (max-width: 480px) {
  #prestation-form {
    gap: 1.5rem;
  }
  .form-section,
  .form-section-collapsible .collapsible-content {
    padding: 1.5rem 1rem;
  }
  .page-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }
  .form-section h2,
  .form-section-collapsible summary {
    font-size: 1.1rem;
  }
}
/* ============================================ */
/*            PAGE & BACKGROUND                */
/* ============================================ */
.auth-page {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #16213e 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: radial-gradient(circle at 20% 50%, rgba(13, 110, 253, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(13, 110, 253, 0.08) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}
@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* ============================================ */
/*            WRAPPER & CARDS                  */
/* ============================================ */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 1;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: rgba(26, 26, 26, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 80px rgba(13, 110, 253, 0.15);
  text-align: center;
  position: relative;
  animation: slideUp 0.6s ease-out;
}
.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.4) 0%, transparent 50%, rgba(13, 110, 253, 0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.auth-card--large {
  max-width: 620px;
  padding: 3rem 3.5rem;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================ */
/*           TITRES & TEXTES                   */
/* ============================================ */
.auth-title {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #d0d9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

/* ============================================ */
/*          FORMULAIRES & CHAMPS               */
/* ============================================ */
.auth-form .auth-field {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 1.5rem;
  position: relative;
}
.auth-form .auth-field label {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: 0.3s ease;
}
.auth-form .auth-field input:not([type=checkbox]),
.auth-form .auth-field select {
  background: rgba(17, 17, 17, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}
.auth-form .auth-field input:not([type=checkbox])::placeholder,
.auth-form .auth-field select::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.auth-form .auth-field input:not([type=checkbox]):focus,
.auth-form .auth-field select:focus {
  outline: none;
  border-color: #0d6efd;
  background: rgba(17, 17, 17, 0.8);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
  transform: translateY(-1px);
}
.auth-form .auth-field input:not([type=checkbox]):hover:not(:focus),
.auth-form .auth-field select:hover:not(:focus) {
  border-color: rgba(255, 255, 255, 0.2);
}
.auth-form .auth-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23aaa' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.auth-form .auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0;
}
.auth-form .auth-row .auth-field {
  margin-bottom: 1.5rem;
}

/* ============================================ */
/*     PASSWORD TOGGLE BUTTON                  */
/* ============================================ */
.auth-field {
  position: relative;
}

/* ============================================ */
/*     PASSWORD TOGGLE - FIX CADRE BLEU        */
/* ============================================ */
.password-toggle {
  position: absolute;
  right: 0.875rem;
  top: calc(50% + 0.75rem);
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  padding: 0.5rem;
  opacity: 0.5;
  transition: all 0.2s ease;
  z-index: 10;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.password-toggle:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}
.password-toggle:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.4);
  outline-offset: 2px;
  border-radius: 4px;
  opacity: 1;
}
.password-toggle:focus {
  outline: none;
}
.password-toggle:active {
  transform: translateY(-50%) scale(0.95);
}

.auth-field:has(.password-toggle) input[type=password],
.auth-field:has(.password-toggle) input[type=text] {
  padding-right: 3rem;
}

/* ============================================ */
/*     VALIDATION FEEDBACK                     */
/* ============================================ */
.auth-field input.invalid,
.auth-field select.invalid {
  border-color: #ff6b6b !important;
  background: rgba(255, 107, 107, 0.05) !important;
}
.auth-field input.invalid:focus,
.auth-field select.invalid:focus {
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1) !important;
}

/* ============================================ */
/*     AUTO-HIDE MESSAGES ANIMATION            */
/* ============================================ */
.alert,
.message,
.messages .success {
  animation: slideInDown 0.4s ease;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================================ */
/*       DOMAINES D'ACTIVITÉ (CHECKBOXES)      */
/* ============================================ */
#id_domaines_activite {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 0;
}

#id_domaines_activite li {
  list-style: none;
  margin: 0;
}

#id_domaines_activite label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: rgba(17, 17, 17, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  margin: 0;
}
#id_domaines_activite label:hover {
  background: rgba(17, 17, 17, 0.7);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#id_domaines_activite input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

#id_domaines_activite label::before {
  content: "";
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  flex-shrink: 0;
}

#id_domaines_activite label::after {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: 50%;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: translate(-50%, -60%) rotate(45deg) scale(0);
  transition: all 0.25s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  opacity: 0;
}

#id_domaines_activite label.checked {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15) 0%, rgba(13, 110, 253, 0.08) 100%);
  border-color: #0d6efd;
  color: #fff;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.25), 0 0 20px rgba(13, 110, 253, 0.1);
}

#id_domaines_activite label.checked::before {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border-color: #0d6efd;
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

#id_domaines_activite label.checked::after {
  transform: translate(-50%, -60%) rotate(45deg) scale(1);
  opacity: 1;
}

#id_domaines_activite input[type=checkbox]:focus + label {
  outline: 2px solid rgba(13, 110, 253, 0.4);
  outline-offset: 2px;
}

/* ============================================ */
/*               BOUTONS                       */
/* ============================================ */
.auth-submit {
  width: 100%;
  margin-top: 1.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: #fff;
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4), 0 0 20px rgba(13, 110, 253, 0.2);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(13, 110, 253, 0.5), 0 0 30px rgba(13, 110, 253, 0.3);
}
.btn-primary:hover::before {
  left: 100%;
}
.btn-primary:active {
  transform: translateY(0);
}

/* ============================================ */
/*           LIENS & NAVIGATION                */
/* ============================================ */
.auth-forgot {
  margin-top: 1.25rem;
  display: inline-block;
}
.auth-forgot a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  position: relative;
  transition: 0.3s ease;
}
.auth-forgot a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #0d6efd 0%, #6ea8fe 100%);
  transition: width 0.3s ease;
}
.auth-forgot a:hover {
  color: #0d6efd;
}
.auth-forgot a:hover::after {
  width: 100%;
}

.auth-switch {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}
.auth-switch a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.4rem;
  transition: 0.3s ease;
  position: relative;
}
.auth-switch a:hover {
  color: #6ea8fe;
}
.auth-switch a::after {
  content: "→";
  margin-left: 4px;
  display: inline-block;
  transition: transform 0.3s ease;
}
.auth-switch a:hover::after {
  transform: translateX(3px);
}

/* ============================================ */
/*         MESSAGES D'ERREUR & ALERTES         */
/* ============================================ */
.form-error {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border-left: 3px solid #ff6b6b;
  animation: shake 0.3s ease;
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.errorlist {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.errorlist li {
  font-size: 0.8rem;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border-left: 3px solid #ff6b6b;
  margin-bottom: 0.25rem;
}
.errorlist li:last-child {
  margin-bottom: 0;
}

.alert {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  animation: slideDown 0.4s ease;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.alert-error {
  background: rgba(255, 107, 107, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
}

/* ============================================ */
/*         ÉLÉMENTS CACHÉS / UTILITAIRES       */
/* ============================================ */
#domaines-activite-wrapper {
  display: none;
}

/* ============================================ */
/*              RESPONSIVE                     */
/* ============================================ */
@media (max-width: 768px) {
  .auth-card {
    padding: 2.5rem;
  }
  .auth-card--large {
    padding: 2.5rem;
  }
  .auth-title {
    font-size: 1.9rem;
  }
  .auth-form .auth-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  #id_domaines_activite {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .password-toggle {
    font-size: 1.2rem;
    padding: 0.4rem;
  }
}
@media (max-width: 480px) {
  .auth-wrapper {
    padding: 2rem 1rem;
  }
  .auth-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
  .auth-card--large {
    padding: 2rem 1.5rem;
  }
  .auth-title {
    font-size: 1.7rem;
  }
  .auth-subtitle {
    font-size: 0.875rem;
    margin-bottom: 2rem;
  }
  .auth-form .auth-field {
    margin-bottom: 1.25rem;
  }
  .auth-form .auth-field label {
    font-size: 0.8rem;
  }
  .auth-form .auth-field input:not([type=checkbox]),
  .auth-form .auth-field select {
    padding: 0.8rem 0.9rem;
    font-size: 0.9rem;
  }
  .password-toggle {
    font-size: 1.1rem;
    padding: 0.3rem;
    right: 0.75rem;
  }
  .auth-field:has(.password-toggle) input[type=password],
  .auth-field:has(.password-toggle) input[type=text] {
    padding-right: 2.8rem;
  }
  .btn-primary {
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
  }
  #id_domaines_activite {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  #id_domaines_activite label {
    padding: 0.7rem 0.9rem;
    font-size: 0.875rem;
    gap: 0.5rem;
  }
  #id_domaines_activite label::before {
    width: 18px;
    height: 18px;
    min-width: 18px;
  }
  #id_domaines_activite label::after {
    left: 1.25rem;
    width: 5px;
    height: 9px;
  }
  .auth-forgot {
    margin-top: 1rem;
  }
  .auth-forgot a {
    font-size: 0.8rem;
  }
  .auth-switch {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    font-size: 0.85rem;
  }
  .form-error,
  .errorlist li {
    font-size: 0.75rem;
    padding: 0.4rem 0.65rem;
  }
  .alert {
    font-size: 0.85rem;
    padding: 0.85rem;
  }
}
@media (max-width: 360px) {
  .auth-card {
    padding: 1.5rem 1.25rem;
  }
  .auth-card--large {
    padding: 1.5rem 1.25rem;
  }
  .auth-title {
    font-size: 1.5rem;
  }
  .auth-subtitle {
    font-size: 0.8rem;
  }
  .auth-form .auth-field input:not([type=checkbox]),
  .auth-form .auth-field select {
    padding: 0.75rem 0.8rem;
    font-size: 0.875rem;
  }
  .password-toggle {
    font-size: 1rem;
    right: 0.65rem;
  }
  #id_domaines_activite label {
    padding: 0.65rem 0.8rem;
    font-size: 0.8rem;
  }
}
/* =========================================================
   PAGE MON COMPTE - MODERNE & RESPONSIVE
   ========================================================= */
.compte-page {
  max-width: 900px;
  margin: 3rem auto;
  padding: 3rem;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}
.compte-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0d6efd, transparent);
}
.compte-page h1 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #fff, rgba(13, 110, 253, 0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 768px) {
  .compte-page {
    margin: 2rem 1rem;
    padding: 2.5rem 2rem;
  }
}
@media (max-width: 480px) {
  .compte-page {
    margin: 1.5rem 0.5rem;
    padding: 2rem 1.5rem;
  }
}

/* ===== WARNING INFOS LÉGALES ===== */
.infos-legales-warning {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  color: #fbbf24;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

/* =========================================================
   ACCORDÉONS
   ========================================================= */
.compte-accordion {
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.compte-accordion:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
@media (max-width: 480px) {
  .compte-accordion {
    margin-bottom: 1rem;
  }
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}
.accordion-header:hover {
  background: rgba(255, 255, 255, 0.05);
}
.accordion-header.active {
  background: rgba(13, 110, 253, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.accordion-header .accordion-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.accordion-header .accordion-emoji {
  font-size: 1.4rem;
}
@media (max-width: 480px) {
  .accordion-header .accordion-emoji {
    font-size: 1.2rem;
  }
}
.accordion-header .accordion-icon {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 480px) {
  .accordion-header {
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
  }
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-body {
  padding: 2rem;
}
@media (max-width: 480px) {
  .accordion-body {
    padding: 1.5rem;
  }
}

/* Accordéon danger */
.danger-accordion {
  border-color: rgba(239, 68, 68, 0.2);
}
.danger-accordion .accordion-header.accordion-danger {
  background: rgba(239, 68, 68, 0.05);
  color: #ef4444;
}
.danger-accordion .accordion-header.accordion-danger:hover {
  background: rgba(239, 68, 68, 0.1);
}
.danger-accordion .accordion-header.accordion-danger.active {
  background: rgba(239, 68, 68, 0.15);
}

/* =========================================================
   FORMULAIRES
   ========================================================= */
.accordion-body form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.form-group label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
  background: rgba(0, 0, 0, 0.5);
}
.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Django form as_p */
form p {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
}
form p label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
}
form p input,
form p select {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}
form p input:focus,
form p select:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

/* Bouton submit */
.btn-submit {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
  transition: all 0.3s ease;
  margin-top: 1rem;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13, 110, 253, 0.5);
}
@media (max-width: 480px) {
  .btn-submit {
    width: 100%;
  }
}

/* =========================================================
   CARTES DE CONTENU
   ========================================================= */
.compte-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.5rem;
}
.compte-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.compte-card p:last-child {
  margin-bottom: 0;
}
.compte-card .statut-actuel {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.compte-card .statut-actuel strong {
  color: #fff;
  font-weight: 700;
}
.compte-card .statut-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(13, 110, 253, 0.2);
  border: 1px solid rgba(13, 110, 253, 0.4);
  border-radius: 20px;
  color: #0d6efd;
  font-size: 0.9rem;
  font-weight: 700;
  margin-left: 0.5rem;
}
.compte-card .info-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  line-height: 1.6;
}

/* Liste domaines */
.domaines-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.domaines-list li {
  padding: 0.6rem 1.2rem;
  background: rgba(13, 110, 253, 0.2);
  border: 1px solid rgba(13, 110, 253, 0.3);
  border-radius: 20px;
  color: #0d6efd;
  font-size: 0.85rem;
  font-weight: 700;
}
.domaines-list li.muted {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: #aaa;
}

.btn-secondary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: rgba(13, 110, 253, 0.1);
  border: 1px solid rgba(13, 110, 253, 0.3);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: rgba(13, 110, 253, 0.2);
  border-color: #0d6efd;
  transform: translateY(-2px);
}
@media (max-width: 480px) {
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* =========================================================
   PROFIL PUBLIC
   ========================================================= */
.profil-public-box {
  background: rgba(13, 110, 253, 0.05);
  border: 1px solid rgba(13, 110, 253, 0.2);
  border-radius: 10px;
  padding: 1.5rem;
}
.profil-public-box p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .btn-group {
    flex-direction: column;
  }
}

.btn-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-action--primary {
  background: linear-gradient(135deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  color: #fff;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.4);
}
.btn-action--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.5);
}
.btn-action--secondary {
  background: rgba(13, 110, 253, 0.1);
  border: 1px solid rgba(13, 110, 253, 0.3);
  color: rgba(255, 255, 255, 0.9);
}
.btn-action--secondary:hover {
  background: rgba(13, 110, 253, 0.2);
  border-color: #0d6efd;
  transform: translateY(-2px);
}
@media (max-width: 480px) {
  .btn-action {
    width: 100%;
  }
}

/* =========================================================
   SERVICES GRID (Abonnement)
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}
.service-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(13, 110, 253, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.service-card--primary {
  background: rgba(13, 110, 253, 0.1);
  border-color: rgba(13, 110, 253, 0.3);
}
.service-card--primary:hover {
  background: rgba(13, 110, 253, 0.15);
  border-color: #0d6efd;
}
.service-card .service-icon {
  font-size: 2rem;
}
.service-card .service-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
}
.service-card .service-price {
  color: #0d6efd;
  font-size: 1.1rem;
  font-weight: 700;
}

/* =========================================================
   STRIPE ONBOARDING
   ========================================================= */
.stripe-onboarding {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  text-align: center;
}
.stripe-onboarding .text-muted {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 0.8rem;
  line-height: 1.5;
}
.stripe-onboarding .alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.stripe-onboarding .alert-success strong {
  display: block;
  color: #22c55e;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.stripe-onboarding .alert-success p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.btn-stripe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-stripe--primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}
.btn-stripe--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.5);
}
.btn-stripe--warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}
.btn-stripe--warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.5);
}
.btn-stripe--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}
.btn-stripe--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
@media (max-width: 480px) {
  .btn-stripe {
    width: 100%;
  }
}

/* =========================================================
   DANGER ZONE
   ========================================================= */
.danger-box {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 1.5rem;
}
.danger-box--warning {
  border-left: 4px solid #fbbf24;
}
.danger-box--warning .danger-title {
  color: #fbbf24;
}
.danger-box--delete {
  border-left: 4px solid #ef4444;
}
.danger-box--delete .danger-title {
  color: #ef4444;
}
.danger-box p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.danger-box p:last-child {
  margin-bottom: 0;
}
.danger-box p strong {
  color: #fff;
  font-weight: 700;
}
.danger-box .danger-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.danger-box .danger-date {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.btn-danger,
.btn-danger-secondary {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-danger {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #ef4444;
}
.btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  transform: translateY(-2px);
}

.btn-danger-secondary {
  background: rgba(13, 110, 253, 0.1);
  border: 1px solid rgba(13, 110, 253, 0.3);
  color: rgba(255, 255, 255, 0.9);
}
.btn-danger-secondary:hover {
  background: rgba(13, 110, 253, 0.2);
  border-color: #0d6efd;
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .btn-danger,
  .btn-danger-secondary {
    width: 100%;
    text-align: center;
  }
}
/* =========================================================
   ALERTES
   ========================================================= */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
}
.alert.alert-warning {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fde68a;
}

/* =========================================================
   MODALES
   ========================================================= */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal[style*="display: flex"] {
  display: flex !important;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: relative;
  z-index: 10000;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

.modal-header {
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.modal-close:hover {
  color: #fff;
  transform: rotate(90deg);
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}
@media (max-width: 480px) {
  .modal-footer {
    flex-direction: column;
  }
  .modal-footer button {
    width: 100%;
  }
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.checkbox-label:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(13, 110, 253, 0.3);
}
.checkbox-label input[type=checkbox] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.checkbox-label span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.required {
  color: #ef4444;
}

.text-muted {
  color: rgba(255, 255, 255, 0.6);
}

.btn-primary {
  padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

/* =========================================================
   DASHBOARD - TABLEAU DE BORD PREMIUM
   ========================================================= */
/* ================================
   LAYOUT GLOBAL DASHBOARD
================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: #111;
  color: #f1f1f1;
}

/* ================================
   SIDEBAR
================================ */
.dashboard-sidebar {
  width: 280px;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.98), rgba(11, 13, 17, 0.95));
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 1.2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
}
.dashboard-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.dashboard-sidebar a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.dashboard-sidebar a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #0d6efd;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dashboard-sidebar a:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.08));
  border-color: rgba(13, 110, 253, 0.3);
  color: #fff;
  transform: translateX(4px);
}
.dashboard-sidebar a:hover::before {
  opacity: 1;
}
.dashboard-sidebar a.active {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.95), rgb(1.6786885246, 83.0950819672, 203.1213114754));
  border-color: #0d6efd;
  color: #000;
  font-weight: 700;
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.dashboard-sidebar a.active::before {
  opacity: 0;
}

/* ================================
   CHAT INDICATEUR
================================ */
.chat-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ef4444; /* rouge */
  border-radius: 50%;
  margin-left: 8px;
  vertical-align: middle;
}

/* ================================
   ZONE CONTENU
================================ */
#dashboard-content {
  flex: 1;
  padding: 3rem;
  animation: fadeIn 0.4s ease-out;
  overflow-y: auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ================================
   HEADER DASHBOARD
================================ */
.dashboard-header {
  margin-bottom: 3rem;
  position: relative;
}
.dashboard-header::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #0d6efd, transparent);
  border-radius: 2px;
}
.dashboard-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.dashboard-header .dashboard-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}
.dashboard-header .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  background: linear-gradient(135deg, #0d6efd, rgb(1.762295082, 87.2336065574, 213.237704918));
  border: none;
  border-radius: 50px;
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.3s ease;
}
.dashboard-header .btn-primary:hover {
  background: linear-gradient(135deg, rgb(38.2909836066, 125.1536885246, 253.2090163934), #0d6efd);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 110, 253, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.dashboard-header .btn-primary:active {
  transform: translateY(0);
}

/* ================================
   SECTIONS
================================ */
.dashboard-section {
  background: linear-gradient(145deg, rgba(30, 35, 45, 0.95), rgba(20, 25, 35, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
}
.dashboard-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.6), transparent);
}
.dashboard-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.dashboard-section h2::before {
  content: "";
  width: 5px;
  height: 28px;
  background: #0d6efd;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.5);
}

/* ================================
   TOGGLES / DETAILS
================================ */
.dashboard-toggle summary,
.history-toggle summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(60, 70, 85, 0.5), rgba(45, 55, 70, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dashboard-toggle summary::after,
.history-toggle summary::after {
  content: "▼";
  font-size: 0.8rem;
  color: #0d6efd;
  transition: transform 0.3s ease;
}
.dashboard-toggle summary:hover,
.history-toggle summary:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.1));
  border-color: rgba(13, 110, 253, 0.4);
  color: #fff;
}
.dashboard-toggle[open] summary::after,
.history-toggle[open] summary::after {
  transform: rotate(180deg);
}

/* ================================
   CARDS PRESTATIONS
================================ */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
  margin-top: 1.5rem;
}

.card {
  background: linear-gradient(135deg, rgba(40, 45, 55, 0.6), rgba(30, 35, 45, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #0d6efd;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  border-color: rgba(13, 110, 253, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.card:hover::before {
  opacity: 1;
}
.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.card .card-meta {
  margin-bottom: 1.5rem;
}
.card .card-meta .prix {
  display: block;
  color: #0d6efd;
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}
.card .card-meta .tva {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.card .card-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.card .card-actions a {
  padding: 0.6rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* ================================
   RESERVATION CARDS
================================ */
.reservation-card {
  background: linear-gradient(135deg, rgba(40, 45, 55, 0.6), rgba(30, 35, 45, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 1.8rem;
  transition: all 0.3s ease;
  position: relative;
}
.reservation-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #0d6efd;
  opacity: 0.5;
}
.reservation-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 110, 253, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.reservation-card:hover::before {
  opacity: 1;
}
.reservation-card--history {
  background: linear-gradient(135deg, rgba(30, 35, 45, 0.4), rgba(20, 25, 35, 0.4));
  opacity: 0.8;
}
.reservation-card--history::before {
  background: rgba(255, 255, 255, 0.3);
}
.reservation-card .reservation-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.reservation-card .reservation-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  flex: 1;
  min-width: 200px;
}
.reservation-card .reservation-header > div {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}
.reservation-card .reservation-meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.reservation-card .reservation-meta strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.reservation-card .reservation-meta .link-profile {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.reservation-card .reservation-meta .link-profile:hover {
  color: rgb(63.5819672131, 140.3073770492, 253.4180327869);
  text-decoration: underline;
}
.reservation-card .card-section {
  margin-top: 1.2rem;
}
.reservation-card .card-section:first-of-type {
  margin-top: 1.5rem;
}

/* ================================
   BADGES
================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.badge-en_attente {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
}
.badge-acceptee {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}
.badge-refusee {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}
.badge-annulee {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: #fff;
}
.badge-terminee {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
}
.badge-paiement {
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
}
.badge-paiement-a_regler {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.badge-paiement-a_regler .badge-link {
  color: #ef4444;
  text-decoration: none;
  font-weight: 700;
}
.badge-paiement-a_regler .badge-link:hover {
  text-decoration: underline;
}
.badge-paiement-paye {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-paiement-a_bord {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ================================
   BOUTONS
================================ */
.btn-primary,
.btn-success,
.btn-danger,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary:hover,
.btn-success:hover,
.btn-danger:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}
.btn-primary:active,
.btn-success:active,
.btn-danger:active,
.btn-secondary:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, #0d6efd, rgb(1.762295082, 87.2336065574, 213.237704918));
  color: #000;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.5);
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}
.btn-success:hover {
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}
.btn-danger:hover {
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(60, 70, 85, 0.8), rgba(45, 55, 70, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}
.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.3), rgba(13, 110, 253, 0.2));
  border-color: rgba(13, 110, 253, 0.5);
  color: #fff;
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ================================
   FILTRES
================================ */
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(40, 45, 55, 0.5), rgba(30, 35, 45, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}
.filters label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  display: block;
}
.filters input,
.filters select {
  width: 100%;
  background: linear-gradient(135deg, rgba(20, 25, 35, 0.8), rgba(15, 20, 30, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.filters input:focus,
.filters select:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}
.filters select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.filters button {
  align-self: end;
}

/* ================================
   INFO ENTREPRISE
================================ */
.info-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.info-list li {
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, rgba(40, 45, 55, 0.4), rgba(30, 35, 45, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}
.info-list li:hover {
  border-color: rgba(13, 110, 253, 0.3);
  transform: translateX(4px);
}
.info-list li strong {
  color: #0d6efd;
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ================================
   CARD ACTIONS
================================ */
.card-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1200px) {
  .dashboard-cards {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}
@media (max-width: 768px) {
  .dashboard-layout {
    flex-direction: column;
  }
  .dashboard-sidebar {
    width: 100%;
    padding: 1rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .dashboard-sidebar nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  .dashboard-sidebar nav::-webkit-scrollbar {
    height: 6px;
  }
  .dashboard-sidebar nav::-webkit-scrollbar-thumb {
    background: rgba(13, 110, 253, 0.5);
    border-radius: 3px;
  }
  .dashboard-sidebar nav a {
    white-space: nowrap;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    flex-shrink: 0;
  }
  #dashboard-content {
    padding: 2rem 1.5rem;
  }
  .dashboard-section {
    padding: 2rem 1.5rem;
  }
  .reservation-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .filters {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .info-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  #dashboard-content {
    padding: 1.5rem 1rem;
  }
  .dashboard-header {
    margin-bottom: 2rem;
  }
  .dashboard-header h1 {
    font-size: 1.6rem;
  }
  .dashboard-header .dashboard-subtitle {
    font-size: 0.9rem;
  }
  .dashboard-header .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }
  .dashboard-section {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }
  .dashboard-section h2 {
    font-size: 1.2rem;
  }
  .dashboard-section h2::before {
    height: 24px;
  }
  .dashboard-toggle summary,
  .history-toggle summary {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  .dashboard-cards {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .card {
    padding: 1.5rem;
  }
  .card h3 {
    font-size: 1.1rem;
  }
  .card .card-meta .prix {
    font-size: 1.4rem;
  }
  .reservation-card {
    padding: 1.5rem;
  }
  .reservation-card .reservation-header h3 {
    font-size: 1.1rem;
  }
  .btn-primary,
  .btn-success,
  .btn-danger,
  .btn-secondary {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
  .card-actions {
    flex-direction: column;
  }
  .card-actions a {
    width: 100%;
    text-align: center;
  }
  .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.7rem;
  }
}
/* ================================
   ANIMATIONS D'ENTRÉE
================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dashboard-section {
  animation: fadeInUp 0.6s ease-out backwards;
}
.dashboard-section:nth-child(1) {
  animation-delay: 0.1s;
}
.dashboard-section:nth-child(2) {
  animation-delay: 0.2s;
}
.dashboard-section:nth-child(3) {
  animation-delay: 0.3s;
}
.dashboard-section:nth-child(4) {
  animation-delay: 0.4s;
}
.dashboard-section:nth-child(5) {
  animation-delay: 0.5s;
}
.dashboard-section:nth-child(6) {
  animation-delay: 0.6s;
}

/* ===========================================================
   𝗖𝗢𝗡𝗩𝗘𝗥𝗦𝗔𝗧𝗜𝗢𝗡  /  𝗖𝗛𝗔𝗧
   =========================================================== */
.chat-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 3rem;
  background: #111;
  border-radius: 10px;
  color: #f1f1f1;
}

/* ===========================================================
   HEADER
   =========================================================== */
.chat-header {
  text-align: center;
  margin-bottom: 2rem;
}
.chat-header h1 {
  font-size: 24px;
  margin-bottom: 1rem;
}

.participants {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.arrow {
  color: #aaa;
}

.badge {
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #fff;
}

.badge-order {
  background: linear-gradient(135deg, #6366f1, #3b82f6);
}

.badge-exec {
  background: linear-gradient(135deg, #059669, #10b981);
}

.back-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #0d6efd;
  text-decoration: none;
}
.back-link:hover {
  text-decoration: underline;
}

/* ===========================================================
   MESSAGES
   =========================================================== */
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 70vh;
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 10px;
  max-height: 520px;
  overflow-y: auto;
}

/* Bubble wrapper */
.message {
  display: flex;
}
.message.from-me {
  justify-content: flex-end;
}
.message.from-other {
  justify-content: flex-start;
}

/* Message bubble */
.bubble {
  max-width: 68%;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  position: relative;
  animation: fadeIn 0.3s ease;
  background: #1f2937;
}
.bubble.from-me {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: white;
}

/* utilisateur courant */
.from-me .bubble {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
}

/* interlocuteur */
.from-other .bubble {
  background: #2a2a2a;
}

/* Header message */
.bubble-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  opacity: 0.85;
}

.sender {
  font-weight: 600;
}

/* Texte message */
.bubble-text {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

/* ===========================================================
   FICHIERS & IMAGES DANS LES MESSAGES
   =========================================================== */
.chat-image {
  display: block;
  max-width: 100%;
  max-height: 300px;
  margin: 0.8rem 0;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}
.chat-image:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.file-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  margin: 0.8rem 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.file-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(3px);
}
.file-link:active {
  transform: translateX(1px);
}

/* Lien fichier dans les messages "from-me" */
.from-me .file-link {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}
.from-me .file-link:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Date */
.bubble-date {
  display: block;
  font-size: 0.72rem;
  color: #aaa;
  margin-top: 0.3rem;
}

/* Aucun message */
.no-messages {
  text-align: center;
  color: #aaa;
  padding: 2rem;
}

/* ===========================================================
   FORMULAIRE D'ENVOI
   =========================================================== */
.conversation-form {
  margin-top: 1.5rem;
}

/* wrapper texte + fichier + bouton */
.chat-input-wrapper {
  display: flex;
  gap: 0.8rem;
  align-items: flex-end;
  position: relative;
}

/* textarea */
.chat-input-wrapper textarea {
  flex: 1;
  min-height: 50px;
  max-height: 140px;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 16px;
  background: #1f2937;
  color: #fff;
  font-size: 0.95rem;
  resize: vertical;
  outline: none;
  transition: all 0.3s ease;
}
.chat-input-wrapper textarea:focus {
  background: rgb(36.5151162791, 48.2941860465, 64.7848837209);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

/* ===========================================================
   INPUT FICHIER PERSONNALISÉ (avec JS)
   =========================================================== */
.chat-input-wrapper input[type=file] {
  display: none !important;
}

.file-input-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(13, 110, 253, 0.4);
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.file-input-custom:hover {
  background: rgba(13, 110, 253, 0.2);
  border-color: #0d6efd;
  transform: scale(1.05);
}
.file-input-custom:active {
  transform: scale(0.98);
}
.file-input-custom.has-file {
  background: linear-gradient(135deg, #059669, #10b981);
  border-color: #10b981;
  color: white;
}

/* BOUTON AVION */
.btn-send {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.btn-send:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}
.btn-send:active {
  transform: scale(1.02);
}

/* ===========================================================
   PREVIEW FICHIER AVANT ENVOI
   =========================================================== */
.file-preview {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 0;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #f1f1f1;
  animation: slideUp 0.3s ease;
  z-index: 10;
}
.file-preview .file-name {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-preview .remove-file {
  background: rgba(239, 68, 68, 0.2);
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  color: #ef4444;
  cursor: pointer;
  font-size: 0.7rem;
}
.file-preview .remove-file:hover {
  background: rgba(239, 68, 68, 0.3);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===========================================================
   CHAT ARCHIVÉ
   =========================================================== */
.chat-locked {
  margin-top: 1rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  text-align: center;
  color: #aaa;
  font-style: italic;
}

/* ===========================================================
   ANIMATIONS
   =========================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===========================================================
   SCROLL BAR PRO
   =========================================================== */
.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #0d6efd;
  border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

/* ===========================================================
   RESPONSIVE TABLET
   =========================================================== */
@media (max-width: 768px) {
  .chat-wrapper {
    margin: 1rem;
    padding: 1.5rem;
  }
  .bubble {
    max-width: 80%;
  }
  .chat-image {
    max-height: 250px;
  }
}
/* ===========================================================
   RESPONSIVE MOBILE
   =========================================================== */
@media (max-width: 480px) {
  .chat-wrapper {
    padding: 1rem;
    margin: 0.5rem;
  }
  .chat-header h1 {
    font-size: 1.2rem;
  }
  .badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
  .bubble {
    max-width: 100%;
  }
  .chat-messages {
    padding: 1rem;
    max-height: 440px;
  }
  .chat-image {
    max-height: 200px;
  }
  .file-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }
  .chat-input-wrapper {
    gap: 0.6rem;
  }
  .file-input-custom {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .btn-send {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .file-preview .file-name {
    max-width: 150px;
  }
}
/* ===========================================================
   ACCESSIBILITÉ
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* =========================================================
   PROFIL PUBLIC - PREMIUM DESIGN COMPLET
   ========================================================= */
/* ============================= */
/*         GLOBAL WRAPPER        */
/* ============================= */
.profil-wrapper {
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
  gap: 3.5rem;
  position: relative;
}
.profil-wrapper::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: radial-gradient(ellipse at top, rgba(13, 110, 253, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
}
.profil-wrapper > * {
  position: relative;
  z-index: 1;
}

/* ============================= */
/*           CARD PROFIL         */
/* ============================= */
.profil-card {
  width: 100%;
  max-width: 1100px;
  background: linear-gradient(145deg, rgba(30, 35, 45, 0.95), rgba(20, 25, 35, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
}
.profil-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0d6efd, transparent);
}
.profil-card {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================= */
/*              LOGO             */
/* ============================= */
.profil-logo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}
.profil-logo img {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  border: 3px solid #0d6efd;
  padding: 8px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.05));
  box-shadow: 0 12px 32px rgba(13, 110, 253, 0.3), 0 0 40px rgba(13, 110, 253, 0.2);
  transition: all 0.3s ease;
}
.profil-logo img:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 40px rgba(13, 110, 253, 0.4), 0 0 60px rgba(13, 110, 253, 0.3);
}

/* ============================= */
/*            CONTENT            */
/* ============================= */
.profil-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ============================= */
/*         TITRE + FAVORI        */
/* ============================= */
.profil-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.profil-favori-form {
  display: inline-flex;
}

.star-btn {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(60, 70, 85, 0.6), rgba(45, 55, 70, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.star-btn:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.3), rgba(13, 110, 253, 0.2));
  border-color: rgba(13, 110, 253, 0.5);
  transform: scale(1.1) rotate(10deg);
}
.star-btn.is_active {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.3), rgba(255, 152, 0, 0.2));
  border-color: rgba(255, 193, 7, 0.5);
  filter: drop-shadow(0 4px 12px rgba(255, 193, 7, 0.4));
}
.star-btn.is_active:hover {
  transform: scale(1.15) rotate(-10deg);
}

.profil-signalement-form {
  display: inline-flex;
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.2));
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-danger:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.4), rgba(220, 38, 38, 0.3));
  border-color: rgba(239, 68, 68, 0.6);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* ============================= */
/*         BOUTONS               */
/* ============================= */
.profil-btn {
  width: fit-content;
  margin: 1rem 0 0.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0d6efd, rgb(1.762295082, 87.2336065574, 213.237704918));
  color: #000;
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, rgb(38.2909836066, 125.1536885246, 253.2090163934), #0d6efd);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 110, 253, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(60, 70, 85, 0.6), rgba(45, 55, 70, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.3), rgba(13, 110, 253, 0.2));
  border-color: rgba(13, 110, 253, 0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.2);
}

/* ============================= */
/*         DESCRIPTION           */
/* ============================= */
.profil-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 1rem;
  margin: 1rem 0 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(40, 45, 55, 0.5), rgba(30, 35, 45, 0.5));
  border-left: 4px solid #0d6efd;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ============================= */
/*              INFOS            */
/* ============================= */
.profil-infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.info-item {
  background: linear-gradient(135deg, rgba(50, 55, 65, 0.5), rgba(40, 45, 55, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.info-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #0d6efd;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.info-item:hover {
  border-color: rgba(13, 110, 253, 0.3);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.info-item:hover::before {
  opacity: 1;
}
.info-item strong {
  color: #0d6efd;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.info-item span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
  text-align: right;
}

/* ============================= */
/*             CONTACT           */
/* ============================= */
.profil-phone {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.08));
  border: 1px solid rgba(13, 110, 253, 0.3);
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
  transition: all 0.3s ease;
}
.profil-phone:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.3);
}

.profil-site {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, rgba(60, 70, 85, 0.6), rgba(45, 55, 70, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.profil-site:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.3), rgba(13, 110, 253, 0.2));
  border-color: rgba(13, 110, 253, 0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.2);
}

/* =========================================================
   SECTION RECOMMANDATIONS (AFFICHAGE + FORMULAIRE)
   ========================================================= */
/* =========================================================
   SECTION RECOMMANDATIONS
   ========================================================= */
.profil-recommandations {
  width: 100%;
  max-width: 1100px;
  padding: 3rem;
  background: linear-gradient(145deg, rgba(30, 35, 45, 0.95), rgba(20, 25, 35, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: visible;
}
.profil-recommandations::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.6), transparent);
}
.profil-recommandations h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.profil-recommandations h3::before {
  content: "";
  width: 5px;
  height: 28px;
  background: #0d6efd;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.5);
}
.profil-recommandations .muted {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  padding: 3rem 0;
  font-style: italic;
}

/* =========================================================
   GRILLE DES RECOMMANDATIONS (SCROLL PROPRE)
   ========================================================= */
.reco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* =========================================================
   CARTE RECOMMANDATION
   ========================================================= */
.reco-card {
  background: linear-gradient(145deg, rgba(40, 45, 55, 0.6), rgba(30, 35, 45, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.reco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   AUTEUR
   ========================================================= */
.reco-author {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reco-author::before {
  content: "👤";
  font-size: 0.9rem;
  opacity: 0.7;
}

/* =========================================================
   ÉTOILES – AFFICHAGE (LECTURE)
   ========================================================= */
.stars {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.stars .star {
  font-size: 1.1rem;
}

.stars .star.filled {
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.stars .star.empty {
  color: rgba(255, 255, 255, 0.15);
}

/* =========================================================
   ÉTOILES – FORMULAIRE (INTERACTION)
   ========================================================= */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  gap: 0.3rem;
}

.star-rating input {
  position: absolute;
  opacity: 0;
}

.star-rating .star-label {
  font-size: 2rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating .star-label:hover,
.star-rating .star-label:hover ~ .star-label {
  color: #fbbf24;
}

.star-rating input:checked ~ .star-label {
  color: #fbbf24;
}

.star-rating .star-label:hover {
  transform: scale(1.1);
}

/* =========================================================
   BADGES
   ========================================================= */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.3rem 0;
}

.badges .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: rgba(13, 110, 253, 0.15);
  border: 1px solid rgba(13, 110, 253, 0.3);
  color: rgb(114.1639344262, 170.6147540984, 253.8360655738);
  transition: transform 0.2s ease;
}

.badges .badge:hover {
  transform: translateY(-1px);
}

/* =========================================================
   COMMENTAIRE
   ========================================================= */
.reco-commentaire {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  font-style: italic;
  position: relative;
  padding-left: 0.9rem;
}

.reco-commentaire::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -0.2rem;
  font-size: 1.5rem;
  color: rgba(13, 110, 253, 0.3);
  font-family: Georgia, serif;
}

/* =========================================================
   DATE
   ========================================================= */
.reco-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.reco-date::before {
  content: "📅";
  font-size: 0.8rem;
}

/* ============================= */
/*       SECTION GALERIE         */
/* ============================= */
.profil-photos {
  width: 100%;
  max-width: 1100px;
  background: linear-gradient(145deg, rgba(30, 35, 45, 0.95), rgba(20, 25, 35, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
}
.profil-photos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.6), transparent);
}
.profil-photos h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.profil-photos h3::before {
  content: "";
  width: 5px;
  height: 28px;
  background: #0d6efd;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.5);
}

.profil-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.8rem;
}

.profil-photo {
  background: linear-gradient(135deg, rgba(40, 45, 55, 0.6), rgba(30, 35, 45, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  position: relative;
}
.profil-photo:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(13, 110, 253, 0.4);
}
.profil-photo:hover img {
  transform: scale(1.1);
}
.profil-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.photo-legende {
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.3);
}

.photo-delete-btn {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  transition: all 0.3s ease;
}
.photo-delete-btn:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.6);
}

/* ============================= */
/*          ACTIONS OWNER        */
/* ============================= */
.profil-actions {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: flex-end;
}

/* ============================= */
/*             TABLET            */
/* ============================= */
@media (max-width: 1200px) {
  .profil-card {
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
    padding: 3rem;
  }
  .profil-logo img {
    max-width: 220px;
  }
  .reco-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}
@media (max-width: 768px) {
  .profil-wrapper {
    padding: 3rem 1.5rem;
    gap: 2.5rem;
  }
  .profil-card {
    grid-template-columns: 180px 1fr;
    gap: 2rem;
    padding: 2.5rem 2rem;
  }
  .profil-logo img {
    max-width: 180px;
  }
  .profil-title {
    font-size: 1.8rem;
  }
  .profil-infos {
    grid-template-columns: 1fr;
  }
  .profil-recommandations {
    padding: 2.5rem 2rem;
  }
  .profil-recommandations h3 {
    font-size: 1.4rem;
  }
  .reco-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.2rem;
    max-height: 700px;
  }
  .reco-card {
    padding: 1.3rem;
  }
  .profil-photos {
    padding: 2.5rem 2rem;
  }
  .profil-photos h3 {
    font-size: 1.4rem;
  }
  .profil-photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
  }
}
/* ============================= */
/*             MOBILE            */
/* ============================= */
@media (max-width: 480px) {
  .profil-wrapper {
    padding: 2rem 1rem;
    gap: 2rem;
  }
  .profil-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    text-align: center;
    gap: 2rem;
  }
  .profil-logo {
    margin-bottom: 0;
  }
  .profil-logo img {
    max-width: 160px;
  }
  .profil-content {
    align-items: center;
  }
  .profil-title {
    font-size: 1.6rem;
    justify-content: center;
  }
  .profil-btn,
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .profil-description {
    max-width: 100%;
    text-align: left;
  }
  .info-item {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .info-item strong,
  .info-item span {
    text-align: center;
  }
  .profil-phone {
    justify-content: center;
    font-size: 1rem;
  }
  .profil-site {
    width: 100%;
    justify-content: center;
  }
  .profil-recommandations {
    padding: 2rem 1.5rem;
  }
  .profil-recommandations h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
  .reco-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-height: 600px;
  }
  .reco-card {
    padding: 1.2rem;
  }
  .reco-card:hover {
    transform: translateY(-2px);
  }
  .reco-author {
    font-size: 0.95rem;
  }
  .stars .star {
    font-size: 1rem;
  }
  .badges {
    gap: 0.4rem;
  }
  .badges .badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
  }
  .reco-commentaire {
    font-size: 0.85rem;
    padding-left: 0.8rem;
  }
  .reco-commentaire::before {
    font-size: 1.3rem;
  }
  .profil-photos {
    padding: 2rem 1.5rem;
  }
  .profil-photos h3 {
    font-size: 1.3rem;
  }
  .profil-photo-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .profil-photo img {
    height: 180px;
  }
  .profil-actions {
    justify-content: center;
  }
  .profil-actions .btn-primary {
    width: 100%;
  }
  .star-btn {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .btn-danger {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}
/* ============================= */
/*         WRAPPER PAGE          */
/* ============================= */
.profil-edit-wrapper {
  min-height: calc(100vh - 100px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem;
}

/* ============================= */
/*            CARD               */
/* ============================= */
.profil-edit-card {
  width: 100%;
  max-width: 700px;
  background: #1a1a1a;
  border-radius: 10px;
  padding: 3rem;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

/* ============================= */
/*            TITRE              */
/* ============================= */
.profil-edit-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff;
}

/* ============================= */
/*           FORMULAIRE          */
/* ============================= */
.profil-edit-form p {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

.profil-edit-form label {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: #aaa;
}

.profil-edit-form input,
.profil-edit-form textarea,
.profil-edit-form select {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: 0.3s ease;
}

.profil-edit-form textarea {
  resize: vertical;
  min-height: 100px;
}

.profil-edit-form input::placeholder,
.profil-edit-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* ========= FOCUS ========= */
.profil-edit-form input:focus,
.profil-edit-form textarea:focus,
.profil-edit-form select:focus {
  border-color: #0d6efd;
}

/* ============================= */
/*           MESSAGES ERREURS    */
/* ============================= */
.errorlist {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
  color: #ff4d4d;
  font-size: 0.85rem;
}

/* ============================= */
/*           BOUTONS             */
/* ============================= */
.form-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: #0d6efd;
  color: #fff;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: 0.3s ease;
  box-shadow: 0 0 12px rgba(13, 110, 253, 0.5);
}

.btn-primary:hover {
  background: rgb(38.2909836066, 125.1536885246, 253.2090163934);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid #aaa;
  color: #aaa;
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-secondary:hover {
  border-color: #fff;
  color: #fff;
}

/* ============================= */
/*            TABLET             */
/* ============================= */
@media (max-width: 768px) {
  .profil-edit-card {
    padding: 2.3rem;
  }
}
/* ============================= */
/*            MOBILE             */
/* ============================= */
@media (max-width: 480px) {
  .profil-edit-wrapper {
    padding: 2rem 1rem;
  }
  .profil-edit-card {
    padding: 2rem;
  }
  .form-actions {
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}
/* =========================
   CONTAINER
========================= */
.modifier-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  background: #111;
  color: #f1f1f1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* =========================
   TITRES & TEXTE
========================= */
.page-title {
  font-size: 24px;
  color: #fff;
  font-weight: 600;
}

.sous-texte {
  color: #aaa;
  font-size: 0.95rem;
}
.sous-texte strong {
  color: #fff;
  font-weight: 600;
}

/* =========================
   FORMULAIRE
========================= */
.modifier-form {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.modifier-form p {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.modifier-form label {
  font-size: 0.9rem;
  color: #aaa;
}
.modifier-form input,
.modifier-form select,
.modifier-form textarea {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  color: #f1f1f1;
  font-size: 16px;
  transition: 0.3s ease;
}
.modifier-form input:focus,
.modifier-form select:focus,
.modifier-form textarea:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}
.modifier-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* =========================
   BOUTONS
========================= */
.btn-primary {
  background: #0d6efd;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  width: fit-content;
}
.btn-primary:hover {
  background: rgb(1.8459016393, 91.3721311475, 223.3540983607);
}

.btn-secondary {
  margin-top: 0.5rem;
  color: #aaa;
  font-size: 0.9rem;
  text-decoration: none;
  width: fit-content;
  transition: 0.3s ease;
}
.btn-secondary:hover {
  color: #fff;
}

/* =========================
   TABLETTE
========================= */
@media (max-width: 768px) {
  .modifier-container {
    padding: 2rem 1.5rem;
  }
  .modifier-form {
    padding: 1.5rem;
  }
  .page-title {
    font-size: 22px;
  }
}
/* =========================
   MOBILE
========================= */
@media (max-width: 480px) {
  .modifier-container {
    padding: 1.5rem 1rem;
  }
  .modifier-form {
    padding: 1.2rem;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}
/* =========================================================
   HERO SECTION - LANDING PAGE
   ========================================================= */
.hero {
  padding: clamp(4rem, 8vw, 8rem) 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at top left, rgba(13, 110, 253, 0.08), transparent 60%), radial-gradient(ellipse at bottom right, rgba(13, 110, 253, 0.05), transparent 60%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.15), transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: float 20s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.1), transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
}

.hero-text h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, rgba(13, 110, 253, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-text .subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #aaa;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 90%;
  animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s backwards;
}
@media (max-width: 768px) {
  .hero-text .subtitle {
    max-width: 100%;
  }
}
.hero-text .btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}
.hero-text .btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}
.hero-text .btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(13, 110, 253, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.hero-text .btn-primary:hover::before {
  left: 100%;
}
.hero-text .btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}
.hero-text .hero-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(170, 170, 170, 0.7);
  font-style: italic;
  animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s backwards;
}

.hero-image {
  position: relative;
  animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}
.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s ease;
}
.hero-image img:hover {
  transform: scale(1.02) rotate(1deg);
}
@media (max-width: 768px) {
  .hero-image {
    order: -1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* =========================================================
   BENEFITS SECTION
   ========================================================= */
.benefits {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: linear-gradient(180deg, transparent, rgba(26, 26, 26, 0.3), transparent);
  position: relative;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.6));
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.benefit::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.benefit:hover {
  transform: translateY(-8px);
  border-color: rgba(13, 110, 253, 0.3);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 0 0 20px rgba(13, 110, 253, 0.2);
}
.benefit:hover::before {
  opacity: 1;
}
.benefit:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
}
.benefit .benefit-icon {
  width: clamp(60px, 15vw, 80px);
  height: clamp(60px, 15vw, 80px);
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(13, 110, 253, 0.3);
  padding: 0.5rem;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.05));
  transition: transform 0.4s ease;
}
.benefit h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.benefit p {
  color: #aaa;
  line-height: 1.7;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  position: relative;
  z-index: 1;
}

/* =========================================================
   CONTENT SECTION (CKEDITOR)
   ========================================================= */
.content-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.content-section .ck-content {
  background: #1a1a1a;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin: 0 auto;
}
.content-section .ck-content h1, .content-section .ck-content h2, .content-section .ck-content h3, .content-section .ck-content h4, .content-section .ck-content h5, .content-section .ck-content h6 {
  color: #fff;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.content-section .ck-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(13, 110, 253, 0.3);
  margin-top: 3rem;
}
.content-section .ck-content h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  color: rgba(255, 255, 255, 0.9);
}
.content-section .ck-content p {
  margin: 1.5rem 0;
  color: #aaa;
  line-height: 1.8;
  font-size: clamp(1rem, 2vw, 1.1rem);
}
.content-section .ck-content ul, .content-section .ck-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
  color: #aaa;
}
.content-section .ck-content ul li, .content-section .ck-content ol li {
  margin: 0.8rem 0;
  line-height: 1.7;
}
.content-section .ck-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 2rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.content-section .ck-content a {
  color: #0d6efd;
  text-decoration: underline;
  transition: color 0.3s ease;
}
.content-section .ck-content a:hover {
  color: rgb(88.8729508197, 155.4610655738, 253.6270491803);
}

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.05));
}
.cta-final::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0d6efd, transparent);
}
.cta-final .container {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 1;
}
.cta-final .cta-image {
  width: clamp(80px, 20vw, 120px);
  height: auto;
  margin: 0 auto 2rem;
  border-radius: 50%;
  border: 4px solid rgba(13, 110, 253, 0.3);
  padding: 1rem;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.1));
  box-shadow: 0 8px 32px rgba(13, 110, 253, 0.3);
  animation: pulse 3s ease-in-out infinite;
}
.cta-final h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff, rgba(13, 110, 253, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-final p {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: #aaa;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final .btn-primary {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: linear-gradient(135deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(13, 110, 253, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.cta-final .btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}
.cta-final .btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 48px rgba(13, 110, 253, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.cta-final .btn-primary:active {
  transform: translateY(-2px) scale(1.01);
}
.cta-final .btn-primary:active::before {
  width: 300px;
  height: 300px;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(13, 110, 253, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(13, 110, 253, 0.5);
  }
}
/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */
@media (max-width: 480px) {
  .hero {
    padding: 3rem 0;
  }
  .hero-text .btn-primary {
    width: 100%;
    text-align: center;
  }
  .benefits {
    padding: 3rem 0;
  }
  .content-section {
    padding: 3rem 0;
  }
  .content-section .ck-content {
    padding: 2rem 1.5rem;
  }
  .cta-final {
    padding: 4rem 0;
  }
  .cta-final .btn-primary {
    width: 100%;
    padding: 1.1rem 2rem;
  }
}
.fc {
  background: linear-gradient(145deg, rgba(15, 17, 21, 0.98), rgba(11, 13, 17, 0.95));
  border-radius: 10px;
  padding: 2rem;
  color: #fff;
  font-size: 0.875rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
}
.fc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.3), transparent);
}

/* =====================================================
   GRID & STRUCTURE
   ===================================================== */
.fc-scrollgrid {
  border-radius: calc(10px - 0.25rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fc-theme-standard td,
.fc-theme-standard th {
  border-color: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease;
}

.fc-theme-standard td:hover {
  background: rgba(13, 110, 253, 0.05);
}

/* =====================================================
   HEADER - EN-TÊTES DES JOURS
   ===================================================== */
.fc-col-header {
  background: linear-gradient(180deg, rgba(30, 35, 45, 0.95), rgba(20, 25, 35, 0.95));
}

.fc-col-header-cell {
  position: relative;
  padding: 0;
  background: rgba(30, 35, 45, 0.6);
}
.fc-col-header-cell::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.fc-col-header-cell:hover::after {
  opacity: 1;
}

.fc-col-header-cell-cushion {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 1rem 0.5rem;
  transition: color 0.2s ease;
}
.fc-col-header-cell-cushion:hover {
  color: #0d6efd;
}

/* =====================================================
   TODAY HIGHLIGHT
   ===================================================== */
.fc-day-today {
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.05)) !important;
  position: relative;
}
.fc-day-today::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #0d6efd;
  box-shadow: 0 2px 12px rgba(13, 110, 253, 0.6);
}

.fc-col-header-cell.fc-day-today .fc-col-header-cell-cushion {
  color: #0d6efd;
  font-weight: 700;
}

/* =====================================================
   TIME AXIS (VUE HORAIRE)
   ===================================================== */
.fc-timegrid-axis {
  background: rgba(0, 0, 0, 0.5);
}

.fc-timegrid-axis-cushion {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
}

/* =====================================================
   TIME GRID SLOTS
   ===================================================== */
.fc-timegrid-slot {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}
.fc-timegrid-slot:hover {
  background: rgba(255, 255, 255, 0.03);
}

.fc-timegrid-slot-minor {
  border-top-style: dotted;
  border-color: rgba(255, 255, 255, 0.05);
}

.fc-timegrid-col {
  background: rgba(20, 25, 35, 0.4);
}

/* Numéros de jour dans la grille */
.fc-daygrid-day-number,
.fc-timegrid-slot-label-cushion {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* =====================================================
   TOOLBAR - NAVIGATION
   ===================================================== */
.fc-toolbar {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.fc-toolbar-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.02em;
}

.fc-toolbar-chunk {
  display: flex;
  gap: 0.5rem;
}

/* =====================================================
   BUTTONS - NAVIGATION & VUES
   ===================================================== */
.fc-button {
  background: linear-gradient(135deg, rgba(60, 70, 85, 0.9), rgba(45, 55, 70, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.7rem 1.2rem;
  border-radius: 0.5rem;
  transition: all 0.25s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.fc-button:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.8), rgba(13, 110, 253, 0.6));
  border-color: rgba(13, 110, 253, 0.8);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}
.fc-button:active {
  transform: translateY(0);
}
.fc-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.fc-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.3);
}

.fc-button-primary:not(:disabled).fc-button-active,
.fc-button-primary:not(:disabled):active {
  background: linear-gradient(135deg, #0d6efd, rgb(1.8459016393, 91.3721311475, 223.3540983607));
  border-color: #0d6efd;
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.5), 0 0 0 3px rgba(13, 110, 253, 0.2);
}

.fc-button-group {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
  overflow: hidden;
}
.fc-button-group .fc-button {
  border-radius: 0;
  margin: 0;
}
.fc-button-group .fc-button:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}
.fc-button-group .fc-button:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
}
.fc-button-group .fc-button:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* =====================================================
   EVENTS - DESIGN PRINCIPAL
   ===================================================== */
.fc-event {
  border: none;
  border-radius: 0.6rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.fc-event::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}
.fc-event:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(13, 110, 253, 0.4);
  z-index: 10;
}
.fc-event:hover::before {
  left: 100%;
}

.fc-timegrid-event,
.fc-daygrid-event {
  background: none;
}

/* =====================================================
   EVENT CONTENT
   ===================================================== */
.fc-event-main {
  color: #fff;
}

.fc-event-title,
.fc-event-time {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.fc-event-title {
  font-weight: 700;
  line-height: 1.3;
}

.fc-event-time {
  font-weight: 500;
  opacity: 0.9;
  font-size: 0.75rem;
}

/* =====================================================
   STATUS - COULEURS PAR ÉTAT
   ===================================================== */
.fc-event.evt--en_attente {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  border-left-color: #f1c40f;
  color: #1a1a1a;
}
.fc-event.evt--en_attente .fc-event-title,
.fc-event.evt--en_attente .fc-event-time {
  color: #1a1a1a;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}
.fc-event.evt--en_attente::after {
  content: "⏳";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1rem;
}

.fc-event.evt--acceptee {
  background: linear-gradient(135deg, #27ae60, #229954);
  border-left-color: #2ecc71;
}

.fc-event.evt--en_cours {
  background: linear-gradient(135deg, #0d6efd, rgb(1.5532786885, 76.887295082, 187.9467213115));
  border-left-color: rgb(114.1639344262, 170.6147540984, 253.8360655738);
  animation: pulse 2s ease-in-out infinite;
}
.fc-event.evt--en_cours::after {
  content: "▶";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.9rem;
  animation: blink 1.5s ease-in-out infinite;
}

.fc-event.evt--terminee {
  background: linear-gradient(135deg, rgba(127, 140, 141, 0.7), rgba(149, 165, 166, 0.7));
  opacity: 0.6;
  border-left-color: #95a5a6;
}
.fc-event.evt--terminee .fc-event-title,
.fc-event.evt--terminee .fc-event-time {
  text-decoration: line-through;
  opacity: 0.8;
}
.fc-event.evt--terminee::after {
  content: "✓";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1.2rem;
  color: #2ecc71;
}

.fc-event.evt--annulee {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.7), rgba(192, 57, 43, 0.7));
  opacity: 0.5;
  border-left-color: #e74c3c;
}
.fc-event.evt--annulee .fc-event-title,
.fc-event.evt--annulee .fc-event-time {
  text-decoration: line-through;
}
.fc-event.evt--annulee::after {
  content: "✕";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1.2rem;
  color: #fff;
}

.fc-event.evt--refusee {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.7), rgba(142, 68, 173, 0.7));
  opacity: 0.6;
  border-left-color: #9b59b6;
}
.fc-event.evt--refusee::after {
  content: "⛔";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1rem;
}

/* =====================================================
   MORE LINK (+ X autres)
   ===================================================== */
.fc-more-link {
  background: rgba(13, 110, 253, 0.2);
  color: #0d6efd;
  padding: 0.3rem 0.6rem;
  border-radius: 0.4rem;
  font-weight: 600;
  font-size: 0.7rem;
  transition: all 0.2s ease;
}
.fc-more-link:hover {
  background: rgba(13, 110, 253, 0.4);
  color: #fff;
}

/* =====================================================
   POPOVER (détails événement)
   ===================================================== */
.fc-popover {
  background: linear-gradient(145deg, rgba(20, 23, 28, 0.98), rgba(15, 17, 21, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.8rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
}
.fc-popover .fc-popover-header {
  background: rgba(13, 110, 253, 0.15);
  color: #fff;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.8rem 0.8rem 0 0;
}
.fc-popover .fc-popover-close {
  color: rgba(255, 255, 255, 0.6);
  opacity: 1;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}
.fc-popover .fc-popover-close:hover {
  color: #0d6efd;
}
.fc-popover .fc-popover-body {
  padding: 0.8rem;
}

/* =====================================================
   LIST VIEW
   ===================================================== */
.fc-list {
  background: transparent;
}
.fc-list .fc-list-event {
  background: rgba(255, 255, 255, 0.02);
  border-left: 4px solid #0d6efd;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.fc-list .fc-list-event:hover {
  background: rgba(13, 110, 253, 0.1);
  transform: translateX(4px);
}
.fc-list .fc-list-event-time {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}
.fc-list .fc-list-event-title {
  color: #fff;
  font-weight: 600;
}

.fc-list-day-cushion {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  padding: 0.8rem 1rem;
}

/* =====================================================
   SCROLLBARS CUSTOM
   ===================================================== */
.fc-scroller::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.fc-scroller::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}
.fc-scroller::-webkit-scrollbar-thumb {
  background: rgba(13, 110, 253, 0.5);
  border-radius: 4px;
  transition: background 0.2s ease;
}
.fc-scroller::-webkit-scrollbar-thumb:hover {
  background: rgba(13, 110, 253, 0.8);
}

/* =====================================================
   AGENDA – LÉGENDE DES COULEURS
   ===================================================== */
.agenda-legend {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.agenda-legend-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.agenda-legend-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

/* Couleurs */
.legend-item--terminee .legend-dot {
  background: #2563eb;
}

.legend-item--acceptee .legend-dot {
  background: #16a34a;
}

.legend-item--en-attente .legend-dot {
  background: #f97316;
}

.legend-item--annulee .legend-dot {
  background: #dc2626;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  }
  50% {
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.6);
  }
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 768px) {
  .fc {
    padding: 1.5rem 1rem;
  }
  .fc-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .fc-toolbar-title {
    text-align: center;
    font-size: 1.2rem;
    order: -1;
  }
  .fc-toolbar-chunk {
    justify-content: center;
  }
  .fc-button {
    flex: 1;
    padding: 0.75rem 0.8rem;
  }
  .fc-event {
    font-size: 0.75rem;
    padding: 0.5rem 0.6rem;
  }
  .agenda-legend-list {
    grid-template-columns: 1fr;
  }
  .agenda-legend-title {
    text-align: center;
  }
  .legend-item {
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .fc {
    padding: 1rem 0.75rem;
  }
  .fc-toolbar {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }
  .fc-toolbar-title {
    font-size: 1rem;
  }
  .fc-button {
    font-size: 0.65rem;
    padding: 0.6rem 0.6rem;
  }
  .fc-col-header-cell-cushion {
    font-size: 0.65rem;
    padding: 0.6rem 0.3rem;
  }
  .fc-event {
    font-size: 0.7rem;
    padding: 0.4rem 0.5rem;
    border-radius: 0.4rem;
  }
  .fc-event::after {
    display: none;
  }
  .fc-timegrid-axis-cushion {
    font-size: 0.6rem;
    padding: 0.2rem 0.3rem;
  }
  .agenda-legend {
    margin-top: 2rem;
    padding-top: 1.2rem;
  }
  .agenda-legend-title {
    font-size: 0.9rem;
  }
  .legend-item {
    font-size: 0.8rem;
    gap: 0.6rem;
  }
  .legend-dot {
    width: 12px;
    height: 12px;
  }
}
/* =====================================================
   DARK MODE ENHANCEMENTS
   ===================================================== */
@media (prefers-color-scheme: dark) {
  .fc {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.15) inset;
  }
}
/* =========================================================
   DASHBOARD – STATISTIQUES PREMIUM
   ========================================================= */
.dashboard-stats {
  padding: 3rem;
  color: #f1f1f1;
}

/* =========================
   HEADER
========================= */
.dashboard-header {
  margin-bottom: 3rem;
  position: relative;
}
.dashboard-header::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0d6efd, transparent);
  border-radius: 2px;
}
.dashboard-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.dashboard-header .dashboard-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* =========================
   FILTRES PÉRIODE
========================= */
.stats-filters {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.stats-filters .stats-filter {
  position: relative;
  background: linear-gradient(135deg, rgba(60, 70, 85, 0.6), rgba(45, 55, 70, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.stats-filters .stats-filter::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.2), transparent);
  transition: left 0.5s ease;
}
.stats-filters .stats-filter:hover:not(.active) {
  border-color: rgba(13, 110, 253, 0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.stats-filters .stats-filter:hover:not(.active)::before {
  left: 100%;
}
.stats-filters .stats-filter.active {
  background: linear-gradient(135deg, #0d6efd, rgb(1.762295082, 87.2336065574, 213.237704918));
  border-color: #0d6efd;
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.4), 0 0 0 3px rgba(13, 110, 253, 0.15);
  transform: translateY(-2px);
}

/* =========================
   FILTRE DATES PERSONNALISÉES
========================= */
.stats-filter-custom {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.stats-filter-custom input[type=date] {
  background: rgba(60, 70, 85, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s ease;
  color-scheme: dark;
}
.stats-filter-custom input[type=date]:focus {
  border-color: rgba(13, 110, 253, 0.5);
}
.stats-filter-custom .date-separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .stats-filter-custom {
    width: 100%;
  }
  .stats-filter-custom input[type=date] {
    flex: 1;
    min-width: 130px;
  }
  .stats-filter-custom #applyCustomDate {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .stats-filter-custom {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .stats-filter-custom input[type=date] {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .stats-filter-custom .date-separator {
    text-align: center;
  }
  .stats-filter-custom #applyCustomDate {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}
/* =========================
   CARTES STATISTIQUES
========================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-card {
  position: relative;
  background: linear-gradient(145deg, rgba(30, 35, 45, 0.95), rgba(20, 25, 35, 0.95));
  border-radius: 14px;
  padding: 2rem 1.8rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1) inset;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #0d6efd, rgb(1.5532786885, 76.887295082, 187.9467213115));
  opacity: 0.9;
  box-shadow: 2px 0 8px rgba(13, 110, 253, 0.5);
}
.stat-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.5), transparent);
}
.stat-card:hover:not(.highlight) {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(13, 110, 253, 0.2);
  border-color: rgba(13, 110, 253, 0.3);
}
.stat-card .stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.8rem;
}
.stat-card .stat-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.stat-card.highlight {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.95), rgb(1.6786885246, 83.0950819672, 203.1213114754));
  border-color: rgba(13, 110, 253, 0.5);
  box-shadow: 0 24px 60px rgba(13, 110, 253, 0.35), 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transform: scale(1.02);
}
.stat-card.highlight::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
  width: 6px;
}
.stat-card.highlight:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 28px 70px rgba(13, 110, 253, 0.45), 0 0 30px rgba(13, 110, 253, 0.3);
}
.stat-card.highlight .stat-label {
  color: rgba(0, 0, 0, 0.7);
  font-weight: 700;
}
.stat-card.highlight .stat-value {
  color: #000;
  font-size: 2.6rem;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.2);
}
.stat-card.highlight .stat-variation .variation,
.stat-card.highlight .stat-variation .variation-label {
  color: rgba(0, 0, 0, 0.8);
}

/* =========================
   VARIATION CA
========================= */
.stat-variation {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stat-variation .variation {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
}
.stat-variation .variation::before {
  font-size: 0.9rem;
}
.stat-variation .variation.up {
  color: #3ddc97;
  background: rgba(61, 220, 151, 0.15);
}
.stat-variation .variation.up::before {
  content: "↗";
}
.stat-variation .variation.down {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.15);
}
.stat-variation .variation.down::before {
  content: "↘";
}
.stat-variation .variation.neutral {
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}
.stat-variation .variation.neutral::before {
  content: "→";
}
.stat-variation .variation-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* =========================
   GRAPHIQUE CA
========================= */
.stats-graph {
  margin-top: 3.5rem;
  background: linear-gradient(145deg, rgba(30, 35, 45, 0.95), rgba(20, 25, 35, 0.95));
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 1px rgba(255, 255, 255, 0.1) inset;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}
.stats-graph::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.6), transparent);
}
.stats-graph .stats-graph-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.stats-graph .stats-graph-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.stats-graph .stats-graph-legend {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
}
.stats-graph .stats-graph-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}
.stats-graph .stats-graph-legend .legend-item::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: #0d6efd;
}

/* Wrapper Chart.js */
.stats-chart-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  padding: 1rem 0;
}

#caChart {
  width: 100%;
  height: 100%;
}

/* =========================
   SECTION VIDE / PLACEHOLDER
========================= */
.stats-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.5);
}
.stats-empty .empty-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.3;
}
.stats-empty .empty-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.8rem;
}
.stats-empty .empty-message {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
}

/* =========================
   LOADING SKELETON
========================= */
.stat-card.loading {
  pointer-events: none;
}
.stat-card.loading .stat-label,
.stat-card.loading .stat-value {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 100%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  color: transparent;
  border-radius: 4px;
}
.stat-card.loading .stat-label {
  width: 60%;
  height: 12px;
}
.stat-card.loading .stat-value {
  width: 80%;
  height: 32px;
  margin-top: 0.8rem;
}

@keyframes skeleton-loading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .dashboard-header h2 {
    font-size: 1.6rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  .stat-card {
    padding: 1.5rem 1.3rem;
  }
  .stat-card .stat-value {
    font-size: 1.8rem;
  }
  .stat-card.highlight .stat-value {
    font-size: 2rem;
  }
  .stats-chart-wrapper {
    height: 260px;
  }
  .stats-graph {
    padding: 1.8rem;
  }
  .stats-graph .stats-graph-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .dashboard-header {
    margin-bottom: 2rem;
  }
  .dashboard-header h2 {
    font-size: 1.4rem;
  }
  .dashboard-header .dashboard-subtitle {
    font-size: 0.9rem;
  }
  .stats-filters {
    gap: 0.5rem;
  }
  .stats-filters .stats-filter {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stat-card {
    padding: 1.3rem 1.2rem;
  }
  .stat-card.highlight {
    transform: scale(1);
  }
  .stat-card.highlight:hover {
    transform: translateY(-2px) scale(1);
  }
  .stat-card .stat-value {
    font-size: 1.6rem;
  }
  .stat-card.highlight .stat-value {
    font-size: 1.8rem;
  }
  .stat-variation {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .stat-variation .variation {
    font-size: 0.9rem;
  }
  .stats-graph {
    padding: 1.5rem 1rem;
    margin-top: 2.5rem;
  }
  .stats-graph .stats-graph-title {
    font-size: 1.1rem;
  }
  .stats-graph .stats-graph-legend {
    flex-direction: column;
    gap: 0.8rem;
  }
  .stats-chart-wrapper {
    height: 240px;
  }
}
/* =========================================================
   ANIMATIONS D'ENTRÉE
   ========================================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.stat-card,
.stats-graph {
  animation: fadeInUp 0.6s ease-out backwards;
}

.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;
}
.stat-card:nth-child(5) {
  animation-delay: 0.5s;
}
.stat-card:nth-child(6) {
  animation-delay: 0.6s;
}
.stat-card:nth-child(7) {
  animation-delay: 0.7s;
}
.stat-card:nth-child(8) {
  animation-delay: 0.8s;
}

.stats-graph {
  animation-delay: 0.8s;
}

/* =========================================================
   FAVORIS EXÉCUTANTS - PREMIUM DESIGN
   ========================================================= */
/* ============================
   BOUTON ÉTOILE FAVORI
   ============================ */
.profil-favori-form {
  display: inline-flex;
}

.star-btn {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(60, 70, 85, 0.6), rgba(45, 55, 70, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.star-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(13, 110, 253, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.star-btn:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.3), rgba(13, 110, 253, 0.2));
  border-color: rgba(13, 110, 253, 0.5);
  color: #0d6efd;
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.3);
}
.star-btn:hover::before {
  opacity: 1;
}
.star-btn.is-active {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.3), rgba(255, 152, 0, 0.2));
  border-color: rgba(255, 193, 7, 0.5);
  color: #ffd54f;
  filter: drop-shadow(0 4px 16px rgba(255, 193, 7, 0.5));
  animation: favPulse 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.star-btn.is-active:hover {
  transform: scale(1.15) rotate(-10deg);
  filter: drop-shadow(0 6px 20px rgba(255, 193, 7, 0.6));
}
.star-btn.is-active::before {
  background: radial-gradient(circle at center, rgba(255, 193, 7, 0.3), transparent);
  opacity: 1;
}

@keyframes favPulse {
  0% {
    transform: scale(0.7) rotate(-180deg);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2) rotate(0deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}
/* ============================
   GRID FAVORIS
   ============================ */
.favoris-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

/* ============================
   CARD FAVORI
   ============================ */
.favori-card {
  background: linear-gradient(145deg, rgba(40, 45, 55, 0.7), rgba(30, 35, 45, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.favori-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #ffd54f, #ffa726);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.favori-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.4), transparent);
}
.favori-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 193, 7, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 193, 7, 0.15);
}
.favori-card:hover::before {
  opacity: 1;
}

/* ============================
   HEADER CARD
   ============================ */
.favori-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.favori-head h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  flex: 1;
}
.favori-head form {
  flex-shrink: 0;
}

/* ============================
   META INFOS
   ============================ */
.favori-meta {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.favori-meta span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.6rem 1rem;
  background: linear-gradient(135deg, rgba(50, 55, 65, 0.5), rgba(40, 45, 55, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: all 0.2s ease;
}
.favori-meta span:hover {
  border-color: rgba(255, 193, 7, 0.2);
  transform: translateX(4px);
}
.favori-meta span:nth-child(1)::before {
  content: "📍";
  font-size: 1rem;
}
.favori-meta span:nth-child(2)::before {
  content: "💼";
  font-size: 1rem;
}

/* ============================
   LIEN PROFIL
   ============================ */
.favori-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  margin-top: auto;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.1));
  border: 1px solid rgba(13, 110, 253, 0.3);
  border-radius: 50px;
  color: #0d6efd;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.favori-link:hover {
  background: linear-gradient(135deg, #0d6efd, rgb(1.762295082, 87.2336065574, 213.237704918));
  border-color: #0d6efd;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.4);
}
.favori-link:active {
  transform: translateY(0);
}

/* ============================
   ÉTAT VIDE
   ============================ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(40, 45, 55, 0.5), rgba(30, 35, 45, 0.5));
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.8;
  position: relative;
  overflow: hidden;
}
.empty-state::before {
  content: "⭐";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  opacity: 0.03;
  pointer-events: none;
}

/* ============================
   BADGE COUNT (optionnel)
   ============================ */
.favoris-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 0.6rem;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.3), rgba(255, 152, 0, 0.2));
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 50px;
  color: #ffd54f;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1200px) {
  .favoris-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}
@media (max-width: 768px) {
  .favoris-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  .favori-card {
    padding: 1.8rem;
  }
  .favori-head h3 {
    font-size: 1.2rem;
  }
  .star-btn {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
}
@media (max-width: 480px) {
  .favoris-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .favori-card {
    padding: 1.5rem;
  }
  .favori-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .favori-head h3 {
    font-size: 1.15rem;
  }
  .favori-head form {
    align-self: center;
  }
  .favori-meta span {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }
  .favori-link {
    font-size: 0.85rem;
    padding: 0.8rem 1.4rem;
  }
  .empty-state {
    padding: 3rem 1.5rem;
    font-size: 0.95rem;
  }
  .empty-state::before {
    font-size: 6rem;
  }
}
/* ============================
   ANIMATIONS D'ENTRÉE
   ============================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.favori-card {
  animation: fadeInUp 0.6s ease-out backwards;
}
.favori-card:nth-child(1) {
  animation-delay: 0.05s;
}
.favori-card:nth-child(2) {
  animation-delay: 0.1s;
}
.favori-card:nth-child(3) {
  animation-delay: 0.15s;
}
.favori-card:nth-child(4) {
  animation-delay: 0.2s;
}
.favori-card:nth-child(5) {
  animation-delay: 0.25s;
}
.favori-card:nth-child(6) {
  animation-delay: 0.3s;
}
.favori-card:nth-child(7) {
  animation-delay: 0.35s;
}
.favori-card:nth-child(8) {
  animation-delay: 0.4s;
}
.favori-card:nth-child(9) {
  animation-delay: 0.45s;
}
.favori-card:nth-child(10) {
  animation-delay: 0.5s;
}
.favori-card:nth-child(11) {
  animation-delay: 0.55s;
}
.favori-card:nth-child(12) {
  animation-delay: 0.6s;
}

/* ============================
   EFFET LOADING (optionnel)
   ============================ */
.favori-card.loading {
  pointer-events: none;
}
.favori-card.loading .favori-head h3,
.favori-card.loading .favori-meta span,
.favori-card.loading .favori-link {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 100%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  color: transparent;
  border-radius: 4px;
}

@keyframes skeleton-loading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
/* =========================================================
   PAGE SIGNALER PROFIL - PREMIUM DESIGN
   ========================================================= */
/* ================================
   CONTAINER PRINCIPAL
================================ */
.signalement-page {
  max-width: 800px;
  margin: 3rem auto;
  padding: 3.5rem 3rem;
  background: linear-gradient(145deg, rgba(30, 35, 45, 0.95), rgba(20, 25, 35, 0.95));
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(239, 68, 68, 0.15), 0 0 1px rgba(239, 68, 68, 0.3) inset;
  position: relative;
  overflow: hidden;
}
.signalement-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ef4444, transparent);
}
.signalement-page {
  animation: fadeIn 0.6s ease-out;
}
.signalement-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}
.signalement-page h1::before {
  content: "⚠️";
  font-size: 2rem;
}
.signalement-page > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ================================
   FORMULAIRE
================================ */
.signalement-page form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(40, 45, 55, 0.6), rgba(30, 35, 45, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* ================================
   CHAMPS DJANGO (as_p)
================================ */
.signalement-page form p {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
}
.signalement-page form p label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.signalement-page form p label::after {
  content: " *";
  color: #ef4444;
  font-size: 1.1rem;
}
.signalement-page form p input[type=text],
.signalement-page form p input[type=email],
.signalement-page form p select,
.signalement-page form p textarea {
  width: 100%;
  background: linear-gradient(135deg, rgba(20, 25, 35, 0.8), rgba(15, 20, 30, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}
.signalement-page form p input[type=text]::placeholder,
.signalement-page form p input[type=email]::placeholder,
.signalement-page form p select::placeholder,
.signalement-page form p textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.signalement-page form p input[type=text]:hover,
.signalement-page form p input[type=email]:hover,
.signalement-page form p select:hover,
.signalement-page form p textarea:hover {
  border-color: rgba(255, 255, 255, 0.25);
}
.signalement-page form p input[type=text]:focus,
.signalement-page form p input[type=email]:focus,
.signalement-page form p select:focus,
.signalement-page form p textarea:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1), 0 4px 12px rgba(239, 68, 68, 0.2);
  background: linear-gradient(135deg, rgba(25, 30, 40, 0.9), rgba(20, 25, 35, 0.9));
}
.signalement-page form p select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.signalement-page form p select option {
  background: #1a1f28;
  color: #fff;
  padding: 0.8rem;
}
.signalement-page form p textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}
.signalement-page form p .errorlist {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.signalement-page form p .errorlist li {
  color: #fca5a5;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.signalement-page form p .errorlist li::before {
  content: "⚠";
  font-size: 1rem;
}
.signalement-page form p .helptext {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin-top: 0.3rem;
}

/* ✅ Style global pour les options (fallback navigateurs) */
.signalement-page select option {
  background-color: #1a1f28;
  color: #ffffff;
}

/* ================================
   BOUTON SOUMETTRE
================================ */
.signalement-page form button[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.3s ease;
}
.signalement-page form button[type=submit]::before {
  content: "📢";
  font-size: 1.2rem;
}
.signalement-page form button[type=submit]:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(239, 68, 68, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.signalement-page form button[type=submit]:active {
  transform: translateY(0);
}
.signalement-page form button[type=submit]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ================================
   LIEN RETOUR
================================ */
.signalement-page > a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, rgba(60, 70, 85, 0.8), rgba(45, 55, 70, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}
.signalement-page > a::before {
  content: "←";
  font-size: 1.2rem;
}
.signalement-page > a:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.3), rgba(13, 110, 253, 0.2));
  border-color: rgba(13, 110, 253, 0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.2);
}
.signalement-page > a:active {
  transform: translateY(0);
}

/* ================================
   WARNING BOX
================================ */
.signalement-warning {
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.1));
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-left: 4px solid #fbbf24;
  border-radius: 10px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.signalement-warning .warning-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.signalement-warning .warning-content {
  flex: 1;
}
.signalement-warning .warning-content .warning-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 0.5rem;
}
.signalement-warning .warning-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ================================
   CONFIRMATION MESSAGE
================================ */
.signalement-success {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
  margin-bottom: 2rem;
}
.signalement-success .success-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: successBounce 0.6s ease-out;
}
.signalement-success h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 1rem;
}
.signalement-success p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

@keyframes successBounce {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(0deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}
/* ================================
   RESPONSIVE - TABLET
================================ */
@media (max-width: 768px) {
  .signalement-page {
    margin: 2rem 1.5rem;
    padding: 3rem 2.5rem;
  }
  .signalement-page h1 {
    font-size: 1.8rem;
  }
  .signalement-page > p {
    padding: 1.3rem 1.5rem;
  }
  .signalement-page form {
    padding: 2rem;
  }
  .signalement-page form button[type=submit] {
    width: 100%;
  }
  .signalement-page > a {
    width: 100%;
    justify-content: center;
  }
}
/* ================================
   RESPONSIVE - MOBILE
================================ */
@media (max-width: 480px) {
  .signalement-page {
    margin: 1.5rem 1rem;
    padding: 2rem 1.5rem;
  }
  .signalement-page h1 {
    font-size: 1.6rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  .signalement-page h1::before {
    font-size: 2.5rem;
  }
  .signalement-page > p {
    font-size: 0.95rem;
    padding: 1.2rem;
  }
  .signalement-page form {
    padding: 1.8rem 1.5rem;
    gap: 1.5rem;
  }
  .signalement-page form p label {
    font-size: 0.9rem;
  }
  .signalement-page form p input[type=text],
  .signalement-page form p input[type=email],
  .signalement-page form p select,
  .signalement-page form p textarea {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
  .signalement-page form p textarea {
    min-height: 120px;
  }
  .signalement-page form button[type=submit] {
    width: 100%;
    padding: 1rem;
  }
  .signalement-page > a {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
  }
  .signalement-success {
    padding: 2.5rem 1.5rem;
  }
  .signalement-success .success-icon {
    font-size: 3rem;
  }
  .signalement-success h2 {
    font-size: 1.4rem;
  }
  .signalement-success p {
    font-size: 0.95rem;
  }
  .signalement-warning {
    flex-direction: column;
    padding: 1.3rem 1.5rem;
  }
  .signalement-warning .warning-icon {
    font-size: 2rem;
  }
  .signalement-warning .warning-content .warning-title {
    font-size: 1rem;
  }
}
/* ================================
   ANIMATIONS D'ENTRÉE
================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.signalement-page > p,
.signalement-page form,
.signalement-page > a,
.signalement-warning {
  animation: fadeInUp 0.6s ease-out backwards;
}

.signalement-page > p {
  animation-delay: 0.1s;
}

.signalement-page form {
  animation-delay: 0.2s;
}

.signalement-page > a {
  animation-delay: 0.3s;
}

/* =========================================================
   FORMULAIRE DE RECOMMANDATION - DESIGN PREMIUM
   ========================================================= */
.recommandation-wrapper {
  max-width: 700px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.recommandation-card {
  background: linear-gradient(145deg, rgba(30, 35, 45, 0.95), rgba(20, 25, 35, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
}
.recommandation-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #0d6efd, transparent);
}
.recommandation-card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #d0d9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.recommandation-card .subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ================================================= */
/*              FORMULAIRE                           */
/* ================================================= */
.recommandation-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.recommandation-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.recommandation-form .form-group .field-label,
.recommandation-form .form-group .main-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.recommandation-form .form-group input[type=text],
.recommandation-form .form-group input[type=number],
.recommandation-form .form-group textarea,
.recommandation-form .form-group select {
  background: linear-gradient(135deg, rgba(20, 25, 35, 0.8), rgba(15, 20, 30, 0.8));
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.recommandation-form .form-group input[type=text]::placeholder,
.recommandation-form .form-group input[type=number]::placeholder,
.recommandation-form .form-group textarea::placeholder,
.recommandation-form .form-group select::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.recommandation-form .form-group input[type=text]:focus,
.recommandation-form .form-group input[type=number]:focus,
.recommandation-form .form-group textarea:focus,
.recommandation-form .form-group select:focus {
  outline: none;
  border-color: #0d6efd;
  background: rgba(17, 17, 17, 0.9);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
  transform: translateY(-1px);
}
.recommandation-form .form-group input[type=text]:hover:not(:focus),
.recommandation-form .form-group input[type=number]:hover:not(:focus),
.recommandation-form .form-group textarea:hover:not(:focus),
.recommandation-form .form-group select:hover:not(:focus) {
  border-color: rgba(255, 255, 255, 0.2);
}
.recommandation-form .form-group textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
}
.recommandation-form .form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23aaa' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.recommandation-form .form-group select option {
  background: rgba(20, 25, 35, 0.95);
  color: #fff;
  padding: 0.5rem;
}
.recommandation-form .rating-group .star-rating {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 1rem 0;
  flex-direction: row-reverse;
}
.recommandation-form .rating-group .star-rating input[type=radio] {
  display: none;
}
.recommandation-form .rating-group .star-rating input[type=radio]:checked + label, .recommandation-form .rating-group .star-rating input[type=radio]:checked ~ label {
  color: #fbbf24;
}
.recommandation-form .rating-group .star-rating input[type=radio]:checked + label {
  transform: scale(1.2);
}
.recommandation-form .rating-group .star-rating label {
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.2);
  order: 1;
}
.recommandation-form .rating-group .star-rating label:hover, .recommandation-form .rating-group .star-rating label:hover ~ label {
  color: #fbbf24;
  transform: scale(1.1);
}
.recommandation-form .badges-group .badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}
.recommandation-form .badges-group .badges-grid .badge-item {
  position: relative;
}
.recommandation-form .badges-group .badges-grid .badge-item input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.recommandation-form .badges-group .badges-grid .badge-item input[type=checkbox]:checked + label {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.3), rgba(13, 110, 253, 0.15));
  border-color: #0d6efd;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}
.recommandation-form .badges-group .badges-grid .badge-item input[type=checkbox]:checked + label::before {
  opacity: 1;
  transform: scale(1);
}
.recommandation-form .badges-group .badges-grid .badge-item label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(60, 70, 85, 0.4), rgba(45, 55, 70, 0.4));
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.recommandation-form .badges-group .badges-grid .badge-item label::before {
  content: "✓";
  position: absolute;
  left: 0.75rem;
  font-size: 1rem;
  color: #0d6efd;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}
.recommandation-form .badges-group .badges-grid .badge-item label:hover {
  border-color: rgba(13, 110, 253, 0.5);
  color: #fff;
  transform: translateY(-1px);
}
.recommandation-form .helptext {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin-top: 0.25rem;
}
.recommandation-form .errorlist {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}
.recommandation-form .errorlist li {
  font-size: 0.85rem;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border-left: 3px solid #ff6b6b;
  animation: shake 0.3s ease;
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
.recommandation-form button[type=submit] {
  margin-top: 1rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #0d6efd, rgb(1.762295082, 87.2336065574, 213.237704918));
  color: #000;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.recommandation-form button[type=submit]::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.recommandation-form button[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 110, 253, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.recommandation-form button[type=submit]:hover::before {
  left: 100%;
}
.recommandation-form button[type=submit]:active {
  transform: translateY(0);
}

/* ================================================= */
/*                 RESPONSIVE                        */
/* ================================================= */
@media (max-width: 768px) {
  .recommandation-wrapper {
    margin: 2rem auto;
  }
  .recommandation-card {
    padding: 2.5rem 2rem;
  }
  .recommandation-card h2 {
    font-size: 1.6rem;
  }
  .recommandation-form {
    gap: 1.5rem;
  }
  .recommandation-form .badges-group .badges-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}
@media (max-width: 480px) {
  .recommandation-wrapper {
    padding: 0 1rem;
    margin: 1.5rem auto;
  }
  .recommandation-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
  .recommandation-card h2 {
    font-size: 1.4rem;
  }
  .recommandation-card .subtitle {
    font-size: 0.875rem;
    margin-bottom: 2rem;
  }
  .recommandation-form {
    gap: 1.2rem;
  }
  .recommandation-form .form-group label {
    font-size: 0.85rem;
  }
  .recommandation-form .form-group input[type=text],
  .recommandation-form .form-group input[type=number],
  .recommandation-form .form-group textarea,
  .recommandation-form .form-group select {
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
  }
  .recommandation-form .form-group textarea {
    min-height: 100px;
  }
  .recommandation-form .rating-group .star-rating label {
    font-size: 1.6rem;
  }
  .recommandation-form .badges-group .badges-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .recommandation-form .badges-group .badges-grid .badge-item label {
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
  }
  .recommandation-form button[type=submit] {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}
/* ============================
   VARIABLES LOCALES
   ============================ */
/* ============================
   BANNIÈRE MARKETING
   ============================ */
.banner-annonce {
  position: relative;
  width: 100%;
  padding: 20px 32px;
  background: linear-gradient(135deg, #0d6efd 0%, rgb(1.5532786885, 76.887295082, 187.9467213115) 100%);
  color: #fff;
  text-align: center;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 0 30px rgba(13, 110, 253, 0.3), 0 10px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: slideDown 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.banner-annonce::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
  animation: shine 4s infinite;
  pointer-events: none;
}
.banner-annonce::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.banner-annonce strong {
  position: relative;
  display: block;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
  z-index: 1;
  background: linear-gradient(90deg, #fff 0%, rgb(215.3278688525, 231.2295081967, 254.6721311475) 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShine 3s linear infinite;
}
.banner-annonce p {
  position: relative;
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.6;
  opacity: 0.95;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
@media (max-width: 480px) {
  .banner-annonce {
    padding: 16px 20px;
  }
  .banner-annonce strong {
    margin-bottom: 6px;
  }
}

/* ============================
   POPUP MARKETING
   ============================ */
.popup-annonce {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.popup-annonce.active {
  opacity: 1;
  visibility: visible;
}
.popup-annonce.active .popup-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.popup-content {
  position: relative;
  background: #1a1a1a;
  padding: 52px 52px 44px;
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.15), 0 32px 64px rgba(0, 0, 0, 0.6);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.popup-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 3px;
  background: linear-gradient(135deg, #0d6efd 0%, rgb(1.5532786885, 76.887295082, 187.9467213115) 100%);
  border-radius: 0 0 3px 3px;
}
.popup-content::after {
  content: none;
}
.popup-content h3 {
  margin: 0 0 12px 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.popup-content p {
  margin: 0 0 36px 0;
  color: #aaa;
  line-height: 1.75;
  font-size: 0.9375rem;
}
.popup-content .popup-close {
  display: inline-block;
  background: linear-gradient(135deg, #0d6efd 0%, rgb(1.5532786885, 76.887295082, 187.9467213115) 100%);
  color: #fff;
  border: none;
  padding: 13px 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.popup-content .popup-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.5);
}
.popup-content .popup-close:active {
  transform: translateY(0);
  opacity: 0.9;
}
.popup-content .popup-close:focus-visible {
  outline: 3px solid #0d6efd;
  outline-offset: 4px;
}
@media (max-width: 768px) {
  .popup-content {
    padding: 44px 32px 36px;
    max-width: 92%;
  }
}
@media (max-width: 480px) {
  .popup-content {
    padding: 40px 24px 32px;
    border-radius: 14px;
  }
  .popup-content h3 {
    font-size: 1.3rem;
  }
  .popup-content .popup-close {
    width: 100%;
    padding: 14px;
  }
}
@media (max-height: 650px) {
  .popup-content {
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 28px;
  }
}

.popup-dismiss {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.popup-dismiss:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.popup-dismiss:focus-visible {
  outline: 2px solid #0d6efd;
  outline-offset: 3px;
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}
@keyframes textShine {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}
/* ============================
   ACCESSIBILITÉ
   ============================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* =========================================================
   PAGE LÉGALE - DESIGN PREMIUM
   ========================================================= */
.page-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  min-height: calc(100vh - 200px);
  position: relative;
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.03), transparent 30%, transparent 70%, rgba(13, 110, 253, 0.02));
}
.page-section .container {
  max-width: 900px;
}

/* =========================================================
   TITRE PRINCIPAL
   ========================================================= */
.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
  position: relative;
  padding-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, rgba(13, 110, 253, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(80px, 15vw, 120px);
  height: 4px;
  background: linear-gradient(90deg, transparent, #0d6efd, transparent);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(13, 110, 253, 0.5);
}
.page-title {
  animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================================
   CONTENU RICHE
   ========================================================= */
.page-content.rich-text {
  background: #1a1a1a;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out 0.2s backwards;
}
.page-content.rich-text::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(13, 110, 253, 0.08), transparent 70%);
  pointer-events: none;
}
.page-content.rich-text > * {
  position: relative;
  z-index: 1;
}
.page-content.rich-text {
  /* ===== TITRES ===== */
}
.page-content.rich-text h1, .page-content.rich-text h2, .page-content.rich-text h3, .page-content.rich-text h4, .page-content.rich-text h5, .page-content.rich-text h6 {
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.page-content.rich-text h1 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  margin-top: 0;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(13, 110, 253, 0.3);
}
.page-content.rich-text h2 {
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  color: rgba(255, 255, 255, 0.95);
  padding-left: 1rem;
  border-left: 4px solid #0d6efd;
  margin-top: 3rem;
  background: linear-gradient(90deg, rgba(13, 110, 253, 0.1), transparent 50%);
  padding: 0.8rem 0 0.8rem 1rem;
  border-radius: 0 10px 10px 0;
}
.page-content.rich-text h3 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding-left: 0.8rem;
}
.page-content.rich-text h3::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #0d6efd;
  font-size: 0.9em;
}
.page-content.rich-text h4 {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.85);
}
.page-content.rich-text h5, .page-content.rich-text h6 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
}
.page-content.rich-text {
  /* ===== PARAGRAPHES ===== */
}
.page-content.rich-text p {
  margin: 1.3rem 0;
  color: #aaa;
  line-height: 1.8;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  text-align: justify;
}
.page-content.rich-text p:first-of-type:first-letter {
  font-size: 3.5em;
  font-weight: 700;
  line-height: 0.8;
  float: left;
  margin: 0.1em 0.15em 0 0;
  color: #0d6efd;
}
.page-content.rich-text {
  /* ===== LISTES ===== */
}
.page-content.rich-text ul, .page-content.rich-text ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
  color: #aaa;
  line-height: 1.8;
}
.page-content.rich-text ul li, .page-content.rich-text ol li {
  margin: 0.8rem 0;
  padding-left: 0.5rem;
  position: relative;
}
.page-content.rich-text ul li::marker, .page-content.rich-text ol li::marker {
  color: #0d6efd;
  font-weight: 700;
}
.page-content.rich-text ul ul, .page-content.rich-text ul ol, .page-content.rich-text ol ul, .page-content.rich-text ol ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}
.page-content.rich-text {
  /* ===== LIENS ===== */
}
.page-content.rich-text a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(13, 110, 253, 0.3);
}
.page-content.rich-text a:hover {
  color: rgb(88.8729508197, 155.4610655738, 253.6270491803);
  border-bottom-color: rgb(88.8729508197, 155.4610655738, 253.6270491803);
}
.page-content.rich-text a:active {
  color: rgb(1.762295082, 87.2336065574, 213.237704918);
}
.page-content.rich-text {
  /* ===== EMPHASES ===== */
}
.page-content.rich-text strong {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}
.page-content.rich-text em {
  font-style: italic;
  color: rgba(170, 170, 170, 0.9);
}
.page-content.rich-text {
  /* ===== CITATIONS ===== */
}
.page-content.rich-text blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.06));
  border-left: 4px solid #0d6efd;
  border-radius: 0 10px 10px 0;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  position: relative;
}
.page-content.rich-text blockquote::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 3rem;
  color: rgba(13, 110, 253, 0.3);
  line-height: 1;
  font-family: Georgia, serif;
}
.page-content.rich-text blockquote p {
  margin: 0;
  position: relative;
  z-index: 1;
}
.page-content.rich-text blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9em;
  color: #aaa;
  font-style: normal;
}
.page-content.rich-text blockquote cite::before {
  content: "— ";
}
.page-content.rich-text {
  /* ===== CODE ===== */
}
.page-content.rich-text code {
  background: rgba(13, 110, 253, 0.15);
  color: rgb(114.1639344262, 170.6147540984, 253.8360655738);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9em;
  border: 1px solid rgba(13, 110, 253, 0.2);
}
.page-content.rich-text pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid #0d6efd;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
}
.page-content.rich-text pre code {
  background: none;
  color: #f1f1f1;
  padding: 0;
  border: none;
  font-size: 0.95em;
}
.page-content.rich-text {
  /* ===== TABLEAUX ===== */
}
.page-content.rich-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.page-content.rich-text table th, .page-content.rich-text table td {
  padding: 1rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.page-content.rich-text table thead th {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.25), rgba(13, 110, 253, 0.15));
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 0.05em;
}
.page-content.rich-text table tbody td {
  color: #aaa;
}
.page-content.rich-text table tbody tr {
  transition: background 0.3s ease;
}
.page-content.rich-text table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}
.page-content.rich-text table tbody tr:hover {
  background: rgba(13, 110, 253, 0.08);
}
.page-content.rich-text {
  /* ===== IMAGES ===== */
}
.page-content.rich-text img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 2rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}
.page-content.rich-text {
  /* ===== SÉPARATEUR ===== */
}
.page-content.rich-text hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.4), transparent);
  margin: 3rem 0;
  position: relative;
}
.page-content.rich-text hr::after {
  content: "◆";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0d6efd;
  background: #1a1a1a;
  padding: 0 1rem;
  font-size: 0.8rem;
}
.page-content.rich-text {
  /* ===== ESPACEMENT ===== */
}
.page-content.rich-text > *:first-child {
  margin-top: 0;
}
.page-content.rich-text > *:last-child {
  margin-bottom: 0;
}
.page-content.rich-text h2 + p,
.page-content.rich-text h3 + p,
.page-content.rich-text h4 + p {
  margin-top: 0.8rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .page-section {
    padding: 3rem 0;
  }
  .page-title {
    margin-bottom: 2rem;
  }
  .page-content.rich-text {
    padding: 2rem 1.5rem;
  }
  .page-content.rich-text p {
    text-align: left;
  }
  .page-content.rich-text table {
    font-size: 0.85rem;
    display: block;
    overflow-x: auto;
  }
  .page-content.rich-text table th, .page-content.rich-text table td {
    padding: 0.8rem;
  }
}
@media (max-width: 480px) {
  .page-section {
    padding: 2.5rem 0;
  }
  .page-title {
    margin-bottom: 1.5rem;
  }
  .page-content.rich-text {
    padding: 1.5rem 1rem;
  }
  .page-content.rich-text h2 {
    padding: 0.6rem 0 0.6rem 0.8rem;
  }
  .page-content.rich-text blockquote {
    padding: 1.2rem 1rem 1.2rem 1.5rem;
  }
  .page-content.rich-text blockquote::before {
    font-size: 2rem;
  }
  .page-content.rich-text pre {
    padding: 1rem;
    font-size: 0.85rem;
  }
  .page-content.rich-text table th, .page-content.rich-text table td {
    padding: 0.6rem;
    font-size: 0.8rem;
  }
}
/* =========================================================
   SCROLLBAR PERSONNALISÉE
   ========================================================= */
.page-content.rich-text pre::-webkit-scrollbar {
  height: 8px;
}
.page-content.rich-text pre::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.page-content.rich-text pre::-webkit-scrollbar-thumb {
  background: #0d6efd;
  border-radius: 4px;
}
.page-content.rich-text pre::-webkit-scrollbar-thumb:hover {
  background: rgb(63.5819672131, 140.3073770492, 253.4180327869);
}

/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.page-content.rich-text a:focus-visible {
  outline: 2px solid #0d6efd;
  outline-offset: 3px;
  border-radius: 2px;
}

/* =========================================================
   HERO SECTION TARIFS - COMPACT & ÉLÉGANT
   ========================================================= */
.tarifs-hero {
  position: relative;
  min-height: clamp(250px, 40vh, 400px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) 1rem;
  overflow: hidden;
  background: radial-gradient(ellipse at top, rgba(13, 110, 253, 0.1), transparent 60%);
}
.tarifs-hero .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: blur(2px);
  z-index: 0;
}
.tarifs-hero .hero-text {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 850px;
  width: 100%;
}
.tarifs-hero .hero-text h1 {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.8rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, rgba(13, 110, 253, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tarifs-hero .hero-text h2 {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.8rem;
}
.tarifs-hero .hero-text .commission {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: #aaa;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
}

/* =========================================================
   PRICING SIMULATOR - COMPACT & RESPONSIVE 💰
   ========================================================= */
.pricing-simulator {
  padding: clamp(2.5rem, 6vw, 5rem) 1rem;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.2), transparent, rgba(26, 26, 26, 0.2));
  position: relative;
}
.pricing-simulator::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.5), transparent);
}

.pricing-container {
  max-width: 950px;
  margin: 0 auto;
}
.pricing-container > h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, #0d6efd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-container > p {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: #aaa;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Input - Compact */
.simulator-input {
  margin-bottom: 1.5rem;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}
.simulator-input label {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  text-align: center;
}
.simulator-input input[type=number] {
  width: 100%;
  padding: 1rem 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(13, 110, 253, 0.3);
  border-radius: 10px;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.simulator-input input[type=number]::-webkit-outer-spin-button, .simulator-input input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.simulator-input input[type=number]::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.simulator-input input[type=number]:focus {
  outline: none;
  border-color: #0d6efd;
  background: rgba(13, 110, 253, 0.08);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3), 0 0 20px rgba(13, 110, 253, 0.2);
  transform: translateY(-2px);
}

/* Revenue Box - Compact */
.revenue-box {
  text-align: center;
  padding: 0.8rem 1.2rem;
  margin-bottom: 1.8rem;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.06));
  border: 1px solid rgba(13, 110, 253, 0.25);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}
.revenue-box strong {
  color: #fff;
  font-weight: 700;
}

/* Tableau Pricing - Compact & Lisible */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 2rem;
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pricing-table thead {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.12));
}
.pricing-table thead tr th {
  padding: 1rem 0.9rem;
  text-align: left;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(13, 110, 253, 0.3);
}
.pricing-table thead tr th:last-child {
  text-align: right;
}
.pricing-table tbody tr {
  transition: all 0.3s ease;
}
.pricing-table tbody tr:hover {
  background: rgba(13, 110, 253, 0.05);
}
.pricing-table tbody tr.highlight {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.08));
}
.pricing-table tbody tr.highlight td {
  font-weight: 600;
  color: #fff;
}
.pricing-table tbody tr.highlight td:first-child {
  font-weight: 800;
  color: #0d6efd;
}
.pricing-table tbody tr td {
  padding: 1.1rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #aaa;
  font-size: 0.9rem;
}
.pricing-table tbody tr td:first-child {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.pricing-table tbody tr td:last-child {
  text-align: right;
  font-weight: 600;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 480px) {
  .pricing-table {
    display: block;
    font-size: 0.9rem;
  }
  .pricing-table thead {
    display: none;
  }
  .pricing-table tbody {
    display: block;
  }
  .pricing-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.9);
  }
  .pricing-table tbody tr.highlight {
    border-color: rgba(13, 110, 253, 0.4);
  }
  .pricing-table tbody tr td {
    display: block;
    padding: 0.5rem 0;
    border: none;
    text-align: left;
    font-size: 0.9rem;
  }
  .pricing-table tbody tr td:first-child {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .pricing-table tbody tr td:not(:first-child) {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .pricing-table tbody tr td:not(:first-child)::before {
    content: attr(data-label);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
  }
  .pricing-table tbody tr td:last-child {
    text-align: left;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
    font-size: 1rem;
  }
}

/* =========================================================
   CTA SECTION - COMPACT
   ========================================================= */
.tarifs-cta {
  padding: clamp(2.5rem, 6vw, 5rem) 1rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.05));
  position: relative;
}
.tarifs-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0d6efd, transparent);
}
.tarifs-cta h3 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff, rgba(13, 110, 253, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tarifs-cta p {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: #aaa;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.tarifs-cta .btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(13, 110, 253, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}
.tarifs-cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(13, 110, 253, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.tarifs-cta .btn-primary:active {
  transform: translateY(-1px);
}
@media (max-width: 480px) {
  .tarifs-cta .btn-primary {
    width: 100%;
    max-width: 320px;
  }
}

/* =========================================================
   SECTION TEXTE HTML - COMPACT
   ========================================================= */
.tarifs-html-section {
  padding: clamp(2.5rem, 6vw, 5rem) 1rem;
  background: linear-gradient(180deg, transparent, rgba(26, 26, 26, 0.3), transparent);
}
.tarifs-html-section .container {
  max-width: 900px;
  margin: 0 auto;
}
.tarifs-html-section .section-title {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, #fff, rgba(13, 110, 253, 0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 0.8rem;
}
.tarifs-html-section .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0d6efd, transparent);
  border-radius: 2px;
}

.texte-html-contenu {
  background: #1a1a1a;
  padding: 2.5rem 1.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.texte-html-contenu h1, .texte-html-contenu h2, .texte-html-contenu h3, .texte-html-contenu h4, .texte-html-contenu h5, .texte-html-contenu h6 {
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}
.texte-html-contenu h1 {
  font-size: 1.8rem;
  margin-top: 0;
}
.texte-html-contenu h2 {
  font-size: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(13, 110, 253, 0.3);
}
.texte-html-contenu h3 {
  font-size: 1.3rem;
  padding-left: 0.8rem;
  border-left: 3px solid #0d6efd;
}
.texte-html-contenu h4 {
  font-size: 1.15rem;
}
.texte-html-contenu p {
  color: #aaa;
  line-height: 1.7;
  margin: 1rem 0;
  font-size: 0.98rem;
}
.texte-html-contenu ul, .texte-html-contenu ol {
  color: #aaa;
  padding-left: 1.5rem;
  margin: 1rem 0;
  line-height: 1.6;
}
.texte-html-contenu ul li, .texte-html-contenu ol li {
  margin: 0.6rem 0;
}
.texte-html-contenu ul li::marker, .texte-html-contenu ol li::marker {
  color: #0d6efd;
}
.texte-html-contenu a {
  color: #0d6efd;
  text-decoration: underline;
  transition: color 0.3s ease;
}
.texte-html-contenu a:hover {
  color: rgb(88.8729508197, 155.4610655738, 253.6270491803);
}
.texte-html-contenu blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.06));
  border-left: 4px solid #0d6efd;
  border-radius: 0 8px 8px 0;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}
.texte-html-contenu img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.texte-html-contenu code {
  background: rgba(13, 110, 253, 0.15);
  color: rgb(114.1639344262, 170.6147540984, 253.8360655738);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
}
.texte-html-contenu pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid #0d6efd;
  border-radius: 8px;
  padding: 1.2rem;
  margin: 1.5rem 0;
  overflow-x: auto;
}
.texte-html-contenu pre code {
  background: none;
  color: #f1f1f1;
  padding: 0;
}
.texte-html-contenu table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.texte-html-contenu table th, .texte-html-contenu table td {
  padding: 0.8rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.texte-html-contenu table th {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.1));
  color: #fff;
  font-weight: 700;
}
.texte-html-contenu table td {
  color: #aaa;
}
.texte-html-contenu table tr:hover {
  background: rgba(13, 110, 253, 0.05);
}
.texte-html-contenu hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.4), transparent);
  margin: 2rem 0;
}
.texte-html-contenu > *:first-child {
  margin-top: 0;
}
.texte-html-contenu > *:last-child {
  margin-bottom: 0;
}
@media (max-width: 480px) {
  .texte-html-contenu {
    padding: 2rem 1.5rem;
  }
  .texte-html-contenu table {
    display: block;
    overflow-x: auto;
    font-size: 0.85rem;
  }
}

/* =========================================================
   PLANS TARIFAIRES - COMPACT
   ========================================================= */
.tarifs-plans {
  padding: clamp(2.5rem, 6vw, 5rem) 1rem;
}
.tarifs-plans h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, #fff, rgba(13, 110, 253, 0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 480px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CARD PLAN - COMPACT
   ========================================================= */
.plan-card {
  background: #1a1a1a;
  padding: 2rem 1.5rem;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}
.plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0d6efd, rgb(88.8729508197, 155.4610655738, 253.6270491803));
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 110, 253, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(13, 110, 253, 0.2);
}
.plan-card .badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  padding: 0.35rem 0.9rem;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.4);
}
.plan-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
  margin-top: 0;
}
.plan-card .price {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0d6efd;
  margin-bottom: 1rem;
  line-height: 1;
}
.plan-card .description {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}
.plan-card .features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.plan-card .features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  padding: 0.7rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.plan-card .features li.inclus {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.plan-card .features li.inclus::before {
  content: "✔";
  color: #10b981;
  font-weight: 700;
  font-size: 1rem;
}
.plan-card .features li.inclus:hover {
  background: rgba(16, 185, 129, 0.15);
}
.plan-card .features li.exclu {
  color: rgba(170, 170, 170, 0.6);
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  text-decoration: line-through;
}
.plan-card .features li.exclu::before {
  content: "✖";
  color: #ef4444;
  font-weight: 700;
  font-size: 1rem;
}
.plan-card .commission-note {
  margin-top: 1.5rem;
  padding: 0.7rem 0.9rem;
  background: rgba(13, 110, 253, 0.1);
  border-left: 3px solid #0d6efd;
  border-radius: 0 6px 6px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-style: italic;
}

/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}
/* =========================================================
   HEADER FAQ
   ========================================================= */
.faq-header {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 2rem clamp(3rem, 6vw, 4rem);
  background: radial-gradient(ellipse at top, rgba(13, 110, 253, 0.1), transparent 60%);
}
.faq-header h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, rgba(13, 110, 253, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.faq-header p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #aaa;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.faq-header #faq-search {
  width: 100%;
  max-width: 600px;
  padding: 1rem 1.5rem;
  padding-left: 3rem;
  background: #1a1a1a;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  color: #f1f1f1;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 1rem center;
  background-size: 20px;
}
.faq-header #faq-search:focus {
  outline: none;
  border-color: #0d6efd;
  background-color: rgb(33.65, 33.65, 33.65);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}
.faq-header #faq-search::placeholder {
  color: #aaa;
}
@media (max-width: 480px) {
  .faq-header {
    padding: 3rem 1rem 2rem;
  }
}

/* =========================================================
   FILTRES PAR THÈME
   ========================================================= */
.faq-themes {
  padding: 2rem 0;
  background: rgba(26, 26, 26, 0.95);
  position: sticky;
  top: 70px;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.themes-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.theme-btn {
  padding: 0.7rem 1.5rem;
  background: rgba(13, 110, 253, 0.1);
  border: 2px solid rgba(13, 110, 253, 0.3);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.theme-btn:hover {
  background: rgba(13, 110, 253, 0.2);
  border-color: #0d6efd;
  color: #fff;
  transform: translateY(-2px);
}
.theme-btn.active {
  background: linear-gradient(135deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  border-color: #0d6efd;
  color: #fff;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.4);
}
@media (max-width: 480px) {
  .theme-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* =========================================================
   QUESTIONS FAQ (ACCORDÉON)
   ========================================================= */
.faq-questions {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 1rem;
}

.theme-block {
  margin-bottom: 4rem;
  animation: fadeInUp 0.5s ease-out;
}
.theme-block:last-child {
  margin-bottom: 0;
}
.theme-block h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 4px solid #0d6efd;
  background: linear-gradient(90deg, rgba(13, 110, 253, 0.15), transparent 50%);
  padding: 0.8rem 0 0.8rem 1rem;
  border-radius: 0 10px 10px 0;
}
@media (max-width: 480px) {
  .theme-block {
    margin-bottom: 3rem;
  }
  .theme-block h2 {
    font-size: 1.5rem;
  }
}

/* =========================================================
   ITEM FAQ (ACCORDÉON)
   ========================================================= */
.faq-item {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(13, 110, 253, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.faq-item.active {
  border-color: rgba(13, 110, 253, 0.4);
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.2);
}
.faq-item.active .faq-question {
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.1);
}
.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}
.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 1.5rem;
  opacity: 1;
}

.faq-question {
  padding: 1.2rem 3rem 1.2rem 1.5rem;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}
.faq-question::after {
  content: "▼";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #0d6efd;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
  padding-left: 1.8rem;
}
@media (max-width: 480px) {
  .faq-question {
    padding: 1rem 2.5rem 1rem 1.2rem;
    font-size: 0.95rem;
  }
  .faq-question::after {
    right: 1.2rem;
  }
}

.faq-answer {
  max-height: 0;
  padding: 0 1.5rem;
  opacity: 0;
  overflow: hidden;
  color: #aaa;
  line-height: 1.8;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid transparent;
}
.faq-answer p {
  margin: 0.8rem 0;
}
.faq-answer p:first-child {
  margin-top: 0;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}
.faq-answer ul, .faq-answer ol {
  padding-left: 1.5rem;
  margin: 1rem 0;
}
.faq-answer ul li, .faq-answer ol li {
  margin: 0.5rem 0;
}
.faq-answer a {
  color: #0d6efd;
  text-decoration: underline;
}
.faq-answer a:hover {
  color: rgb(88.8729508197, 155.4610655738, 253.6270491803);
}
.faq-answer strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}
.faq-answer code {
  background: rgba(13, 110, 253, 0.15);
  color: rgb(114.1639344262, 170.6147540984, 253.8360655738);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
}
@media (max-width: 480px) {
  .faq-answer {
    padding: 0 1.2rem;
  }
}

/* =========================================================
   ÉTATS DE VISIBILITÉ
   ========================================================= */
.theme-block.hidden,
.faq-item.hidden {
  display: none;
}

/* =========================================================
   MESSAGE "AUCUN RÉSULTAT"
   ========================================================= */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: #aaa;
  font-size: 1.1rem;
  font-style: italic;
}
.no-results::before {
  content: "🔍";
  display: block;
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .faq-themes {
    top: 60px;
    padding: 1.5rem 0;
  }
  .faq-questions {
    padding: 2.5rem 1rem;
  }
}
@media (max-width: 480px) {
  .faq-themes {
    top: 50px;
  }
  .themes-list {
    gap: 0.6rem;
  }
}
/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.theme-btn:focus-visible,
.faq-question:focus-visible {
  outline: 3px solid #0d6efd;
  outline-offset: 3px;
}

/* =========================================================
   PAGE NOTIFICATIONS COMPLÈTE
   ========================================================= */
.notifications-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* =========================================================
   HEADER DE LA PAGE
   ========================================================= */
.page-header {
  margin-bottom: 2rem;
  text-align: center;
}
.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  background: linear-gradient(120deg, #ffffff 0%, #0d6efd 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}
.page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

@keyframes shimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
/* =========================================================
   FILTRES
   ========================================================= */
.notifications-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.filter-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.3), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}
.filter-btn:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.08));
  border-color: rgba(13, 110, 253, 0.3);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}
.filter-btn:hover::before {
  width: 200%;
  height: 200%;
}
.filter-btn.active {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.12));
  border-color: rgba(13, 110, 253, 0.4);
  color: #fff;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* =========================================================
   CONTAINER DES NOTIFICATIONS
   ========================================================= */
.notifications-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* =========================================================
   CARTE NOTIFICATION
   ========================================================= */
.notif-card {
  background: linear-gradient(135deg, rgba(18, 22, 30, 0.95), rgba(15, 19, 27, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.notif-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.notif-card.unread {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(13, 110, 253, 0.04));
  border-color: rgba(13, 110, 253, 0.3);
  box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.1), 0 4px 16px rgba(13, 110, 253, 0.15);
}
.notif-card.unread::before {
  opacity: 1;
}
.notif-card:hover {
  border-color: rgba(13, 110, 253, 0.5);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(13, 110, 253, 0.2);
}
.notif-card:hover::before {
  opacity: 1;
}

/* =========================================================
   ICÔNE GRANDE
   ========================================================= */
.notif-icon-large {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}
.notif-icon-large--success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}
.notif-icon-large--error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
}
.notif-icon-large--warning {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.1));
  border: 1px solid rgba(251, 191, 36, 0.3);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
}
.notif-icon-large--info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}
.notif-card:hover .notif-icon-large {
  transform: scale(1.1) rotate(5deg);
}

/* =========================================================
   CORPS DE LA NOTIFICATION
   ========================================================= */
.notif-body {
  flex: 1;
  min-width: 0;
}

.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.notif-title-large {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}

.notif-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  font-weight: 500;
}

.notif-message-full {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0.5rem 0 1rem 0;
}

/* =========================================================
   ACTIONS
   ========================================================= */
.notif-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.notif-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}
.notif-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}
.notif-btn:hover::before {
  width: 200%;
  height: 200%;
}
.notif-btn--primary {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.12));
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}
.notif-btn--primary::before {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent);
}
.notif-btn--primary:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.2));
  border-color: #60a5fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.notif-btn--danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.08));
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}
.notif-btn--danger::before {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.3), transparent);
}
.notif-btn--danger:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.15));
  border-color: #f87171;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* =========================================================
   ÉTAT VIDE
   ========================================================= */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.5);
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.3;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.empty-state p {
  font-size: 1.1rem;
  font-weight: 500;
}

/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */
@media (max-width: 1024px) {
  .notifications-page {
    padding: 1.5rem 1rem;
  }
  .page-header h1 {
    font-size: 1.75rem;
  }
  .notif-card {
    padding: 1.25rem;
    gap: 1.25rem;
  }
  .notif-icon-large {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
}
/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */
@media (max-width: 768px) {
  .notifications-page {
    padding: 1rem 0.75rem;
  }
  .page-header {
    margin-bottom: 1.5rem;
  }
  .page-header h1 {
    font-size: 1.5rem;
  }
  .page-header p {
    font-size: 0.9rem;
  }
  .notifications-filters {
    gap: 0.6rem;
    margin-bottom: 1.5rem;
  }
  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  .notif-card {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .notif-icon-large {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .notif-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  .notif-date {
    font-size: 0.8rem;
  }
  .notif-title-large {
    font-size: 1rem;
  }
  .notif-message-full {
    font-size: 0.9rem;
  }
  .notif-actions {
    flex-direction: column;
  }
  .notif-btn {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }
  .empty-state {
    padding: 3rem 1.5rem;
  }
  .empty-state-icon {
    font-size: 3rem;
  }
  .empty-state p {
    font-size: 1rem;
  }
}
/* =========================================================
   RESPONSIVE PETIT MOBILE
   ========================================================= */
@media (max-width: 480px) {
  .notifications-filters {
    flex-direction: column;
    gap: 0.5rem;
  }
  .filter-btn {
    width: 100%;
    text-align: center;
  }
  .notif-card {
    padding: 0.85rem;
  }
  .page-header h1 {
    font-size: 1.3rem;
  }
  .empty-state {
    padding: 2.5rem 1rem;
  }
}
/* =========================================================
   ANIMATIONS DE PERFORMANCE
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.mission-detail-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
@media (max-width: 768px) {
  .mission-detail-page {
    padding: 1.5rem 1rem;
  }
}
@media (max-width: 480px) {
  .mission-detail-page {
    padding: 1rem 0.75rem;
  }
}

.mission-title {
  font-size: 24px;
  font-weight: 700;
  color: #f1f1f1;
  margin-bottom: 1rem;
  animation: slideInLeft 0.5s ease-out;
}
@media (max-width: 768px) {
  .mission-title {
    font-size: 1.75rem;
  }
}
@media (max-width: 480px) {
  .mission-title {
    font-size: 1.5rem;
  }
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0d6efd;
  margin-bottom: 1rem;
  margin-top: 0;
  border-left: 4px solid #0d6efd;
  padding-left: 0.75rem;
}
@media (max-width: 480px) {
  .section-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }
}

.mission-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 2rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}
@media (max-width: 480px) {
  .mission-badge {
    font-size: 0.8125rem;
    padding: 0.375rem 0.875rem;
  }
}
.mission-badge--danger {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.4);
}
.mission-badge--danger:hover {
  background: rgba(220, 53, 69, 0.3);
}
.mission-badge--success {
  background: rgba(25, 135, 84, 0.2);
  color: #198754;
  border: 1px solid rgba(25, 135, 84, 0.4);
}
.mission-badge--success:hover {
  background: rgba(25, 135, 84, 0.3);
}
.mission-badge--secondary {
  background: rgba(170, 170, 170, 0.2);
  color: #aaa;
  border: 1px solid rgba(170, 170, 170, 0.4);
}
.mission-badge--secondary:hover {
  background: rgba(170, 170, 170, 0.3);
}
.mission-badge--info {
  background: rgba(13, 110, 253, 0.2);
  color: #0d6efd;
  border: 1px solid rgba(13, 110, 253, 0.4);
}
.mission-badge--info:hover {
  background: rgba(13, 110, 253, 0.3);
}
.mission-badge--warning {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.4);
}
.mission-badge--warning:hover {
  background: rgba(255, 193, 7, 0.3);
}

.mission-card {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.85));
  border: 1px solid rgba(13, 110, 253, 0.2);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out;
  margin-top: 1.5rem;
  padding: 2rem;
}
@media (max-width: 768px) {
  .mission-card {
    border-radius: 8px;
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .mission-card {
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    padding: 1.25rem;
    margin-top: 1rem;
  }
}
.mission-card p {
  font-size: 16px;
  color: #f1f1f1;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .mission-card p {
    font-size: 0.9375rem;
  }
}
@media (max-width: 480px) {
  .mission-card p {
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
  }
}
.mission-card p strong {
  color: #0d6efd;
  font-weight: 600;
  margin-right: 0.5rem;
}
.mission-card p:last-child {
  margin-bottom: 0;
}
.mission-card hr {
  border: none;
  border-top: 1px solid rgba(170, 170, 170, 0.2);
  margin: 1.5rem 0;
}
@media (max-width: 480px) {
  .mission-card hr {
    margin: 1rem 0;
  }
}

.mission-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 480px) {
  .mission-actions {
    margin-top: 1rem;
    flex-direction: column;
    gap: 0.5rem;
  }
}

.mission-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
@media (max-width: 768px) {
  .mission-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
  }
}
@media (max-width: 480px) {
  .mission-btn {
    width: 100%;
    padding: 0.875rem 1rem;
  }
}
.mission-btn--primary {
  background: linear-gradient(135deg, #0d6efd, rgb(1.762295082, 87.2336065574, 213.237704918));
  color: #fff;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}
.mission-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.5);
}
@media (max-width: 480px) {
  .mission-btn--primary:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.6);
  }
}
.mission-btn--secondary {
  background: rgba(170, 170, 170, 0.15);
  color: #f1f1f1;
  border-color: rgba(170, 170, 170, 0.3);
}
.mission-btn--secondary:hover {
  background: rgba(170, 170, 170, 0.25);
  border-color: #aaa;
}
@media (max-width: 480px) {
  .mission-btn--secondary:hover {
    background: rgba(170, 170, 170, 0.2);
  }
}
.mission-btn--warning {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border-color: rgba(255, 193, 7, 0.4);
}
.mission-btn--warning:hover {
  background: rgba(255, 193, 7, 0.3);
  border-color: #ffc107;
}
@media (max-width: 480px) {
  .mission-btn--warning:hover {
    background: rgba(255, 193, 7, 0.25);
  }
}
.mission-btn--info {
  background: rgba(13, 110, 253, 0.2);
  color: #0d6efd;
  border-color: rgba(13, 110, 253, 0.4);
}
.mission-btn--info:hover {
  background: rgba(13, 110, 253, 0.3);
  border-color: #0d6efd;
}
@media (max-width: 480px) {
  .mission-btn--info:hover {
    background: rgba(13, 110, 253, 0.25);
  }
}
.mission-btn--outline {
  background: transparent;
  color: #f1f1f1;
  border-color: rgba(170, 170, 170, 0.4);
}
.mission-btn--outline:hover {
  background: rgba(170, 170, 170, 0.15);
  border-color: #aaa;
}
@media (max-width: 480px) {
  .mission-btn--outline:hover {
    background: rgba(170, 170, 170, 0.1);
  }
}
.mission-btn:active {
  transform: scale(0.98);
}
@media (max-width: 480px) {
  .mission-btn:active {
    transform: scale(0.99);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* =========================================================
   GESTION ABONNEMENT - PAGE
   ========================================================= */
.abonnement-wrapper {
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
  background: #111;
}

.abonnement-page {
  max-width: 1000px;
  margin: 0 auto;
}
.abonnement-page > h1 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #fff, rgba(13, 110, 253, 0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 480px) {
  .abonnement-page > h1 {
    margin-bottom: 2rem;
  }
}

/* =========================================================
   CARTE ABONNEMENT ACTIF
   ========================================================= */
.abonnement-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  position: relative;
  margin-bottom: 4rem;
}
.abonnement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #0d6efd, transparent);
}
.abonnement-card--resilie::before {
  background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}
.abonnement-card--suspendu::before {
  background: linear-gradient(90deg, transparent, #ef4444, transparent);
}

.abonnement-header {
  padding: 2rem 2.5rem 0;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 480px) {
  .abonnement-header {
    padding: 1.5rem 1.5rem 0;
  }
}

.abonnement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.abonnement-badge--actif {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}
.abonnement-badge--resilie {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
}
.abonnement-badge--suspendu {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.abonnement-content {
  padding: 1.5rem 2.5rem 2.5rem;
  text-align: center;
}
@media (max-width: 480px) {
  .abonnement-content {
    padding: 1rem 1.5rem 2rem;
  }
}

.abonnement-plan {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
}

.abonnement-prix {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 2.5rem;
}
.abonnement-prix .prix-montant {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 900;
  color: #0d6efd;
  line-height: 1;
}
.abonnement-prix .prix-devise {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #0d6efd;
}
.abonnement-prix .prix-periode {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #aaa;
  font-weight: 600;
}

.abonnement-infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}
@media (max-width: 480px) {
  .abonnement-infos {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1rem;
  }
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}
.info-item .info-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #aaa;
  font-weight: 600;
}
.info-item .info-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.abonnement-description {
  padding: 1.5rem;
  background: rgba(13, 110, 253, 0.1);
  border: 1px solid rgba(13, 110, 253, 0.2);
  border-radius: 10px;
  margin-bottom: 2rem;
}
.abonnement-description p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0;
}

.abonnement-actions {
  display: flex;
  gap: 1rem;
  padding: 2rem 2.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.abonnement-actions a,
.abonnement-actions button {
  flex: 1;
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.abonnement-actions .btn-primary {
  background: linear-gradient(135deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  color: #fff;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.4);
}
.abonnement-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.5);
}
.abonnement-actions .btn-secondary {
  background: rgba(13, 110, 253, 0.1);
  border: 1px solid rgba(13, 110, 253, 0.3);
  color: rgba(255, 255, 255, 0.9);
}
.abonnement-actions .btn-secondary:hover {
  background: rgba(13, 110, 253, 0.2);
  border-color: #0d6efd;
}
.abonnement-actions .btn-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}
.abonnement-actions .btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
}
@media (max-width: 768px) {
  .abonnement-actions {
    padding: 1.5rem;
    flex-direction: column;
  }
  .abonnement-actions a,
  .abonnement-actions button {
    width: 100%;
    min-width: unset;
  }
}

/* =========================================================
   ÉTAT VIDE (AUCUN ABONNEMENT)
   ========================================================= */
.abonnement-empty {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 4rem;
}
.abonnement-empty .empty-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}
.abonnement-empty h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.abonnement-empty p {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 2rem;
}
@media (max-width: 480px) {
  .abonnement-empty {
    padding: 3rem 1.5rem;
  }
  .abonnement-empty .empty-icon {
    font-size: 4rem;
  }
}

.empty-action .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
  transition: all 0.3s ease;
}
.empty-action .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(13, 110, 253, 0.5);
}

/* =========================================================
   SECTION PLANS DISPONIBLES
   ========================================================= */
.plans-section > h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}
.plans-section > h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #0d6efd;
  border-radius: 2px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
@media (max-width: 480px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}
.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(13, 110, 253, 0.3);
}

.plan-nom {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
}

.plan-prix {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}
.plan-prix .prix-montant {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0d6efd;
  line-height: 1;
}
.plan-prix .prix-devise {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d6efd;
}
.plan-prix .prix-periode {
  font-size: 1rem;
  color: #aaa;
  font-weight: 600;
}

.plan-description {
  padding: 1.5rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}
.plan-description p {
  color: #aaa;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.plan-action .btn-primary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.4);
  transition: all 0.3s ease;
}
.plan-action .btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.5);
}
.plan-action .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.plan-action .plan-current {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
  font-weight: 700;
  border-radius: 50px;
  width: 100%;
}

/* =========================================================
   FACTURES OBLICAR — TABLEAU COMPACT
   ========================================================= */
.dashboard-view--facturation .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
}
.dashboard-view--facturation .filters input[type=text],
.dashboard-view--facturation .filters input[type=number],
.dashboard-view--facturation .filters input[type=date] {
  background: rgb(27.2, 27.2, 27.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 7px 12px;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}
.dashboard-view--facturation .filters input[type=text]::placeholder,
.dashboard-view--facturation .filters input[type=number]::placeholder,
.dashboard-view--facturation .filters input[type=date]::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.dashboard-view--facturation .filters input[type=text]:focus,
.dashboard-view--facturation .filters input[type=number]:focus,
.dashboard-view--facturation .filters input[type=date]:focus {
  border-color: rgba(13, 110, 253, 0.45);
}
.dashboard-view--facturation .filters input[type=text] {
  flex: 1;
  min-width: 180px;
}
.dashboard-view--facturation .filters input[type=number] {
  width: 80px;
}
.dashboard-view--facturation .filters input[type=date] {
  width: 145px;
}
@media (max-width: 480px) {
  .dashboard-view--facturation .filters {
    gap: 6px;
  }
  .dashboard-view--facturation .filters input[type=text] {
    width: 100%;
    flex: none;
  }
  .dashboard-view--facturation .filters input[type=number] {
    width: calc(50% - 3px);
  }
  .dashboard-view--facturation .filters input[type=date] {
    width: calc(50% - 3px);
  }
  .dashboard-view--facturation .filters .btn-primary {
    width: 100%;
    text-align: center;
  }
  .dashboard-view--facturation .filters .btn-secondary {
    flex: 1;
    text-align: center;
  }
}
.dashboard-view--facturation .factures-table-wrap {
  background: rgb(22.1, 22.1, 22.1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
}
.dashboard-view--facturation .factures-table-head {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1.4fr 1.1fr 1.1fr 88px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dashboard-view--facturation .factures-table-head span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(170, 170, 170, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 768px) {
  .dashboard-view--facturation .factures-table-head {
    display: none;
  }
}
.dashboard-view--facturation .facture-row {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1.4fr 1.1fr 1.1fr 88px;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.3s ease;
}
.dashboard-view--facturation .facture-row:last-of-type {
  border-bottom: none;
}
.dashboard-view--facturation .facture-row:hover {
  background: rgba(255, 255, 255, 0.025);
}
.dashboard-view--facturation .facture-row .facture-num {
  font-family: "DM Mono", "Fira Mono", "Courier New", monospace;
  font-size: 12px;
  font-weight: 500;
  color: #0d6efd;
  padding-right: 12px;
}
.dashboard-view--facturation .facture-row .facture-cell {
  font-size: 13px;
  color: #aaa;
  padding-right: 12px;
}
.dashboard-view--facturation .facture-row .facture-cell::before {
  display: none;
  content: attr(data-label);
  font-size: 10px;
  color: rgba(170, 170, 170, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.dashboard-view--facturation .facture-row .facture-amount {
  padding-right: 12px;
}
.dashboard-view--facturation .facture-row .facture-amount .amount-ttc {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.dashboard-view--facturation .facture-row .facture-amount .amount-sub {
  display: block;
  font-size: 11px;
  color: rgba(170, 170, 170, 0.55);
  margin-top: 2px;
}
.dashboard-view--facturation .facture-row .facture-action .btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(13, 110, 253, 0.12);
  border: 1px solid rgba(13, 110, 253, 0.25);
  color: rgb(88.8729508197, 155.4610655738, 253.6270491803);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.dashboard-view--facturation .facture-row .facture-action .btn-pdf:hover {
  background: rgba(13, 110, 253, 0.22);
  border-color: rgba(13, 110, 253, 0.4);
}
@media (max-width: 768px) {
  .dashboard-view--facturation .facture-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
  }
  .dashboard-view--facturation .facture-row .facture-cell::before {
    display: block;
  }
  .dashboard-view--facturation .facture-row .facture-num {
    font-size: 13px;
    margin-bottom: 2px;
  }
  .dashboard-view--facturation .facture-row .facture-amount {
    padding-right: 0;
  }
  .dashboard-view--facturation .facture-row .facture-action {
    margin-top: 4px;
  }
  .dashboard-view--facturation .facture-row .facture-action .btn-pdf {
    width: 100%;
    justify-content: center;
    padding: 9px;
  }
}
.dashboard-view--facturation .factures-empty {
  padding: 48px 24px;
  text-align: center;
  color: rgba(170, 170, 170, 0.55);
  font-size: 14px;
  line-height: 1.7;
}
.dashboard-view--facturation .factures-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.dashboard-view--facturation .factures-pagination .pag-info {
  font-size: 12px;
  color: rgba(170, 170, 170, 0.55);
}
.dashboard-view--facturation .factures-pagination .pag-btns {
  display: flex;
  gap: 6px;
}
.dashboard-view--facturation .factures-pagination .pag-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(170, 170, 170, 0.75);
  padding: 5px 13px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}
.dashboard-view--facturation .factures-pagination .pag-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.dashboard-view--facturation .factures-pagination .pag-btn--current {
  background: rgba(13, 110, 253, 0.2);
  border-color: rgba(13, 110, 253, 0.35);
  color: rgb(88.8729508197, 155.4610655738, 253.6270491803);
  cursor: default;
}
@media (max-width: 480px) {
  .dashboard-view--facturation .factures-pagination {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* =========================================================
   SUBSCRIBE WRAPPER
   ========================================================= */
.subscribe-wrapper {
  min-height: 100vh;
  background: #111;
  padding-bottom: 4rem;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  position: relative;
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 1rem clamp(2rem, 5vw, 4rem);
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(13, 110, 253, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero-icon {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
.hero-section h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, rgba(13, 110, 253, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #aaa;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================================
   PLANS SECTION
   ========================================================= */
.plans-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

.plans-header {
  text-align: center;
  margin-bottom: 3rem;
}
.plans-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.plans-header p {
  font-size: 1.1rem;
  color: #aaa;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.plans-grid--single {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 480px) {
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* =========================================================
   PLAN CARD
   ========================================================= */
.plan-card {
  position: relative;
  background: #1a1a1a;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border-color: rgba(13, 110, 253, 0.5);
}
.plan-card--recommended {
  border-color: rgba(13, 110, 253, 0.5);
  box-shadow: 0 10px 40px rgba(13, 110, 253, 0.2);
}

.plan-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  animation: pulse 2s infinite;
}

.plan-label {
  display: block;
  padding: 2.5rem;
  cursor: pointer;
  position: relative;
}
@media (max-width: 480px) {
  .plan-label {
    padding: 2rem 1.5rem;
  }
}

input[type=radio]:checked + .plan-label .plan-check .check-circle {
  background: linear-gradient(135deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  border-color: #0d6efd;
}
input[type=radio]:checked + .plan-label .plan-check .check-circle::after {
  opacity: 1;
  transform: scale(1);
}

/* =========================================================
   PLAN CONTENT
   ========================================================= */
.plan-header {
  margin-bottom: 2rem;
  padding-right: 4rem;
}
.plan-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.plan-header .plan-description {
  color: #aaa;
  font-size: 0.95rem;
  margin: 0;
}

.plan-pricing {
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(13, 110, 253, 0.1);
  border: 1px solid rgba(13, 110, 253, 0.3);
  border-radius: 10px;
  text-align: center;
}

.price-display {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.price-display .price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d6efd;
  margin-top: 0.5rem;
}
.price-display .price-amount {
  font-size: 4rem;
  font-weight: 900;
  color: #0d6efd;
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: #aaa;
  font-weight: 600;
}

.plan-features h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #aaa;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.feature-item .feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.2);
  border-radius: 50%;
  color: #86efac;
  font-weight: 900;
  font-size: 0.9rem;
}
.feature-item .feature-text {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.4;
}

.feature-highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.05));
  border: 1px solid rgba(13, 110, 253, 0.3);
  border-radius: 10px;
  margin-top: 2rem;
}
.feature-highlight .highlight-icon {
  flex-shrink: 0;
  font-size: 2rem;
}
.feature-highlight .highlight-content strong {
  display: block;
  color: #0d6efd;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.feature-highlight .highlight-content p {
  color: #aaa;
  font-size: 0.9rem;
  margin: 0;
}

/* =========================================================
   PLAN CHECK (RADIO)
   ========================================================= */
.plan-check {
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.check-circle {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}
.check-circle::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  opacity: 0;
  transition: all 0.3s ease;
}

/* =========================================================
   SUBSCRIBE CTA
   ========================================================= */
.subscribe-cta {
  text-align: center;
  margin-top: 3rem;
}

.btn-subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.3rem 3rem;
  background: linear-gradient(135deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.4);
  transition: all 0.3s ease;
}
.btn-subscribe .btn-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.btn-subscribe:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(13, 110, 253, 0.5);
}
.btn-subscribe:hover .btn-icon {
  transform: translateX(5px);
}
@media (max-width: 480px) {
  .btn-subscribe {
    width: 100%;
    padding: 1.2rem 2rem;
  }
}

.subscribe-guarantee {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 480px) {
  .subscribe-guarantee {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #aaa;
  font-size: 0.95rem;
}
.guarantee-item .guarantee-icon {
  color: #86efac;
  font-weight: 900;
}

/* =========================================================
   BENEFITS SECTION
   ========================================================= */
.benefits-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.benefits-header {
  text-align: center;
  margin-bottom: 3rem;
}
.benefits-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.benefits-header p {
  font-size: 1.1rem;
  color: #aaa;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 110, 253, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.benefit-icon-wrapper {
  margin-bottom: 1.5rem;
}

.benefit-icon {
  font-size: 3rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.benefit-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: #aaa;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   FAQ SECTION
   ========================================================= */
.faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.faq-section h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  gap: 1.5rem;
}

.faq-item {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(13, 110, 253, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.2);
  color: #0d6efd;
  border-radius: 50%;
  font-weight: 900;
}
.faq-question strong {
  color: #fff;
  font-size: 1.05rem;
}

.faq-answer {
  color: #aaa;
  line-height: 1.6;
  margin: 0;
  padding-left: 3rem;
}

/* =========================================================
   FOOTER CTA
   ========================================================= */
.footer-cta {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 110, 253, 0.05) 100%);
}

.footer-cta-content {
  max-width: 700px;
  margin: 0 auto 2rem;
}
.footer-cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-cta-content p {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-scroll-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.2rem 2.5rem;
  background: rgba(13, 110, 253, 0.1);
  border: 2px solid rgba(13, 110, 253, 0.5);
  color: #0d6efd;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-scroll-top:hover {
  background: rgba(13, 110, 253, 0.2);
  border-color: #0d6efd;
  transform: translateY(-2px);
}

.link-back {
  display: inline-block;
  margin-top: 2rem;
  color: #aaa;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.link-back:hover {
  color: #0d6efd;
  transform: translateX(-5px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 1rem 2rem;
  }
  .plans-section {
    padding: 0 1rem 3rem;
  }
  .benefits-section,
  .faq-section {
    padding: 3rem 1rem;
  }
}
/* =========================================================
   MODULES - PAGE
   ========================================================= */
.modules-wrapper {
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 4rem) 1rem 4rem;
  background: #111;
}

.modules-page {
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */
.modules-header {
  text-align: center;
  margin-bottom: 4rem;
}
.modules-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, rgba(13, 110, 253, 0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 480px) {
  .modules-header {
    margin-bottom: 2.5rem;
  }
}

.modules-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #aaa;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.modules-actifs-section,
.modules-disponibles-section {
  margin-bottom: 4rem;
}
.modules-actifs-section > h2,
.modules-disponibles-section > h2 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1.5rem;
}
.modules-actifs-section > h2::before,
.modules-disponibles-section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #0d6efd;
  border-radius: 2px;
}
@media (max-width: 480px) {
  .modules-actifs-section,
  .modules-disponibles-section {
    margin-bottom: 3rem;
  }
  .modules-actifs-section > h2,
  .modules-disponibles-section > h2 {
    font-size: 1.3rem;
  }
}

/* =========================================================
   GRID
   ========================================================= */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
@media (max-width: 480px) {
  .modules-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* =========================================================
   MODULE CARD
   ========================================================= */
.module-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}
.module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(13, 110, 253, 0.3);
}
.module-card--actif {
  border-color: rgba(34, 197, 94, 0.4);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), #1a1a1a);
}
.module-card--actif:hover {
  border-color: rgba(34, 197, 94, 0.6);
}

.module-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.module-badge--actif {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}
.module-badge--payant {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
}
.module-badge--gratuit {
  background: rgba(13, 110, 253, 0.15);
  border: 1px solid rgba(13, 110, 253, 0.4);
  color: #0d6efd;
}

.module-header {
  margin-bottom: 1.5rem;
  padding-right: 6rem;
}
.module-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.module-prix {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.module-prix .prix-montant {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0d6efd;
}
.module-prix .prix-devise {
  font-size: 0.9rem;
  font-weight: 600;
  color: #aaa;
}
.module-prix--gratuit {
  font-size: 1rem;
  font-weight: 700;
  color: #86efac;
}

.module-description {
  margin-bottom: 1.5rem;
}
.module-description p {
  color: #aaa;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.module-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 120px;
}
.info-item .info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #aaa;
  font-weight: 600;
}
.info-item .info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.module-actions {
  display: flex;
  gap: 0.8rem;
}

.btn-activer {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.4);
  transition: all 0.3s ease;
}
.btn-activer:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.5);
}

.btn-desactiver {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.btn-desactiver:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  transform: translateY(-2px);
}

/* =========================================================
   ÉTAT VIDE
   ========================================================= */
.modules-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.modules-empty .empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.modules-empty p {
  color: #aaa;
  font-size: 1.05rem;
  margin: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.modules-footer {
  margin-top: 3rem;
  text-align: center;
}
.modules-footer .link-back {
  display: inline-block;
  color: #aaa;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.modules-footer .link-back:hover {
  color: #0d6efd;
  transform: translateX(-5px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .modules-wrapper {
    padding: 2rem 1rem 3rem;
  }
  .module-card {
    padding: 1.3rem;
  }
  .module-header {
    padding-right: 5rem;
  }
  .module-header h3 {
    font-size: 1.1rem;
  }
  .module-badge {
    top: 0.8rem;
    right: 0.8rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }
}
@media (max-width: 480px) {
  .module-actions {
    flex-direction: column;
  }
  .module-actions .btn-activer,
  .module-actions .btn-desactiver {
    width: 100%;
  }
}
/* =========================================================
   PACKS - PAGE
   ========================================================= */
.packs-wrapper {
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 4rem) 1rem 4rem;
  background: #111;
}

.packs-page {
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */
.packs-header {
  text-align: center;
  margin-bottom: 4rem;
}
.packs-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, rgba(13, 110, 253, 0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 480px) {
  .packs-header {
    margin-bottom: 2.5rem;
  }
}

.packs-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #aaa;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.packs-actifs-section,
.packs-disponibles-section {
  margin-bottom: 4rem;
}
.packs-actifs-section > h2,
.packs-disponibles-section > h2 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1.5rem;
}
.packs-actifs-section > h2::before,
.packs-disponibles-section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #0d6efd;
  border-radius: 2px;
}
@media (max-width: 480px) {
  .packs-actifs-section,
  .packs-disponibles-section {
    margin-bottom: 3rem;
  }
  .packs-actifs-section > h2,
  .packs-disponibles-section > h2 {
    font-size: 1.3rem;
  }
}

/* =========================================================
   GRID
   ========================================================= */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}
@media (max-width: 480px) {
  .packs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* =========================================================
   PACK CARD
   ========================================================= */
.pack-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.pack-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(13, 110, 253, 0.3);
}
.pack-card--actif {
  border-color: rgba(34, 197, 94, 0.4);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), #1a1a1a);
}
.pack-card--actif:hover {
  border-color: rgba(34, 197, 94, 0.6);
}
.pack-card--recommande {
  border-color: rgba(251, 191, 36, 0.4);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.05), #1a1a1a);
}
.pack-card--recommande:hover {
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 12px 40px rgba(251, 191, 36, 0.2);
}

.pack-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pack-badge--actif {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}
.pack-badge--recommande {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.pack-header {
  margin-bottom: 1.5rem;
  padding-right: 6rem;
}
.pack-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.pack-prix {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}
.pack-prix .prix-montant {
  font-size: 2rem;
  font-weight: 900;
  color: #0d6efd;
  line-height: 1;
}
.pack-prix .prix-devise {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d6efd;
}
.pack-prix .prix-periode {
  font-size: 0.9rem;
  color: #aaa;
  font-weight: 600;
}

.pack-economie {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
}

.pack-description {
  margin-bottom: 1.5rem;
}
.pack-description p {
  color: #aaa;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.pack-modules {
  flex: 1;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.pack-modules h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0d6efd;
  margin-bottom: 1rem;
}

.modules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.modules-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: #fff;
}
.modules-list li .module-icon {
  color: #86efac;
  font-weight: 700;
  flex-shrink: 0;
}
.modules-list li .module-nom {
  flex: 1;
}
.modules-list li .module-prix-origine {
  color: #aaa;
  font-size: 0.8rem;
  text-decoration: line-through;
  flex-shrink: 0;
}

.pack-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 120px;
}
.info-item .info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #aaa;
  font-weight: 600;
}
.info-item .info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.pack-actions {
  display: flex;
  gap: 0.8rem;
}

.btn-activer {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.4);
  transition: all 0.3s ease;
}
.btn-activer:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.5);
}

.btn-desactiver {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.btn-desactiver:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  transform: translateY(-2px);
}

/* =========================================================
   ÉTAT VIDE
   ========================================================= */
.packs-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.packs-empty .empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.packs-empty p {
  color: #aaa;
  font-size: 1.05rem;
  margin: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.packs-footer {
  margin-top: 3rem;
  text-align: center;
}
.packs-footer .link-back {
  display: inline-block;
  color: #aaa;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.packs-footer .link-back:hover {
  color: #0d6efd;
  transform: translateX(-5px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .packs-wrapper {
    padding: 2rem 1rem 3rem;
  }
  .pack-card {
    padding: 1.5rem;
  }
  .pack-header {
    padding-right: 5rem;
  }
  .pack-header h3 {
    font-size: 1.2rem;
  }
  .pack-badge {
    top: 0.8rem;
    right: 0.8rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }
  .pack-modules {
    padding: 1.2rem;
  }
}
@media (max-width: 480px) {
  .pack-actions {
    flex-direction: column;
  }
  .pack-actions .btn-activer,
  .pack-actions .btn-desactiver {
    width: 100%;
  }
  .pack-prix .prix-montant {
    font-size: 1.8rem;
  }
  .modules-list {
    gap: 0.6rem;
  }
  .modules-list li {
    font-size: 0.85rem;
  }
}
/* =========================================================
   ADMIN CODES PROMO - PAGE
   ========================================================= */
.admin-codes-wrapper {
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 4rem) 1rem 4rem;
  background: #111;
}

.admin-codes-page {
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */
.admin-header {
  text-align: center;
  margin-bottom: 3rem;
}
.admin-header h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, rgba(13, 110, 253, 0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 480px) {
  .admin-header {
    margin-bottom: 2rem;
  }
}

.admin-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #aaa;
  line-height: 1.6;
}

/* =========================================================
   SECTION
   ========================================================= */
.codes-section {
  margin-bottom: 3rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.section-header h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  position: relative;
  padding-left: 1.5rem;
}
.section-header h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #0d6efd;
  border-radius: 2px;
}
@media (max-width: 480px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* =========================================================
   LISTE CODES
   ========================================================= */
.codes-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.code-item {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 2rem;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}
.code-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  border-radius: 10px 0 0 10px;
  transition: all 0.3s ease;
}
.code-item:hover {
  border-color: rgba(13, 110, 253, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transform: translateX(5px);
}
.code-item--active::before {
  background: #86efac;
}
@media (max-width: 768px) {
  .code-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

/* =========================================================
   BADGE STATUT
   ========================================================= */
.code-badge-status .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.code-badge-status .badge--active {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}
.code-badge-status .badge--inactive {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* =========================================================
   CODE PRINCIPAL
   ========================================================= */
.code-main .code-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: #0d6efd;
  font-family: "Courier New", monospace;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.code-main .code-promo-name {
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.code-main .code-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.code-main .code-tags .tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.code-main .code-tags .tag--promo-type {
  background: rgba(147, 51, 234, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.3);
  color: #c084fc;
}
.code-main .code-tags .tag--value {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  font-weight: 700;
}

/* =========================================================
   USAGE
   ========================================================= */
.code-usage {
  min-width: 220px;
}
.code-usage .usage-bar-container {
  margin-bottom: 0.8rem;
}
.code-usage .usage-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: #aaa;
}
.code-usage .usage-label .usage-count {
  font-weight: 700;
  color: #fff;
}
.code-usage .usage-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}
.code-usage .usage-bar .usage-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  border-radius: 10px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.5);
}
.code-usage .code-target {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 10px;
  margin-top: 0.8rem;
}
.code-usage .code-target .target-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.code-usage .code-target .target-text {
  font-size: 0.85rem;
  color: #fde68a;
  font-weight: 600;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .code-usage {
    min-width: unset;
    width: 100%;
  }
}

/* =========================================================
   DATES
   ========================================================= */
.code-dates {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 120px;
}

.date-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}
.date-item .date-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #aaa;
  font-weight: 600;
}
.date-item .date-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

/* =========================================================
   ACTIONS
   ========================================================= */
.code-actions {
  display: flex;
  gap: 0.8rem;
}
@media (max-width: 768px) {
  .code-actions {
    width: 100%;
  }
  .code-actions .btn-action {
    flex: 1;
  }
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-action.btn-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}
.btn-action.btn-success:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: #86efac;
  transform: translateY(-2px);
}
.btn-action.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.btn-action.btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #fca5a5;
  transform: translateY(-2px);
}

/* =========================================================
   ÉTAT VIDE
   ========================================================= */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
}
.empty-state .empty-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}
.empty-state p {
  color: #aaa;
  font-size: 1.1rem;
  margin: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.admin-footer {
  margin-top: 4rem;
  text-align: center;
}
.admin-footer .link-back {
  display: inline-block;
  color: #aaa;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.admin-footer .link-back:hover {
  color: #0d6efd;
  transform: translateX(-5px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 480px) {
  .admin-codes-wrapper {
    padding: 2rem 1rem 3rem;
  }
  .code-item {
    padding: 1.2rem;
  }
  .code-main .code-value {
    font-size: 1.5rem;
  }
  .code-main .code-tags {
    gap: 0.5rem;
  }
  .code-main .code-tags .tag {
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
  }
}
/* =========================================================
   ADMIN PROMOTIONS - PAGE
   ========================================================= */
.admin-promotions-wrapper {
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 4rem) 1rem 4rem;
  background: #111;
}

.admin-promotions-page {
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */
.admin-header {
  text-align: center;
  margin-bottom: 3rem;
}
.admin-header h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, rgba(13, 110, 253, 0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 480px) {
  .admin-header {
    margin-bottom: 2rem;
  }
}

.admin-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #aaa;
  line-height: 1.6;
}

/* =========================================================
   SECTION
   =========================================================*/
.promotions-section {
  margin-bottom: 3rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.section-header h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  position: relative;
  padding-left: 1.5rem;
}
.section-header h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #0d6efd;
  border-radius: 2px;
}
@media (max-width: 480px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* =========================================================
   LISTE PROMOTIONS
   ========================================================= */
.promotions-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.promo-item {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 2rem;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}
.promo-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  border-radius: 10px 0 0 10px;
  transition: all 0.3s ease;
}
.promo-item:hover {
  border-color: rgba(13, 110, 253, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transform: translateX(5px);
}
.promo-item--active::before {
  background: #86efac;
}
@media (max-width: 768px) {
  .promo-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

/* =========================================================
   STATUT BADGE
   ========================================================= */
.promo-status-badge .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.promo-status-badge .badge--active {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}
.promo-status-badge .badge--scheduled {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
}
.promo-status-badge .badge--inactive {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* =========================================================
   INFOS PRINCIPALES
   ========================================================= */
.promo-main-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.promo-main-info .promo-desc {
  color: #aaa;
  font-size: 0.9rem;
  margin: 0.8rem 0 0;
  line-height: 1.6;
}

.promo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}
.promo-tags .tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.promo-tags .tag--type {
  background: rgba(147, 51, 234, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.3);
  color: #c084fc;
}
.promo-tags .tag--value {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  font-weight: 700;
}
.promo-tags .tag--cible {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}
.promo-tags .tag--role {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fde68a;
}

/* =========================================================
   DATES
   ========================================================= */
.promo-dates-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 120px;
}

.date-block {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}
.date-block .date-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #aaa;
  font-weight: 600;
}
.date-block .date-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

/* =========================================================
   STATISTIQUES
   ========================================================= */
.promo-stats-info {
  display: flex;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .promo-stats-info {
    justify-content: space-around;
    width: 100%;
  }
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 80px;
}
.stat-block .stat-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0d6efd;
  line-height: 1;
}
.stat-block .stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #aaa;
  font-weight: 600;
  text-align: center;
}

/* =========================================================
   ACTIONS
   ========================================================= */
.promo-actions {
  display: flex;
  gap: 0.8rem;
}
@media (max-width: 768px) {
  .promo-actions {
    width: 100%;
  }
  .promo-actions .btn-action {
    flex: 1;
  }
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-action.btn-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}
.btn-action.btn-success:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: #86efac;
  transform: translateY(-2px);
}
.btn-action.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.btn-action.btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #fca5a5;
  transform: translateY(-2px);
}

/* =========================================================
   ÉTAT VIDE
   ========================================================= */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
}
.empty-state .empty-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}
.empty-state p {
  color: #aaa;
  font-size: 1.1rem;
  margin: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.admin-footer {
  margin-top: 4rem;
  text-align: center;
}
.admin-footer .link-back {
  display: inline-block;
  color: #aaa;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.admin-footer .link-back:hover {
  color: #0d6efd;
  transform: translateX(-5px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 480px) {
  .admin-promotions-wrapper {
    padding: 2rem 1rem 3rem;
  }
  .promo-item {
    padding: 1.2rem;
  }
  .promo-tags {
    gap: 0.5rem;
  }
  .promo-tags .tag {
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
  }
}
/* =========================================================
   CHECKOUT, SUCCESS & CANCEL - Pages abonnements
   ========================================================= */
/* =========================
   CHECKOUT WRAPPER
   ========================= */
.checkout-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d6efd 0%, rgb(1.5532786885, 76.887295082, 187.9467213115) 100%);
  padding: 2rem 1rem;
}

.checkout-container {
  max-width: 600px;
  margin: 0 auto;
  background: #1a1a1a;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================
   HEADER
   ========================= */
.checkout-header {
  text-align: center;
  margin-bottom: 2rem;
}
.checkout-header h1 {
  font-size: 1.8rem;
  color: #f1f1f1;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.checkout-header p {
  color: #aaa;
  font-size: 1rem;
}

/* =========================
   PLAN SUMMARY
   ========================= */
.checkout-plan-summary {
  background: #111;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.checkout-plan-summary h2 {
  font-size: 1.1rem;
  color: #f1f1f1;
  margin-bottom: 1rem;
  font-weight: 600;
}

.plan-info {
  margin-bottom: 1rem;
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f1f1f1;
  margin-bottom: 0.3rem;
}

.plan-description {
  font-size: 0.9rem;
  color: #aaa;
}

/* =========================
   PRICING DETAIL
   ========================= */
.plan-pricing-detail {
  border-top: 2px dashed rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  font-size: 0.95rem;
  color: #f1f1f1;
}
.pricing-row.promo-applied {
  color: #48bb78;
  font-weight: 600;
}
.pricing-row.promo-trial {
  color: #ed8936;
  font-weight: 600;
}
.pricing-row.pricing-total {
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.price {
  font-weight: 600;
  color: #f1f1f1;
}

.discount {
  color: #48bb78;
  font-weight: 700;
}

.price-total {
  font-size: 1.5rem;
  color: #0d6efd;
}

.trial {
  color: #ed8936;
}

/* =========================
   PROMO DETAILS
   ========================= */
.promo-details {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.promo-details strong {
  color: #0d6efd;
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}
.promo-details p {
  font-size: 0.9rem;
  color: #aaa;
  margin: 0;
}

/* =========================
   PROMO SECTION
   ========================= */
.checkout-promo-section {
  margin-bottom: 2rem;
}
.checkout-promo-section h2 {
  font-size: 1.1rem;
  color: #f1f1f1;
  margin-bottom: 1rem;
  font-weight: 600;
}

.promo-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.promo-input-group {
  display: flex;
  gap: 0.7rem;
}

.promo-input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  background: #111;
  color: #f1f1f1;
  transition: all 0.2s;
}
.promo-input:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}
.promo-input::placeholder {
  color: #aaa;
}

.btn-apply-promo {
  padding: 0.9rem 1.8rem;
  background: #0d6efd;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-apply-promo:hover {
  background: rgb(63.5819672131, 140.3073770492, 253.4180327869);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}
.btn-apply-promo:active {
  transform: translateY(0);
}

.promo-success {
  background: rgba(72, 187, 120, 0.2);
  color: #48bb78;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  border: 1px solid rgba(72, 187, 120, 0.3);
}

/* =========================
   ACTIONS
   ========================= */
.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-checkout-pay {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(135deg, #0d6efd 0%, rgb(1.5532786885, 76.887295082, 187.9467213115) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  transition: all 0.3s;
}
.btn-checkout-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
}
.btn-checkout-pay:active {
  transform: translateY(0);
}
.btn-checkout-pay .btn-icon {
  font-size: 1.3rem;
}

.btn-back {
  text-align: center;
  color: #aaa;
  text-decoration: none;
  padding: 0.7rem;
  transition: color 0.2s;
}
.btn-back:hover {
  color: #f1f1f1;
}

/* =========================
   GUARANTEES
   ========================= */
.checkout-guarantees {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #aaa;
}

.guarantee-icon {
  font-size: 1.1rem;
}

/* =========================================================
   SUCCESS PAGE
   ========================================================= */
.success-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.success-container {
  max-width: 600px;
  background: #1a1a1a;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.success-container h1 {
  font-size: 2rem;
  color: #f1f1f1;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.success-animation {
  margin-bottom: 2rem;
}

.check-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  margin: 0 auto;
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.success-subtitle {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 2rem;
}

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

.detail-card {
  background: #111;
  padding: 1.2rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-label {
  font-size: 0.85rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f1f1f1;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-primary-success {
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
  display: inline-block;
}
.btn-primary-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(72, 187, 120, 0.3);
}

.btn-secondary-success {
  padding: 1rem 2rem;
  background: #111;
  color: #f1f1f1;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-secondary-success:hover {
  background: rgb(29.75, 29.75, 29.75);
}

.success-next-steps {
  text-align: left;
  background: #111;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.success-next-steps h3 {
  font-size: 1.1rem;
  color: #f1f1f1;
  margin-bottom: 1rem;
  font-weight: 600;
}
.success-next-steps ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.success-next-steps li {
  padding: 0.7rem 0;
  color: #aaa;
  font-size: 0.95rem;
}

/* =========================================================
   CANCEL PAGE
   ========================================================= */
.cancel-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, #fed7d7 0%, #fc8181 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.cancel-container {
  max-width: 500px;
  background: #1a1a1a;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.cancel-container h1 {
  font-size: 1.8rem;
  color: #f1f1f1;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.cancel-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
}

.cancel-subtitle {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cancel-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-primary-cancel {
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #0d6efd 0%, rgb(1.5532786885, 76.887295082, 187.9467213115) 100%);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
  display: inline-block;
}
.btn-primary-cancel:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
}

.btn-secondary-cancel {
  padding: 1rem 2rem;
  color: #aaa;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.btn-secondary-cancel:hover {
  color: #f1f1f1;
}

.cancel-help {
  background: #111;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cancel-help h3 {
  font-size: 1.1rem;
  color: #f1f1f1;
  margin-bottom: 0.7rem;
  font-weight: 600;
}
.cancel-help p {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 1rem;
}

.btn-contact {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #111;
  color: #0d6efd;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid #0d6efd;
}
.btn-contact:hover {
  background: #0d6efd;
  color: #fff;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
  .checkout-container,
  .success-container,
  .cancel-container {
    padding: 2rem 1.5rem;
  }
  .promo-input-group {
    flex-direction: column;
  }
  .btn-apply-promo {
    width: 100%;
  }
  .checkout-header h1,
  .success-container h1 {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  .checkout-wrapper,
  .success-wrapper,
  .cancel-wrapper {
    padding: 1rem;
  }
  .checkout-guarantees {
    flex-direction: column;
    gap: 1rem;
  }
}
/* =========================================================
   RECHERCHE D'EXÉCUTANTS
   ========================================================= */
.dashboard-recherche .dashboard-header {
  margin-bottom: 2rem;
}

/* ===== BARRE DE RECHERCHE ===== */
.executants-search {
  max-width: 800px;
  margin: 0 auto;
}

.search-box {
  position: relative;
  margin-bottom: 2rem;
}
.search-box input {
  width: 100%;
  padding: 1.2rem 3.5rem 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.search-box input:focus {
  outline: none;
  border-color: #0d6efd;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}
.search-box .clear-search {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.6);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}
.search-box .clear-search:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
@media (max-width: 480px) {
  .search-box input {
    padding: 1rem 3rem 1rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* ===== LOADER ===== */
.search-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  gap: 1rem;
}
.search-loader .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #0d6efd;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.search-loader p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ===== RÉSULTATS DE RECHERCHE ===== */
.search-results {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.5rem;
  max-height: 600px;
  overflow-y: auto;
  /* Scrollbar custom */
}
.search-results::-webkit-scrollbar {
  width: 8px;
}
.search-results::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.search-results::-webkit-scrollbar-thumb {
  background: rgba(13, 110, 253, 0.5);
  border-radius: 4px;
}
.search-results::-webkit-scrollbar-thumb:hover {
  background: rgba(13, 110, 253, 0.7);
}

.results-count {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ===== CARTE DE RÉSULTAT ===== */
.result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.result-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(13, 110, 253, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
  .result-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.result-info {
  flex: 1;
}
.result-info h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}
.result-info .result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}
.result-info .result-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
@media (max-width: 480px) {
  .result-info .result-meta {
    gap: 0.5rem;
    font-size: 0.85rem;
  }
}

.result-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 768px) {
  .result-actions {
    width: 100%;
    justify-content: space-between;
  }
}
@media (max-width: 480px) {
  .result-actions {
    flex-direction: column;
    gap: 0.8rem;
  }
}

.btn-view {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, #0d6efd, rgb(63.5819672131, 140.3073770492, 253.4180327869));
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}
.btn-view:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.4);
}
@media (max-width: 480px) {
  .btn-view {
    width: 100%;
    justify-content: center;
  }
}

.no-profile {
  padding: 0.7rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-style: italic;
}

/* ===== BOUTON ÉTOILE (FAVORI) ===== */
.star-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.star-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.star-btn.is-active {
  background: rgba(255, 193, 7, 0.2);
  border-color: rgba(255, 193, 7, 0.5);
  color: #ffc107;
}
.star-btn.is-active:hover {
  background: rgba(255, 193, 7, 0.3);
  border-color: #ffc107;
}

/* ===== MESSAGES ===== */
.no-results,
.error-message,
.search-hint {
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}
.no-results p,
.error-message p,
.search-hint p {
  margin: 0.5rem 0;
}
.no-results strong,
.error-message strong,
.search-hint strong {
  color: #fff;
  font-weight: 700;
}
.no-results .hint,
.error-message .hint,
.search-hint .hint {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

.error-message {
  color: #ef4444;
}
.error-message .hint {
  color: rgba(239, 68, 68, 0.7);
}

/* ===== NOTIFICATION TOAST ===== */
.toast-notification {
  position: fixed;
  top: 20px;
  right: -300px;
  background: rgba(13, 110, 253, 0.95);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 10000;
  transition: right 0.3s ease;
}
.toast-notification.show {
  right: 20px;
}
@media (max-width: 480px) {
  .toast-notification {
    right: -100%;
    left: auto;
    width: calc(100% - 40px);
  }
  .toast-notification.show {
    right: 20px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .executants-search {
    max-width: 100%;
  }
  .search-results {
    max-height: 500px;
  }
}
@media (max-width: 480px) {
  .search-results {
    padding: 1rem;
    max-height: 400px;
  }
  .result-card {
    padding: 1.2rem;
  }
  .result-info h4 {
    font-size: 1rem;
  }
}/*# sourceMappingURL=styles.css.map */