
.theme-toggle-container {
  padding-right: 24px;
  border-right: 1px solid #828E8E;
}
@media (max-width: 767px) {
  .theme-toggle-container {
    border: none;
  }
}

.theme-switch {
  display: inline-block;
  width: 80px;
  height: 40px;
  transform: rotate(0deg) translateX(0) translateY(0px);
  margin-left: -8px;
}
.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.theme-switch input:checked + .slider:before {
  transform: translateX(40px);
}
.theme-switch input:checked + .slider .sun-icon {
  opacity: 1;
}
.theme-switch input:checked + .slider .moon-icon {
  opacity: 1;
}
.theme-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 40px;
  border: 1px solid var(--ztc-border-border-1);
  background: var(--ztc-dark-bg-bg-2);
  transition: 0.4s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
}
.theme-switch .slider::before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  background-color: var(--ztc-text-text-1);
  border-radius: 50%;
  transition: 0.4s;
  left: 3px;
  top: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.theme-switch .icon {
  font-size: 16px;
  color: var(--ztc-text-text-2);
  position: absolute;
  opacity: 1;
  transition: opacity 0.3s;
}
.theme-switch .moon-icon {
  left: 10px;
  opacity: 1;
  color: var(--ztc-text-btn-text1);
}
.theme-switch .sun-icon {
  right: 11px;
  opacity: 1;
  color: var(--ztc-text-cnone-text);
}