body {
    font-family: inika, 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #2C2C54;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar Styles */
/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #E6FFE6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-radius: 0 0 20px 20px;
height: 30px;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Logo Section */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  font-size: 2.3rem;
  font-weight: bold;
  color: #000;
  transition: transform 0.3s ease-in-out;
}

.navbar-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.navbar-logo:hover {
  transform: scale(1.1);
}

/* Navigation Menu */
.navbar-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-top: 15px;
  padding: 0;
flex-wrap: wrap;
}

.navbar-links .nav-link {
  text-decoration: none;
  color: black;
  font-size: 1.0rem;
  font-weight: 500;
  padding: 10px 20px;
  background-color: #E6FFE6;
  border-radius: 50px;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.navbar-links .nav-link:hover {
  background-color: #fff;
  color: #000;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
transform: scale(1.1);
}

/* Hamburger Menu */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.navbar-toggle span {
  width: 35px;
  height: 4px;
  background: white;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .navbar-links {
      flex-direction: column;
      background: #16A085;
      position: absolute;
      top: 100%;
      right: 0;
      width: 100%;
      display: none;
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  }

  .navbar-links.active {
      display: flex;
  }

  .navbar-toggle {
      display: flex;
  }
}



/* Sous-menu déroulant */
/* 🌿 Dropdown modernisé */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  backdrop-filter: blur(12px);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  min-width: 230px;
  padding: 12px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  color: #2C3E50;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  background: transparent;
  border-left: 4px solid transparent;
}

.dropdown-link::after {
  content: '➜';
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(-5px);
  font-size: 0.95rem;
  color: #2C3E50;
}

.dropdown-link:hover {
  background-color: #d4ffe1;
  padding-left: 28px;
  border-left: 4px solid #2ECC71;
  border-radius: 0 10px 10px 0;
}

.dropdown-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* 🎯 Responsive */
@media (max-width: 768px) {
  .dropdown-menu {
      position: static;
      display: none;
      background: rgba(255, 255, 255, 0.9);
      box-shadow: none;
      border-radius: 12px;
      padding: 0;
      width: 100%;
  }

  .navbar ul.active .dropdown-menu {
      display: block;
      opacity: 1;
      transform: translateY(0);
  }
}

.logo-container {
    display: flex; /* Permet d'aligner l'image et le texte sur une même ligne */
    align-items: center; /* Centre verticalement l'image et le texte */
    gap: 10px; /* Ajoute un espace entre le logo et le texte */
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 2.4rem; /* Taille du texte "Tra-V" */
    font-weight: bold;
    color: #000; /* Couleur du texte */
    font-family: inika, 'Poppins', sans-serif; /* Police utilisée */
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Style du bouton de déconnexion */
.logout-btn {
    margin-left: 10px;
    padding: 6px 12px;
    background-color: #dc3545; /* Rouge */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

/* Effet au survol */
.logout-btn:hover {
    background-color: #b02a37; /* Rouge foncé */
}

.user-nav {
  margin-left: 350px;
min-width: 220px;
}

/* 🌟 Conteneur principal */
.dashboard {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 🚀 Section d'introduction */
.intro {
    text-align: center;
    padding: 2rem;
    background-color: #D4FFD0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border-bottom: 3px solid #000;
}

.intro h1 {
    font-size: 2.5rem;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.intro p {
    font-size: 1.2rem;
    color: #34495E;
}

/* 📈 Statistiques générales */
.dashboard-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin: 2rem 0;
}

.stat-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #ddd;
}

.stat-card h2 {
    font-size: 1.5rem;
    color: #000 !important;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 2rem;
    color: #38a169;
    font-weight: bold;
	text-align: center;
}

/* 📝 Listes dynamiques */
.activities-list, .bookings-list {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    margin: 2rem 0;
}

.activities-list p, .bookings-list p {
    color: #34495E;
    font-size: 1.1rem;
	text-align: center;
}

/* 📊 Section d'analyse */
.analytics-chart {
    height: 300px;
    background-color: #f9f9f9;
    border: 1px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    margin: 2rem 0;
}

/* ✅ Style du bouton "Ajouter un service" */
.add-service-button {
    background: transparent;
    color: #000;
    font-size: 1rem;
    font-weight: bold;
    padding: 14px 32px;
    border: 2px solid #000;
    border-radius: 50px; /* ✅ Effet moderne, style pill button */
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 20px auto;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    z-index: 1;
    isolation: isolate;
	  position: absolute;
	  bottom: 240px;
    left: 1290px;
}

/* ✅ Effet de dégradé dynamique */
.add-service-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.3) 100%);
    border-radius: 50px;
    z-index: -1;
    transition: all 0.4s ease-in-out;
    opacity: 0.8;
}

