body {
  font-family: Arial, sans-serif;
}

header {
  background-color: #451DC7;
  color: white;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-title {
  font-size: 24px;
  margin-left: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-light {
  color: white;
  background-color: transparent;
  border: 1px solid white;
}

.btn-light:hover {
  background-color: rgba(255, 255, 255);
}

main {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px;
  transition: max-width 0.3s ease;
}

footer {
  background-color: #f0f0f0;
  padding: 10px 20px;
  position: fixed;
  bottom: 0;
  width: 100%;
}

h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
}

h2 i {
  margin-right: 10px;
  font-size: 24px;
}

.subsection-id {
  color: white;
  font-family: 'Consolas', 'Lucida Console', monospace;
  font-weight: bold;
  padding: 4px 8px;
  margin-right: 10px;
  display: inline-block;
}

.subsection-title {
  font-size: 20px;
  font-weight: bold;
}

.intro-paragraph {
  background-color: white;
  padding: 10px;
  margin-bottom: 15px;
  margin-left: 0;
  border-radius: 8px;
  border: 1px solid #ddd;
  text-align: justify;
}

.comment-box {
  width: 100%;
  resize: auto;
  height: 80px;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  margin-top: 18px;
}

.assertion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.sub-assertion {
  padding-left: 20px;
}

.sub-sub-assertion {
  padding-left: 40px;
}

.btn-group-toggle {
  display: inline-flex;
  margin-bottom: 0;
  margin-left: 20px;
}

.btn-group-toggle .btn {
  padding: 5px;
  background-color: white;
  width: 35px;
  border: 1px solid #ced4da;
  color: black;
}

.btn-group-toggle .btn.btn-first {
  border-left: 1px solid #ced4da;
  border-radius: 2px 0 0 2px;
}

.btn-group-toggle .btn:first-child {
  border-left: 1px solid #ced4da;
}

.btn-group-toggle .btn:last-child {
  border-right: 1px solid #ced4da;
}



.btn-group-toggle .btn.btn-true,
.caption-items .btn.btn-true {
  color: #198754;
}

.btn-group-toggle .btn.btn-true-limited-scope,
.caption-items .btn.btn-true-limited-scope {
  color: #ffc107;
}

.btn-group-toggle .btn.btn-false,
.caption-items .btn.btn-false {
  color: #dc3545;
}

.btn-group-toggle .btn.btn-not-applicable,
.caption-items .btn.btn-not-applicable {
  color: #6c757d;
}


.caption-items {
  padding: 0;
  margin: 0;
  display: inline-block;
  justify-content: space-between; /* Espacement entre les éléments */
  
}
.caption-items li {
  display: inline-block;
}
.caption-items li + li {
  margin-left: 30px; 
}


.caption-items .btn {
  pointer-events: none;
}


.btn-group-toggle .btn:disabled {
  color: #6c757d;
}


.btn-group-toggle .btn.btn-selected.btn-true:enabled {
  background-color: #198754;
  color: white;
}

.btn-group-toggle .btn.btn-selected.btn-true-limited-scope:enabled {
  background-color: #ffc107;
  color: white;
}

.btn-group-toggle .btn.btn-selected.btn-false:enabled {
  background-color: #dc3545;
  color: white;
}

.btn-group-toggle .btn.btn-selected.btn-not-applicable:enabled {
  background-color: #6c757d;
  color: white;
}




.btn-group-toggle .btn.btn-true.disabled {
  background-color: #ced4da;
  cursor: not-allowed;
}

.btn-group-toggle .btn.btn-false.disabled {
  background-color: #ced4da;
  cursor: not-allowed;
}

.btn-group-toggle .btn.btn-not-applicable.disabled {
  background-color: #ced4da;
  cursor: not-allowed;
}

.btn-group-toggle .btn i {
  font-size: 1rem;
}

.caption {
  background-color: #f8f9fa;
  padding: 10px;
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  border-radius: 8px;
}

.caption-item {
  display: flex;
  gap: 8px;
}



.disabled {
  color: #ced4da;
}


.btn:disabled {
  opacity: 0.3;
  /* pointer-events: none; */
  /* background-color: #f0f0f0; */
  /* border-color: #dcdcdc; */
  /* color: #aaa; */
}

.language-selector {
  display: flex;
  align-items: center;
  background-color: white;
  padding: 5px 10px;
  border-radius: 30px;
  border: 1px solid #ced4da;
  color: #451DC7;
  font-weight: bold;
  margin-left: 20px;
}

.language-selector i {
  margin-right: 8px;
  color: #451DC7;
}

.language-selector select {
  background-color: transparent;
  border: none;
  color: #451DC7;
  font-weight: bold;
  outline: none;
  cursor: pointer;
}

.globe-icon {
  font-size: 1.2em;
}

.language-selector select:focus {
  outline: none;
  box-shadow: none;
}

.btn-spacing {
  margin-right: 15px;
}

.switch-icon {
  cursor: pointer;
  font-size: 1.4em;
  margin-left: 20px;
}

.form-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.form-row .form-group {
  flex-basis: 48%;
}

.subsection-container {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.bold {
  font-weight: bold;
}

.btn-light i {
  margin-right: 8px;
}

.lucide  {
  width: 1.2em;
  height: 1.2em;
  vertical-align: text-top;
}

.compliance-dropdown {
  padding: 5px;
  background-color: white;
  border: 1px solid #ced4da;
  color: black;
  width: 70px; /* Occupe l'espace de deux boutons */
  margin-left: -1px; /* Pour combler l'espace entre les boutons */
  text-align: center;
}

.btn-group-toggle .compliance-dropdown:focus {
  outline: none;
  border-color: #ffc107;
}

.btn-group-toggle .compliance-dropdown option {
  text-align: center;
  font-size: small;
}

.btn-group-toggle .compliance-dropdown:disabled {
  color: #6c757d;
  opacity: 0.3;
}

.invisible {
  display: none;
}

.comment-and-compliance-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 40px;
}

.comment-section {
  width: 60%; /* Ajuste la largeur des commentaires */
}

.compliance-section {
  width: 35%; /* Ajuste la largeur de la section des niveaux de conformité */
  margin-left: 20px; /* Espace entre les commentaires et les niveaux */
  background-color: #f8f9fa;
  border: none;
}

.maturity-levels-table {
  border: 1px solid #dee2e6;
  background-color: white;
}
.maturity-levels-table th {
  background-color: white; /* Gris clair pour l'en-tête */
  font-weight: normal;
  text-align: center;
}
.maturity-levels-table td {
  border: 1px solid #dee2e6;
}
.maturity-levels-table tbody tr:nth-child(2) {
  font-weight: bold; /* Ligne en gras */
}

.maturity-levels-placeholder {
  font-style: italic;
  color:#6c757d;
}

.assertion-level {
  font-size: 0.7rem;
  color: #ced4da; /* Couleur discrète */
  margin-right: 5px;
  /* border-right: 1px solid #aaa; */
  border: 1px solid #ced4da;
  border-radius: 2px; 
  background-color: white;
  padding: 4px;
}