/* due to kind_ *
// SCSS rule to apply red background to both <dl> and adjacent <dt>*/
:not(.kind_scolaire) .Contrat,
:not(.kind_scolaire) .Contrat + dt {
  background-color: red;
}

body {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

.table_container {
  margin: 20px 0;
  overflow-x: auto;
}

.interventionTable {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.interventionTable th {
  background-color: #f8f9fa;
  padding: 12px;
  text-align: left;
  border: 1px solid #dee2e6;
  font-weight: bold;
}
.interventionTable td {
  padding: 8px;
  border: 1px solid #dee2e6;
  vertical-align: top;
}
.interventionTable .nouveau th {
  background-color: #e3f2fd;
}
.interventionTable .attentedispo th {
  background-color: #fff3e0;
}
.interventionTable .valide th {
  background-color: #e8f5e9;
}

.prof, .salle, .inter, .heure_debut,
.heure_fin, .date, .seance, .classe {
  vertical-align: middle;
  padding: 8px;
}

.classe {
  width: 10%;
}

.seance {
  width: 8%;
}

.date {
  width: 10%;
}

.heure_debut,
.heure_fin {
  width: 8%;
}

.inter {
  width: 12%;
}

.salle {
  width: 8%;
}

.prof {
  width: 12%;
}

.editable-span {
  cursor: pointer;
  padding: 2px 4px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.editable-span:hover {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  border-radius: 3px;
}
.editable-span .placeholder {
  color: #999;
  font-style: italic;
}

input[type=text], input[type=date], input[type=time] {
  width: 100%;
  padding: 4px 8px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 14px;
}
input[type=text]:focus, input[type=date]:focus, input[type=time]:focus {
  outline: none;
  border-color: #c1c9d0;
  box-shadow: 0 0 0 2px rgba(222, 226, 230, 0.2);
}

@media screen and (max-width: 768px) {
  .table_container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .interventionTable {
    min-width: 800px;
  }
}
@media print {
  body {
    font-size: 12px;
  }

  .session-head {
    background-color: white !important;
  }

  .interventionTable th {
    background-color: white !important;
  }

  .no-print {
    display: none !important;
  }
}