/* Estilos del contenedor principal */
.whatsapp_container {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 10px;
    position: fixed !important;
    bottom: 15px;
    padding: 10px;
    overflow: hidden;
    pointer-events: none;
    z-index: 999999 !important;
}

.whatsapp_container.wac-ald-left {
    left: 15px;
}

.whatsapp_container.wac-ald-right {
    right: 15px;
}

/* Estilos del chat */
.whatsapp_chat {
    width: 330px;
    height: auto;
    background-color: #faf7f4;
    border-radius: 0.8rem;
    border: 1px solid #ebebea;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 8px;
    transition: 300ms ease-in-out;
    pointer-events: auto;
}

.whatsapp_chat_close {
    transform: translateY(700px);
    pointer-events: none;
    opacity: 0;
}

/* Estilos del botón */
.whatsapp_button {
    border: none !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 2.5rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 8px !important;
    pointer-events: auto !important;
    transition: transform 0.3s ease !important;
    padding: 0 !important;
    z-index: 9999999 !important;
}

.whatsapp_button:hover {
    transform: scale(1.1) !important;
}

/* Estilos del encabezado del chat */
.whatsapp_chat_header {
    border-top-left-radius: 0.8rem;
    border-top-right-radius: 0.8rem;
    border-bottom: 1px solid #ebebea;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp_chat_back_button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.whatsapp_chat_back_button svg {
    fill: currentColor;
    width: 100%;
    height: 100%;
}

.whatsapp_chat_logo {
    background-color: #ffffff;
    border-radius: 2.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.whatsapp_chat_logo .wac-ald-svg-icon {
    width: 32px !important;
    height: 32px !important;
}

.chat-list-item {
    display: flex;
    align-items: center;
    padding: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-bottom: 1px solid #f1f1f1;
}
.chat-list-item:last-child {
    border-bottom: none;
    border-radius: 0 0 0.8rem 0.8rem;
}

.chat-list-item:hover {
    background-color: #f5f5f5;
}

.chat-list-item img {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    border-radius: 50%;
}

.chat-list-item span {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}


.title_form {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 15px;
}
/* Estilos del cuerpo del formulario */
.body_form {
    padding: 12px;
}

/* Estilos para el botón rectangular */
.whatsapp_button.estilo-rectangular {
    width: auto !important;
    height: auto !important;
    padding: 10px 20px !important;
    gap: 8px !important;
}

.whatsapp_button.estilo-rectangular .dashicons {
    font-size: 24px !important;
    width: 24px !important;
    height: 24px !important;
}

.whatsapp_button.estilo-rectangular .wac-ald-text {
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* Estilos para el botón clásico */
.whatsapp_button.estilo-clasico .wac-ald-svg-icon {
    width: 45px !important;
    height: 45px !important;
}


.button_send_whatsapp_message::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 2px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M2 21l20-9-20-9v7l13 2-13 2z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    position: relative;
    top: -1px;
    z-index: 1;
}