/* Container styles */
.nestable-container {
  background-color: #f5f5f5;
  border: 1px solid #dcdcdc;
  padding: 20px;
}

/* Item styles */
.nestable-item {
  background-color: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  cursor: grab;
  list-style: none;
  border-inline-start: 4px solid var(--bs-link-color);
  font-weight: 600;
}
.nestable-icon {
  font-size: 1.2rem;
  color: gray;
  margin-left: auto;
}

.nestable-list{
  margin-top: 12px;
}
.nestable-item:hover {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.nestable-item.is-dragging {
  opacity: 0.8;
}

/* Nestable handle styles */
.nestable-handle {
  display: inline-block;
  padding-right: 10px;
  cursor: grab;
}

.nestable-handle:hover {
  cursor: grabbing;
}

/* Nestable placeholder styles */
.nestable-placeholder {
  background-color: #dcdcdc;
  height: 0;
  margin-bottom: 10px;
  transition: height 0.2s ease-in-out;
}

.nestable-placeholder.is-dragging-over {
  height: 20px;
}

.nestable-group{
  padding-left: 0;
}

.main_nested {
  ul.list-group {
    margin-left: 80px;
  }
  label {
    font-weight: 600;
  }
  .drg-dp-ulsecond {
    margin-left: 6.25rem;
  }

  .fs-sm {
    font-size: 0.875rem;
    cursor: pointer;
    color: var(--bs-link-color);
  }
  .m-icon--drag {
    width: 1rem;
    height: 1rem;
    background-image: url("../icons/drag.svg");
    cursor: move;
  }
  .m-icon--edit {
    width: 1.3rem;
    height: 1.3rem;
  }
  .m-icon--delete{
    width: 1.3rem;
    height: 1.3rem;
  }
  list-style: none;
  .list-group-item {
    background-color: var(--bs-body-bg);
    margin: 0.6rem;
    border-radius: 0.375rem;
    font-weight: 600;
    border-inline-start: 4px solid var(--bs-link-color);
    &:last-child {
      border-bottom-right-radius: 0.375rem;
      border-bottom-left-radius: 0.375rem;
    }
    &:first-child {
      border-top-left-radius: 0.375rem;
      border-top-right-radius: 0.375rem;
    }
  }
  .list-group-item + .list-group-item {
    border-top-width: thin;
  }
}
