@keyframes tilt-shaking {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

#logoWsp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 76px;
    height: auto;
    z-index: 999901;
}

#msgWsp_alert {
    animation: tilt-shaking 0.5s infinite;
    z-index: 999902;
    display: block;
    bottom: 70px;
    right: 20px;
    position: fixed;
    background: #f11c21;
    color: #fff;
    border-radius: 100%;
    padding: 3px 10px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1em;
    text-shadow: 0 1px 0 #000;
    box-shadow: #a52424 0px 5px 0px;
}		

button#sendMessage:disabled {
    background: #778561 !important;
}

.wmc-open-btn {
    background: transparent;
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 10px 15px;
    border: none;
    z-index: 99999;
    cursor: pointer;
}

.wmc-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
}

.wmc-modal-content {
    width: 90%;
    max-width: 350px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 80vh;
    max-height: 650px;
    background-color: white;
    border-radius: 10px;
}

.wmc-modal-header {
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 15px 0 15px;
    border-radius: 10px 10px 0 0;
}

.wmc-modal-header h4 {
    margin: 0;
    color: #008000;
    font-weight: 800;
    font-size: 1.5em;
}

.wmc-modal-header h4 i {
    font-size: 1.4em;
    margin-right: 5px;
}

.wmc-close-span {
    cursor: pointer;
}

.wmc-modal-body {
    height: 75%;
    padding: 20px 20px 10px 20px;
    overflow: auto;
}

#modalBody {
    scrollbar-width: thin;
    scrollbar-color: #ced5d8 #f0f2f5;
	color:#000;
}

#modalBody::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

#modalBody::-webkit-scrollbar-track {
    background: #f0f2f5;
    border-radius: 0 10px 10px 0;
}

#modalBody::-webkit-scrollbar-thumb {
    background: #ced5d8;
    border-radius: 3px;
}

#modalBody::-webkit-scrollbar-thumb:hover {
    background: #b1b9bc;
}


/* Ajustado para el control de burbujas flexibles */
.wmc-chat-bubble-1 {
    display: block;
    background-color: #fff;
    line-height: 1.3em;
    border-radius: 10px;
    margin: 0rem 0 0 0;
    max-width: 50%;
    padding: 10px 10px 0 10px;
    max-height: 3rem;
}

.wmc-chat-bubble-1 .wmc-icon-decor {
    font-size: 2.5rem;
    margin-right: 0.5rem;
    position: relative;
    transform: translate(-2rem, -1.6rem) rotate(30deg) scale(1.5, 0.75);
    color: #fff;
}

.wmc-chat-text-1 {
    display: block;
    transform: translateY(-2.6rem);
}

.wmc-time-span-1 {
    color: #777;
    font-size: 0.70rem;
    display: flex;
    justify-content: flex-end;
    transform: translateY(-2.6rem);
}

.wmc-chat-bubble-2 {
    display: block;
    background-color: #fff;
    line-height: 1.3em;
    border-radius: 10px;
    margin: -1rem 0 0rem 0;
    max-width: 90%;
    padding: 10px 10px 5px 10px;
}

.wmc-site-name {
    font-weight: 700;
}

.wmc-time-span-23 {
    color: #777;
    font-size: 0.70rem;
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
}

.wmc-chat-bubble-3 {
    display: block;
    background-color: #fff;
    line-height: 1.3em;
    border-radius: 10px;
    margin: -1rem 0 0rem 0;
    max-width: 85%;
    padding: 10px 10px 5px 10px;
}

.wmc-textarea {
    width: 100%;
    min-height: 30%;
    font-size: 1.05rem;
    resize: none;
    border-radius: 10px;
    background-color: #fff;
    overflow: hidden;
}

#userMessage{
	color:#000;
}

.wmc-char-count {
    color: grey;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.wmc-modal-footer {
    height: 15%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    border-radius: 0 0 10px 10px;
}

.wmc-svg-white {
    filter: brightness(0) invert(1);
}

.wmc-send-btn {
    padding: 10px;
    background-color: #008000;
    color: white;
    border: none;
    border-radius: 5px;
    width: 100%;
    font-size: 1.3rem;
    font-weight: 700;
}

.wmc-send-btn i {
    font-size: 1.4rem;
    margin-right: 5px;
}