.chat-icon{position:fixed;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px rgb(0 0 0 / .15);transition:transform .2s;z-index:9999;color:#fff}.chat-icon img{width:24px;height:24px}.chat-icon img[src$=".svg"]{filter:brightness(0) invert(1)}.chat-icon:hover{transform:translateY(-2px)}.chatyar-welcome-message{position:fixed;padding:10px 14px;border-radius:18px;box-shadow:0 2px 8px rgb(0 0 0 / .12);font-size:13px;line-height:1.5;z-index:9998;opacity:0;transform:scale(.8);transition:opacity .3s,transform .3s;pointer-events:none;max-width:220px;cursor:pointer}.chatyar-welcome-message.show{opacity:1;transform:scale(1);pointer-events:auto;animation:welcomeBounce .5s ease}@keyframes welcomeBounce{0%{transform:scale(.8)}50%{transform:scale(1.05)}100%{transform:scale(1)}}.chatyar-welcome-message::before{content:'';position:absolute;width:0;height:0;border-style:solid}.chatyar-welcome-message.position-left::before{left:-6px;bottom:14px;border-width:6px 8px 6px 0}.chatyar-welcome-message.position-right::before{right:-6px;bottom:14px;border-width:6px 0 6px 8px}.chat-box{position:fixed;background:#fff;border-radius:12px;box-shadow:0 8px 24px rgb(0 0 0 / .12);display:none;flex-direction:column;z-index:9999;overflow:hidden;width:400px;max-width:calc(100vw - 56px);max-height:calc(100dvh - 32px);min-height:0;box-sizing:border-box}.chat-box.active{display:flex;animation:slideUp .2s ease;max-height:calc(100dvh - 32px)}@keyframes slideUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.chat-header{color:#fff;padding:18px 20px;display:flex;justify-content:space-between;align-items:center}.chat-header-content{flex:1}.chat-header h3{font-size:15px;font-weight:700;margin:0}.chat-subtitle{font-size:14px;margin:4px 0 0;opacity:.9;font-weight:600}.close-btn{background:rgb(255 255 255 / .2);border:0;color:#fff;font-size:20px;cursor:pointer;width:28px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:background .2s}.close-btn:hover{background:rgb(255 255 255 / .3)}.chat-content{padding:16px;max-height:300px;overflow-y:auto;background:#fff;flex:1 1 auto;min-height:0}.chat-content.has-livechat{overflow:auto;max-height:none;padding:0;flex:1;display:flex;flex-direction:column;min-height:0}.chat-content.has-livechat .chatyar-tab-content{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column}.chat-content{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto}.chat-content.has-livechat .chatyar-tab-content:not(.chatyar-lc-wrap){padding:16px;flex:1;min-height:0}.chat-content::-webkit-scrollbar{width:4px}.chat-content::-webkit-scrollbar-thumb{background:#ddd;border-radius:2px}.chat-box .chatyar-tabs{display:grid;background:#f5f5f5;padding:4px;gap:2px}.chat-box .chatyar-tab-btn{padding:10px 6px;background:#fff0;border:0;border-radius:6px;cursor:pointer;font-size:12px;font-weight:600;color:#666;transition:all 0.2s ease}.chat-box .chatyar-tab-btn:hover{color:#333;background:#eee}.chat-box .chatyar-tab-btn.active{background:#fff}.chat-box .chatyar-tab-content{display:none;flex:1;min-height:0;overflow-y:auto}.chat-box .tab-description{color:#666;font-size:15px;margin-bottom:12px;font-weight:500;margin-top:0}.chat-box .whatsapp-list{display:flex;flex-direction:column;gap:8px}.chat-box .whatsapp-item{display:flex;align-items:center;gap:12px;padding:12px;background:#f9f9f9;border:1px solid #e5e5e5;border-radius:8px;text-decoration:none;transition:all .2s}.chat-box .whatsapp-item:hover{background:#f0fdf4;border-color:#86efac}.chat-box .whatsapp-profile{flex-shrink:0}.chat-box .whatsapp-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #e5e7eb}.chat-box .whatsapp-avatar-default{background:#f3f4f6;display:flex;align-items:center;justify-content:center;color:#9ca3af}.chat-box .whatsapp-info{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.chat-box .whatsapp-name{font-size:14px;font-weight:600;color:#333;display:flex;align-items:center;gap:6px;flex-wrap:wrap;line-height:1.3}.chat-box .whatsapp-department{font-size:12px;color:#666;line-height:1.3}.chat-box .whatsapp-icon{width:32px;height:32px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#25d366;flex-shrink:0}.chat-box .online-badge{display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:500;padding:2px 6px;border-radius:10px;line-height:1}.chat-box .online-badge::before{content:'';width:6px;height:6px;border-radius:50%;display:inline-block}.chat-box .online-badge.online{background:#d1fae5;color:#065f46}.chat-box .online-badge.online::before{background:#10b981}.chat-box .online-badge.offline{background:#fee2e2;color:#991b1b}.chat-box .online-badge.offline::before{background:#ef4444}.chat-box .faq-list{display:flex;flex-direction:column;gap:8px}.chat-box .faq-item{border:1px solid #e5e5e5;border-radius:8px;overflow:hidden;background:#f9f9f9;margin-bottom:0!important;padding:0!important}.chat-box .faq-question{width:100%;padding:8px 10px!important;background:0;border:0;text-align:right;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;color:#333;transition:background .2s}.chat-box .faq-question::after{display:none!important}.chat-box .faq-question:hover{background:#f5f5f5}.chat-box .faq-icon{line-height:0;font-size:18px;font-weight:700;transition:transform .2s}.chat-box .faq-item.active .faq-icon{transform:rotate(45deg)}.chat-box .faq-answer{padding:0 14px;max-height:0;overflow:hidden;transition:all .3s;font-size:12px;line-height:1.6;color:#555}.chat-box .faq-item.active .faq-answer{padding:0 14px 12px;max-height:400px}.chat-box .faq-button-container{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px!important;margin-top:16px}.chat-box .faq-button{display:inline-flex;align-items:center;justify-content:center;padding:0 24px;background:#fff;color:#000;text-decoration:none;border:2px solid #683594;border-radius:50px;font-size:13px;font-weight:600;transition:all 0.3s ease}.chat-box .faq-button:hover{transform:translateY(-2px);opacity:.9;color:#000000!important}.chat-box .faq-button:active{transform:translateY(0)}.chat-box .contact-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.chat-box .contact-item{display:flex;align-items:center;gap:8px;padding:0 10px;background:#f9f9f9;border:1px solid #e5e5e5;border-radius:8px;text-decoration:none;transition:all .2s}.chat-box .contact-item:hover{background:#fff}.chat-box .contact-icon{width:40px;height:40px;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.chat-box .contact-info{display:flex;flex-direction:column;gap:2px}.chat-box .contact-type-name{font-size:11px;font-weight:600;color:#888;line-height:1.2}.chat-box .contact-title{font-size:12px;font-weight:600;color:#333}.chat-box .contact-detail{font-size:14px;color:#666}.chat-box .working-hours-notice{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 20px;text-align:center;background:#f9fafb;border-radius:8px;min-height:200px}.chat-box .working-hours-notice svg{color:#9ca3af}.chat-box .chatyar-working-hours-list{width:100%;max-width:280px;background:#fff;border-radius:8px;padding:12px;box-shadow:0 1px 3px rgb(0 0 0 / .1)}.chat-box .chatyar-wh-item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #f0f0f0}.chat-box .chatyar-wh-item:last-child{border-bottom:none}.chat-box .chatyar-wh-days{font-size:13px;font-weight:600;color:#333}.chat-box .chatyar-wh-time{font-size:12px;color:#666;direction:ltr;text-align:left}.chat-box .chatyar-wh-closed .chatyar-wh-days{color:#999}.chat-box .chatyar-wh-closed .chatyar-wh-time{color:#e74c3c;font-weight:600}.chat-box .chatyar-smart-message{border-radius:6px;padding:8px 12px;margin-bottom:12px;font-size:12px;line-height:1.5}.chat-box .chatyar-smart-message.warning{background:#fef3c7;border:1px solid #fbbf24;color:#92400e}.chat-box .chatyar-smart-message.info{background:#dbeafe;border:1px solid #60a5fa;color:#1e40af}.chat-box .chatyar-smart-message.success{background:#d1fae5;border:1px solid #34d399;color:#065f46}@media(max-width:480px){.chat-box .contact-list{grid-template-columns:1fr}.chat-box.chat-box-fullscreen.active{position:fixed;top:0;left:0;right:0;bottom:0;width:100vw!important;max-width:100vw!important;height:100vh;border-radius:0;z-index:99999}.chat-box.chat-box-fullscreen .chat-content{max-height:calc(100vh - 70px);height:calc(100vh - 70px)}}.chatyar-lc-wrap{display:flex;flex-direction:column;padding:6px;flex:1;min-height:0;overflow:hidden;background:#fff0;box-sizing:border-box}.chatyar-lc-intro-card,.chatyar-lc-start{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 2px 0;flex:1}.chatyar-lc-intro-card .chatyar-lc-intro-input,.chatyar-lc-intro-card .chatyar-lc-btn-start,.chatyar-lc-intro-card #chatyarLcStartError{width:78%}.chatyar-lc-intro-header,.chatyar-lc-start-icon{display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:600;color:#1a202c;margin:0 0 2px}.chatyar-lc-start-icon{width:56px;height:56px;border-radius:50%;background:#f3e8ff;color:#683594}.chatyar-lc-start-title{font-size:14px;font-weight:600;color:#1a202c;margin:0}.chatyar-lc-intro-input,.chatyar-lc-input-field{width:100%;padding:6px 9px;border:1px solid #e2e8f0;border-radius:7px;font-size:11px;outline:none;transition:border-color .15s;font-family:inherit;box-sizing:border-box}.chatyar-lc-intro-input:focus,.chatyar-lc-input-field:focus{border-color:#683594}.chatyar-lc-btn-start{width:100%;padding:8px 10px;background:#683594;color:#fff;border:0;border-radius:7px;font-size:12px;font-weight:600;cursor:pointer;transition:background .15s;font-family:inherit}.chatyar-lc-btn-start:hover{background:#562a7c}.chatyar-lc-chat{flex-direction:column;display:flex;flex:1;min-height:0;background:#fff0;border-radius:0;box-shadow:none;padding:0}.chatyar-lc-topbar{display:none;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #f0f3f7;margin-bottom:10px}.chatyar-lc-history-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;border-radius:10px;border:1px solid #e2e8f0;background:#fff;color:#334155;font-size:12px;cursor:pointer}.chatyar-lc-history-btn:hover{background:#f8fafc}.chatyar-lc-history-panel{display:flex;flex-direction:column;gap:10px;padding:0 0 10px;min-height:0}.chatyar-lc-hp-search,.chatyar-lc-hp-list,.chatyar-lc-hp-msgs{display:none;flex-direction:column;gap:10px}.chatyar-lc-hp-search{padding:12px 0 0}.chatyar-lc-hp-title{font-size:14px;margin:0 0 10px;color:#334155;font-weight:600}.chatyar-lc-intro-input{width:100%;padding:6px 9px;border:1px solid #e2e8f0;border-radius:8px;font-size:11px;outline:none;transition:border-color .15s;font-family:inherit;box-sizing:border-box}.chatyar-lc-history-msg,.chatyar-lc-hp-msgs .chatyar-lc-history-empty{color:#64748b;font-size:13px;min-height:20px}.chatyar-lc-hp-list,.chatyar-lc-hmsgs-body{display:flex;flex-direction:column;gap:8px;overflow-y:auto;max-height:260px;padding-right:4px}.chatyar-lc-hp-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 0}.chatyar-lc-nav-btn{appearance:none;border:0;background:#fff0;color:#475569;cursor:pointer;font-size:13px;padding:4px 6px}.chatyar-lc-sitem{border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;background:#f8fafb;cursor:pointer}.chatyar-lc-sitem:hover{background:#eef2ff}.chatyar-lc-sitem-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.chatyar-lc-sitem-name,.chatyar-lc-sitem-date{font-size:12px;color:#475569}.chatyar-lc-sitem-preview{font-size:13px;color:#334155;line-height:1.4}.chatyar-lc-sitem-count{font-size:12px;color:#64748b;text-align:right}.chatyar-lc-hm{border-radius:12px;padding:10px 12px;background:#f8fafc}.chatyar-lc-hm-admin{background:#ede9fe;align-self:flex-end}.chatyar-lc-hm-visitor{background:#f1f5f9;align-self:flex-start}.chatyar-lc-hm-who{display:block;font-size:11px;color:#64748b;margin-bottom:6px}.chatyar-lc-hm-time{display:block;margin-top:8px;font-size:11px;color:#94a3b8;text-align:right}.chatyar-lc-messages{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:0 0 8px;min-height:120px;scroll-behavior:smooth;background:#fff0}.chatyar-lc-loading{width:100%;min-height:60px;display:flex;align-items:center;justify-content:center;padding:12px;color:#64748b;font-size:13px;background:#fff;border-radius:12px;border:1px solid #e2e8f0}.chatyar-lc-loading--compact{min-height:40px;padding:8px;font-size:12px;border-radius:10px;color:#475569}.chatyar-lc-typing{position:relative;opacity:.95}.chatyar-lc-typing p{margin:0}.chatyar-lc-typing-dots{display:inline-flex;align-items:center;gap:6px}.chatyar-lc-typing-dots span{width:8px;height:8px;background:#cbd5e1;border-radius:50%;animation:chatyarLcTypingDots 0.9s infinite ease-in-out}.chatyar-lc-typing-dots span:nth-child(2){animation-delay:0.15s}.chatyar-lc-typing-dots span:nth-child(3){animation-delay:0.3s}@keyframes chatyarLcTypingDots{0%,100%{transform:translateY(0);opacity:.4}50%{transform:translateY(-3px);opacity:1}}.chatyar-lc-messages::-webkit-scrollbar{width:3px}.chatyar-lc-messages::-webkit-scrollbar-thumb{background:#ddd;border-radius:2px}.chatyar-lc-bubble{max-width:82%;display:flex;flex-direction:column;gap:2px}.chatyar-lc-bubble.admin{max-width:92%}.chatyar-lc-bubble-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:0 4px;margin-top:2px}.chatyar-lc-bubble.visitor{align-self:flex-start}.chatyar-lc-bubble.admin{align-self:flex-end}.chatyar-lc-bubble-sender{font-size:10px;color:#9ca3af}.chatyar-lc-bubble-time{font-size:10px;color:#bbb}.chatyar-lc-bubble p{margin:0;padding:8px 11px;font-size:13px;line-height:1.5;word-break:break-word;white-space:pre-wrap}.chatyar-lc-bubble.visitor p{background:#f3f4f6;color:#111;border-radius:12px 12px 4px 12px}.chatyar-lc-bubble.admin p{background:#683594;color:#fff;border-radius:12px 12px 12px 4px}.chatyar-lc-link-wrap{display:block;margin-top:6px}.chatyar-lc-bubble p a.chatyar-lc-link{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:5px 10px;border-radius:8px;font-size:12px;font-weight:500;text-decoration:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition:opacity 0.15s}.chatyar-lc-bubble.visitor p a.chatyar-lc-link{background:#e5e7eb;color:#1d4ed8;border:1px solid #c7d2fe}.chatyar-lc-bubble.admin p a.chatyar-lc-link{background:rgb(255 255 255 / .18);color:#fff;border:1px solid rgb(255 255 255 / .35)}.chatyar-lc-bubble p a.chatyar-lc-link:hover{opacity:.85;text-decoration:none}.chatyar-lc-system{font-size:11px;color:#9ca3af;text-align:center;background:#f9fafb;padding:4px 8px;border-radius:20px;align-self:center}.chatyar-lc-feedback{display:contents}.chatyar-lc-fb-btn{padding:2px 8px;border-radius:20px;border:1px solid;font-size:10px;font-weight:600;cursor:pointer;transition:background .15s,color .15s;font-family:inherit;white-space:nowrap;line-height:1.4}.chatyar-lc-fb-btn.satisfied{background:#f0fdf4;border-color:#86efac;color:#16a34a}.chatyar-lc-fb-btn.satisfied:hover{background:#dcfce7}.chatyar-lc-fb-btn.unsatisfied{background:#fff7ed;border-color:#fdba74;color:#c2410c}.chatyar-lc-fb-btn.unsatisfied:hover{background:#ffedd5}.chatyar-lc-composer{display:flex;gap:6px;align-items:flex-end;border-top:0;padding:8px 0 0;margin-top:0;background:#fff0}.chatyar-lc-textarea{flex:1;resize:none;border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px;font-size:13px;line-height:1.5;outline:none;height:34px;min-height:34px;max-height:60px;overflow-y:hidden;transition:border-color .15s;font-family:inherit;box-sizing:border-box}.chatyar-lc-textarea:focus{border-color:#683594}.chatyar-lc-send-btn{width:36px;height:36px;background:#683594;color:#fff;border:0;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .15s}.chatyar-lc-send-btn:hover{background:#562a7c}.chatyar-lc-closed-notice{display:flex;justify-content:center;padding:8px 0;margin-top:6px}.chatyar-lc-exit-btn{padding:8px 20px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#374151;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;transition:background .15s,border-color .15s}.chatyar-lc-exit-btn:hover{background:#f8fafc;border-color:#cbd5e1}.chatyar-lc-spinner{display:none;width:14px;height:14px;border:2px solid rgb(255 255 255 / .35);border-top-color:#fff;border-radius:50%;animation:chatyarLcSpin .7s linear infinite;margin-left:6px}@keyframes chatyarLcSpin{to{transform:rotate(360deg)}}