#chatbot-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0073aa;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#chatbot-box {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 90vw;
    max-width: 400px;
    max-height: 70vh;
    background: #fff;
    border: 5px solid #ccc;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    font-family: sans-serif;
}

#chat-content {
    padding: 10px;
    overflow-y: auto;
    flex: 1;
    background-color: #f9f9f9;
    height: auto;
    max-height: calc(60vh - 90px);
    box-sizing: border-box;
    scroll-behavior: smooth;
}

#chatbot-input {
    width: 100%;
    border: none;
    border-top: 1px solid #ddd;
    padding: 10px;
    resize: none;
    height: 40px;
    box-sizing: border-box;
    font-size: 14px;
}

#chatbot-send {
    width: 100%;
    border: none;
    background: #0073aa;
    color: white;
    font-weight: bold;
    padding: 10px;
    cursor: pointer;
}

.typing-indicator {
    font-style: italic;
    color: #555;
    padding: 5px 0;
}

.typing-indicator .dot {
    animation: blink 1s infinite;
    font-weight: bold;
}

.typing-indicator .dot:nth-child(2) {
    animation-delay: 0.2s;
}
.typing-indicator .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}
