/* =========================
   LOTTIE CHAT BUTTON
========================= */
#lottieChatBtn {
    position: fixed;
    bottom: 160px;
    right: 14px;
    width: 72px;
    height: 72px;
    cursor: pointer;
    z-index: 9998;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#lottieChatBtn:hover {
    transform: translateY(-4px);
}

#lottieChatBtn iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

/* =========================
   CHAT BOX CONTAINER
========================= */
#chatBox {
    position: fixed;
    bottom: 140px;
    right: 24px;
    width: 340px;
    height: 420px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    font-family: "Inter", system-ui, sans-serif;
}

/* =========================
   HEADER
========================= */
.chat-header {
    background: linear-gradient(135deg, #0f8a8d, #0b6f72);
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

#closeChat {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: background 0.2s ease;
}

#closeChat:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* =========================
   CHAT BODY
========================= */
.chat-body {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    font-size: 14px;
    background: #f8fafb;
}

/* Smooth scrollbar */
.chat-body::-webkit-scrollbar {
    width: 6px;
}
.chat-body::-webkit-scrollbar-thumb {
    background: #cfd8dc;
    border-radius: 4px;
}

/* =========================
   MESSAGES
========================= */
.bot-msg,
.user-msg {
    max-width: 75%;
    padding: 10px 12px;
    border-radius: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
    word-wrap: break-word;
}

/* Bot message */
.bot-msg {
    background: #e9eef0;
    color: #333;
    border-top-left-radius: 4px;
}

/* User message */
.user-msg {
    background: #107A7C;
    color: #ffffff;
    margin-left: auto;
    text-align: left;
    border-top-right-radius: 4px;
}

/* =========================
   INPUT AREA
========================= */
.chat-input {
    display: flex;
    align-items: center;
    border-top: 1px solid #e0e0e0;
    background: #ffffff;
    padding: 8px;
}

.chat-input input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    transition: border 0.2s ease;
}

.chat-input input:focus {
    border-color: #107A7C;
}

/* Send button */
.chat-input button {
    background: #107A7C;
    color: #ffffff;
    border: none;
    margin-left: 8px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.chat-input button:hover {
    background: #0e6b6d;
    transform: scale(1.05);
}


/* ========================== SOCIAL MEDIA ICONS ============================== */
/* Wrapper */
#chatFloatingWrap {
    position: fixed;
    bottom: 70px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Lottie Button (unchanged behavior) */
#lottieChatBtn {
    width: 72px;
    height: 72px;
    cursor: pointer;
    transition: transform 0.25s ease;
}

#lottieChatBtn:hover {
    transform: translateY(-4px);
}

#lottieChatBtn iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

/* Social Icons */
.social-icons a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
    box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}

/* Brand Colors */
.social-icons .whatsapp {
    background: #25D366;
}

.social-icons .instagram {
    background: linear-gradient(135deg, #E4405F, #833AB4);
}
