
.chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
    overflow: hidden;
    font-family: sans-serif;
    z-index: 99999;
}

.chat-header {
    background-color: #1c2d64;
    color: #fff;
    padding: 12px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.chat-toggle {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

.chat-clear {
    position: absolute;
    right: 38px;
    top: 10px;
    cursor: pointer;
    font-size: 16px;
}

.chat-body {
    max-height: 250px;
    overflow-y: auto;
    padding: 10px;
    font-size: 14px;
}

.chat-input {
    border: none;
    border-top: 1px solid #ddd;
    width: 100%;
    padding: 12px;
    font-size: 14px;
    box-sizing: border-box;
}

.msg {
    margin: 5px 0;
    padding: 8px;
    border-radius: 8px;
}

.msg.user {
    text-align: right;
    background: #e0f0ff;
    color: #0c3d74;
}

.msg.bot {
    background: #f7f7f7;
}

.reactions {
    margin-top: 6px;
    font-size: 16px;
}
.reactions span {
    cursor: pointer;
    margin-right: 5px;
}
.emoji-reply {
    margin-left: 5px;
}

.quick-buttons {
    margin-top: 10px;
}
.quick-btn {
    background-color: #1c2d64;
    color: #fff;
    border: none;
    margin: 4px 4px 0 0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
}
.quick-btn:hover {
    background-color: #324a8c;
}

.suggestions-box {
    background: #ffffff;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 8px;
    max-height: 100px;
    overflow-y: auto;
    font-size: 13px;
    color: #333;
}
.suggestions-box .suggestion {
    padding: 4px 6px;
    cursor: pointer;
}
.suggestions-box .suggestion:hover {
    background: #f0f0f0;
}

@keyframes wiggle {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-4px);
    }
    75% {
        transform: translateX(4px);
    }
}

.chat-header .assistant-icon {
    display: inline-block;
    animation: wiggle 1s infinite;
    margin-right: 6px;
}

.chat-widget.minimized .chat-body,
.chat-widget.minimized .chat-input,
.chat-widget.minimized .suggestions-box {
    display: none;
}
