/* Enhanced Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.chatbot-widget {
    width: 380px;
    max-width: calc(100vw - 4rem);
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid #d1d36b;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.chatbot-widget.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
    color: white;
    font-weight: 600;
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.chatbot-avatar {
    background: white;
    color: #3B82F6;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.chatbot-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.chatbot-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.chatbot-body {
    padding: 1.5rem;
    background: #f5f7b7;
}

.chatbot-message {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    color: #1E293B;
    line-height: 1.5;
    border: 1px solid #e8eaa1;
}

.chatbot-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.chatbot-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e8eaa1;
    border-radius: 0.75rem;
    color: #1E293B;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    border: none;
    outline: none;
}

.chatbot-option:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.chatbot-option .icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.option-content {
    display: flex;
    flex-direction: column;
}

.option-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1E293B;
}

.option-desc {
    font-size: 0.85rem;
    color: #64748B;
}

.chatbot-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
    color: white;
    border: none;
    border-radius: 3rem;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(59, 130, 246, 0.4);
    z-index: 9998;
    transition: all 0.3s ease;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    border: none;
    outline: none;
}

.chatbot-toggle.visible {
    opacity: 1;
    transform: translateY(0);
}

.chatbot-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
}

.chatbot-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-label {
    white-space: nowrap;
}

.chatbot-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 16px;
    height: 16px;
    background: #EF4444;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    border: 2px solid #f5f7b7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .chatbot-container {
        bottom: 1rem;
        right: 1rem;
    }
    
    .chatbot-widget {
        width: calc(100vw - 2rem);
        right: 0;
        bottom: 5rem;
    }
    
    .chatbot-toggle {
        padding: 0.75rem 1.25rem;
    }
    
    .chatbot-label {
        display: none;
    }
}