/* Recurring Booking Styles */
.mpwpb_recurring_booking_area {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    clear: both;
    width: 100%;
    box-sizing: border-box;
}

.mpwpb_recurring_booking header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.mpwpb_recurring_toggle {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 20px;
}

.mpwpb_recurring_toggle label {
    margin-left: 10px;
    font-weight: 500;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

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

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Recurring Settings */
.mpwpb_recurring_settings {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-top: 10px;
}

.mpwpb_recurring_type,
.mpwpb_recurring_count {
    margin-bottom: 15px;
}

.mpwpb_recurring_type label,
.mpwpb_recurring_count label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.mpwpb_recurring_type select,
.mpwpb_recurring_count input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.mpwpb_recurring_count p.description {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.mpwpb_recurring_discount {
    background-color: #e9f7ef;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.mpwpb_recurring_dates {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.mpwpb_recurring_dates h4 {
    margin-bottom: 10px;
}

#mpwpb_recurring_dates_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mpwpb_recurring_dates_list li {
    padding: 8px;
    margin-bottom: 5px;
    background-color: #f0f8ff;
    border-radius: 4px;
    border-left: 3px solid #2196F3;
}

#mpwpb_recurring_dates_list li:first-child {
    background-color: #e6f7ff;
    border-left: 3px solid #0078d7;
    font-weight: bold;
}
