/*######### PAGE ACCUEIL  #########*/

header h1 {
  font-weight: bold;
  font-size: 2.5rem;
}

.card {
  border: none; /* Suppression des bordures */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre élégante */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px); /* Légère élévation au survol */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Ombre accentuée */
}

.card .card-icon {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 15px;
}

/*######### MAIN #########*/
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

main {
  flex: 1; /* Le contenu principal occupe tout l'espace restant */
}

.form-container {
  max-width: 78rem;
  margin: 30px auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 8px;
}

h2 {
  margin-bottom: 20px;
}

.optional {
  font-size: 0.9rem;
  color: #6c757d;
}

.submit-btn {
  width: 100%;
  padding: 10px;
  background-color: #06A3DA;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
}

.submit-btn:hover {
  background-color: #0056b3;
}

.custom-hr {
  border: none;
  height: 3px !important;
  background-color: #3a3a3a;
  margin: 30px 0;
}

#footer {
  background: #14151c;
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  margin-top: auto; /* Pour que le footer reste en bas */
}

#footer h3 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  position: relative;
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0 0 15px 0;
}

#footer p {
  font-size: 15px;
  font-style: italic;
  padding: 0;
  margin: 0 0 40px 0;
}

#footer .social-links {
  margin: 0 0 40px 0;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #ef6603;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #bd5102;
  color: #fff;
  text-decoration: none;
}

#footer .copyright {
  margin: 0 0 5px 0;
}

#footer .credits {
  font-size: 13px;
}

.form-control {
  background-color: #e5e5e5;
  border-bottom: 2px solid black;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #06A3DA;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 18px;
  text-align: center;
  text-decoration: none;
  display: none;
  z-index: 1000;
}

.scroll-to-top:hover {
  background-color: #0056b3;
}

/* Styles pour les messages de confirmation et d'erreur */
#message {
  display: none; /* Masqué par défaut */
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  font-weight: bold;
}

.success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  font-size: 1.5rem;
}

.error {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  font-size: 1.5rem;
}

/* Styles du loader */
#loader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  text-align: center;
  font-size: 20px;
  z-index: 9999;
}

/* Animation du loader */
.loader-animation {
  margin-top: 20%;
  font-size: 30px;
  animation: blink 2s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

header {
  /* background: #7c7c7c; */
  background: #14151c;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre élégante */
}

/* Style des liens du menu */
.navbar-nav .nav-link {
  font-size: 1.1rem; /* Taille de police plus grande */
  font-weight: bold; /* Texte en gras */
  color: white !important; /* Couleur blanche */
  margin-right: 15px;
  transition: all 0.3s ease; /* Animation fluide */
  position: relative;
}

/* Animation hover */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #ffd700;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%; /* Ligne s'étend sous le texte */
}

.navbar-nav .nav-link:hover {
  color: #ffd700 !important; /* Texte doré au survol */
}

/* Style du menu mobile */
.navbar-toggler {
  border-color: white;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28155, 155, 155, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #06A3DA;
  --bs-btn-border-color: #06A3DA;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #06A3DA;
  --bs-btn-hover-border-color: #06A3DA;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #06A3DA;
  --bs-btn-active-border-color: #06A3DA;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #06A3DA;
  --bs-btn-disabled-border-color: #06A3DA;
}

.padd {
  padding: 0 !important;
}

.fr-hint-text {
  display: block;
  font-size: .75rem;
  line-height: 1.25rem;
  --text-spacing: 0 0 1rem;
}

.form-label {
  font-weight: 500;
}