/* === style repris du modèle de la page paiement pour cohérence visuelle === */
/* Remove text from navbar brand on screens smaller than 360px */
@media (max-width: 360px) {
  .navbar-brand .brand-name {
      display: none;
  }

  .navbar-brand {
      display: flex;
      justify-content: center;
      width: 100%;
  }

  
}

body, html {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
}

.bg {
  background-image: url("https://www.qrsite.fr/a/fond2.jpg");
  height: 100%;
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
}

#rating {
  display: flex;
  justify-content: center;
  font-size: 3em;
}

.star {
  cursor: pointer;
  color: white;
  -webkit-text-stroke: 1px black;
}

.star:not(.selected) {
  -webkit-text-stroke: 1px black;
}

.star.selected {
  color: #ffc107;
  -webkit-text-stroke: 1px black;
}

h2 {
  text-align: center;
  color: white;
  font-weight: bold;
  text-shadow: 
    -2px -2px 0 #000,  
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000;
}

.text-container {
  background-color: rgba(255, 255, 255, 0.75);
  border: 2px solid black;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}

.btn {
  background-color: #f8f9fa;
  color: #333;
 
  font-size: 1.4em;
}

.btn:hover, .btn:focus {
  background-color: #f8f9fa;
  color: #212529;
}

.scrollable-content {
  max-height: 300px;
  overflow-y: auto;
}

.logo {
  max-width: 80%;
  height: auto;
}

@media (min-width: 768px) {
  .logo {
      max-width: 50%;
  }
}

@media (min-width: 1200px) {
  .logo {
      max-width: 280px;
  }
}

.logo-size {
  max-width: 30%;
}

.btn-aqp {
  background-color: #004085;
  color: white;
  border-radius: 25px;
  padding: 10px 20px;
  border: none;
  display: block;
  width: auto;
  margin: 0 auto;
  transition: background-color 0.3s ease;
}

.btn-aqp:hover, .btn-aqp:focus {
  background-color: #003063;
  color: #ffffff;
  cursor: pointer;
}

.card-img-top {
  width: 100%;
  height: 225px;
  object-fit: cover;
}

.cardTimeline {
  position: relative;
  display: -ms-flexbox;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius: .25rem;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0px;
}

.composition-item {
  color: #c00;
}

.ingredient-item {
  color: #080;
}

.option-item {
  color: #00F;
}

.special-option-item {
  color: #A70;
  font-weight: bold;
}

.option-description i {
  margin-left: 5px;
  font-size: 0.9em;
}

.fas.fa-minus-circle {
  color: #c00;
}

.fas.fa-plus-circle {
  color: #080;
}

.fas.fa-check-circle {
  color: #00F;
}

.fas.fa-star {
  color: #A70;
}

.list-unstyled li {
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}

.scrollable-content2 {
  max-height: 80vh;
  overflow-y: auto;
}

/* style.css */

/* Styles pour le bloc de la timeline */
.timeline-container {
  display: flex;
  justify-content: center;
}

.timeline-block {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  margin: 10px;
  background-color: #f9f9f9;
  width: 100%;
  max-width: 600px; /* Limite la largeur du bloc */
}

.timeline-icon {
  font-size: 2em;
  margin-right: 15px;
}

.timeline-content {
  flex: 1;
}

.timeline-time {
  font-size: 1.2em;
  font-weight: bold;
}

.timeline-retard {
  font-size: 1em;
  color: red;
  font-weight: bold;
}

.red {
  color: red;
}

.green {
  color: green;
}

.blue {
  color: rgb(0, 0, 151);
}

.header {
  max-height: 170px;
  background-color: #333;
  color: #fff;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content {
  padding-top: 70px;
}

.card {
  margin-bottom: 20px;
}

.card img {
  max-width: 100%;
}

.topMarge {
  margin-top: -40px;
}

/* Style pour le texte en gras */
.font-weight-bold {
  font-weight: bold;
}

/* Style pour le texte principal */
.main-text {
  font-size: 1rem;
  color: #000;
}

