/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background-color: #b76e79;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: 0.3s ease;
}

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

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

.chat-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
}

.chat-header h4 {
    font-size: 1rem;
    margin: 0;
}

.chat-header p {
    font-size: 0.7rem;
    opacity: 0.8;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

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

.message {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.bot {
    background-color: #fde2e4;
    color: #4a4a4a;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.message.user {
    background-color: #b76e79;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    background: white;
}

.chat-input-area input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 20px;
    outline: none;
    font-family: inherit;
}

.send-btn {
    background: #b76e79;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.send-btn:hover {
    background: #a35d68;
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .chatbot-container {
        bottom: 20px;
        right: 20px;
    }

    .chat-window {
        width: calc(100vw - 40px);
        height: 70vh;
        bottom: 70px;
        right: 0;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .chat-window {
        height: 60vh;
        width: calc(100vw - 30px);
        bottom: 70px;
        right: -5px;
    }

    .chat-header h4 {
        font-size: 0.9rem;
    }
}