/* Container for centering */
.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #1e1e2f;
  }
  
  /* Toggle switch base */
  .toggle-switch {
    position: relative;
    width: 80px;
    height: 40px;
    display: inline-block;
  }
  
  /* Hide default checkbox */
  .toggle-switch input {
    display: none;
  }
  
  /* Slider styling */
  .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #444;
    border-radius: 50px;
    transition: background 0.4s;
    box-shadow: inset 0 0 5px #000;
  }
  
  /* Circle knob */
  .slider::before {
    content: "";
    position: absolute;
    height: 32px;
    width: 32px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.4s, background-color 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  
  /* Checked state */
  .toggle-switch input:checked + .slider {
    background: #00c6ff;
    box-shadow: 0 0 10px #00c6ff;
  }
  
  .toggle-switch input:checked + .slider::before {
    transform: translateX(40px);
    background-color: #fff;
  }
  