/* Chat Toggle Button */
#chatToggle {
    background: linear-gradient(135deg, #6937ff 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(105, 55, 255, 0.3);
}

#chatToggle:hover {
    transform: translateY(-2px);
}

/* Chat Window */
#chatWindow {
    padding: 10px;
    scrollbar-width: none !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
}

/* Chat Messages */
.message {
    margin: 10px 0;
    padding: 10px;
    border-radius: 12px;
    max-width: 80%;
}

.user {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

.bot {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    align-self: flex-start;
}

/* Input Container */
#input-container {
    display: flex;
    padding: 10px 0;
}

#user-input {
    flex: 1;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    outline: none;
}

#send-btn {
    margin-left: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #6937ff 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(105, 55, 255, 0.4);
}

/* Responsiveness */
@media (max-width: 768px) {
    #chatWindow {
        width: calc(100vw - 40px) !important; /* Full width minus safe margins */
        max-width: none;
        right: 20px !important;
        bottom: 80px !important;
        max-height: 60vh !important;
        border-radius: 16px !important;
        /*padding: 12px !important;*/
        margin: 0 !important;
        margin-bottom: 20% !important;
        position: fixed !important;
        z-index: 999 !important;
    }
}


