/* ===== Sunrise Chatbot styles ===== */

/* Chhupi hui cheez */
.sunrise-hidden {
    display: none !important;
}

/* Floating toggle button (neeche-daayein kona) */
#sunrise-chat-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ff7a18;
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    transition: transform 0.15s ease;
}
#sunrise-chat-toggle:hover {
    transform: scale(1.08);
}

/* Chat window */
#sunrise-chat-box {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 340px;
    max-width: calc(100vw - 48px);
    height: 460px;
    max-height: calc(100vh - 130px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 99999;
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Header */
#sunrise-chat-header {
    background: #ff7a18;
    color: #fff;
    padding: 14px 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#sunrise-chat-close {
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

/* Messages area */
#sunrise-chat-messages {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    background: #f7f7f8;
}

/* Ek message bubble */
.sunrise-msg {
    margin-bottom: 10px;
    padding: 9px 13px;
    border-radius: 14px;
    max-width: 80%;
    line-height: 1.4;
    font-size: 14px;
    word-wrap: break-word;
}
.sunrise-bot {
    background: #fff;
    border: 1px solid #e3e3e6;
    color: #222;
    border-bottom-left-radius: 4px;
}
.sunrise-user {
    background: #ff7a18;
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

/* Input area */
#sunrise-chat-input-area {
    display: flex;
    border-top: 1px solid #e3e3e6;
    padding: 8px;
    gap: 6px;
    background: #fff;
}
#sunrise-chat-input {
    flex: 1;
    border: 1px solid #d0d0d4;
    border-radius: 20px;
    padding: 9px 14px;
    font-size: 14px;
    outline: none;
}
#sunrise-chat-input:focus {
    border-color: #ff7a18;
}
#sunrise-chat-send {
    background: #ff7a18;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 0 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}
#sunrise-chat-send:hover {
    background: #e96c0c;
}
