/* ---------------------------------------------------------
   ESTILO GENERAL DEL CHAT
----------------------------------------------------------- */
#gma-chat {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 320px;
    max-height: 450px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    overflow-y: auto;
    padding: 10px;
    font-family: sans-serif;
    z-index: 99999;
}

.gma-hidden {
    display: none !important;
}

/* ---------------------------------------------------------
   BURBUJA FLOTANTE
----------------------------------------------------------- */
#gma-bubble {
    position: fixed;
    bottom: 25px;
    right: 25px;
    font-size: 28px;
    background: #d4a81e;   /* dorado elegante */
    color: #fff;
    padding: 14px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0,0,0,0.25);
    animation: gmaPulse 1.5s infinite;
    z-index: 99999;
}

@keyframes gmaPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

/* ---------------------------------------------------------
   MENSAJES DEL CHAT
----------------------------------------------------------- */
.gma-bot, .gma-user {
    padding: 10px;
    margin: 6px 0;
    border-radius: 10px;
    line-height: 1.4em;
    font-size: 14px;
    max-width: 85%;
    word-wrap: break-word;
}

/* Mensaje del bot */
.gma-bot {
    background: #111;
    color: #fff;
    text-align: left;
    border-bottom-left-radius: 2px;
}

/* Mensaje del usuario */
.gma-user {
    background: #e8f6ff;
    color: #111;
    text-align: right;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

/* ---------------------------------------------------------
   INPUT DEL USUARIO
----------------------------------------------------------- */
#gma-input {
    width: 100%;
    padding: 12px;
    border: none;
    border-top: 1px solid #ddd;
    outline: none;
    font-size: 14px;
    background: #fafafa;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
