
#editbtn {
  position: absolute;
  top: -25px;
  right: 25px;
  width: auto;
  height: auto;
  padding: 0 20px;
  display: flex;
  font-size: 18px;
  font-weight: bold;
  background-color: transparent;
  border: transparent;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
}
@media (min-width: 900px) {
  #editbtn {
  top: -35px;
  }
}

#resetdashboard {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  cursor: pointer;
  pointer-events: auto;
  z-index: 2147483647;
  transition: transform 0.12s ease;
}
#resetdashboard:active {
  transform: scale(0.88);
}
#resetdashboard .material-symbols-outlined {
  font-size: 28px;
}
#editcontent {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: calc(env(safe-area-inset-top) + 110px);
  padding-left: 22px;
  padding-right: 22px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; 
}

#editList {
  display: flex;
  flex-direction: column;
  gap: 15px; 
  width: 98%;
}
.edit-item {
  width: 100%;
  height: 70px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding: 0 30px;
  font-size: 18px;
  font-weight: bold;
  box-sizing: border-box;
}
.edit-item-left {
  display: flex;
  align-items: center;
  gap: 15px;
}


.toggle-switch {
  position: relative;
  width: 51px;
  height: 31px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  transition: 0.3s;
  border-radius: 34px;
}
.toggle-slider:before {
  content: "";
  position: absolute;
  height: 27px;
  width: 27px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
.toggle-switch input:checked + .toggle-slider {
  background-color: #34C759;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}
.save-button {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  right: 80px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  display: flex;
   cursor: pointer;
  pointer-events: auto;
  z-index: 2147483647;
  font-size: 18px;
  align-items: center;
}

#editScreen{
  z-index: 1000000;
}
.editdrag-handle {
  cursor: grab;
  padding: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.editdrag-handle:active {
  cursor: grabbing;
}
.editdrag-handle .material-symbols-outlined {
  font-size: 24px;
}