.tp-booking-widget {
    max-width: 560px;
    margin: 20px 0;
    padding: 24px;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    font-family: inherit;
    direction: rtl;
}

/* ---- Step indicator ---- */
.tp-booking-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.tp-booking-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #999;
    font-size: 12px;
}

.tp-booking-step-dot span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eee;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.tp-booking-step-dot.active span {
    background: #2271b1;
    color: #fff;
}

.tp-booking-step-dot.done span {
    background: #2e9e4f;
    color: #fff;
}

.tp-booking-step-line {
    flex: 1;
    height: 2px;
    background: #eee;
    margin: 0 6px;
    margin-bottom: 18px;
}

/* ---- Panels ---- */
.tp-booking-panel-title {
    margin: 0 0 16px;
    font-size: 16px;
}

/* ---- Tutor cards ---- */
.tp-booking-tutor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.tp-booking-tutor-card {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.tp-booking-tutor-card:hover {
    border-color: #90c0e6;
}

.tp-booking-tutor-card.selected {
    border-color: #2271b1;
    background: #f0f7fd;
}

.tp-booking-tutor-photo,
.tp-booking-tutor-avatar-fallback {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 8px;
    object-fit: cover;
}

.tp-booking-tutor-avatar-fallback {
    background: #2271b1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.tp-booking-tutor-name {
    font-size: 13px;
    font-weight: 600;
}

/* ---- Calendar ---- */
.tp-booking-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 600;
}

.tp-booking-cal-nav {
    background: #f2f2f2;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    font-size: 16px;
    cursor: pointer;
}

.tp-booking-cal-nav:hover {
    background: #e2e2e2;
}

.tp-booking-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 16px;
}

.tp-booking-cal-weekday {
    text-align: center;
    font-size: 11px;
    color: #999;
    padding-bottom: 4px;
}

.tp-booking-cal-day {
    text-align: center;
    padding: 8px 0;
    border-radius: 6px;
    font-size: 13px;
    color: #ccc;
}

.tp-booking-cal-day.available {
    background: #f0f7fd;
    color: #2271b1;
    cursor: pointer;
    font-weight: 600;
}

.tp-booking-cal-day.available:hover {
    background: #dceafa;
}

.tp-booking-cal-day.selected {
    background: #2271b1;
    color: #fff;
}

/* ---- Time list ---- */
.tp-booking-time-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.tp-booking-time-item {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
}

.tp-booking-time-item:hover {
    border-color: #90c0e6;
}

.tp-booking-time-item.selected {
    border-color: #2271b1;
    background: #f0f7fd;
    font-weight: 600;
}

/* ---- Summary / confirm ---- */
.tp-booking-summary {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 2;
}

.tp-booking-summary strong {
    color: #2271b1;
}

.tp-booking-submit-btn {
    width: 100%;
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 10px;
}

.tp-booking-submit-btn:hover {
    background: #135e96;
}

.tp-booking-submit-btn:disabled {
    background: #aac7de;
    cursor: default;
}

.tp-booking-back-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 13px;
    padding: 6px 0;
}

.tp-booking-back-btn:hover {
    color: #2271b1;
}

/* ---- Success ---- */
.tp-booking-success-panel {
    text-align: center;
    padding: 20px 0;
}

.tp-booking-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #2e9e4f;
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

/* ---- Messages ---- */
.tp-booking-message {
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 10px;
}

.tp-booking-message.success {
    background: #d7f5d7;
    color: #256029;
}

.tp-booking-message.error {
    background: #fbe1e1;
    color: #9e2b2b;
}

.tp-booking-notice {
    padding: 12px;
    background: #fff8e5;
    border: 1px solid #f0d38a;
    border-radius: 6px;
}
