.rkit-toggle-slider {
  cursor: pointer;
  text-indent: -9999px;
  width: 70px;
  height: 35px;
  background: #D4D4D4;
  display: block;
  border-radius: 100px;
  position: relative;
}


.rkit-toggle-slider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 6px;
  width: 25px;
  height: 25px;
  background: #fff;
  border-radius: 90px;
  transition: 0.3s;
  transform: translateY(-50%);
}


.rkit-toggle-input.active + .rkit-toggle-slider::after {
  left: calc(100% - 6px);
  transform: translateX(-100%) translateY(-50%);
}


.rkit-toggle-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}


.rkit-toggle-slider:active::after {
  width: 50% !important;
}


.rkit-toggle-content {
  display: none;
}


.rkit-toggle-content.active {
  display: block;
  animation: fade 0.5s ease;
}


.rkit-toggle-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.rkit-toggle-wrapper {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 20px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.rkit-toggle-indicator {
  position: absolute;
  width: 6.875rem;
  height: 2.75rem;
  background-color: #00CEA6;
  border-radius: 8px;
  transition: transform 0.3s ease;
  transition: left 0.3s ease, width 0.3s ease;
  z-index: 0;
}

.style_2.rkit-toggle-wrapper{
  border-radius:0.5rem;
  padding: 0.1875rem;
  gap: 0;
  border: 2px solid #D4D4D4;
}

.style_2.rkit-toggle-wrapper .rkit-toggle-title{
  border-radius:8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 6.875rem;
  color: #00CEA6;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.style_1.rkit-toggle-wrapper .rkit-toggle-title.active{
  color: #00CEA6;
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
