#msb-form-wrapper {
    max-width: 600px;
    margin: auto;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}
label {
    display: block;
    margin-top: 10px;
}
input[type="text"], select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
}
.msb-step {
    display: none;
}
.msb-step.active {
    display: block;
}
.radio-label {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ccc;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
}
.radio-label input {
    display: none;
}
.radio-label.booked {
    background: #eee;
    color: red;
    cursor: not-allowed;
}
#msb-form-wrapper {
    max-width: 600px;
    margin: 30px auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', sans-serif;
}

.msb-step h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.msb-step {
    display: none;
}
.msb-step.active {
    display: block;
}

/* General Input Styling */
input[type="text"],
select {
    width: 100%;
    padding: 10px;
    margin: 8px 0 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

/* Radio button as button labels */
.radio-label {
    display: inline-block;
    border: 2px solid #ccc;
    padding: 12px 20px;
    margin: 8px;
    cursor: pointer;
    border-radius: 8px;
    background: #f8f8f8;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    user-select: none;
}

.radio-label input {
    display: none;
}

.radio-label:hover {
    border-color: #007cba;
    background: #e6f0fa;
    color: #007cba;
}

/* Selected state */
.radio-label input:checked + span,
.radio-label input:checked ~ span {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.radio-label input:checked + label,
.radio-label:has(input:checked) {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

/* Booked Slot Styling */
.radio-label.booked {
    background: #eee;
    border-color: #bbb;
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Submit Button */
button[type="submit"] {
    background: #007cba;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}
button[type="submit"]:hover {
    background: #005fa3;
}
.msb-back {
     margin-top: 20px;
    display: inline-block;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 10px;
    background: transparent;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    gap: .5rem;
    align-items: center;
}
label.radio-label {
    display: block;
}
.time-slots label.radio-label {
    display: inline;
}
.msb-back svg {
    width: 1.5rem;
    height: 1.5rem;
}
div#time-slots {
    display: flex;
    flex-wrap: wrap;  
    gap: 10px;
}

#time-slots  label.radio-label {
    padding: 10px 15px;
    background-color: #f0f0f0;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    margin: 0;
}
#step-4 label.radio-label { display: inline-block; }