#msbf-form-wrapper {
    max-width: 600px;
    margin: auto;
    font-family: Arial, sans-serif;
}

#msbf-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

#msbf-progress-bar .step {
    width: 30%;
    padding: 10px;
    text-align: center;
    background-color: #f0f0f0;
    border-radius: 5px;
    position: relative;
}

#msbf-progress-bar .step.active {
    background-color: #0073aa;
    color: #fff;
}

#msbf-progress-bar .step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: #f0f0f0;
    transform: translateY(-50%);
    z-index: -1;
}

#msbf-progress-bar .step.active::after {
    background-color: #0073aa;
}

.msbf-step {
    display: none;
}

.msbf-step input, .msbf-step select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button.msbf-next, button.msbf-prev {
    padding: 10px 20px;
    border: none;
    background-color: #0073aa;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

button.msbf-prev {
    background-color: #555;
}

button.msbf-next:hover, button.msbf-prev:hover {
    opacity: 0.8;
}

input.error, select.error {
    border-color: red;
}
/* Existing styles */

#appointment_date, #appointment_time {
    width: 100%;
}

#msbf-form-wrapper .error {
    border-color: red;
}

.ui-datepicker {
    background: #fff;
    border: 1px solid #0073aa;
}

.ui-datepicker .ui-datepicker-header {
    background: #0073aa;
    color: #fff;
}
#msbf-loader {
    text-align: center;
    margin-top: 20px;
}

#msbf-confirmation-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.msbf-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    width: 80%;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.msbf-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
}
#msbf-submit {
    padding: 10px 20px;
}
.g-recaptcha {
    margin-bottom: 20px;
    margin-top: 40px;
}

.firststep-next .msbf-next {
    float: right;
    margin-top: 20px;
    margin-bottom: 20px;
}

.secondstep-btns,
.thirdstep-btns {
    margin-top: 30px;
    margin-bottom: 15px;
}

.secondstep-btns .msbf-next,
.thirdstep-btns #msbf-submit{
    float: right;
}

#msbf-fullscreen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msbf-loader-content {
    text-align: center;
    color: #fff;
}

.msbf-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #fff;
    width: 40px;
    height: 40px;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
