.ai-chat-box-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: auto;
    z-index: 9999;
    font-family: sans-serif;
}

.ai-chat-box-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #d81b60;
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.ai-chat-box-toggle:hover {
    transform: scale(1.05);
}

.ai-chat-box-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    left: auto;
    width: 320px;
    height: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.ai-chat-box-window.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ai-chat-box-header {
    background: #d81b60;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-box-header h4 {
    margin: 0;
    font-size: 16px;
}

.ai-chat-box-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.ai-chat-box-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
}

.ai-chat-message {
    margin-bottom: 15px;
}

.ai-chat-message p {
    margin: 0;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
    max-width: 85%;
    font-size: 14px;
}

.ai-chat-message-ai p {
    background: #e1e1e1;
    color: #333;
}

.ai-chat-message-user p {
    background: #d81b60;
    color: white;
    float: right;
}

.ai-chat-box-footer {
    padding: 15px;
    display: flex;
    border-top: 1px solid #eee;
    background: white;
}

.ai-chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.ai-chat-send {
    background: #d81b60;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    margin-left: 10px;
    cursor: pointer;
}
