.category {
  margin-bottom: 15px;
  transition: 0.3s ease all;
}

.children {
  display: none;
  margin-left: 20px;
  padding: 10px 0px;
}

.toggle-arrow {
  transition: transform 0.3s ease;
  font-size: 20px;
}

.category.open .toggle-arrow {
  transform: rotate(90deg);
}
.category.open .children {
  display: block;
}



.selected-parent {
  border: 1px solid rgba(185, 185, 185, 0.507);
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  background: #f8f9fa;
}

.selected-child {
  display: inline-block;
  background: #e9ecef;
  padding: 5px 10px;
  margin: 5px;
  margin-left: 10px;
  border-radius: 4px;
  font-size: 0.9rem;
}


.page-container {
  border: 1px solid rgba(185, 185, 185, 0.507);
  padding: 10px;
  background-color: rgba(228, 228, 228, 0.055);
  .header-row {
    .header-container {
      font-size: 20px;
      line-height: 38px;
      font-weight: 500;
      padding-left: 30px;
      display: flex;
      justify-content: start;
      align-items: center;
      text-transform: uppercase;
    }
  }
  .section-data {
    padding: 10px 30px;
    border-top: 1px solid rgba(185, 185, 185, 0.507);
    border-left: 1px solid rgba(185, 185, 185, 0.507);
    h4 {
      font-size: 20px;
      font-weight: normal;
    }
    .category {
      border-bottom: 1px solid rgba(185, 185, 185, 0.507);
      padding-bottom: 10px;
      .main-category-label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        .category-item {
          display: flex;
          justify-content: center;
          align-items: center;
          span {
            display: flex;
            justify-content: center;
            align-items: center;
            padding-left: 10px;
            font-weight: 500;
          }
          input[type="checkbox"] {
            width: 20px;
            height: 20px;
            accent-color: #a7a7a77a; /* moderna opcija za boju */
            cursor: pointer;
            padding-top: 10px;
            cursor: pointer;
            position: relative;
          }
          input[type="checkbox"]:checked::after {
            content: "";
            position: absolute;
            top: 2px;   /* pomakni dolje */
            left: 2px;  /* pomakni desno */
            font-size: 10px; /* manja kvačica */
          }
          i {
            font-size: 25px;
          }
        }
      }
      .children {
        .subcategory-label {
          display: flex;
          justify-content: space-between;
          align-items: center;
          .subcategory-item {
            display: flex;
            justify-content: center;
            align-items: center;
            span {
              display: flex;
              justify-content: center;
              align-items: center;
              padding-left: 10px;
              font-weight: normal;
            }
            input[type="checkbox"] {
              width: 20px;
              height: 20px;
              accent-color: #a7a7a77a; /* moderna opcija za boju */
              cursor: pointer;
              padding-top: 10px;
              cursor: pointer;
              position: relative;
            }
            input[type="checkbox"]:checked::after {
              content: "";
              position: absolute;
              top: 2px;   /* pomakni dolje */
              left: 2px;  /* pomakni desno */
              font-size: 10px; /* manja kvačica */
              color: black;
            }
            i {
              font-size: 25px;
            }
          }
        }
      }
    }
  }
  .instructions-data {
    .top-container, .bottom-container, .middle-container {
      padding: 10px;
      padding: 10px 30px;
      h4 {
        font-size: 20px;
        font-weight: normal;
      }
      p {
        color: rgba(95, 95, 95, 0.815);
      }
    }
    .top-container {
      border-top: 1px solid rgba(185, 185, 185, 0.507);
      border-bottom: 1px solid rgba(185, 185, 185, 0.507);
    }
    .middle-container {
      border-bottom: 1px solid rgba(185, 185, 185, 0.507);
    }
  }
  .section-data {
    .selected-items {
      font-size: 16px;
      padding: 20px 0px 20px 0px;
      border-top: 1px solid rgba(185, 185, 185, 0.507);
      border-bottom: 1px solid rgba(185, 185, 185, 0.507);
    }
    .btn-selected, .btn-delete {
      padding: 8px 16px;
      font-size: 16px;
      transition: 0.4s ease all;
      color: white;
    }
    .btn-selected {
      background-color: rgba(49, 148, 49, 0.685);
    }
    .btn-delete {
      background-color: rgba(172, 40, 40, 0.753);
    }
    .btn-selected:hover, .btn-delete:hover {
      padding: 8px 16px;
      font-size: 16px;
      background-color: rgba(0, 0, 0, 0.685);
    }
  }
}