/* Reservation Builder (rb-) UI - RTL, modern, green theme */
@font-face { font-family: 'Vazirmatn'; font-style: normal; font-weight: 400; src: local('Vazirmatn'), local('Vazir'); }
.rb-rtl { direction: rtl; text-align: right; }
.rb-container { max-width: 980px; margin: 0 auto; padding: 24px 16px; font-family: 'Vazirmatn', Tahoma, Arial, sans-serif; color: #102a27; }
.rb-title { font-size: 28px; margin: 8px 0 4px; color: #106b5c; font-weight: 800; }
.rb-subtitle { margin: 0 0 20px; color: #6a7a78; }

/* Steps */
.rb-steps { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0 0 24px; justify-content: space-between; }
.rb-step { display: grid; place-items: center; gap: 6px; color: #6a7a78; }
.rb-step span { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #cfe7e2; display: grid; place-items: center; font-weight: 700; }
.rb-step em { font-style: normal; font-size: 13px; }
.rb-step--active span, .rb-step--done span { border-color: #0f766e; background: #0f766e; color: #fff; }
.rb-step--done em { color: #0f766e; }

/* Cards */
.rb-card { background: #fff; border-radius: 14px; box-shadow: 0 8px 24px rgba(16, 42, 39, .06); padding: 20px; margin-bottom: 20px; }

/* Grid */
.rb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rb-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 768px) { .rb-grid, .rb-grid--2 { grid-template-columns: 1fr; } }

/* Service cards */
.rb-service, .rb-staff { position: relative; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; border: 2px solid #e7f2ef; border-radius: 14px; padding: 14px; cursor: pointer; transition: .2s ease; background: #fff; }
.rb-service:hover, .rb-staff:hover { box-shadow: 0 8px 20px rgba(16,42,39,.08); }
.rb-service__icon, .rb-staff__avatar { width: 56px; height: 56px; border-radius: 12px; background: #0f766e; opacity: .12; }
.rb-service__title { margin: 0 0 4px; font-size: 16px; }
.rb-service__desc { margin: 0 0 8px; color: #6a7a78; font-size: 13px; }
.rb-service__meta, .rb-staff__meta { display: flex; gap: 8px; align-items: center; }
.rb-chip { background: #e9f6f3; color: #0f766e; padding: 4px 8px; border-radius: 999px; font-size: 12px; }
.rb-price { color: #0f766e; font-weight: 800; }
.rb-check { position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #bfe6de; }
.rb-service.is-selected, .rb-staff.is-selected { border-color: #0f766e; background: #f2fbf9; }
.rb-service.is-selected .rb-check, .rb-staff.is-selected .rb-check { background: #0f766e; border-color: #0f766e; }

/* Date & Times */
.rb-date-time { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; }
@media (max-width: 768px) { .rb-date-time { grid-template-columns: 1fr; } }
.rb-input { width: 100%; padding: 12px 14px; border: 2px solid #e7f2ef; border-radius: 12px; font-size: 14px; background: #fff; }
.rb-times { background: #f8fbfa; border-radius: 12px; padding: 12px; min-height: 140px; }
.rb-times__placeholder { color: #8aa7a1; padding: 16px; }
.rb-time { border: 2px solid #d6ebe7; border-radius: 10px; padding: 10px 14px; background: #fff; margin: 6px; cursor: pointer; transition: .18s; }
.rb-time[disabled] { opacity: .45; cursor: not-allowed; }
.rb-time.is-selected, .rb-time:hover { border-color: #0f766e; background: #f2fbf9; }

/* Fields */
.rb-field { display: grid; gap: 6px; }
.rb-label { font-size: 12px; color: #5b6b69; }
.rb-field--action { display: flex; align-items: end; }

/* Buttons */
.rb-actions { display: flex; gap: 10px; justify-content: flex-start; margin-top: 16px; }
.rb-actions--stack { flex-direction: column; align-items: stretch; }
.rb-btn { border: 0; border-radius: 12px; padding: 12px 16px; font-weight: 700; cursor: pointer; transition: .18s; }
.rb-btn--primary { background: #0f766e; color: #fff; }
.rb-btn--primary:disabled { background: #76b2ab; cursor: not-allowed; }
.rb-btn--secondary { background: #0ea5a3; color: #fff; }
.rb-btn--ghost { background: transparent; color: #0f766e; border: 2px solid #bfe6de; }
.rb-btn--xl { padding: 16px; font-size: 16px; }

/* Tabs */
.rb-tabs { display: flex; gap: 8px; background: #f2fbf9; padding: 6px; border-radius: 12px; margin-bottom: 10px; }
.rb-tab { flex: 1; border: 0; padding: 10px; border-radius: 8px; cursor: pointer; background: transparent; color: #0f766e; font-weight: 700; }
.rb-tab--active { background: #0f766e; color: #fff; }
.rb-tabpanes { background: #fff; border: 2px solid #e7f2ef; border-radius: 12px; padding: 12px; }
.rb-tabpane { display: none; }
.rb-tabpane--active { display: block; }

/* Summary */
.rb-summary { display: grid; gap: 12px; }
.rb-summary__row { display: flex; justify-content: space-between; align-items: center; padding: 12px; border-radius: 12px; background: #f8fbfa; }
.rb-summary__row--split { gap: 16px; }
.rb-summary__label { color: #5b6b69; }
.rb-summary__value { font-weight: 800; color: #103a34; }
.rb-note { font-size: 12px; color: #6a7a78; text-align: center; }


