:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --background-color: #FDF5E6;
    --text-color: #2C1810;
    --border-color: #DEB887;
}

.chat-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 360px;
    height: 600px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 15px;
    color: white;
}

.profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
}

.profile-info h2 {
    margin: 0;
    font-size: 1.2rem;
}

.profile-info p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.9;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
}

.chat-messages .message {
    margin-bottom: 15px;
    width: 100%;
    display: flex;
}

.chat-messages .message.bot {
    justify-content: flex-start;
}

.chat-messages .message.user {
    justify-content: flex-end;
}

.chat-messages .message p {
    max-width: 70%;
    padding: 12px 16px;
    margin: 0;
}

.chat-messages .message.bot p {
    background: var(--primary-color);
    color: white;
    border-radius: 15px 15px 15px 0;
}

.chat-messages .message.user p {
    background: white;
    color: var(--text-color);
    border-radius: 15px 15px 0 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.message.typing p {
    background: #f0f0f0;
    color: #666;
    min-width: 50px;
}

.quick-replies {
    padding: 10px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.9);
}

.quick-reply {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.3s;
}

.quick-reply:hover {
    background: var(--primary-color);
}

.chat-input {
    padding: 15px;
    display: flex;
    gap: 10px;
    background: white;
    border-top: 1px solid var(--border-color);
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    outline: none;
}

.send-button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.send-button:hover {
    background: var(--secondary-color);
}

.chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}