/* Asystent AI na czacie klienta (public/assets/features/chat.js) */
.aiav { background: linear-gradient(135deg, #7b5cff, #2fd3c6); color: #fff; font-weight: 700; }
.aiconv { border: 1px solid rgba(123, 92, 255, .35); }
.aipill { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(123, 92, 255, .15); color: #7b5cff; vertical-align: middle; }
.aiwho { color: #7b5cff; }
.aibubble { border-left: 3px solid #7b5cff; white-space: pre-line; }
.aihandoff { margin-top: 6px; font-size: 12px; font-weight: 600; color: #c47a00; }
.aityping { display: inline-flex; gap: 4px; padding: 4px 0; }
.aityping i { width: 7px; height: 7px; border-radius: 50%; background: #7b5cff; opacity: .35; animation: aidot 1.1s infinite; }
.aityping i:nth-child(2) { animation-delay: .18s; }
.aityping i:nth-child(3) { animation-delay: .36s; }
@keyframes aidot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.aitabs { margin-bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .aityping i { animation: none; opacity: .7; } }

/* Przycisk „AI Czat” w nagłówku ekranu Start — stonowany (2026-10-21): jak inne przyciski nagłówka, z napisem */
.iconbtn.aichatbtn { width: auto; padding: 0 12px 0 10px; gap: 6px; border-radius: 999px; display: inline-flex; align-items: center; position: relative; }
.iconbtn.aichatbtn svg { color: #b9a8ff; }
.aichatlbl { font-weight: 600; font-size: 12.5px; letter-spacing: .2px; white-space: nowrap; }
.iconbtn.aichatbtn:active { transform: scale(.95); }

/* AI Czat: kategorie pomocy i przykładowe pytania */
/* Kafle kategorii: małe, 3 w rzędzie, tylko ikona i nazwa */

/* Kontakt z klubem z AI Czat */
.aiclubbtn { margin-top: 8px; width: 100%; padding: 9px 12px; font-size: 13px; }
.chatcount a { color: #2fd3c6; font-weight: 600; }

/* Admin: częste pytania i odpowiedzi klubu */
.aitopic { margin-bottom: 10px; }
.aitopic-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 4px; }
.aitopic-h .aipill { margin-left: 0; }
.aitopic-a { margin-top: 4px; white-space: pre-line; }
.aipill-warn { background: rgba(255, 140, 0, .18); color: #ff9f2e; }
.aipill-ok { background: rgba(47, 211, 198, .18); color: #2fd3c6; }
