#gaca-widget-root { position: fixed; bottom: 20px; right: 20px; z-index: 999999; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#gaca-toggle-btn { width: 56px; height: 56px; border-radius: 50%; border: none; background: var(--gaca-accent, #1a73e8); color: #fff; font-size: 24px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.gaca-hidden { display: none !important; }

.gaca-floating-panel { position: absolute; bottom: 70px; right: 0; width: 330px; height: 480px; max-height: 75vh; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.2); overflow: hidden; display: flex; background: #fff; }
.gaca-floating-panel .gaca-chat-component { flex: 1; min-height: 0; }

.gaca-inline-widget { position: relative; width: 100%; max-width: 480px; height: var(--gaca-inline-height, 460px); border-radius: 12px; box-shadow: 0 4px 18px rgba(0,0,0,.12); overflow: hidden; margin: 16px 0; display: flex; background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.gaca-inline-widget .gaca-chat-component { flex: 1; min-height: 0; }

.gaca-chat-component { display: flex; flex-direction: column; background: #fff; width: 100%; }
.gaca-chat-header { background: var(--gaca-accent, #1a73e8); color: #fff; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; flex-shrink: 0; }
.gaca-close-btn { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; line-height: 1; }
.gaca-messages { flex: 1; min-height: 0; overflow-y: auto; padding: 12px; background: #f7f8fa; }
.gaca-msg { max-width: 85%; padding: 8px 12px; border-radius: 14px; margin-bottom: 8px; font-size: 14px; line-height: 1.4; white-space: pre-wrap; word-wrap: break-word; color: #222; }
.gaca-msg-assistant { background: #fff; border: 1px solid #e3e3e3; border-bottom-left-radius: 4px; margin-right: auto; }
.gaca-msg-user { background: var(--gaca-accent, #1a73e8); color: #fff; border-bottom-right-radius: 4px; margin-left: auto; }
.gaca-msg-system { background: transparent; color: #b32d2d; font-size: 12px; text-align: center; margin: 6px auto; }
.gaca-typing { font-style: italic; color: #888; font-size: 13px; padding: 0 4px 8px; }

.gaca-chat-form { display: flex; border-top: 1px solid #eee; padding: 8px; gap: 6px; flex-shrink: 0; background: #fff; }
.gaca-chat-input { flex: 1; border: 1px solid #ddd; border-radius: 18px; padding: 8px 14px; font-size: 14px; outline: none; color: #222; background: #fff; }
.gaca-send-btn { background: var(--gaca-accent, #1a73e8); color: #fff; border: none; border-radius: 18px; padding: 8px 16px; cursor: pointer; font-size: 14px; }

.gaca-booking-form { padding: 12px; border-top: 1px solid #eee; overflow-y: auto; font-size: 13px; max-height: 100%; background: #fff; }
.gaca-booking-form label { display: block; margin-bottom: 8px; color: #444; }
.gaca-booking-form input, .gaca-booking-form textarea { width: 100%; margin-top: 3px; padding: 6px 8px; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box; font-size: 13px; color: #222; background: #fff; }
.gaca-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.gaca-booking-actions { display: flex; gap: 8px; margin-top: 8px; }
.gaca-booking-submit { background: var(--gaca-accent, #1a73e8); color: #fff; border: none; border-radius: 6px; padding: 8px 14px; cursor: pointer; }
.gaca-booking-cancel { background: #eee; color: #333; border: none; border-radius: 6px; padding: 8px 14px; cursor: pointer; }

.gaca-standalone-appointment-form { max-width: 480px; }
.gaca-standalone-appointment-form .gaca-form-row { margin: 0 0 12px; }
.gaca-standalone-appointment-form label { display: block; font-size: 14px; font-weight: 600; }
.gaca-standalone-appointment-form input, .gaca-standalone-appointment-form textarea { width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box; font-size: 14px; font-family: inherit; }
.gaca-standalone-submit { background: var(--gaca-accent, #1a73e8); color: #fff; border: none; border-radius: 6px; padding: 10px 18px; cursor: pointer; font-size: 14px; }
.gaca-standalone-status { font-size: 14px; margin-top: 8px; }
.gaca-status-success { color: #1a7a1a; }
.gaca-status-error { color: #b32d2d; }

@media (max-width: 420px) { .gaca-floating-panel { width: 92vw; right: -4px; } }