/* Style pour les boutons */
.btn-details {
  margin-right: 10px;
  color: #007bff;
  text-decoration: underline;
  cursor: pointer;
}

.btn-pay {
  background-color: #117f2a;
  color: white;
  border: none;
}

.btn-pay:hover {
  background-color: #218838;
  color: white;
}

/* Style pour le texte cliquable */
.text-clickable {
  color: #007bff;
  cursor: pointer;
  text-decoration: underline;
}

.navbar {
  max-height: 110px;
  background-color: #343a40;
}

.navbar .brand-name {
  color: white;
  font-size: 24px;
  font-weight: bold;
  margin-left: 10px;
}

.navbar .navbar-brand {
  display: flex;
  align-items: center;
}

.navbar .navbar-brand img {
  margin-right: 10px;
}

/* style.css */

/* Styles pour la section des actions */
.actions-section {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.actions-section button {
  width: 30%;
  padding: 15px;
  font-size: 1.2em;
}

/* Styles pour les boutons */
.custom-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.2em;
  border-radius: 8px;
  font-weight: bold; /* Texte en gras */
  color: white; /* Texte en blanc */
  transition: background-color 0.3s, color 0.3s;
}

.custom-btn.btn-primary {
  background-color: #007bff;
  border: none;
}

.custom-btn.btn-primary:hover {
  background-color: #0056b3;
}

.custom-btn.btn-secondary {
  background-color: #ff8800; /* Couleur plaisante pour le bouton secondaire */
  margin-top: 10px;
}

.custom-btn.btn-secondary:hover {
  background-color: #e67e22;
}

.custom-btn.btn-success {
  color:#000;
  background-color: #cacaca;
  border: 5px solid white; /* Bordure blanche de 5px */
}

.btn-success {
  color: #000000;
  background-color: #cacaca;
  border-color: #969696;
}

.btn-success:hover {
  color: #000000;
  background-color: #c5c5c5;
  border-color: #ddd;
}

.custom-btn.btn-success:hover {
  background-color: #000000;
}

.modal-header-custom {
  background-color: black;
  color: white;
  text-align: center;
  width: 100%;
  padding: 15px 0;
}

.payment-option {
  border: 2px solid black;
  border-radius: 10px;
  margin: 5px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2); /* Stronger and sharper shadow */
transition: transform 0.2s, box-shadow 0.2s; /* Smooth transition for hover effect */

 
}

.payment-option {
  border: 2px solid black;
  border-radius: 10px;
  margin: 5px;
  padding: 10px;
  cursor: pointer;
}

.payment-option:hover {
  background-color: #f8f9fa;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2); /* Stronger and sharper shadow */
  transition: transform 0.2s, box-shadow 0.2s; /* Smooth transition for hover effect */
  

}

.btn-payment {
  background-color: #117f2a; /* Vert pour le bouton */
  color: white; /* Couleur du texte */
  border: none; /* Pas de bordure */
  border-radius: 5px; /* Bords arrondis */
  padding: 10px 20px; /* Espacement interne */
  font-size: 16px; /* Taille de la police */
  font-weight: bold; /* Texte en gras */
  text-transform: uppercase; /* Texte en majuscules */
  cursor: pointer; /* Curseur en forme de main */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre portée */
  transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Transition pour les effets */
}

.btn-payment:hover {
  background-color: #218838; /* Couleur de fond au survol */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Ombre plus prononcée au survol */
}

.btn-payment:active {
  background-color: #1e7e34; /* Couleur de fond au clic */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ombre moins prononcée au clic */
}

/* Styles pour le bouton "Ajouter un paiement" */
.btn-add-payment {
  background-color: #007bff; /* Bleu pour le bouton */
  color: white; /* Couleur du texte */
  border: none; /* Pas de bordure */
  border-radius: 5px; /* Bords arrondis */
  padding: 10px 20px; /* Espacement interne */
  font-size: 16px; /* Taille de la police */
  font-weight: bold; /* Texte en gras */
  text-transform: uppercase; /* Texte en majuscules */
  cursor: pointer; /* Curseur en forme de main */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre portée */
  transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Transition pour les effets */
}

