#wfpgs-chat-container {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: linear-gradient(to top, #dbd8d4 60%, #00a842 60%);
    padding: 15px;
    border: 0;
    border-radius: 8px;
    width: 340px;
    z-index: 2000;
}

#wfpgs-chat-container h3 {
    color: #fff;
    font-size: 16px;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-weight: 700;
}

#wfpgs-chat-box {
    position: relative;
    height: 200px;
    background-color: #e6e6e6;
    background-image: url('../img/bg-whatsapp.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 1px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#wfpgs-chat-header{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#wfpgs-chat-text {
    position: relative;
    font-size: 14px;
    background-color: #fff;
    padding: 10px;
    margin: 10px;
    border-radius: 8px;
    color: #000;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

#wfpgs-chat-text:before {
    content: "";
    width: 0;
    height: 0;
    border-top: 0 solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid #fff;
    position: absolute;
    left: -8px;
    top: 0;
}

input#wfpgs-message {
    width: 80%;
    padding: 10px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    resize: none;
    box-sizing: border-box;
    font-size: 14px;
}

.enviaWhats {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 8px;
    background-color: #00a842;
    color: #ffffff;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background-color .3s;
}
.enviaWhats:hover {
    background-color: #02993e;
}
.enviaWhats svg {
    width: 20px;
    height: 20px;
}

form#wfpgs-chat-form {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f2f5;
    padding: 10px 0;
}

#wfpgs-lgpd-banner {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    z-index: 2500;
}

#wfpgs-lgpd-banner a {
    color: rgb(0, 0, 0);
}

#wfpgs-lgpd-banner button {
    background-color: #00a884;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

div#wfpgs-container-lgpd{
    display: none;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3000;
}
/* Fallback CSS-only para abrir via hash */
#wfpgs-container-lgpd:target{
    display: block;
}

div#wfpgs-container-modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    background-color: rgba(0, 0, 0, 0.879);
    z-index: 2900;
    display: flex;
    justify-content: center;
    align-items: center;
}

div#wfpgs-row-modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: auto;
    padding: 0;
    border-radius: 5px;
    max-width: 90vw;
    max-height: 90vh;
}

div#wfpgs-row-modal img{
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

div#wfpgs-row-lgpd {
    position: relative;
    margin: auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    top: 50%;
    transform: translateY(-50%);
}

div#wfpgs-row-lgpd h2{
    font-size: 19px;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-weight: 700;
}

div#wfpgs-row-lgpd p{
    font-size: 14px;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-weight: 500;
    line-height: 22px;
}

div#wfpgs-row-lgpd ul li{ font-size: 14px; }

#wfpgs-chat-container #wfpgs-close-chat{
    position: absolute;
    right: 20px;
    color: #fff;
    cursor: pointer;
    padding-top: 6px;
    font-style: normal;
    font-size: 22px;
    line-height: 1;
}

button#wfpgs-btn-close-lgpd,
button#wfpgs-btn-close-modal{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1f1f1f;
    border: none;
    padding: 5px 15px;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

button#wfpgs-btn-close-lgpd:hover,
button#wfpgs-btn-close-modal:hover{
    background-color: #000504;
}

button#wfpgs-btn-close-lgpd i,
button#wfpgs-btn-close-modal i{
    margin-left: 5px;
}

div#wfpgs-div-btn-close-lgpd{
    display: flex;
    align-items: center;
    justify-content: center;
}

div#wfpgs-lgpd-banner p span:last-child{
    font-weight: 600;
    margin-right: 20px;
    cursor: pointer;
}

button#wfpgs-btn-whatsapp,
button#wfpgs-btn-whatsapp-link{
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: flex;
    align-items: center;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    padding: 10px 25px;
    border-radius: 10px 13px 13px 10px !important;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.258);
    animation: pulsate 2s infinite;
    cursor: pointer;
    z-index: 2000;
}

button#wfpgs-btn-whatsapp-icone,
button#wfpgs-btn-whatsapp-icone-link {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: flex;
    align-items: center;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    padding: 15px 15px;
    border-radius: 50px !important;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.258);
    animation: pulsate 2s infinite;
    cursor: pointer;
    z-index: 2000;
}

@keyframes pulsate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

button#wfpgs-btn-whatsapp img{
    width: 30px;
    margin-right: 7px;
}

#wfpgs-chat-header img{
    margin-right: 7px;
}

button#wfpgs-btn-close-modal{
    position: static;
    margin-bottom: 10px;
    border: 1px solid #fff;
}

@media (max-width: 480px) {
    div#wfpgs-container-modal{
        padding: 0 10px;
    }
    div#wfpgs-row-modal{
        max-width: 95vw;
    }
    div#wfpgs-row-modal img{
        max-width: 95vw;
    }
}
