
.liquid-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 32px;
  cursor: pointer;
}

.liquid-toggle-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: rgba(120, 120, 120, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.2, 0.85, 0.32, 1.2);
  overflow: hidden;
}

.liquid-toggle-handle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.2, 0.85, 0.32, 1.2);
  z-index: 2;
}

.liquid-toggle input:checked + .liquid-toggle-container {
  background: rgba(10, 132, 255, 0.3);
}

.liquid-toggle input:checked + .liquid-toggle-container .liquid-toggle-handle {
  transform: translateX(20px);
  background: #0A84FF;
}

.liquid-drop {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.6) 0%, rgba(10, 132, 255, 0) 70%);
  top: -15px;
  left: -15px;
  transform: scale(0);
  opacity: 0;
  z-index: 1;
  filter: blur(1px);
}

.liquid-toggle input:checked + .liquid-toggle-container .liquid-drop {
  animation: liquidExpand 0.6s cubic-bezier(0.2, 0.85, 0.32, 1.2) forwards;
}

@keyframes liquidExpand {
  0% {
    transform: scale(0);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.glass-toggle-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}