/* Styles pour la page Bilan Hippodrome */
body.bg-light {
  background-color: #F8F9FA !important;
}

/* Conteneur principal */
.container.py-5 {
  max-width: 480px;
}

h3.text-center {
  font-weight: 600;
  color: #004145;
}

/* Bouton orange */
.btn-orange {
  background-color: #EA5400;
  border: none;
  color: #FFF;
}
.btn-orange:hover {
  background-color: #c14400;
}

/* Spinner centré sous le bouton */
#spinner .spinner-border {
  width: 2rem;
  height: 2rem;
}

/* Zone résultat téléchargement */
#result {
  border: 1px solid #DEE2E6;
  background-color: #FFF;
}

#result i.bi-check-circle-fill {
  color: #28A745;
}

#result i.bi-file-earmark-pdf-fill {
  color: #EA5400;
}

/* Alignement du champ de filtre */
#hippo-search {
  border-top-right-radius: .375rem;
  border-bottom-right-radius: .375rem;
}

#hippo-filter,
.hippodrome-search .form-control {
  border: 1.5px solid #e2e2e2 !important;   /* gris clair */
  box-shadow: none !important;
}
#hippo-filter:focus,
.hippodrome-search .form-control:focus {
  border-color: #c4c4c4 !important;         /* gris un peu plus foncé au focus */
  outline: none !important;
  box-shadow: none !important;
}


/* Responsive small */
@media (max-width: 576px) {
  .container.py-5 {
    padding: 1rem;
  }
}

/**/
/* Fond général */
body.bg-light {
  background-color: #F8F9FA !important;
}

/* Container compact */
.container.py-5 {
  max-width: 480px;
}

/* Footer Pop-up style (bottom sheet) */
/* Modal bottom sheet, bien arrondi */
.modal-bottom-sheet .modal-content.hippodrome-modal-content {
  border-radius: 2rem 2rem 0 0 !important;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.15);
  position: absolute;
  bottom: 0;
}

.modal-bottom-sheet .modal-dialog {
  position: fixed;
  bottom: 0;
  margin: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
}

@media (max-width: 576px) {
  .modal-bottom-sheet .modal-dialog {
    max-width: 100%;
  }
}

/* Champ de recherche look moderne */
.hippodrome-search .form-control {
  background: #fff;
  border-radius: 1.3rem;
  font-size: 1.15rem;
  color: #888;
  padding-left: 0.75rem;
}

.hippodrome-search .input-group-text {
  border-radius: 1.3rem 0 0 1.3rem;
  border: none;
  background: #fff;
  color: #888;
}

/* Liste scrollable hauteur fixe */
.hippodrome-list {
  max-height: 250px;
  min-height: 250px;
  overflow-y: auto;
  border: none;
  background: #fff;
}

/* Lignes sobres, séparateur fin, police grise */
.hippodrome-list .list-group-item {
  border: none;
  border-bottom: 1px solid #ddd;
  background: #fff;
  color: #444;
  font-size: 1.1rem;
  padding: 0.9rem 0.6rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}
.hippodrome-list .list-group-item:last-child {
  border-bottom: none;
}
.hippodrome-list .list-group-item span {
  font-weight: normal;
  color: #888;
}

.hippodrome-list .list-group-item:active,
.hippodrome-list .list-group-item.active {
  background-color: #EA5400;
  color: #FFF;
}

.btn-close {
  margin-left: auto;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
}
