
/* --- Couleurs principales --- */
:root {
  --nw-green: #198754;
  --nw-blue: #0d6efd;
  --nw-orange: #ffc107;
  --nw-light: #f8f9fa;
  --nw-dark: #343a40;
  --nw-danger: #dc3545;
  --nw-gray: #6c757d;
}

/* --- Body global --- */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--nw-light);
  margin: 0;
  padding: 0;
}

/* --- Section centrale --- */
.container-box {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

/* --- Titres --- */
h1, h2, h3 {
  font-weight: 600;
  color: var(--nw-dark);
}

/* --- Liens --- */
a {
  text-decoration: none;
  color: var(--nw-blue);
}
a:hover {
  color: var(--nw-green);
}

/* --- Boutons personnalisés --- */
.btn-nw {
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: 500;
  transition: 0.2s ease;
}
.btn-nw:hover {
  opacity: 0.9;
}
.btn-green {
  background-color: var(--nw-green);
  color: #fff;
}
.btn-blue {
  background-color: var(--nw-blue);
  color: #fff;
}
.btn-danger {
  background-color: var(--nw-danger);
  color: #fff;
}

/* --- Formulaires --- */
form input, form select, form textarea {
  border-radius: 10px;
  box-shadow: none;
  border: 1px solid #ccc;
}
form input:focus, form select:focus, form textarea:focus {
  border-color: var(--nw-blue);
  box-shadow: 0 0 5px rgba(13, 110, 253, 0.2);
}

/* --- Alertes Bootstrap améliorées --- */
.alert {
  border-radius: 10px;
  font-weight: 500;
}

/* --- Cartes (rando, journée, circuits) --- */
.card {
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}
.card:hover {
  transform: scale(1.02);
}
.card img {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

/* --- Tableaux --- */
.table thead th {
  background-color: var(--nw-light);
  color: var(--nw-dark);
}
.table td, .table th {
  vertical-align: middle;
}

/* --- Navbar personnalisée --- */
.navbar-custom {
  background-color: var(--nw-dark);
}
.navbar-custom .nav-link {
  color: #fff;
  margin-right: 15px;
}
.navbar-custom .nav-link:hover {
  color: var(--nw-orange);
}

/* --- Badge statut --- */
.badge-paid {
  background-color: var(--nw-green);
}
.badge-waiting {
  background-color: var(--nw-orange);
  color: #000;
}
/* Bouton retour haut */
.btn-top {
  position: fixed;
  bottom: 90px; /* Augmenté pour ne pas chevaucher Nico */
  right: 15px;
  z-index: 998;
  background-color: #198754;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}

/* Chatbot Nico */
#nico-chatbot {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 999;
}