#live-chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99999;
    font-family: 'Poppins', sans-serif;
}
.chat-trigger {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--primary-color, #A93226);
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(169, 50, 38, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    animation: bounceIn 0.5s;
}
.chat-trigger:hover {
    transform: scale(1.1);
}
.chat-window {
    display: none;
    flex-direction: column;
    width: 340px;
    height: 480px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}
.chat-header {
    background: var(--primary-color, #A93226);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: opacity 0.2s;
}
.chat-header button:hover {
    opacity: 0.7;
}
.chat-body {
    flex: 1;
    padding: 20px 15px;
    overflow-y: auto;
    background: #f4f6f7;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}
.chat-msg p {
    margin: 0;
}
.chat-msg.bot {
    align-self: flex-start;
    background: #EAECEE;
    color: #333;
    border-bottom-left-radius: 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.chat-msg.user {
    align-self: flex-end;
    background: var(--primary-color, #A93226);
    color: white;
    border-bottom-right-radius: 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.chat-input-area {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
    background: white;
}
.chat-input-area input {
    flex: 1;
    border: none;
    padding: 12px;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
}
.chat-input-area button {
    background: none;
    border: none;
    color: var(--primary-color, #A93226);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0 15px;
    transition: transform 0.2s;
}
.chat-input-area button:hover {
    transform: scale(1.1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounceIn {
    0% { transform: scale(0.1); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}
