html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  padding-bottom: 4rem; /* espace pour laisser respirer le footer */
}
footer {
  margin-top: auto;
  background-color: #160160 !important;
  color: white;
  padding: 0.5rem 0;
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
  text-align: center;
}


a:link, a:visited, a:hover, input, textarea {
  text-decoration: none!important;
  outline: none!important; 
}
.nav-item {
    border-bottom: 4px solid transparent;
}

.nav-link {
	border-bottom: 4px solid transparent; 
}

.nav-link.active {
	border-bottom: 4px solid white; 
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.5);
}
.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 1);
}



#accueil {
  padding-top: 60px;     /* hauteur de la navbar bug sur le scroll, synchro */

}
/*
#tarif, #contact{
  padding-top: 120px;     /* hauteur de la navbar 

}*/

.lblClient {
  min-width: 140px;  /* largeur fixe pour tous les labels */
  text-align: right; /* aligne le texte à droite */
  margin-right: 10px; /* espace entre label et valeur */
}

.flag-icon {
	width: 36px;
	height: auto;
}
	
.clickable {
	cursor: pointer;
}

.Expired::before, .NotExpired::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}

.Expired::before {
    background-color: red; /* Boule rouge */
	border: solid 1px brown;
}

.NotExpired::before {
    background-color: lime; /* Boule verte */
	border: solid 1px green;
}

.locked::before, .inactif::before, .actif::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}

.locked::before {
    background-color: red; /* Boule rouge */
	border: solid 1px brown;
}

.inactif::before {
    background-color: yellow; /* Boule verte */
	border: solid 1px gold;
}

.actif::before {
    background-color: lime; /* Boule verte */
	border: solid 1px green;
}

/*   BOOSTRAP  */
/*   --------  */

.alert {
   width:300px;    
}

.navbar {
	background-color: #160160;
}

.nav-item {
	color: white!important;
}
.nav-item.active {
	border-bottom: 4px solid white;
}

.nav-link{
	color: white!important;
}

.confirmation {
  display: block;
  margin-top: 10px;
  margin-bottom: 3px;
  background-color: #dff0d8;
  border-radius: 2px;
  border: 1px solid #d6e9c6;
  box-shadow: 2px 2px 2px #aaaaaa;  
  color: #3c763d;
  padding: 8px;
}

.erreur {
  display: block;
  margin-top: 10px;
  margin-bottom: 3px;
  background-color: #f2dede;
  border-radius: 2px;
  border: 1px solid #ebccd1;
  box-shadow: 2px 2px 2px #aaaaaa;  
  color: #a94442;
  padding: 8px;
}

.information {
  display: block;
  margin-top: 10px;
  margin-bottom: 3px;
  background-color: #d9edf7;
  border-radius: 2px;
  border: 1px solid #bce8f1;
  box-shadow: 2px 2px 2px #aaaaaa;  
  color: #31708f;
  padding: 8px;
}

.bouton {
  display: block;
  width: 180px;
  margin-top: 10px;
  margin-bottom: 3px;
  background-color: #2700af;
  border-radius: 5px;
  border: 1px solid #2700af;
  box-shadow: 2px 2px 2px #aaaaaa;  
  color: white;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  opacity: 1;
  transition: 0.3s;
}
.bouton:hover:not(:disabled) {
  background-color: #3300ef;
}

.bouton:disabled {
    background-color: #162756; /* gris clair */
    color: #666;
    cursor: not-allowed;
    opacity: 1; /* Bootstrap réduit souvent l'opacité, tu peux la garder à 1 si tu veux */
}

.scroll_up {
  width: 30px;
  background-color: #2700af;
  border-radius: 2px;
  border: 1px solid #2700af;
  box-shadow: 2px 2px 2px #aaaaaa;  
  color: white;
  padding: 8px;
  text-align: center;
  opacity: 1;
  transition: 0.3s;
}
.scroll_up:hover {
  background-color: #3300ef;
}

.table-hover>tbody>tr:hover>* {
    --bs-table-bg-state: rgb(219 61 11 / 25%)!important;
}
.orange {
  background-color: #FF520E;
}

.bleu {
  background-color: #2700af !important;
}

.interligne td {
  background-color: #ffffff !important;
  height: 25px;
}

.bleu-fonce {
  background-color: #160160 !important;
}

.rouge {
  background-color: #ab0000;
}

.rouge-pale {
  background-color: #ff040469;
}

.texte-orange {
	color: #FF520E;
}
.texte-rouge {
	color: red;
}
.texte-bleu {
	color: blue;
}
.texte-vert {
	color: green;
}

.texte-blanc {
	color: white!important;
}

.ligne-dessous {
	border-bottom: 1px solid grey;
}

.ligne-droite {
	border-right: 1px solid #dee2e6;
}

.carousel {
	position: relative;
	width: 100%;
	max-width: 600px;
	aspect-ratio: 3 / 2; /* garde une belle hauteur sans fixer 400px */
	margin: 20px auto 30px auto;
	overflow: visible;
	/*border-radius: 12px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.2);*/
}
.carousel-inner {
  height: 100%; /* important ! pour transmettre la hauteur calculée par aspect-ratio */
}

.carousel-item {
  position: relative;
  height: 100%; /* donne une vraie hauteur au slide */
}

.carousel-item img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/*
.carousel-images {
	display: flex;
	transition: transform 0.5s ease-in-out;
	height: 100%;
}

.carousel-images img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	flex-shrink: 0;
}*/
@media (min-width: 768px) {
  .carousel-control-prev {
    left: -60px;
  }

  .carousel-control-next {
    right: -60px;
  }
}

.ticket-resolu td,
.ticket-resolu td a,
.ticket-resolu td span.badge {
    text-decoration: line-through !important;
    color: #6c757d !important;
    font-style: italic;
}

.ticket-resolu .badge-priority {
    background-color: #adb5bd !important; /* gris Bootstrap */
    color: #ffffff !important;
}
