// project sidebar
.project-sidebar {
  //height: calc(100vh - $navbar-brand-height - $navbar-brand-padding-y);
  border-radius: 10px;
  margin-top: 5px;
  padding: 5px;
  .nav {
    .nav-item {
      .nav-link {
        span {
          display: none;
          @include media-breakpoint-up(md) {
            display: inline;
            text-align: center;
            // className="d-none dmd-inline"
          }
        }
        @include media-breakpoint-down(md) {
          padding: 0.5em 0;
          text-align: center;
        }
      }
    }
  }
}

.secondary-panel {
  padding: 10px;
  border-left: 2px solid #000;
}

.form-frame {
  padding: 0px;
}

form label,
.form-label {
  margin-top: 5px;
  padding: 5px;
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #607d8b;
}

form input[type='number'],
form select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

form button {
  margin-top: 30px;
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  background-color: #007bff;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

form button:hover {
  background-color: #0056b3;
}

.scrollable-cell {
  min-height: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.scrollable-cell:focus,
.scrollable-cell:active {
  white-space: normal;
  max-height: 150px; /* Définit une hauteur max en mode scroll */
  overflow: auto;
}


#upload-progress,
#upload-progress[value]::-webkit-progress-bar{
    -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
          border: none;
    border-radius: 0;
    background-color: lightgray;
    height: 6px;
    color: $secondary;
    margin: 0
}
#upload-progress[value]::-moz-progress-bar{
    background-color:  $secondary;    
}

#upload-progress[value]::-webkit-progress-value {
    background-color:  $secondary;    
}

#context-container{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

#button-context-wrapper{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  width: 60%;
  flex: 1 0 60%
}

#context-button{
  background-color: rgba(0,0,0,0);
  border: 0px solid red;
  text-decoration: underline;
  opacity: 1;
  padding: 3px 10px 3px 10px;
  margin: 2px 4px 2px 4px
}