/* spinner-ajax-loading */
#spinner-ajax-loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1060; /* Higher than Bootstrap modals */
	--bs-modal-zindex: 1060;
}
#dossiers_liste_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    margin-left: -100px;
    margin-top: -26px;
    text-align: center;
    padding: 2px;
	background: none;
	border: none;
}

#dossiers_liste_processing>div:last-child {
    position: relative;
    width: 80px;
    height: 15px;
    margin: 1em auto
}

#dossiers_liste_processing>div:last-child>div {
    position: absolute;
    top: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.9);
    animation-timing-function: cubic-bezier(0, 1, 1, 0)
}

#dossiers_liste_processing>div:last-child>div:nth-child(1) {
    left: 8px;
    animation: datatables-loader-1 .6s infinite
}

#dossiers_liste_processing>div:last-child>div:nth-child(2) {
    left: 8px;
    animation: datatables-loader-2 .6s infinite
}

#dossiers_liste_processing>div:last-child>div:nth-child(3) {
    left: 32px;
    animation: datatables-loader-2 .6s infinite
}

#dossiers_liste_processing>div:last-child>div:nth-child(4) {
    left: 56px;
    animation: datatables-loader-3 .6s infinite
}

@keyframes datatables-loader-1 {
    0% {
        transform: scale(0)
    }

    100% {
        transform: scale(1)
    }
}

@keyframes datatables-loader-3 {
    0% {
        transform: scale(1)
    }

    100% {
        transform: scale(0)
    }
}

@keyframes datatables-loader-2 {
    0% {
        transform: translate(0, 0)
    }

    100% {
        transform: translate(24px, 0)
    }
}

#dossiers_liste tr td{
	padding: .5rem!important;
}


.timeline{
	/*
	max-width: 500px;
    margin: 0 auto;
	*/
}

rect.basic.label-container {
    fill: transparent !important;
    stroke: transparent !important;
}
.domi-table{
	min-width: 1000px;
}
.domi-table th, .domi-table td {
    padding: 9px 3px;
}
.stepper-step {
    min-width: 90px;
}

.skeleton {
    background-color: #f0f0f0;
    border-radius: 4px;
    min-height: 50px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -150px;
    height: 100%;
    width: 150px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.2s infinite;
}

@keyframes loading {
    0% {
        left: -150px;
    }
    100% {
        left: 100%;
    }
}

.mytimeline {
      border-left: 2px solid #dee2e6;
      margin-left: 20px;
      padding-left: 15px;
    }
    .mytimeline-item {
      position: relative;
      margin-bottom: 1rem;
    }
    .mytimeline-item::before {
      content: "";
      position: absolute;
      left: -22px;
      top: 5px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #0d6efd;
    }

.img-avatar24{
	width:24px;
	height:24px;
}

/* Quand le container select2 est invalide */
.select2-container.is-invalid .select2-selection {
  border: 1px solid #dc3545 !important;  /* rouge bootstrap */
  border-radius: .375rem;                 /* arrondi comme bootstrap */
  padding-right: calc(1.5em + .75rem);    /* pour cohérence */
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
  /* Optionnel : petit icône "!" de bootstrap */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3c/svg%3e");
}

/* Pour enlever l’effet si valid */
.select2-container .select2-selection {
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}