/* Steps 2–4: therapist, calendar, time slots, contact */
.wb-loading-hint {
    padding: 16px;
    text-align: center;
    color: #666;
}

#divstep02 .divlistviewleft {
    flex: 0 0 48px;
    width: 48px;
    text-align: center;
}

.wb-user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #e8e8ed;
    border: 1px solid #ddd;
    color: #888;
    font-size: 20px;
    overflow: hidden;
}

.wb-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#divstep02 .wb-user-card {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px 36px 12px 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(16, 25, 40, 0.08);
    cursor: pointer;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

#divstep02 .wb-user-card:hover {
    box-shadow: 0 4px 12px rgba(16, 25, 40, 0.1);
}

#divstep02 .wb-user-card.wb-selected {
    box-shadow: 0 0 0 2px #037aff;
}

#divstep02 .wb-user-card .divlistviewright {
    flex: 1 1 auto;
    min-width: 0;
}

.wb-user-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    margin-top: -10px;
    font-size: 20px;
    color: #999;
}

/* —— Step 3: date & time (matches .NET simpleCalendar + sitemaster.css) —— */
#divstep03 .calendartab {
    margin-bottom: 40px;
}

#divcanlendar {
    padding: 20px 10px;
}

#divcanlendar .calendar {
    position: relative;
    text-align: center;
    text-transform: capitalize;
}

#divcanlendar .calendar header {
    position: relative;
    min-height: 30px;
    margin-bottom: 0;
}

#divcanlendar .calendar header .month {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 30px;
    color: #545a5c;
}

#divcanlendar .calendar header .btn {
    position: absolute;
    top: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
}

#divcanlendar .calendar header .btn-prev {
    left: 0;
}

#divcanlendar .calendar header .btn-next {
    right: 0;
}

#divcanlendar .calendar table {
    width: 100%;
    margin: 12px 0 0;
    border-spacing: 0;
    border-collapse: separate;
}

#divcanlendar .calendar thead {
    font-size: 0.95em;
    font-weight: 600;
    color: #888;
}

#divcanlendar .calendar thead td {
    padding: 0.4em 0.1em 0.8em;
}

#divcanlendar .calendar .day.wrong-month {
    color: #cbd1d2 !important;
    border-color: #e8e8e8 !important;
    background-color: #fff !important;
}

#divcanlendar .calendar tbody .day.wrong-month:hover {
    color: #cbd1d2 !important;
    background-color: #fff !important;
    border-color: #e8e8e8 !important;
}

#divcanlendar .calendar tbody .day.today:not(.active) {
    background-color: #ffffff !important;
    color: #4534c7 !important;
    border: 1px solid #4534c7 !important;
}

#divstep03 .divtimelist {
    overflow: hidden;
}

#divstep03 .divtimelist .wb-time-period {
    float: left;
    width: 33.33333333%;
    min-height: 1px;
    padding-left: 0;
    padding-right: 0;
}

#divstep03 .divtimelist .wb-time-period-slots {
    min-height: 0;
}

#divstep03 .calendartab .btnbookingtime.wb-th-session {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 120px;
    padding: 22px 12px;
    line-height: 1.4;
    white-space: normal;
}

.wb-time-empty,
#divstep03 .divtimelist .wb-loading-hint {
    clear: both;
    width: 100%;
    text-align: center;
    padding: 12px 6px;
    font-size: 13px;
    color: #666;
}

@media screen and (max-width: 400px) {
    #divstep03 .calendartab .btnbookingtime.wb-th-session {
        min-height: 108px;
        padding: 18px 8px;
    }
}

.wb-btn-primary,
#wbBtnConfirmBook {
    background-color: #101928 !important;
    color: #fff !important;
    border-color: #101928 !important;
}

#divstep01 .servicestab {
    margin-bottom: 0;
}

form#form1 > footer.divfooter {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

/* API unreachable — bilingual maintenance (lib/maintenance.php + wb-api.js) */
.wb-maintenance-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(16, 25, 40, 0.55);
}

.wb-maintenance-panel {
    max-width: 520px;
    width: 100%;
    padding: 32px 28px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(16, 25, 40, 0.12);
}

.wb-maintenance-panel p {
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.6;
    color: #101928;
}

.wb-text-bold {
    font-weight: bold;
}

.wb-cal-title-center {
    text-align: center;
    margin-bottom: 4px;
}

.wb-selected-highlight {
    color: #4534c7;
}

.wb-selected-user {
    margin-right: 4px;
    color: #4534c7;
}

.wb-slot-section-title {
    text-align: center;
    margin: 8px 0;
}

.wb-contact-email-hint {
    margin-top: 12px;
}

.wb-mt-16 {
    margin-top: 16px;
}

.wb-mt-12 {
    margin-top: 12px;
}

.wb-maintenance-panel .wb-maintenance-zh {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    font-size: 1.05rem;
    color: #374151;
}
