/* ============================================================
   SEARCH YOUR ASTROLOGER — CHATBOT WIDGET STYLES
   ============================================================ */

#sya-chat-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #f5e7c1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99998;
    border: none;
    transition: transform 0.2s ease;
}
#sya-chat-btn:hover { transform: scale(1.07); }
#sya-chat-btn svg { width: 28px; height: 28px; fill: #4a2e00; }

#sya-chat-window {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 340px;
    max-width: 92vw;
    height: 460px;
    max-height: 75vh;
    background: #fffdf6;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.28);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 99999;
    font-family: 'Poppins', Arial, sans-serif;
}
#sya-chat-window.open { display: flex; }

#sya-chat-header {
    background: linear-gradient(135deg, #4a2e00, #7a4f10);
    color: #f5e7c1;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
}
#sya-chat-close { cursor: pointer; font-size: 20px; line-height: 1; background:none; border:none; color:#f5e7c1; }

#sya-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fffdf6;
}

.sya-msg {
    max-width: 82%;
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
}
.sya-msg.bot {
    background: #f3e9d2;
    color: #3a2a10;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.sya-msg.user {
    background: #4a2e00;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.sya-msg.typing { color: #8a7550; font-style: italic; }

.sya-wa-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 2px;
}

#sya-chat-inputbar {
    display: flex;
    border-top: 1px solid #e8dcc0;
    padding: 8px;
    gap: 8px;
    background: #fff;
}
#sya-chat-input {
    flex: 1;
    border: 1px solid #e0d3ad;
    border-radius: 20px;
    padding: 9px 14px;
    font-size: 14px;
    outline: none;
}
#sya-chat-send {
    background: #4a2e00;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    flex-shrink: 0;
}

@media (max-width: 420px) {
    #sya-chat-window { right: 12px; bottom: 88px; width: calc(100vw - 24px); }
    #sya-chat-btn { right: 16px; bottom: 16px; }
}
