/* Chatbot Widget Styles */
#chatbot-root {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(138, 97, 236, 0.4);
    transition: transform 0.3s ease;
}

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

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 520px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chatbot-window.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary), #724CCF);
    color: white;
    padding: 16px 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-close {
    cursor: pointer;
    font-size: 18px;
    font-family: monospace;
    transition: transform 0.2s;
}

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

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #F9FAFB;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chatbot-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.bot-msg {
    background: white;
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    border: 1px solid #F0F0F0;
}

.user-msg {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 5px rgba(138, 97, 236, 0.2);
}

.chatbot-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.chat-option-btn {
    background: var(--primary-lightest);
    color: var(--primary);
    border: 1px solid var(--primary-light);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.chat-option-btn:hover {
    background: var(--primary);
    color: white;
}

.chat-actions {
    padding: 16px;
    background: white;
    border-top: 1px solid #E5E7EB;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.chat-action-btn {
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.2s;
}

.chat-action-btn:hover {
    transform: translateY(-2px);
}

.btn-buy {
    background: linear-gradient(90deg, var(--primary), #D946EF);
    color: white;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
}

.btn-form {
    background: white;
    color: var(--primary);
    border: 1.5px solid var(--primary-light);
}
