/* Chatbot Styles */
.chatbot-button {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    min-width: 62px;
    min-height: 62px;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #FF6600 0%, #ff7a1a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    box-sizing: border-box;
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 102, 0, 0.6);
}

.chatbot-button::before {
    content: '💬';
    font-size: 28px;
    line-height: 1;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.chatbot-button.hidden {
    display: none;
}

.chatbot-window {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.4s ease-out;
}

.chatbot-window.open {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, #494949 0%, #242424 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #FF6600;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #FF6600 0%, #ff7a1a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.chatbot-title h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.chatbot-title p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.chatbot-body {
    flex: 1;
    padding: 25px;
    background: #f8f9fa;
    overflow-y: auto;
}

.chatbot-greeting {
    background: white;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #FF6600;
}

.chatbot-greeting h4 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.chatbot-greeting p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.suggested-prompts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.suggested-prompts h5 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prompt-button {
    background: white;
    border: 2px solid #e1e8ed;
    padding: 14px 18px;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.prompt-button:hover {
    background: #FF6600;
    color: white;
    border-color: #FF6600;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2);
}

.chatbot-footer {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e1e8ed;
    display: flex;
    gap: 10px;
}

.chatbot-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 25px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
}

.chatbot-input:focus {
    border-color: #FF6600;
}

.chatbot-send {
    background: linear-gradient(135deg, #FF6600 0%, #ff7a1a 100%);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-send:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

@media (max-width: 768px) {
    .chatbot-window {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
        bottom: 10px;
        right: 10px;
    }
}