/* Ercan Telci Asistan - scoped chatbot styles */
#ercan-assistant-widget, #ercan-assistant-widget * { box-sizing: border-box; }
#ercan-assistant-widget { position: fixed; right: 24px; bottom: 64px; z-index: 99999; font-family: Arial, Helvetica, sans-serif; color: #071326; }
.ercan-bot-launcher { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid rgba(7,19,38,.12); border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 8px 14px 8px 8px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.ercan-bot-launcher:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.ercan-bot-launcher img { width: 52px; height: 52px; border-radius: 50%; display: block; border: 2px solid #f58220; }
.ercan-bot-launcher strong { display: block; font-size: 14px; line-height: 1.15; color: #071326; }
.ercan-bot-launcher span { display: block; margin-top: 2px; font-size: 11px; color: #6b6b6b; }
.ercan-bot-panel { display: none; width: 380px; max-width: calc(100vw - 28px); height: 560px; max-height: calc(100vh - 40px); background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 55px rgba(0,0,0,.28); border: 1px solid rgba(7,19,38,.12); }
#ercan-assistant-widget.is-open .ercan-bot-launcher { display: none; }
#ercan-assistant-widget.is-open .ercan-bot-panel { display: flex; flex-direction: column; }
.ercan-bot-header { display: flex; align-items: center; gap: 12px; padding: 15px 16px; background: #071326; color: #fff; }
.ercan-bot-header img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #f58220; flex: 0 0 auto; }
.ercan-bot-title { flex: 1; min-width: 0; }
.ercan-bot-title strong { display: block; font-size: 16px; line-height: 1.1; color: #fff; }
.ercan-bot-title span { display: block; font-size: 12px; line-height: 1.3; opacity: .82; margin-top: 3px; }
.ercan-bot-close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; line-height: 34px; cursor: pointer; }
.ercan-bot-body { flex: 1; overflow: auto; padding: 15px; background: #f7f8fa; }
.ercan-bot-message { background: #fff; border-radius: 15px; padding: 12px 13px; font-size: 13px; line-height: 1.45; box-shadow: 0 4px 14px rgba(7,19,38,.06); margin-bottom: 12px; }
.ercan-bot-section-title { font-size: 12px; font-weight: 700; color: #071326; margin: 12px 2px 8px; }
.ercan-bot-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.ercan-bot-category, .ercan-bot-question, .ercan-bot-action, .ercan-bot-back { width: 100%; border: 1px solid rgba(7,19,38,.12); background: #fff; color: #071326; text-align: left; border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.25; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.ercan-bot-category:hover, .ercan-bot-question:hover, .ercan-bot-action:hover, .ercan-bot-back:hover { border-color: #f58220; background: #fff8f2; }
.ercan-bot-answer { background: #fff; border-left: 4px solid #f58220; border-radius: 12px; padding: 12px; font-size: 13px; line-height: 1.45; margin-top: 10px; color: #071326; }
.ercan-bot-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
.ercan-bot-action { text-decoration: none; display: block; font-weight: 700; text-align: center; }
.ercan-bot-action.whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.ercan-bot-footer { padding: 10px 14px; border-top: 1px solid rgba(7,19,38,.08); background: #fff; font-size: 11px; color: #777; text-align: center; }
@media (max-width: 640px) { #ercan-assistant-widget { right: 12px; bottom: 12px; } .ercan-bot-panel { width: calc(100vw - 24px); height: min(82vh, 620px); border-radius: 18px; } .ercan-bot-launcher strong { font-size: 13px; } }
