/* Pricing Toggle Container */
.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: var(--margin-xxxxxxl) 0 var(--margin-xxxxl) 0;
}

/* Toggle Labels */
.toggle-label {
    font-size: var(--font-size-label);
    font-weight: 600;
    color: var(--text-label-neutral);
    transition: color 0.3s ease;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
}

.toggle-label.selected {
    color: var(--blue-dark);
}

.switch {
    position: relative;
    display: inline-block;
    width: 3.75rem; 
    height: 2.125rem;
    margin: 0 var(--margin-xl);
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The Toggle Element - This is the track and thumb */
.toggle-element {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--grey-gradient); 
    transition: 0.4s;
}

/* The Toggle Thumb */
.toggle-element:before {
    position: absolute;
    content: "";
    height: 1.625rem;
    width: 1.625rem;
    left: var(--padding-xxs);
    bottom: var(--padding-xxs);
    background-color: var(--body-background);
    transition: 0.4s;
}

/* Checkbox States */
input:checked + .toggle-element {
    background: var(--blue-gradient); /* Active (yearly) color */
}

input:focus + .toggle-element {
	/* Intentionally left empty */
}

input:checked + .toggle-element:before {
    transform: translateX(1.625rem);
}

/* Rounded styles */
.toggle-element.round {
    border-radius: 2.125rem; 
}
 
.toggle-element.round:before {
    border-radius: var(--border-radius-circle);
}