.btn-add-payment:hover {
  background-color: #0056b3; /* Couleur de fond au survol */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Ombre plus prononcée au survol */
}

.btn-add-payment:active {
  background-color: #004085; /* Couleur de fond au clic */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ombre moins prononcée au clic */
}

/* Styles pour le texte "ou" */
.text-ou {
  font-weight: bold; /* Texte en gras */
  padding: 0 10px; /* Espacement à gauche et à droite */
  align-self: center; /* Centrer verticalement */
}

.modal-body-scrollable {
  max-height: 400px;
  overflow-y: auto;
}

.payment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.payment-option p {
  margin-top: 0.5rem;
  font-weight: bold;
}

.text-ou {
  color: #007bff;
}

#remainingAmountInput {
  background-color: #007bff; /* Fond bleu */
  color: #ffffff; /* Écriture blanche */
  font-weight: bold; /* Écriture en gras */
  text-align: center; /* Texte centré */
  border: 2px solid #0056b3; /* Bordure bleue foncée */
  border-radius: 5px; /* Coins arrondis */
  padding: 10px; /* Espacement interne */
  font-size: 1.2em; /* Taille de police augmentée */
}

#remainingAmountInput::placeholder {
  color: #ffffff; /* Couleur des placeholders en blanc */
  opacity: 0.7; /* Transparence des placeholders */
}

.payment-option {
  cursor: pointer;
}

.payment-option:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.pizza-item {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.pizza-item h5 {
  margin-bottom: 10px;
}

.pizza-item img {
  display: block;
  margin-bottom: 10px;
  width: 100px;
  height: auto;
}

.pizza-item ul {
  padding-left: 20px;
  list-style-type: disc;
}

.pizza-item ul li {
  margin-bottom: 5px;
}

.modal-dialog {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f0f0f0;
}

.modal-header, .modal-footer {
    flex-shrink: 0;
}

.modal-body {
    overflow-y: auto;
    flex-grow: 1;
    padding: 15px;
}

/* Optional: Better visibility for the content */
.modal-body .drink-item img {
    max-width: 50px;
}

.drink-item {
  background-color: white;
}

.payment-options-container {
  border: 1px solid #ddd;
  padding: 5px 20px 0px 20px;
  border-radius: 10px;
  background-color: #f9f9f9;
  margin-bottom: 15px;
}
.payment-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
}
.payment-option i {
  margin-right: 0px;
}
.payment-option p {
  margin: 0;
  flex-grow: 1;
}
.payment-option input[type="radio"] {
  margin-left: auto;
}

