/* 🚀 Native Android Chat UI */
.chat-messages {
    flex: 1; padding: 16px; display: flex; flex-direction: column;
    gap: 16px; justify-content: flex-end; min-height: 300px;
}
.chat-row { display: flex; gap: 10px; max-width: 85%; animation: slideInUp 0.2s ease forwards; opacity: 0; transform: translateY(5px); }
@keyframes slideInUp { to { opacity: 1; transform: translateY(0); } }

.chat-row.bot { align-self: flex-start; }
.chat-row.user { align-self: flex-end; flex-direction: row-reverse; }

.bot-avatar {
    width: 32px; height: 32px; background: #FFFFFF; border: 1px solid #E2E8F0;
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    margin-top: auto; flex-shrink: 0;
}

/* Standard Android Material Bubbles */
.msg-bubble {
    padding: 12px 16px; font-size: 14px; font-weight: 600; line-height: 1.5;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); position: relative;
}
.bot .msg-bubble {
    background: #FFFFFF; color: #1E293B; border: 1px solid #E2E8F0;
    border-radius: 16px 16px 16px 4px;
}
.user .msg-bubble {
    background: #0F766E; color: #FFFFFF;
    border-radius: 16px 16px 4px 16px; border: 1px solid #0D9488;
}

/* Audio Play Button - Hard UI */
.audio-btn {
    margin-top: 6px; display: inline-flex; align-items: center; gap: 4px;
    background: #FFFFFF; border: 1px solid #CBD5E1; color: #0F766E;
    font-size: 11px; font-weight: 800; padding: 6px 12px; border-radius: 6px; /* Squarish */
    cursor: pointer; transition: 0.2s;
}
.audio-btn:active { background: #F1F5F9; border-color: #94A3B8; }

/* Rich Media inside Chat */
.chat-media-container { margin-top: 8px; width: 100%; border-radius: 8px; overflow: hidden; border: 1px solid #E2E8F0; background: #FFFFFF; }
.chat-video-frame { width: 100%; max-width: 260px; aspect-ratio: 16/9; border: none; display: block; background: #000; }
.chat-img-frame { width: 100%; max-width: 240px; display: block; object-fit: cover; }

/* Suggestions Footer - Hard UI */
.suggestions-wrapper {
    display: flex; gap: 10px; overflow-x: auto; padding: 12px 16px;
    background: #F8FAFC; border-bottom: 1px solid #E2E8F0; scroll-behavior: smooth;
}
.suggestions-wrapper::-webkit-scrollbar { display: none; }

.chip-btn {
    white-space: nowrap; padding: 10px 16px; border-radius: 8px; font-size: 13px; /* Square Android chips */
    font-weight: 700; cursor: pointer; border: 1px solid #CBD5E1; background: #FFFFFF;
    color: #475569; transition: 0.2s;
}
.chip-btn:active { background: #E2E8F0; }
.chip-btn.primary {
    background: #0F766E; color: #FFFFFF; border-color: #0D9488;
}
.chip-btn.primary:active { background: #0F172A; border-color: #0F172A; }

/* Typing Animation */
.typing-indicator { display: flex; gap: 4px; padding: 10px 14px; align-items: center; }
.dot { width: 6px; height: 6px; background: #94A3B8; border-radius: 50%; animation: blink 1.4s infinite both; }
.dot:nth-child(2) { animation-delay: 0.2s; } .dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); } 40% { opacity: 1; transform: scale(1.1); } }

/* 🚀 Download App Button inside Chat */
.download-btn-chat {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #0F172A; color: #FFFFFF; text-decoration: none;
    padding: 12px 16px; border-radius: 12px; font-weight: 800; font-size: 14px;
    width: 100%; box-sizing: border-box; text-align: center; border: none;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.2); transition: 0.2s; margin-top: 5px;
}
.download-btn-chat:active { transform: scale(0.98); background: #1E293B; }
