/* Import des polices */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500&family=Dancing+Script:wght@400;700&display=swap');

html,
body {
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  color: #330f14 !important;
}

/* Background overlay with opacity */
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('back.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3; /* Adjust opacity level here */
  z-index: -1; /* Places background behind all content */
}

/* Titres et Sous-titres */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #FF69B4;
}

.subtitle, .accent {
  font-family: 'Dancing Script', cursive;
  color: #FF69B4;
}

/* Background Styles */
.bg-light-pink {
  background-color: #FFB6C1;
}
.bg-dark-pink {
  background-color: #FF69B4;
}
.bg-purple {
  background-color: #6f42c1;
}



/* Liens */
a {
  color: #FF69B4;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #DDA0DD;
}

/* Boutons */
.btn-primary {
  background-color: #FF69B4;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
  background-color: #FF1493;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


/* General Button Styles */
.btn {
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, box-shadow 0.3s;
}

/* Primary Button - Vibrant Pink */
.btn-primary {
  background-color: #FF69B4;
}

.btn-primary:hover {
  background-color: #FF1493;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Secondary Button - Lavender */
.btn-secondary {
  background-color: #DDA0DD;
}

.btn-secondary:hover {
  background-color: #BA55D3;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Success Button - Golden Yellow */
.btn-success {
  background-color: #FFD700;
  color: #333333; /* Dark text for readability */
}

.btn-success:hover {
  background-color: #FFC300;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Danger Button - Soft Pink */
.btn-danger {
  background-color: #FFB6C1;
  color: #333333;
}

.btn-danger:hover {
  background-color: #FF69B4;
  color: #FFFFFF;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Info Button - Base Pink */
.btn-info {
  background-color: #FF69B4;
}

.btn-info:hover {
  background-color: #FF1493;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Warning Button - Golden Yellow */
.btn-warning {
  background-color: #FFD700;
  color: #333333;
}

.btn-warning:hover {
  background-color: #FFC300;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Link Button */
.btn-link {
  color: #FF69B4;
  text-decoration: none;
  border: 1px solid #FF69B4 ;
}

.btn-link:hover {
  color: #FF1493;
  text-decoration: underline;
}

/* Outline Primary Button */
.btn-outline-primary {
  background-color: transparent;
  color: #FF69B4; /* Primary pink color */
  border: 2px solid #FF69B4;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary:hover {
  background-color: #FF69B4;
  color: #FFFFFF;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  border-color: #FF69B4;
}


/* Responsive Visibility */
.mobile-hide {
  display: block;
}
.mobile-show {
  display: none;
}
@media (max-width: 768px) {
  .mobile-hide {
    display: none;
  }
  .mobile-show {
    display: block;
  }
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.card-title {
  font-family: 'Playfair Display', serif;
  color: #FF69B4;
}
.card-text {
  color: #666666;
}

/* Inputs */
.form-control {
  border-radius: 5px;
  border-color: #FFB6C1;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.form-control:focus {
  border-color: #FF69B4;
  box-shadow: 0 0 8px rgba(255, 105, 180, 0.3);
}

/* Headers & Footers */
.header, .footer {
  background-color: #FF69B4 ;
  color: #FFFFFF;
  padding: 20px;
}

/* Off-canvas menu for mobile */
.offcanvas-collapse {
  position: fixed;
  top: 56px;
  bottom: 0;
  left: 100%;
  width: 100%;
  padding: 1rem;
  overflow-y: auto;
  background-color: #343a40;
  transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
  visibility: hidden;
}
.offcanvas-collapse.open {
  visibility: visible;
  transform: translateX(-100%);
}

/* Navigation Styles */
.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}
.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.nav-scroller .nav-link {
  color: #6c757d;
  font-size: 0.875rem;
  padding: 0.75rem;
}
.nav-scroller .nav-link:hover {
  color: #007bff;
}
.nav-scroller .active {
  font-weight: 500;
  color: #343a40;
}

/* Bouton de mode */
.bd-mode-toggle {
  z-index: 1500;
}

/* Placeholder et autres styles */
.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

/* B-example-divider */
.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1), inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}
 /* Responsive visibility */
 .mobile-hide { display: block; }
 .mobile-show { display: none; }

 @media (max-width: 768px) {
   .mobile-hide { display: none; }
   .mobile-show { display: block; }
 }

 /* Date list styling */
 .date-list-container { width: 100%; overflow-x: auto; white-space: nowrap; }
 .date-list { list-style: none; padding: 0; margin: 0; display: inline-flex; margin-bottom: 8px; }
 .date-list li { min-width: 100px; border: 1px solid #e0e0e0; border-radius: 4px; margin-right: 6px; padding: 4px; font-size: 0.7rem; text-align: center; background-color: #ffffff; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1); transition: 0.3s; }
 .date-list a { text-decoration: none; color: inherit; }
 .date-item:hover { background-color: #f5f5f5; }
 .choix a { color: grey; }
 .choix a:hover { color: black; }

 /* Miscellaneous styles */
 .bd-placeholder-img { font-size: 1.125rem; user-select: none; }
 @media (min-width: 768px) { .bd-placeholder-img-lg { font-size: 3.5rem; } }
 .b-example-divider { width: 100%; height: 3rem; background-color: rgba(0, 0, 0, .1); border: solid rgba(0, 0, 0, .15); border-width: 1px 0; box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15); }
 .btn-bd-primary { --bd-violet-bg: #712cf9; --bs-btn-font-weight: 600; --bs-btn-color: #fff; --bs-btn-bg: var(--bd-violet-bg); }


   /* Adjust colors here to match the chart colors */
   .navbar-custom {
    background-color: #2E3B4E; /* Dark base color to match chart */
    color: #ffffff;
}

.navbar-custom .nav-link {
    color: #B8CCE2; /* Light color for nav links */
    transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #FFFFFF ; /* Active and hover color for clarity */
}

.dropdown-menu {
    background-color: #2E3B4E; /* Match dropdown with header */
}

.dropdown-item:hover {
    background-color: #3F506B; /* Hover color for dropdown */
}
