.iftina-booking {
    max-width: 680px;
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    font-family: inherit;
    direction: rtl;
    text-align: right;
}
.iftina-booking__title {
    text-align: center;
    margin: 0 0 20px;
    color: #0f172a;
    font-size: 24px;
}

/* Steps progress */
.iftina-booking__steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    counter-reset: step;
}
.iftina-bk-step {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    position: relative;
    padding-top: 32px;
}
.iftina-bk-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 26px;
    line-height: 26px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-weight: 700;
}
.iftina-bk-step.is-active { color: #0f766e; font-weight: 700; }
.iftina-bk-step.is-active::before { background: #0f766e; color: #fff; }
.iftina-bk-step.is-done::before { background: #14b8a6; color: #fff; content: '✓'; }

/* Panels */
.iftina-bk-panel { display: none; }
.iftina-bk-panel.is-active { display: block; animation: bkFade .25s ease; }
@keyframes bkFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.iftina-booking__error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* Sheikh grid */
.iftina-bk-sheikhs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}
.iftina-bk-sheikh {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    cursor: pointer;
    transition: all .18s ease;
}
.iftina-bk-sheikh:hover { border-color: #14b8a6; transform: translateY(-2px); }
.iftina-bk-sheikh.is-selected { border-color: #0f766e; background: #f0fdfa; }
.iftina-bk-sheikh__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.iftina-bk-sheikh__name { font-weight: 700; color: #0f172a; font-size: 15px; }
.iftina-bk-sheikh__spec { font-size: 12px; color: #64748b; text-align: center; }

/* Type buttons */
.iftina-bk-types { display: flex; gap: 14px; }
.iftina-bk-type {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    transition: all .18s ease;
}
.iftina-bk-type:hover { border-color: #14b8a6; transform: translateY(-2px); }
.iftina-bk-type.is-selected { border-color: #0f766e; background: #f0fdfa; }
.iftina-bk-type__price { font-size: 14px; font-weight: 600; color: #0f766e; font-style: normal; }

/* Days + slots */
.iftina-bk-days {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
    max-height: 220px;
    overflow-y: auto;
}
.iftina-bk-day {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
    transition: all .15s ease;
}
.iftina-bk-day:hover { border-color: #14b8a6; }
.iftina-bk-day.is-selected { border-color: #0f766e; background: #f0fdfa; }
.iftina-bk-day span { font-weight: 700; color: #0f172a; font-size: 14px; }
.iftina-bk-day em { font-size: 12px; color: #64748b; font-style: normal; }

.iftina-bk-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
}
.iftina-bk-slot {
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    color: #0f172a;
    transition: all .15s ease;
}
.iftina-bk-slot:hover { border-color: #0f766e; background: #f0fdfa; }

.iftina-bk-loading, .iftina-bk-empty { color: #64748b; font-size: 14px; padding: 12px; }

/* Summary + fields */
.iftina-bk-summary {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}
.iftina-bk-summary__row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: #475569;
}
.iftina-bk-summary__row b { color: #0f172a; }
.iftina-bk-summary__price {
    border-top: 1px solid #e2e8f0;
    margin-top: 6px;
    padding-top: 10px;
    font-size: 16px;
}
.iftina-bk-summary__price b { color: #0f766e; }

.iftina-bk-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.iftina-bk-fields input,
.iftina-bk-fields textarea {
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    direction: rtl;
}
.iftina-bk-fields textarea { min-height: 80px; resize: vertical; }
.iftina-bk-fields input:focus,
.iftina-bk-fields textarea:focus { outline: none; border-color: #0f766e; }

/* Buttons */
.iftina-bk-submit {
    width: 100%;
    padding: 14px;
    background: #0f766e;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease;
}
.iftina-bk-submit:hover { background: #0d5f58; }
.iftina-bk-submit:disabled { opacity: .6; cursor: not-allowed; }

.iftina-bk-back {
    display: inline-block;
    margin-top: 12px;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
}
.iftina-bk-back:hover { color: #0f766e; }

/* Done state */
.iftina-bk-done { text-align: center; padding: 32px 16px; }
.iftina-bk-done__icon { font-size: 56px; margin-bottom: 12px; }
.iftina-bk-done h3 { margin: 0 0 8px; color: #0f172a; font-size: 22px; }
.iftina-bk-done p { color: #475569; margin: 6px 0; }
.iftina-bk-done__note { font-size: 14px; color: #64748b; }

/* Payment step */
.iftina-bk-pay { text-align: center; padding: 8px; }
.iftina-bk-pay__head h3 { margin: 0 0 6px; color: #0f172a; font-size: 20px; }
.iftina-bk-pay__head p { margin: 4px 0; color: #475569; }
.iftina-bk-pay__head b { color: #0f766e; font-size: 18px; }
.iftina-bk-pay__ref { font-size: 13px; color: #94a3b8; }
#iftina-paypal-buttons { max-width: 380px; margin: 18px auto 8px; }
.iftina-bk-pay__note { font-size: 13px; color: #64748b; margin-top: 8px; }

.iftina-bk-done__link {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 24px;
    background: #0f766e;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
}
.iftina-bk-done__link:hover { background: #0d5f58; }

.iftina-bk-done__wa {
    display: inline-block;
    margin: 12px 8px 0;
    padding: 12px 24px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
}
.iftina-bk-done__wa:hover { background: #1da851; }

@media (max-width: 520px) {
    .iftina-booking { padding: 16px; }
    .iftina-bk-types { flex-direction: column; }
}
