.layout-cards-video-analysis {
    position: relative !important;
    left: 6rem !important;   
    right: 1rem !important;
    width: calc(100vw - 9rem - 15px) !important;      /* Fixe la carte à 100px du bord gauche de l'écran */
}

.listgroup-video .list-group-item {
    cursor: pointer !important;
    transition: background-color 0.2s, color 0.2s !important; /* Smooth transition for background and text color */
}

.listgroup-video .list-group-item:hover {
    background-color: #f8f9fa !important; /* Light grey background on hover */
    color: #ff5c4c !important; /* Change text color on hover */
}

.accordion-header {
    margin:0 !important;
}

.title-subsection-video{
    display: flex;
    flex-direction: column;
    color: var(--ffbad-red, #D52B1E);
    text-align: left !important;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Cible tous les input de type radio qui sont cochés */
.form-check-input:checked {
    background-color: var(--ffbad-red, #D52B1E);  /* Couleur de fond bleue pour les boutons radio cochés */
}

/* Style additionnel pour garantir la visibilité de la coche */
.form-check-input:checked::before {
    content: '' !important;
    background-color: transparent !important;  /* Couleur de la coche à l'intérieur */
}

.form-switch {
    .form-check-input {
        width: 2em !important;
    }
}
.form-check-label{
    color: var(--ffbad-blue, #101F69);
}

.form-check-label.form-label {
    margin-left: 1.5em !important;  /* Ajoute une marge à gauche de 1.5em */
}

.label-filters-video {
    margin-top: 10px;
    color: var(--ffbad-blue, #101F69);
    font-weight: bold;
    font-size: 16xp;
}


/* Parent white rectangle */
.kpi-box {
  display: flex;                 /* lays out main + red side */
  align-items: stretch;          /* same height for children */
  background: #fff;
  border: 1px solid var(--ffbad-blue, #101F69);     /* subtle border; optional */
  border-radius: 8px;            /* optional */
  width: 100%;
  min-height: 64px;              /* adjust to taste */
  overflow: hidden;              /* keeps children corners rounded */
  box-shadow: 0 1px 2px rgba(0,0,0,0.04); /* optional */

  --kpi-side-color: #e11d48;  /* red fallback */
}

/* Left content area (label + value) */
.kpi-main {
  flex: 1 1 auto;                /* takes remaining width */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;/* label left, value right */
  padding: 1em;            /* internal horizontal padding */
  /* Ensure space between value and red box */
  padding-right: clamp(16px, 2vw, 24px); 
}

/* Label text (left, vertically centered by parent) */
.kpi-label {
  font-weight: 500;
  white-space: nowrap;
}

/* Value text (right, vertically centered by parent) */
.kpi-value {
  font-weight: 600;
  font-size: x-large;
  white-space: nowrap;
}

/* Right red box (10% width of parent, full height) */
.kpi-side {
  flex: 0 0 10%;                 /* exactly 10% width */
  max-width: 160px;              /* optional cap for ultra-wide screens */
  min-width: 56px;               /* optional floor so icon has space */
  background: var(--kpi-side-color);           /* red */
  color: #fff;
  display: flex;
  align-items: center;           /* center icon vertically */
  justify-content: center;       /* center icon horizontally */
}

/* Icon sizing */
.kpi-side .fa-solid {
  font-size: 1.25rem;            /* adjust as needed */
  line-height: 1;
}


@media (max-width: 420px) {
  .kpi-box {
    border-radius: 6px;
    min-height: 56px;
  }
  .kpi-main { padding: 10px 12px; }
  .kpi-side { min-width: 48px; }
  .kpi-side .fa-solid { font-size: 1.1rem; }
}

.modal-90w-95h .modal-dialog {
  max-width: 90vw;
}
.modal-90w-95h .modal-content {
  height: 95vh;
  display: flex;
  flex-direction: column;
}
.modal-90w-95h .modal-body {
  overflow: auto;
}
