body {
    margin: 0;
    overflow: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#site {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

#chatbot-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0056b3;
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#chatbot-btn:hover {
    transform: scale(1.08);
    background: #004494;
}

#chatbot-box {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 360px;
    height: 520px;
    background: white;
    display: none;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#chatbot-box.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.chatbot-header {
    background: #0056b3;
    color: white;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}

#close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

#close-chat:hover {
    opacity: 0.8;
}

#chatbot-box iframe {
    width: 100%;
    flex: 1;
    border: none;
    background: #f8f9fa;
}

@media (max-width: 480px) {
    #chatbot-box {
        width: calc(100% - 48px);
        height: 65vh;
        bottom: 100px;
    }
}