.billing-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 300px;
    height: 50px;
    background-color: #e0e0e0;
    border-radius: 25px;
    padding: 5px;
    cursor: pointer;
    transition: background-color 0.4s ease;
}

.billing-toggle input[type="radio"] {
    display: none;
}

.billing-toggle label {
    flex: 1;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
    user-select: none;
}

.billing-toggle .toggle-slider {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 140px;
    height: 40px;
    background-color: #007bff;
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

#monthlyOption:checked ~ .toggle-slider {
    transform: translateX(0);
}

#annualOption:checked ~ .toggle-slider {
    transform: translateX(150px);
}

#monthlyOption:checked + label#monthlyOptionLabel {
    color: #ffffff;
}

#annualOption:checked + label#annualOptionLabel {
    color: #ffffff;
}

.billing-toggle:hover .toggle-slider {
    background-color: #0056b3;
}

.billing-toggle:hover label {
    color: #666;
}