/* ✅ Effet de survol */
.add-service-button:hover::before {
    animation: gradientAnimation 2s infinite alternate;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* ✅ Effet de survol - animation du bouton */
.add-service-button:hover {
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

/* ✅ Effet de clic */
.add-service-button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}



.activity-card:hover {
  transform: scale(1.02);
}

.activity-card {
  display: flex;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
  transition: transform 0.2s ease;
  align-items: stretch;
  max-height: 180px; /* ✅ Limite de hauteur */
}

.activity-thumb {
  width: 160px;
  aspect-ratio: 1 / 1; /* ✅ carré automatique */
  object-fit: cover;
  flex-shrink: 0;
  height: auto; /* Laisse le navigateur gérer via aspect-ratio */
}


.activity-info {
  padding: 12px 16px;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr; /* ✅ Disposition en 2 colonnes */
  gap: 8px 16px;
  align-content: start;
  font-size: 0.88rem; /* ✅ Police plus petite */
  overflow-y: auto; /* ✅ Scroll si jamais trop de contenu */
}

.activity-info p {
  margin: 0;
  color: #555;
  font-size: 0.88rem;
  line-height: 1.3;
  word-break: break-word;
}


.activity-info h4 {
  margin: 0 0 8px;
  color: #2C3E50;
}


.activity-status span.published {
  color: #2ecc71;
  font-weight: bold;
}

.activity-status span.pending {
  color: #f39c12;
  font-weight: bold;
}

/* ✅ Titre de section */
.reservation-section-title {
  font-size: 1.5rem;
  color: #000;
  margin-top: 40px;
  margin-bottom: 25px;
  padding-left: 12px;
  text-align: center;
}

/* ✅ Grille responsive */
.reservation-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

/* ✅ Carte de réservation */
.reservation-item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #000;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 110px;
  margin-bottom: 15px;
}

.reservation-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-color: #71ff54;
  background-color: #f9fff6;
}

/* ✅ Image dans la carte */
.reservation-thumb {
  width: 120px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}

/* ✅ Texte à droite */
.reservation-info {
  padding: 12px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ✅ Titre et texte */
.reservation-info h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #2c3e50;
  font-weight: 600;
}

.reservation-info p {
  margin: 2px 0;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.4;
}

/* ✅ Statuts */
.confirmed {
  color: #27ae60;
  font-weight: bold;
}

.cancelled {
  color: #e74c3c;
  font-weight: bold;
}

.pending {
  color: #f39c12;
  font-weight: bold;
}

h2 {
	color: #000;
	font-size: 1.8rem;
}

.number-live {
	font-weight: 700;
	color: #4cd031;
}



.number-max {
	font-weight: 700;
	color: #24900e;
}

.number-live-max {
	color: #ee0808;
	font-weight: 700;
}

.closed-because-full {
	color: #ee0808;
}

.user-add-travelplan {
	color: #4cd031;
	font-weight: 600;
}

.edit-reservation-btn {
  height: 40px;
  width: 120px;
  position: relative;
  top: 50px;
  right: 20px;

  background: transparent;
  color: #000;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 14px 32px;
  border: 2px solid #000;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
}

/* ✅ Dégradé dynamique */
.edit-reservation-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.3) 100%);
  border-radius: 50px;
  z-index: -1;
  transition: all 0.4s ease-in-out;
  opacity: 0.8;
}

/* ✅ Hover élégant */
.edit-reservation-btn:hover::before {
  animation: gradientAnimation 2s infinite alternate;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* ✅ Hover animation */
.edit-reservation-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

/* ✅ Click animation */
.edit-reservation-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}




