#solar-chat-wrapper { 
    position: fixed; 
    bottom: 25px; 
    right: 25px; 
    z-index: 1250; 
    font-family: 'Roboto', 'Segoe UI', sans-serif; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- 1. HIỆU ỨNG 3 VÒNG TRÒN HIỆN KHI RÊ CHUỘT --- */ 
.contact-submenu { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    margin-bottom: 20px; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(20px); 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
} 

/* Khi rê chuột vào wrapper thì hiện 3 vòng tròn */ 
#solar-chat-wrapper:hover .contact-submenu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
} 

.circle-btn { 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-decoration: none; 
    color: white; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
    transition: transform 0.2s; 
    position: relative; 
} 

.circle-btn:hover { transform: scale(1.15); } 

.circle-btn::after { 
    content: attr(data-label); 
    position: absolute; 
    right: 65px; 
    background: rgba(255,255,255,0.9); 
    color: #333; 
    padding: 4px 10px; 
    border-radius: 4px; 
    font-size: 12px; 
    font-weight: bold; 
    white-space: nowrap; 
    opacity: 0; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); 
    transition: 0.2s; 
    pointer-events: none;
} 
.circle-btn:hover::after { opacity: 1; } 

.zalo { background-color: #0068ff; } 
.zalo img { border-radius: 50%; }
.sms  { background-color: #ff9800; } 
.call { background-color: #eb4d4b; } 

/* --- 2. NÚT CHÍNH (GIỮ FORM CHUẨN) --- */ 
#chat-toggle-btn { 
    width: 70px; 
    height: 70px; 
    background-color: #27ae60; 
    border-radius: 50%; 
    border: none; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    cursor: pointer; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); 
    position: relative; 
    padding: 0; 
    z-index: 2;
} 

.white-bubble { 
    width: 36px; 
    height: 26px; 
    background-color: #fff; 
    border-radius: 13px; 
    position: relative; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 3px; 
} 

.white-bubble::after { 
    content: ""; 
    position: absolute; 
    bottom: -4px; 
    left: 8px; 
    width: 0; 
    height: 0; 
    border-left: 8px solid #fff; 
    border-bottom: 6px solid transparent; 
    clip-path: polygon(0 0, 100% 0, 0 100%); 
} 

.dot { 
    width: 4px; 
    height: 4px; 
    background-color: #27ae60; 
    border-radius: 50%; 
} 

.notification-red { 
    position: absolute; 
    top: 10px; 
    right: 10px; 
    width: 12px; 
    height: 12px; 
    background-color: #ff3b30; 
    border: 2px solid #fff; 
    border-radius: 50%; 
} 

#chat-toggle-btn.chat-open .notification-red { display: none; }

.pulse { animation: pulse-animation 2s infinite; } 
@keyframes pulse-animation { 
    0% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7); } 
    70% { box-shadow: 0 0 0 15px rgba(39, 174, 96, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); } 
} 

/* --- 3. KHUNG CHAT WINDOW (GIỮ NGUYÊN) --- */
#chat-window { 
    width: 320px; 
    height: 450px; 
    background: white; 
    border-radius: 15px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
    position: absolute; 
    bottom: 85px; 
    right: 0; 
    z-index: 10;
} 

.chat-window-hidden { display: none !important; } 

.solar-chat-header { background: #27ae60; color: white; padding: 15px; display: flex; justify-content: space-between; align-items: center; } 
.solar-chat-header-info { display: flex; align-items: center; gap: 10px; } 
.solar-chat-avatar { border-radius: 50%; border: 2px solid white; } 
.solar-chat-header h4 { margin: 0; font-size: 16px; } 
.solar-chat-header p { margin: 0; font-size: 12px; opacity: 0.9; } 
.solar-chat-online { display: inline-block; width: 8px; height: 8px; background: #4cd137; border-radius: 50%; margin-right: 4px; } 
#close-chat { background: none; border: none; color: white; font-size: 24px; cursor: pointer; line-height: 1; padding: 0 4px; } 

.solar-chat-body { flex: 1; padding: 15px; background: #f4f7f6; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; } 
.solar-chat-message { padding: 10px 15px; border-radius: 15px; font-size: 14px; max-width: 85%; line-height: 1.4; } 
.solar-chat-bot { background: white; border: 1px solid #e8e8e8; color: #333; border-bottom-left-radius: 2px; align-self: flex-start; } 
.solar-chat-user { background: #27ae60; color: white; border-bottom-right-radius: 2px; align-self: flex-end; } 

.solar-chat-footer { padding: 10px; display: flex; gap: 5px; background: white; border-top: 1px solid #eee; } 
#chat-input { flex: 1; border: 1px solid #ddd; border-radius: 20px; padding: 8px 15px; outline: none; } 
#send-chat-btn { background: #27ae60; border: none; color: white; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } 

@media (max-width: 576px) { 
    #solar-chat-wrapper { bottom: 16px; right: 16px; } 
    #chat-window { width: min(320px, calc(100vw - 32px)); height: min(450px, 70vh); } 
}