/* Sticky full-width CTA button */
#astrochat-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #25d366; /* WhatsApp green */
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#astrochat-cta img {
    height: 24px;
    width: 24px;
}

/* Hidden chatbox initially */
#astrochat-window {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 10px;
    width: 95%;
    max-width: 400px;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    z-index: 10000;
    background: #ece5dd;
    flex-direction: column;
}

#astrochat-header {
    background: #075e54;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#astrochat-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

.chat-bubble {
    max-width: 75%;
    margin: 8px;
    padding: 10px;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.4;
}

.chat-bubble.user {
    background: #dcf8c6;
    align-self: flex-end;
}

.chat-bubble.bot {
    background: #fff;
    border: 1px solid #ccc;
    align-self: flex-start;
}

#astrochat-input {
    display: flex;
    border-top: 1px solid #ccc;
}

#astrochat-input input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
}

#astrochat-input button {
    background: #075e54;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}
