.chat-widget-bubble {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #d8397c;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(216, 57, 124, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-widget-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(216, 57, 124, 0.5);
}

.chat-widget-panel {
    position: fixed;
    bottom: 168px;
    right: 24px;
    width: 340px;
    max-height: 440px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-family: "Archivo", sans-serif;
}

.chat-widget-panel.open {
    display: flex;
}

.chat-widget-header {
    background: #d8397c;
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-widget-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-widget-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.chat-widget-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    max-height: 260px;
    min-height: 120px;
}

.chat-widget-message {
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    max-width: 85%;
}

.chat-widget-message.bot {
    background: #f0f0f0;
    color: #333;
    border-bottom-left-radius: 4px;
}

.chat-widget-message.user {
    background: #d8397c;
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.chat-widget-input-area {
    display: flex;
    padding: 12px;
    border-top: 1px solid #eee;
    gap: 8px;
}

.chat-widget-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    outline: none;
    font-family: "Archivo", sans-serif;
}

.chat-widget-input:focus {
    border-color: #d8397c;
}

.chat-widget-send {
    background: #d8397c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s;
}

.chat-widget-send:hover {
    background: #b82d66;
}

@media (max-width: 480px) {
    .chat-widget-panel {
        right: 8px;
        left: 8px;
        width: auto;
        bottom: 80px;
    }
}
