/* Vibe-Chat Premium V2 
   Design: Glassmorphism & Luxury Dark Mode
   Update: Avatares Circulares e Indicador de Digitação
*/

:root {
    --vibe-blue: #1a73e8;
    --vibe-glass: rgba(255, 255, 255, 0.1);
    --vibe-bg: #0b0e11;
}

#chat {
    padding: 20px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Bolha de Mensagem Base */
.mensagem-container {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    max-width: 85%;
    animation: fadeIn 0.3s ease;
}

.minha-mensagem {
    align-self: flex-end;
    flex-direction: row-reverse;
}

/* Avatar Estilo Quasar/Premium */
.vibe-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    background: var(--vibe-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--vibe-blue);
}

.vibe-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bolha de Texto */
.bolha {
    padding: 12px 16px;
    border-radius: 18px;
    background: var(--vibe-glass);
    backdrop-filter: blur(10px);
    color: #e0e0e0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.minha-mensagem .bolha {
    background: var(--vibe-blue);
    color: white;
    border: none;
}

/* Horário e Nome */
.info-msg {
    font-size: 10px;
    margin-top: 5px;
    opacity: 0.6;
    display: block;
}

/* Indicador de Digitação (Typing) */
.digitando-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px;
    font-size: 12px;
    color: var(--vibe-blue);
    font-style: italic;
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--vibe-blue);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Forçando o Chrome e o App a mostrar o player de áudio completo */
audio {
    min-width: 240px !important;
    height: 45px !important;
    border-radius: 30px !important;
    outline: none !important;
}

audio::-webkit-media-controls-panel {
    background-color: #ffffff !important;
}
