.gm-chat-card {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    max-width: 400px;
    margin: 20px auto;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    font-family: 'Montserrat', sans-serif;
}

.gm-header {
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f9f9f9;
}

.gm-user-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 12px;
}

.gm-status {
    color: #2ecc71;
    font-size: 9px;
    text-transform: uppercase;
    font-weight: bold;
}

.gm-body {
    height: 350px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: normal;
    align-items: center;
    color: #888;
    padding: 20px;
    overflow: auto;
}

.gm-footer {
    padding: 15px !important;
    position: relative;
}
.gm-footer #gm-full-reply-text,
#gm-textarea {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 15px 50px 15px 15px;
    resize: none;
    outline: none;
    background: #fafafa;
}
.gm-footer #gm-btn-send-full,
#gm-send-btn {
    position: absolute;
    right: 25px;
    bottom: 25px;
    background: #8e244d !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    cursor: pointer !important;
    display: block !important;
    text-align: center !important;
    padding: 5px !important;
}
.gm-footer #gm-btn-send-full:hover,
#gm-send-btn:hover{
    background-color: #000;
}

.gm-block-msg {
    text-align: center;
    padding: 10px;
}

/*.gm-btn-reg {
    display: inline-block;
    background: #8e244d;
    color: white;
    padding: 8px 15px;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 10px;
}*/

#gm-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: none; /* Se activa con JS */
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.gm-hidden { display: none !important; }

.gm-modal-content {
    position: relative;
    width: 90%;
    max-width: 450px;
    animation: slideUp 0.3s ease-out;
}

.gm-close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 40px;
    cursor: pointer;
    color: #000;
}

.msg-bubble.out {
    align-self: flex-end;
    background: #f0f0f0;
    padding: 10px 15px;
    border-radius: 15px 15px 0 15px;
    /*margin: 5px 20px;*/
    max-width: 80%;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.gm-btn-reg,
.btn-pilar-premium-msg {
    background: linear-gradient(to bottom, #A62B5D 0%, #4B0D28 100%) !important;
    font-family: 'Montserrat', sans-serif !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 16px 30px !important;
    box-shadow: 0 6px 15px rgba(166, 43, 93, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.msg-error {
    background: #fff5f5;
    color: #c53030;
    font-size: 12px;
    padding: 10px;
    border-radius: 10px;
    margin: 10px 20px;
    border: 1px solid #feb2b2;
    text-align: center;
}

.msg-error-alert {
    background: #FFF5F5;
    color: #C53030;
    border: 1px solid #FEB2B2;
    padding: 12px 15px;
    border-radius: 12px;
    margin: 10px 20px;
    font-size: 13px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: shake 0.4s ease-in-out;
}

.msg-error-alert i {
    font-size: 16px;
}

/* Efecto de vibración para llamar la atención suavemente */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.gm-email-capture {
    background: #fdf3f8;
    border: 1px solid #8e244d;
    padding: 15px;
    border-radius: 15px;
    margin: 10px;
    text-align: center;
}
.gm-email-capture input {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
}
#gm-save-email {
    background: #8e244d;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
}

.gm-registration-notice {
    background: #fdf3f8; /* El rosa suave que estamos usando */
    color: #A62B5D;     /* Tu color magenta */
    border: 1px solid #f0e2e9;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 10px rgba(166, 43, 93, 0.05);
}

.gm-registration-notice i {
    font-size: 20px;
}

.gm-registration-notice strong {
    text-decoration: underline;
}

.gm-leads-container {
    background: #fff;
    border: 1px solid #f0e2e9;
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.gm-leads-title {
    font-size: 16px;
    color: #A62B5D;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gm-lead-item {
    background: #FDF8FA;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid #A62B5D;
}

.gm-lead-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 5px;
}

.gm-lead-excerpt {
    font-style: italic;
    color: #54444A;
    font-size: 13px;
    margin: 5px 0;
}

.gm-lead-status {
    font-size: 11px;
    color: #8F96A3;
    margin-top: 8px;
}

.gm-solicitud-item:hover {
    transform: scale(1.02);
    background: #fcecf4 !important; /* Un rosa un poco más fuerte al pasar el mouse */
    box-shadow: 0 5px 15px rgba(166, 43, 93, 0.05);
}

.gm-card-solicitudes {
    border: 1px solid #f0e2e9;
}

.out{
    background: #f1f1f1;
    color: #333;
    padding: 10px 15px;
    border-radius: 15px 15px 0 15px;
    margin-bottom: 10px;
    margin-left: auto;
    width: fit-content;
    max-width: 85%;
    font-size: 13px;
    text-align: right;
    line-height: 1.8;
}
.in{
    background: #A62B5D;
    color: white;
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    margin-bottom: 10px;
    margin-right: auto;
    width: fit-content;
    max-width: 85%;
    font-size: 13px;
    line-height: 1.8;
}