/* Chat Widget CSS */
#chat-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

#chat-widget-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #827bb7 0%, #221f3c 100%);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#chat-widget-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

#chat-widget-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    display: none;
    flex-direction: column;
    animation: slideUp 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-header {
    background: linear-gradient(135deg, #827bb7 0%, #221f3c 100%);
    padding: 15px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-close {
    cursor: pointer;
    font-size: 20px;
    opacity: 0.8;
}

.chat-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    background: #f9f9f9;
}

.chat-message {
    background: white;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 14px;
    color: #444;
}

.bot-message {
    border-left: 4px solid #827bb7;
}

.chat-input-group {
    margin-bottom: 15px;
}

.chat-input-group label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.chat-input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.chat-input-group input:focus {
    border-color: #827bb7;
}

.chat-buttons {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.btn-chat {
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
    color: white;
}

.btn-whatsapp {
    background: #25D366;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

.btn-email {
    background: #827bb7;
}

.btn-email:hover {
    background: #221f3c;
}

.chat-footer {
    padding: 10px;
    text-align: center;
    font-size: 11px;
    color: #aaa;
    border-top: 1px solid #eee;
}
