/* Hotel Tino website chat */
#tbk-chat { --chat: #3d5b81; position: fixed; right: 22px; bottom: 22px; z-index: 99990; font-family: Jost, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #111827; }
#tbk-chat * { box-sizing: border-box; }
.tc-fab { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--chat); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(15, 23, 42, .28); transition: transform .2s, box-shadow .2s; position: relative; margin-left: auto; }
.tc-fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 16px 36px rgba(15, 23, 42, .32); }
#tbk-chat.is-open .tc-fab { transform: scale(.92); }
.tc-badge { position: absolute; top: -3px; right: -3px; min-width: 22px; height: 22px; border-radius: 11px; background: #ef4444; color: #fff; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; padding: 0 6px; border: 2px solid #fff; }
.tc-badge[hidden] { display: none; }
.tc-panel { position: absolute; right: 0; bottom: 76px; width: 370px; height: min(600px, calc(100vh - 120px)); background: #fff; border-radius: 22px; box-shadow: 0 24px 70px rgba(15, 23, 42, .28); display: flex; flex-direction: column; overflow: hidden; animation: tc-in .22s ease; }
.tc-panel[hidden] { display: none; }
@keyframes tc-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.tc-head { background: var(--chat); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.tc-logo { height: 38px; width: auto; max-width: 110px; object-fit: contain; }
.tc-logo-txt { font-size: 17px; }
.tc-status { display: flex; align-items: center; gap: 7px; font-size: 13px; opacity: .92; margin-right: auto; padding-left: 4px; border-left: 1px solid rgba(255,255,255,.25); padding-left: 12px; }
.tc-dot { width: 8px; height: 8px; border-radius: 50%; background: #f5c451; box-shadow: 0 0 0 3px rgba(245,196,81,.25); }
#tbk-chat.is-online .tc-dot { background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.tc-x { width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tc-x:hover { background: rgba(255,255,255,.25); }
.tc-body { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #f6f8fb; }
.tc-msgs { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.tc-msg { display: flex; flex-direction: column; max-width: 84%; }
.tc-msg.is-in { align-self: flex-end; align-items: flex-end; }
.tc-msg.is-out { align-self: flex-start; }
.tc-bubble { padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; word-wrap: break-word; overflow-wrap: anywhere; }
.tc-msg.is-out .tc-bubble { background: #fff; border: 1px solid #e6e9ef; border-bottom-left-radius: 6px; }
.tc-msg.is-in .tc-bubble { background: var(--chat); color: #fff; border-bottom-right-radius: 6px; }
.tc-msg.is-in .tc-bubble a { color: #fff; }
.tc-meta { font-size: 11.5px; color: #8b95a3; margin: 4px 6px 0; }
.tc-ask { margin: 6px 14px 12px; background: #fff7e6; border: 1px solid #f5d9a8; border-radius: 14px; padding: 10px 12px; font-size: 13.5px; color: #7a4b00; }
.tc-ask[hidden] { display: none; }
.tc-ask p { margin: 0 0 8px; }
.tc-ask-form { display: flex; gap: 6px; }
.tc-ask-form input { flex: 1; min-width: 0; height: 38px; border: 1px solid #e3cfa6; border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; }
.tc-ask-form button { border: 0; border-radius: 10px; background: var(--chat); color: #fff; padding: 0 14px; font: inherit; font-size: 14px; cursor: pointer; }
.tc-start, .tc-reply { padding: 12px 14px 14px; background: #fff; border-top: 1px solid #eef0f3; }
.tc-start[hidden], .tc-reply[hidden] { display: none; }
.tc-row { display: flex; gap: 8px; margin-bottom: 8px; }
.tc-row input { flex: 1; min-width: 0; height: 42px; border: 1px solid #dfe3ea; border-radius: 12px; padding: 0 12px; font: inherit; font-size: 14.5px; background: #fff; color: #111827; }
.tc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.tc-compose { display: flex; align-items: flex-end; gap: 8px; background: #f3f5f8; border: 1px solid #e3e7ee; border-radius: 16px; padding: 6px 6px 6px 14px; }
.tc-compose:focus-within, .tc-row input:focus { border-color: var(--chat); box-shadow: 0 0 0 3px rgba(61,91,129,.15); box-shadow: 0 0 0 3px color-mix(in srgb, var(--chat) 15%, transparent); outline: 0; }
.tc-compose textarea { flex: 1; border: 0; background: none; resize: none; font: inherit; font-size: 15px; line-height: 1.4; padding: 8px 0; max-height: 120px; outline: 0; color: #111827; box-shadow: none; min-height: 0; }
.tc-compose button { flex: 0 0 40px; height: 40px; border: 0; border-radius: 12px; background: var(--chat); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tc-compose button:disabled { opacity: .5; }
.tc-note { margin: 8px 2px 0; font-size: 12px; color: #8b95a3; }
.tc-err { margin: 8px 2px 0; font-size: 13px; color: #b42318; }
.tc-apps { display: flex; align-items: center; gap: 8px; padding: 10px 14px 12px; background: #fff; border-top: 1px solid #eef0f3; font-size: 12.5px; color: #6b7280; flex-wrap: wrap; }
.tc-app { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 20px; text-decoration: none; font-weight: 500; font-size: 13px; }
.tc-app.is-wa { background: #e8f8ee; color: #128c4b; }
.tc-app.is-vb { background: #f1ecfb; color: #6f4bd8; }


/* Room cards: a compact list (photo left, details right), so every card is fully visible in the narrow chat. */
.tc-cards { display: grid; gap: 8px; width: 100%; }
.tc-msg:has(.tc-cards) { max-width: 100%; width: 100%; }
.tc-msg.has-cards { max-width: 100%; width: 100%; }
.tc-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); background: #fff; border: 1px solid #e6e9ef; border-radius: 14px; overflow: hidden; }
.tc-card > a { display: block; }
.tc-card img { width: 100%; height: 100%; min-height: 112px; object-fit: cover; display: block; }
.tc-card-b { padding: 9px 11px 10px; min-width: 0; }
.tc-card-b b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.tc-card-b small { display: block; color: #6b7280; font-size: 12px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-price { margin: 5px 0 7px; font-size: 13px; color: #374151; line-height: 1.35; }
.tc-price strong { font-size: 16px; color: #111827; }
.tc-price.is-off { color: #b42318; }
.tc-book { display: inline-block; text-align: center; background: var(--chat); color: #fff !important; text-decoration: none; border-radius: 9px; padding: 6px 14px; font-size: 13px; font-weight: 500; }
@media (max-width: 639px) {
	#tbk-chat { right: 14px; bottom: 14px; }
	.tc-fab { width: 56px; height: 56px; }
	#tbk-chat.is-open .tc-fab { display: none; }
	.tc-panel { position: fixed; inset: 0; width: auto; height: 100%; height: 100dvh; border-radius: 0; bottom: 0; }
	.tc-row { flex-direction: column; }
	html.tc-lock, html.tc-lock body { overflow: hidden; }
	body.admin-bar .tc-panel { top: 46px; height: calc(100dvh - 46px); }
}
@media print { #tbk-chat { display: none; } }

html.tbk-pk-open #tbk-chat { display: none; } /* not over the date picker sheet */

.tc-sys { align-self: center; font-size: 12.5px; color: #6b7280; background: #f1f3f7; border-radius: 20px; padding: 5px 12px; margin: 4px auto; text-align: center; max-width: 90%; }
.tc-closed { padding: 12px 14px 14px; border-top: 1px solid #eef0f3; text-align: center; display: grid; gap: 8px; }
.tc-closed[hidden] { display: none; }
.tc-closed p { margin: 0; font-size: 13.5px; color: #555; }
.tc-reopen { border: 0; background: #3d5b81; color: #fff; border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