.dark-background {
  background-color: black;
  color: white;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-buttons {
  display: flex;
  gap: 10px;
}

.btn-retour {
  background-color: #b22222;
  border-color: #b22222;
}

.timeline-icon-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-icon {
    margin-right: 8px; /* Ajustez cet espace si nécessaire */
}

.timeline-time {
    margin: 0;
}

.timeline-content {
    text-align: center;
    margin-top: 10px; /* Ajustez cet espace si nécessaire */
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-container i,
.icon-container span {
  margin: 0 5px; /* Adjust the margin as needed */
}

.payment-option2 {
  background-color: #e0f1ff;
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2); /* Stronger and sharper shadow */
  transition: transform 0.2s, box-shadow 0.2s; /* Smooth transition for hover effect */
  
  
  cursor: pointer;
  margin: 10px auto;
  display: flex;
  /*flex-direction: column;remettre si position verticale des icônes et textes*/
  align-items: center;
  text-align: center;
  color: rgb(0, 0, 151);
  font-weight: bold; /* Make the text bold */
  font-size: 1.05em; /* Increase the font size */
  justify-content: space-between;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  padding-left: 15px;
}

.payment-option2:hover {
  transform: translateY(-2px); /* Slight lift on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2); /* Stronger and sharper shadow */
  transition: transform 0.2s, box-shadow 0.2s; /* Smooth transition for hover effect */
  
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-container i,
.icon-container span {
  margin: 0 5px; /* Adjust the margin as needed */
}

.payment-option i {
  margin-bottom: 8px;
}

.payment-option2 p {
  margin: 30px;
}

.text-ou2 {
  color: rgb(0, 0, 151);
}

/* Styles pour les boutons d'ajout et de suppression de boissons */
.btn-drink {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.btn-drink:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

.btn-drink:active {
  background-color: #003f7f;
  transform: scale(1.05);
}

.btn-drink .fa {
  margin: 0;
}

/* Styles pour les boutons d'ajout et de suppression de boissons */
.btn-drink {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-drink:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

.btn-drink:active {
  background-color: #003f7f;
  transform: scale(1.05);
}

.btn-drink .fa {
  margin: 0;
}

.drink-img {
  max-width: 50px;
  max-height: 50px;
}

.drink-text {
  flex-grow: 1;
  padding-left: 10px;
}

.drink-controls {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100px;
}

@media (max-width: 768px) {
  .drink-item .row {
      flex-wrap: nowrap;
  }
}

.red-payment {
  background-color: #bb0016;
  color: white;
  font-weight: bold;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  border: 1px solid #000;
}

.red-payment i {
  color: white;
}

.red-payment p {
  margin: 0;
  color: white;
  font-weight: bold;
}

.red-payment:hover {
  background-color: #8b0010; /* Darker red color on hover */
}

.offer_drinks {
  font-size: 2em; /* Taille de la police augmentée */
  color: #FFFFFF; /* Texte en blanc */
  background-color: #000000; /* Fond noir */
  text-shadow: 2px 2px 4px #000000; /* Ombre portée pour améliorer la lisibilité */
  font-weight: bold; /* Police en gras */
  padding: 10px; /* Ajoute un peu de padding autour du texte */
  border-radius: 5px; /* Ajoute des coins arrondis pour un meilleur style */
}

.h2_small {
  font-size: 0.5em; /* Taille de la police plus petite */
  display: block; /* Pour s'assurer qu'il s'affiche en dessous du titre */
  margin-top: 5px; /* Ajoute un petit espace au-dessus du texte plus petit */
}

.payment-option-smaller .payment-option {
  width: 80%; /* Ajustez cette valeur pour la largeur souhaitée */
  margin: 0 auto 10px auto; /* Centrer les options et ajouter un espace en bas */
}

.payment-option-smaller .payment-option:last-child {
  margin-bottom: 10px; /* Supprime la marge inférieure du dernier élément */
}

.payment-option-smaller {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
}

.payment-option-smaller.show {
  max-height: 500px; /* Ajustez cette valeur en fonction du contenu */
  opacity: 1;
}

.very-light-blue {
  background-color: #e2f0ff;
}

/* ===== Lisibilité bloc "Conditions du jeu" ===== */
.conditions-list > li {
  margin-bottom: 12px;
  line-height: 1.4;
}
.conditions-list i {
  color: #000;
}
.conditions-list .sub {
  margin-top: 6px;
  margin-bottom: 0;
  padding-left: 1.2rem;
}
.conditions-list .sub > li {
  margin-bottom: 6px;
}

/* Mise en avant du lot 500 € */
.prize-badge {
  display: inline-block;
  background-color: #ffc107;
  color: #000;
  font-weight: 700;
  border-radius: 9999px;
  padding: 4px 10px;
  border: 2px solid #000;
}
.prize-banner {
  background: linear-gradient(90deg, #fff3cd, #ffe8a1);
  border: 2px solid #000;
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
  font-weight: bold;
  margin: 12px auto 18px auto;
}

/* Mise en avant du lot quotidien 15 € */
.daily-badge {
  display: inline-block;
  background-color: #28a745; /* vert */
  color: #000;
  font-weight: 700;
  border-radius: 9999px;
  padding: 4px 10px;
  border: 2px solid #000;
}
.daily-banner {
  background: linear-gradient(90deg, #d4edda, #c3e6cb); /* vert pâle */
  border: 2px solid #000;
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
  font-weight: bold;
  margin: 12px auto 18px auto;
}
