#ai-tea-chat {
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    background: #fafafa;
    border-radius: 8px;
}

#ai-tea-question {
    width: 100%;
    height: 100px;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

#ai-tea-submit {
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

#ai-tea-response {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ccc;
    font-size: 15px;
    line-height: 1.6;
    word-break: break-word;
}

/* 🌿 Mobile responsiveness */
@media (max-width: 480px) {
    #ai-tea-chat {
        padding: 15px;
    }

    #ai-tea-question {
        height: 80px;
        font-size: 15px;
    }

    #ai-tea-submit {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    #ai-tea-response {
        font-size: 15px;
    }
}
/* Spinner container */
#ai-tea-spinner {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 15px;
    font-style: italic;
}

/* Spinner circle */
#ai-tea-spinner .loader {
    border: 3px solid #f3f3f3; /* Light gray */
    border-top: 3px solid #4CAF50; /* Green */
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
