#normflip-chat-wrapper { 
    position: fixed; 
    bottom: 25px; 
    right: 25px; 
    z-index: 999999; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
}
#normflip-chat-btn { 
    width: 60px; 
    height: 60px; 
    background: var(--groq-rag-theme); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 28px; 
    cursor: pointer; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); 
    transition: all 0.3s ease; 
}
#normflip-chat-btn:hover { 
    transform: scale(1.08); 
    background: var(--groq-rag-hover); 
}
#normflip-chat-box { 
    width: 340px; 
    height: 460px; 
    background: #ffffff; 
    border-radius: 16px; 
    box-shadow: 0 8px 30px rgba(0,0,0,0.15); 
    display: none; 
    flex-direction: column; 
    overflow: hidden; 
    border: 1px solid #f1f2f6; 
    position: absolute; 
    bottom: 75px; 
    right: 0; 
    transition: all 0.3s ease; 
}
#normflip-chat-header { 
    background: linear-gradient(135deg, var(--groq-rag-theme), var(--groq-rag-hover)); 
    color: white; 
    padding: 15px; 
    font-weight: bold; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
#normflip-chat-messages { 
    flex: 1; 
    padding: 15px; 
    overflow-y: auto; 
    background: #f8f9fa; 
    font-size: 14px; 
}
.normflip-msg { 
    margin-bottom: 12px; 
    max-width: 80%; 
    padding: 10px 14px; 
    border-radius: 12px; 
    line-height: 1.4; 
    word-break: break-all; 
}
.normflip-msg.bot { 
    background: #ffffff; 
    color: #2f3542; 
    align-self: flex-start; 
    border-bottom-left-radius: 2px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.03); 
    margin-right: auto; 
}
.normflip-msg.user { 
    background: var(--groq-rag-user-bg); 
    color: var(--groq-rag-user-fg); 
    align-self: flex-end; 
    border-bottom-right-radius: 2px; 
    margin-left: auto; 
}
#normflip-chat-input-area { 
    display: flex; 
    padding: 10px; 
    background: white; 
    border-top: 1px solid #eee; 
}
#normflip-chat-input { 
    flex: 1; 
    border: 1px solid #e4e7eb; 
    padding: 8px 12px; 
    border-radius: 20px; 
    outline: none; 
    font-size: 14px; 
}
#normflip-chat-send { 
    background: var(--groq-rag-theme); 
    color: white; 
    border: none; 
    padding: 0 15px; 
    margin-left: 8px; 
    border-radius: 20px; 
    cursor: pointer; 
    font-size: 14px; 
    transition: background 0.2s; 
}
#normflip-chat-send:hover { 
    background: var(--groq-rag-hover); 
}
