#input-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-row {
    display: flex;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    padding-left: 10px;
}

.input-cell {
    width: 25px;
    height: 36px;
    text-align: center;
    border-radius: 0;
    border: 1px solid #bbb;
    margin-right: -1px;
    transition: border-color 0.2s;
    font-size: 1.2em;
}

.correction-cell {
  margin-left: -24px;
    margin-right: -1px;
  margin-top: 33px;
  width: 25px;
  text-align: center;
  background-color: var(--bs-green);
  color: white;
  font-size: 14px;
  line-height: 0;
  padding: 8px 0 8px 0;
    z-index: 5;
}

.correction-cell:first-child {
  border-left: 1px solid #bbb;
}

.row-nb {
    height: 36px;
  line-height: 36px;
  width: 22px;
  text-align: right;
  padding-right: 4px;
  font-size: 12px;
  color: var(--bs-gray);
  margin-left: -22px;
}

@media (max-width: 576px) {
    .input-cell {
        width: 28px;
        height: 32px;
        font-size: 1em;
    }
    .correction-cell {
      margin-left: -27px;
        margin-top: 30px;
      width: 28px;
        padding: 6px 0 8px 0;
    }
    
    .row-nb {
        height: 32px;
      line-height: 32px;
      padding-right: 2px;
        margin-left: -22px;
    }
    
    .input-row {
        padding-left: 5px;
    }
}

.vk-btn {
  width: 40px !important;
  max-width: 100% !important;
  max-height: 100% !important;
  height: 40px !important;
  text-align: center;
  padding: 0;
  margin: 3px;
}

.correction-cell.ko {
    background-color: var(--bs-danger);
}

.display-nb {
    width: 90px;
    padding-bottom: 20px;
    display: inline-block;
    position: relative;
    /*border-bottom: 4px solid var(--bs-dark);*/
}

.underline-flash {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--bs-primary); /* Couleur de la ligne */
  opacity: 1;
  animation: fadeUnderline 0.6s ease-out;
  z-index: 2;
}

@keyframes fadeUnderline {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.checkbox-in-options {
    margin-left: -2em!important;
}

.input-marker {
    position: relative;
}
.input-marker .marker-triangle {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 0;
    height: 0;
    border-top: 6px solid var(--bs-gray-500);
    border-left: 6px solid transparent;
    z-index: 2;
}
@media (max-width: 600px) {
    .input-marker .marker-triangle {
        border-top: 5px solid var(--bs-gray-500);
        border-left: 5px solid transparent;
    }
}

/*********************/

.result-summary {
  max-width: 400px;
  min-width: 260px;
}

/* Responsive columns on small screens */
@media (max-width: 400px) {
  .result-summary .row > div {
    font-size: 15px;
    padding-left: 3px;
    padding-right: 3px;
  }
  .result-summary {
    max-width: 98vw;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

