:root {
  --quickk-color: #ffbb56;
  --discover-color: #0095f6;
  --toggle-width: 110px;
  --toggle-height: 36px;
  --pill-height: 30px;
}

/* Wrapper for shortcode placement */
.horeka-toggle-wrapper {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

/* Main toggle container */
.horeka-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: var(--toggle-width);
  height: var(--toggle-height);
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}

.toggle-label {
  width: 50%;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #111;
  pointer-events: none;
  z-index: 2;
  line-height: 1;
}

.toggle-pill {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 3px);
  height: var(--pill-height);
  border-radius: 999px;
  background: var(--quickk-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s cubic-bezier(.4,0,.2,1),
              background .3s ease;
  z-index: 1;
}

/* Active states */
.horeka-toggle.discover-active .toggle-pill {
  transform: translateX(100%);
  background: var(--discover-color);
}

.horeka-toggle.quickk-active .toggle-label {
  margin-left: 50%;
}

.horeka-toggle.discover-active .toggle-label {
  margin-right: 50%;
}

/* Icon styling */
.toggle-icon {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 14px;
  color: #000;
}

.toggle-icon::before {
  content: "\f0e7";
}

.horeka-toggle.discover-active .toggle-icon::before {
  content: "\f3c5";
}

/* Responsive adjustments */
@media (max-width: 768px) {
  :root {
    --toggle-width: 100px;
    --toggle-height: 32px;
    --pill-height: 26px;
  }
  
  .toggle-label {
    font-size: 10px;
  }
  
  .toggle-icon {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  :root {
    --toggle-width: 90px;
    --toggle-height: 30px;
    --pill-height: 24px;
  }
  
  .toggle-label {
    font-size: 9px;
  }
  
  .toggle-icon {
    font-size: 11px;
  }
}

/* Legacy support - for old hardcoded overlay (will be removed) */
.horeka-toggle-overlay {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 50;
}