/* iBuilder Realty Tours — booking widget */
:root { --ibrwt-primary: #2563eb; --ibrwt-primary-dark: #1e4fd0; --ibrwt-border: #e5e7eb; }
.ibrwt-widget { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; max-width: 460px; background: #fff; border: 1px solid var(--ibrwt-border); border-radius: 12px; padding: 20px; }
.ibrwt-title { margin: 0 0 14px; font-size: 18px; }

.ibrwt-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 12px; }
.ibrwt-day { flex: 0 0 auto; background: #f9fafb; border: 1px solid var(--ibrwt-border); border-radius: 8px; padding: 8px 12px; cursor: pointer; font-size: 13px; font-weight: 600; text-align: center; color: #374151; }
.ibrwt-day--active { background: var(--ibrwt-primary); color: #fff; border-color: var(--ibrwt-primary); }
.ibrwt-day__count { display: block; font-size: 10px; opacity: .7; }

.ibrwt-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.ibrwt-slot { background: #fff; border: 1px solid var(--ibrwt-border); border-radius: 6px; padding: 8px; cursor: pointer; font-size: 13px; font-weight: 600; color: #374151; }
.ibrwt-slot:hover { border-color: var(--ibrwt-primary); color: var(--ibrwt-primary); }

.ibrwt-chosen { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 6px; padding: 8px 12px; font-size: 14px; font-weight: 600; margin-bottom: 14px; color: var(--ibrwt-primary-dark); }
.ibrwt-field { margin-bottom: 10px; }
.ibrwt-field label, .ibrwt-field-row label { display: block; font-size: 12px; font-weight: 600; color: #6b7280; margin-bottom: 4px; }
.ibrwt-field input, .ibrwt-field textarea, .ibrwt-field-row select { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; }
.ibrwt-field-row { margin-bottom: 10px; }

.ibrwt-actions { display: flex; gap: 8px; margin-top: 14px; }
.ibrwt-btn { flex: 0 0 auto; padding: 10px 18px; border: 1px solid var(--ibrwt-border); border-radius: 6px; background: #fff; cursor: pointer; font-size: 14px; font-weight: 600; color: #374151; }
.ibrwt-btn--primary { flex: 1; background: var(--ibrwt-primary); color: #fff; border-color: var(--ibrwt-primary); }
.ibrwt-btn--primary:hover { background: var(--ibrwt-primary-dark); }
.ibrwt-msg { margin-top: 10px; font-size: 13px; }

.ibrwt-success { text-align: center; padding: 24px 0; }
.ibrwt-success__icon { width: 56px; height: 56px; line-height: 56px; margin: 0 auto 12px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 28px; }
.ibrwt-empty { color: #9ca3af; text-align: center; padding: 20px; }
