.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: rgba(10, 10, 10, 0.6);
    border: 2px solid #00f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4), inset 0 0 10px rgba(0, 243, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.chatbot-toggle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.8), inset 0 0 20px rgba(0, 243, 255, 0.4);
    border-color: #fff;
    background: rgba(0, 243, 255, 0.1);
}

.chatbot-icon-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.5));
    transition: all 0.3s ease;
}

.chatbot-toggle:hover .chatbot-icon-img {
    filter: drop-shadow(0 0 8px rgba(189, 0, 255, 0.6));
    transform: scale(1.1);
}

.chat-notification {
    position: absolute;
    left: 75px;
    background: rgba(0, 0, 0, 0.8);
    color: #00ffff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    white-space: nowrap;
    animation: pulse 2s infinite;
}

.chatbot-container {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 380px;
    height: 600px;
    background: rgba(5, 5, 10, 0.85);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 243, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: bottom left;
    overflow: hidden;
}

.chatbot-container.expanded {
    width: 500px;
    height: 650px;
    bottom: 10px;
    left: 10px;
}

.chatbot-header {
    background: rgba(0, 243, 255, 0.1);
    padding: 20px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    margin: 0;
    color: #00f3ff;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-header h4::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00f3ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00f3ff;
    animation: pulse 2s infinite;
}

.chatbot-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

#chatbot-expand, #chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    transition: all 0.3s ease;
}

#chatbot-expand:hover, #chatbot-close:hover {
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bot-message, .user-message {
    padding: 12px 18px;
    border-radius: 18px;
    max-width: 85%;
    word-wrap: break-word;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    animation: messageSlide 0.3s ease forwards;
}

@keyframes messageSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bot-message {
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.2);
    color: #e0f7fa;
    align-self: flex-start;
    border-top-left-radius: 4px;
}

.user-message {
    background: rgba(189, 0, 255, 0.15);
    border: 1px solid rgba(189, 0, 255, 0.3);
    color: #f3e5f5;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-input {
    display: flex;
    padding: 15px;
    gap: 10px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

#chatbot-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 10px 15px;
    color: white;
    font-size: 14px;
}

#chatbot-input:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

#chatbot-send {
    background: transparent;
    border: 1px solid #00ffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #00ffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

#chatbot-send:hover {
    transform: scale(1.1);
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.quick-questions {
    display: flex;
    gap: 5px;
    padding: 10px 15px;
    flex-wrap: wrap;
}

.quick-btn {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.quick-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@media (max-width: 768px) {
    .chatbot-container {
        width: 300px;
        height: 450px;
        bottom: 10px;
        left: 10px;
    }
    
    .chatbot-toggle {
        bottom: 10px;
        left: 10px;
    }
}