.wpcf7 .screen-reader-response {
position: absolute;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
border: 0;
word-wrap: normal !important;
}
.wpcf7 .hidden-fields-container {
display: none;
}
.wpcf7 form .wpcf7-response-output {
margin: 2em 0.5em 1em;
padding: 0.2em 1em;
border: 2px solid #00a0d2; }
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
border-color: #46b450; }
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
border-color: #dc3232; }
.wpcf7 form.spam .wpcf7-response-output {
border-color: #f56e28; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
border-color: #ffb900; }
.wpcf7-form-control-wrap {
position: relative;
}
.wpcf7-not-valid-tip {
color: #dc3232; font-size: 1em;
font-weight: normal;
display: block;
}
.use-floating-validation-tip .wpcf7-not-valid-tip {
position: relative;
top: -2ex;
left: 1em;
z-index: 100;
border: 1px solid #dc3232;
background: #fff;
padding: .2em .8em;
width: 24em;
}
.wpcf7-list-item {
display: inline-block;
margin: 0 0 0 1em;
}
.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
content: " ";
}
.wpcf7-spinner {
visibility: hidden;
display: inline-block;
background-color: #23282d; opacity: 0.75;
width: 24px;
height: 24px;
border: none;
border-radius: 100%;
padding: 0;
margin: 0 24px;
position: relative;
}
form.submitting .wpcf7-spinner {
visibility: visible;
}
.wpcf7-spinner::before {
content: '';
position: absolute;
background-color: #fbfbfc; top: 4px;
left: 4px;
width: 6px;
height: 6px;
border: none;
border-radius: 100%;
transform-origin: 8px 8px;
animation-name: spin;
animation-duration: 1000ms;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
@media (prefers-reduced-motion: reduce) {
.wpcf7-spinner::before {
animation-name: blink;
animation-duration: 2000ms;
}
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes blink {
from {
opacity: 0;
}
50% {
opacity: 1;
}
to {
opacity: 0;
}
}
.wpcf7 [inert] {
opacity: 0.5;
}
.wpcf7 input[type="file"] {
cursor: pointer;
}
.wpcf7 input[type="file"]:disabled {
cursor: default;
}
.wpcf7 .wpcf7-submit:disabled {
cursor: not-allowed;
}
.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
direction: ltr;
}
.wpcf7-reflection > output {
display: list-item;
list-style: none;
}
.wpcf7-reflection > output[hidden] {
display: none;
}.whatsapp-widget {
position: fixed;
z-index: 9999;
}
.whatsapp-widget.bottom-right {
bottom: 20px;
right: 20px;
}
.whatsapp-widget.bottom-left {
bottom: 20px;
left: 20px;
}
.whatsapp-widget.top-right {
top: 20px;
right: 20px;
}
.whatsapp-widget.top-left {
top: 20px;
left: 20px;
}
.whatsapp-button {
width: 60px;
height: 60px;
border-radius: 50%;
border: none;
cursor: pointer;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
.whatsapp-button:hover {
transform: scale(1.1);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.whatsapp-button:active {
transform: scale(0.95);
}
.whatsapp-button svg {
width: 28px;
height: 28px;
transition: transform 0.3s ease;
}
.whatsapp-button:hover svg {
transform: rotate(15deg);
} @keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
}
70% {
box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
}
}
.whatsapp-button.pulse {
animation: pulse 2s infinite;
} .whatsapp-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.whatsapp-modal.show {
opacity: 1;
visibility: visible;
}
.whatsapp-modal-content {
background: white;
border-radius: 12px;
width: 90%;
max-width: 400px;
max-height: 90vh;
overflow-y: auto;
transform: scale(0.8);
transition: transform 0.3s ease;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.whatsapp-modal.show .whatsapp-modal-content {
transform: scale(1);
}
.whatsapp-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 20px 0 20px;
border-bottom: 1px solid #eee;
padding-bottom: 15px;
}
.whatsapp-modal-header h3 {
margin: 0;
color: #333;
font-size: 18px;
font-weight: 600;
}
.whatsapp-close {
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: #666;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: all 0.2s ease;
}
.whatsapp-close:hover {
background: #f5f5f5;
color: #333;
} #whatsapp-form {
padding: 20px;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
color: #333;
font-weight: 500;
font-size: 14px;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 12px;
border: 2px solid #e1e1e1;
border-radius: 8px;
font-size: 14px;
transition: border-color 0.3s ease;
box-sizing: border-box;
font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: #25D366;
}
.form-group textarea {
resize: vertical;
min-height: 100px;
}
.whatsapp-submit {
width: 100%;
padding: 14px;
border: none;
border-radius: 8px;
color: white;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
background: #25D366;
}
.whatsapp-submit:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.whatsapp-submit:active {
transform: translateY(0);
}
.whatsapp-submit:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
} .whatsapp-submit.loading {
position: relative;
color: transparent;
}
.whatsapp-submit.loading::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 20px;
height: 20px;
margin: -10px 0 0 -10px;
border: 2px solid #ffffff;
border-radius: 50%;
border-top-color: transparent;
animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
} .whatsapp-success-message {
background: #d4edda;
color: #155724;
padding: 12px;
border-radius: 8px;
margin-bottom: 20px;
border: 1px solid #c3e6cb;
font-size: 14px;
text-align: center;
} .whatsapp-error-message {
background: #f8d7da;
color: #721c24;
padding: 12px;
border-radius: 8px;
margin-bottom: 20px;
border: 1px solid #f5c6cb;
font-size: 14px;
text-align: center;
} @media (max-width: 768px) {
.whatsapp-widget.bottom-right,
.whatsapp-widget.bottom-left {
bottom: 15px;
right: 15px;
left: auto;
}
.whatsapp-widget.bottom-left {
right: auto;
left: 15px;
}
.whatsapp-button {
width: 50px;
height: 50px;
}
.whatsapp-button svg {
width: 24px;
height: 24px;
}
.whatsapp-modal-content {
width: 95%;
margin: 20px;
}
.whatsapp-modal-header {
padding: 15px 15px 0 15px;
}
#whatsapp-form {
padding: 15px;
}
}
@media (max-width: 480px) {
.whatsapp-widget.bottom-right,
.whatsapp-widget.bottom-left {
bottom: 10px;
right: 10px;
left: auto;
}
.whatsapp-widget.bottom-left {
right: auto;
left: 10px;
}
.whatsapp-button {
width: 45px;
height: 45px;
}
.whatsapp-button svg {
width: 20px;
height: 20px;
}
}