.layer-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  background: #fff;
  border-radius: 7px;
  padding: 15px 10px;
  margin-bottom: 7px;
}

.layer-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.layer-header .layer-title {
  width: 280px;
}

.layer-action-trigger {
  cursor: pointer;
  margin-left: auto;
  padding: 0 6px;
  font-weight: bold;
}

.layer-context-menu {
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  padding: 6px;
  z-index: 10;
  min-width: 120px;
  display: none;
}

.context-menu-item {
  padding: 4px 8px;
  cursor: pointer;
}

.context-menu-item:hover {
  background: #f0f0f0;
}

.layer-children-container {
  margin-top: 5px;
  padding-left: 20px;
  display: none;
}

.layer-child-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
}


.opacity-control {
    margin-left: 20px;
    border: none !important;
    padding: 0 !important;
  }

  .opacity-control > div:first-child{
    width: 20%;
    color: #8E7A7A;
    font-size: 14px;
  }

  .opacity-control > div:last-child{
    width: 70%;
  }
  
  input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
  }
  
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
  }
  
  input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
  }