.billing-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  justify-content: center;
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f1f1f1;
  transition: 0.2s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.2s;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.switch input:checked + .slider:before {
  transform: translateX(22px);
}

.toggle-label {
  font-size: 0.95rem;
  color: #888;
  transition: 0.15s transform, 0.15s color;
  font-weight: 600;
  margin: 0 0.5rem;
  display: inline-block;
  line-height: 1;
  transform-origin: center;
}

/* Active label: white text for contrast on dark card header (#2c2c2c) */
.toggle-label.active {
  color: #fff;
  font-weight: 800;
  transform: scale(1.03);
}

.join-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price {
  display: inline-block;
  min-width: 12ch;
  text-align: center;
  margin: 0.25rem 0;
}
