/* Force le background blanc sur tout le site */
body {
    background-color: #ffffff !important;
}

/* Si certaines sections héritent d'un bg bleu, tu peux aussi ajouter */
section {
    background-color: #ffffff !important;
}

/* Style pour les placeholders */
.form-control::placeholder {
  color: #6c757d; /* Couleur grise standard de Bootstrap */
  opacity: 1; /* S'assure que la couleur n'est pas transparente */
}

/* Pour les navigateurs plus anciens */
.form-control::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #6c757d;
}
.form-control::-moz-placeholder { /* Firefox 19+ */
  color: #6c757d;
  opacity: 1;
}
.form-control:-ms-input-placeholder { /* IE 10+ */
  color: #6c757d;
}
.form-control:-moz-placeholder { /* Firefox 18- */
  color: #6c757d;
  opacity: 1;
}
.close-menu {
  position: absolute;
  top: 8px;
  right: 15px;
  z-index: 9999; /* 🔥 très important */

  width: 35px;
  height: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f1f1f1;
  border: none;
  border-radius: 6px;

  cursor: pointer;
}

/* ❌ caché par défaut (desktop) */
.close-menu {
  display: none;
}

/* ✅ visible uniquement en mobile */
@media (max-width: 991.98px) {
  .close-menu {
    display: flex;
  }
}
/* ═══════════════════════════════════════════════════════════════ */
/* CUSTOM FLASH MESSAGES - Matching Brand Colors & Design */
/* ═══════════════════════════════════════════════════════════════ */

.flash-alert {
  position: relative;
  border: none;
  border-left: 4px solid;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
  animation: slideDownIn 0.35s ease-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Slide in animation */
@keyframes slideDownIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide out animation */
@keyframes slideUpOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.alert.fade.show:not(.show) {
  animation: slideUpOut 0.35s ease-in forwards;
}

/* ── Success Alert (#10b981) ── */
.alert-success {
  background-color: #ecfdf5;
  border-left-color: #10b981;
  color: #065f46;
}

.alert-success .flash-icon {
  color: #10b981;
  font-size: 1.25rem;
}

.alert-success .btn-close {
  background-color: rgba(16, 185, 129, 0.1);
  opacity: 1;
}

.alert-success .btn-close:hover {
  background-color: rgba(16, 185, 129, 0.2);
}

/* ── Error/Danger Alert (#ff5938 - Your Brand Color) ── */
.alert-danger,
.alert-error {
  background-color: #fff5f3;
  border-left-color: #ff5938;
  color: #7c2d12;
}

.alert-danger .flash-icon,
.alert-error .flash-icon {
  color: #ff5938;
  font-size: 1.25rem;
}

.alert-danger .btn-close,
.alert-error .btn-close {
  background-color: rgba(255, 89, 56, 0.1);
  opacity: 1;
}

.alert-danger .btn-close:hover,
.alert-error .btn-close:hover {
  background-color: rgba(255, 89, 56, 0.2);
}

/* ── Warning Alert (#f97316) ── */
.alert-warning {
  background-color: #fef3c7;
  border-left-color: #f97316;
  color: #7c2d12;
}

.alert-warning .flash-icon {
  color: #f97316;
  font-size: 1.25rem;
}

.alert-warning .btn-close {
  background-color: rgba(249, 115, 22, 0.1);
  opacity: 1;
}

.alert-warning .btn-close:hover {
  background-color: rgba(249, 115, 22, 0.2);
}

/* ── Info Alert (#3b82f6) ── */
.alert-info {
  background-color: #eff6ff;
  border-left-color: #3b82f6;
  color: #1e3a8a;
}

.alert-info .flash-icon {
  color: #3b82f6;
  font-size: 1.25rem;
}

.alert-info .btn-close {
  background-color: rgba(59, 130, 246, 0.1);
  opacity: 1;
}

.alert-info .btn-close:hover {
  background-color: rgba(59, 130, 246, 0.2);
}

/* ── Flash Message Typography ── */
.flash-content {
  font-size: 0.95rem;
  line-height: 1.5;
}

.flash-message {
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
}

/* ── Responsive Design ── */
@media (max-width: 576px) {
  .flash-alert {
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 0.9rem;
  }

  .d-flex.gap-3 {
    gap: 12px !important;
  }

  .flash-icon {
    font-size: 1.1rem !important;
    min-width: 24px;
  }
}