:root {
    --primary-color: #e75a87;
    --secondary-color: #f8e3e8;
    --text-color: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --light-bg: #f9f9f9;
    --border-color: #eeeeee;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}
/* assets/css/chatbot.css */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.chatbot-widget.active {
    display: flex;
    transform: translateY(0);
}

.chatbot-header {
    background: var(--primary-color); /* Dark brown matching website theme */
    color: var(--text-color); /* Cream text for contrast */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.chatbot-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.2s;
}

.chatbot-close:hover {
    opacity: 0.8;
}

.chatbot-messages {
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    background: #faf9f5; /* Light cream background */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chatbot-message {
    margin-bottom: 0;
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 85%;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.chatbot-message.bot {
    background: var(--secondary-color); /* Light beige for bot messages */
    border-bottom-left-radius: 5px;
    align-self: flex-start;
    color: var(--primary-color); /* Dark brown text */
}

.chatbot-message.user {
    background: var(--primary-color); /* Medium brown for user messages */
    color: #fff;
    border-bottom-right-radius: 5px;
    align-self: flex-end;
    margin-left: auto;
}

.chatbot-input {
    display: flex;
    padding: 12px;
    border-top: 1px solid #e8e8e8;
    background: #fff;
}

.chatbot-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d4c9b8;
    border-radius: 24px;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: #faf9f5;
    color: var(--primary-color);
    transition: border-color 0.3s;
}

.chatbot-input input:focus {
    border-color: var(--primary-color);
}

.chatbot-send {
    background: var(--primary-color); /* Medium brown matching user messages */
    color: white;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.chatbot-send:hover {
    background: var(--primary-color); /* Darker brown on hover */
    transform: scale(1.05);
}

.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-color); /* Medium brown */
    color: var(--text-color); /* Cream */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 999;
    transition: all 0.3s;
}

.chatbot-toggle:hover {
    background: var(--primary-color); /* Darker brown */
    transform: scale(1.1);
}

.chatbot-toggle i {
    font-size: 24px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.chatbot-message {
    animation: fadeIn 0.3s ease-out;
}

/* Typing indicator */
.typing-indicator {
    display: inline-block;
    padding: 12px 16px;
    background: var(--secondary-color);
    border-radius: 18px;
    border-bottom-left-radius: 5px;
    align-self: flex-start;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
    opacity: 0.4;
}

.typing-indicator span:nth-child(1) {
    animation: typing 1s infinite;
}

.typing-indicator span:nth-child(2) {
    animation: typing 1s infinite 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation: typing 1s infinite 0.4s;
}

@keyframes typing {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Scrollbar styling */
.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: #f1e9dd;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #d4c9b8;
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}