/* IMPORTANT: Scope widget styles to avoid changing the WordPress theme. */
#nasci-chatbot, #nasci-chatbot * { box-sizing: border-box; }
#nasci-chatbot { position: fixed; right: 20px; bottom: 20px; z-index: 99999; font: 14px/1.45 Arial, sans-serif; color: #193b56; }
#nasci-chatbot button { font: inherit; cursor: pointer; }
#nasci-chatbot .nasci-hidden { display: none; }
#nasci-chatbot-toggle { border: 0; border-radius: 999px; padding: 10px 18px; min-height: 44px; background: #193b56; color: #fff; box-shadow: 0 4px 16px #102b3f30; font-weight: 700; }
#nasci-chatbot-panel { position: absolute; right: 0; bottom: 58px; width: min(380px, calc(100vw - 32px)); max-height: min(600px, calc(100vh - 96px)); max-height: min(600px, calc(100dvh - 96px)); background: #fff; border: 1px solid #d9e1e6; border-radius: 12px; box-shadow: 0 12px 32px #102b3f30; overflow: hidden; display: flex; flex-direction: column; }
#nasci-chatbot .nasci-chatbot-header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: #193b56; color: #fff; }
#nasci-chatbot .nasci-chatbot-header strong, #nasci-chatbot .nasci-chatbot-header span { display: block; }
#nasci-chatbot .nasci-chatbot-header strong { font-size: 15px; line-height: 1.3; }
#nasci-chatbot .nasci-chatbot-header span { font-size: 12px; opacity: .85; }
#nasci-chatbot-close { flex: 0 0 40px; border: 0; background: transparent; color: #fff; font-size: 24px !important; width: 40px; height: 40px; line-height: 1; }
#nasci-chatbot .nasci-chatbot-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 16px; background: #f6f8f9; }
#nasci-chatbot-messages { overflow-wrap: anywhere; }
#nasci-chatbot .nasci-view-heading { margin: 0 0 14px; color: #193b56; font-size: 16px; line-height: 1.35; font-weight: 700; }
#nasci-chatbot .nasci-service-description { margin: 0 0 10px; color: #344d60; line-height: 1.5; }
#nasci-chatbot .nasci-service-description:last-child { margin-bottom: 16px; }
#nasci-chatbot-actions { display: flex; flex-direction: column; gap: 7px; }
#nasci-chatbot-navigation { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px; border-top: 1px solid #e1e6e9; background: #fff; }
#nasci-chatbot-navigation:empty { display: none; }
#nasci-chatbot .nasci-action-button { width: 100%; min-height: 42px; text-align: left; padding: 9px 12px; border: 1px solid #c4d2dc; border-radius: 7px; background: #fff; color: #193b56; font-size: 13px; line-height: 1.3; font-weight: 600; white-space: normal; overflow-wrap: anywhere; }
#nasci-chatbot .nasci-action-button:hover, #nasci-chatbot .nasci-action-button:focus-visible { background: #eaf1f5; border-color: #193b56; }
#nasci-chatbot .nasci-main-action { background: #eaf1f5; border-color: #d3e0e8; font-size: 14px; }
#nasci-chatbot .nasci-primary-button { background: #193b56; border-color: #193b56; color: #fff; text-align: center; }
#nasci-chatbot .nasci-primary-button:hover, #nasci-chatbot .nasci-primary-button:focus-visible { background: #285576; color: #fff; }
#nasci-chatbot .nasci-navigation-button { width: auto; flex: 1 1 auto; min-height: 40px; padding: 8px 10px; border-color: transparent; background: transparent; font-size: 12px; text-align: center; }
#nasci-chatbot button:focus-visible { outline: 3px solid #d49b42; outline-offset: 2px; }
@media (max-width: 480px) { #nasci-chatbot { right: 16px; bottom: 16px; } #nasci-chatbot-panel { bottom: 56px; width: calc(100vw - 32px); max-height: calc(100vh - 88px); max-height: calc(100dvh - 88px); } }
