/* Chatbot Trigger */
.chatbot-trigger {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: #fa709a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.chatbot-trigger i {
    color: white;
    font-size: 1.5rem;
}

.chatbot-trigger:hover {
    transform: scale(1.05);
}

/* Chatbot Container */
.chatbot-container {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chatbot-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Chatbot Header */
.chatbot-header {
    padding: 1rem;
    background: #fa709a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chatbot-logo {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.chatbot-close:hover {
    transform: scale(1.1);
}

/* Messages Area */
.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.bot-message {
    background: #f0f0f0;
    align-self: flex-start;
    border-bottom-left-radius: 0.25rem;
}

.user-message {
    background: #fa709a;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0.25rem;
}

/* Input Area */
.chatbot-input {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid #eee;
}

#chatbot-input-field {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 2rem;
    outline: none;
    font-size: 0.9rem;
}

#chatbot-input-field:focus {
    border-color: #fa709a;
}

#chatbot-send {
    background: #fa709a;
    color: white;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#chatbot-send:hover {
    transform: scale(1.05);
}

/* Scrollbar Styles */
.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #fa709a;
    border-radius: 3px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chatbot-container {
        width: calc(100% - 2rem);
        height: 60vh;
        bottom: 6rem;
        left: 1rem;
    }
} 