* {
box-sizing: border-box;
} .chat-bubble {
position: fixed;
bottom: 20px;
right: 20px;
width: 60px;
height: 60px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
transition: transform 0.3s ease, box-shadow 0.3s ease;
z-index: 9998;
}
.chat-bubble:hover {
transform: scale(1.1);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.chat-bubble.hidden {
display: none;
}
.chat-bubble svg {
width: 30px;
height: 30px;
fill: white;
} .chat-container {
position: fixed;
bottom: 20px;
right: 20px;
width: 400px;
height: 600px;
background: white;
border-radius: 16px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
display: none;
flex-direction: column;
z-index: 9999;
overflow: hidden;
}
.chat-container.open {
display: flex;
} .chat-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.chat-header h3 {
font-size: 18px;
font-weight: 600;
}
.chat-header .close-btn {
background: none;
border: none;
color: white;
font-size: 24px;
cursor: pointer;
padding: 0;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.2s;
}
.chat-header .close-btn:hover {
opacity: 0.8;
} .chat-messages {
flex: 1;
overflow-y: auto;
padding: 20px;
background: #f5f5f5;
}
.message {
margin-bottom: 16px;
display: flex;
flex-direction: column;
}
.message.user {
align-items: flex-end;
}
.message.assistant {
align-items: flex-start;
}
.message-content {
max-width: 80%;
padding: 12px 16px;
border-radius: 12px;
word-wrap: break-word;
position: relative;
}
.message.user .message-content {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-bottom-right-radius: 4px;
}
.message.assistant .message-content {
background: white;
color: #333;
border-bottom-left-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
} .message-actions {
margin-top: 8px;
display: flex;
gap: 8px;
align-items: center;
}
.rate-btn {
background: white;
border: 1px solid #ddd;
border-radius: 8px;
padding: 6px 12px;
font-size: 12px;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
gap: 4px;
}
.rate-btn:hover {
background: #f0f0f0;
border-color: #667eea;
} .rating-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: none;
align-items: center;
justify-content: center;
z-index: 10000;
}
.rating-modal.open {
display: flex;
}
.rating-modal-content {
background: white;
padding: 24px;
border-radius: 12px;
width: 90%;
max-width: 400px;
}
.rating-modal h4 {
margin-bottom: 16px;
font-size: 18px;
}
.rating-stars {
display: flex;
gap: 8px;
margin-bottom: 16px;
justify-content: center;
}
.star {
font-size: 32px;
cursor: pointer;
color: #ddd;
transition: color 0.2s;
}
.star.active,
.star:hover {
color: #ffd700;
}
.rating-modal textarea {
width: 100%;
padding: 12px;
border: 1px solid #ddd;
border-radius: 8px;
margin-bottom: 16px;
resize: vertical;
min-height: 80px;
font-family: inherit;
}
.rating-modal-buttons {
display: flex;
gap: 12px;
justify-content: flex-end;
}
.rating-modal button {
padding: 10px 20px;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
transition: opacity 0.2s;
}
.rating-modal button:hover {
opacity: 0.8;
}
.rating-modal .cancel-btn {
background: #f0f0f0;
color: #333;
}
.rating-modal .submit-btn {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
} .chat-input-area {
padding: 16px;
background: white;
border-top: 1px solid #e0e0e0;
}
.chat-input-container {
display: flex;
gap: 8px;
align-items: flex-end;
}
.chat-input {
flex: 1;
padding: 12px;
border: 1px solid #ddd;
border-radius: 24px;
resize: none;
font-family: inherit;
font-size: 14px;
max-height: 100px;
outline: none;
transition: border-color 0.2s;
}
.chat-input:focus {
border-color: #667eea;
}
.send-btn {
width: 44px;
height: 44px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border: none;
border-radius: 50%;
color: white;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.2s;
flex-shrink: 0;
}
.send-btn:hover:not(:disabled) {
transform: scale(1.05);
}
.send-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.send-btn svg {
width: 20px;
height: 20px;
fill: white;
} .typing-indicator {
display: none;
padding: 12px 16px;
background: white;
border-radius: 12px;
width: fit-content;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.typing-indicator.show {
display: flex;
gap: 4px;
}
.typing-dot {
width: 8px;
height: 8px;
background: #667eea;
border-radius: 50%;
animation: typing 1.4s infinite;
}
.typing-dot:nth-child(2) {
animation-delay: 0.2s;
}
.typing-dot:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes typing {
0%, 60%, 100% {
opacity: 0.3;
transform: translateY(0);
}
30% {
opacity: 1;
transform: translateY(-10px);
}
} .status-message {
padding: 12px;
background: #fff3cd;
border-left: 4px solid #ffc107;
margin-bottom: 12px;
border-radius: 4px;
font-size: 13px;
display: none;
}
.status-message.show {
display: block;
} @media (max-width: 480px) {
.chat-container {
width: 100%;
height: 100%;
bottom: 0;
right: 0;
border-radius: 0;
}
} .chat-messages::-webkit-scrollbar {
width: 6px;
}
.chat-messages::-webkit-scrollbar-track {
background: #f1f1f1;
}
.chat-messages::-webkit-scrollbar-thumb {
background: #888;
border-radius: 3px;
}
.chat-messages::-webkit-scrollbar-thumb:hover {
background: #555;
}.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;
}.wpa-ld button span.screen-reader, .longdesc-link span.screen-reader,
.wpa-hide-ltr#skiplinks a, .wpa-hide-ltr#skiplinks a:hover, .wpa-hide-ltr#skiplinks a:visited,
.wpa-hide-rtl#skiplinks a, .wpa-hide-rtl#skiplinks a:hover, .wpa-hide-rtl#skiplinks a:visited {
border: 0;
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal !important;
}
.wpa-hide-ltr#skiplinks a:focus,
.wpa-hide-rtl#skiplinks a:focus {
background-color: #eee;
clip-path: none;
color: #444;
display: block;
font-size: 1em;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000; }
.wpa-alt,
.wpa-ld {
display: inline-block;
position: relative;
} div.alignleft.wpa-alt,
div.alignleft.wpa-ld {
float: left;
}
div.alignright.wpa-alt,
div.alignright.wpa-ld {
float: right;
}
div.aligncenter.wpa-alt,
div.aligncenter.wpa-ld {
display: block;
margin: 0 auto;
width: fit-content;
}
.wpa-focusable:focus {
outline: 1px solid;
outline-offset: 1px;
}
.wpa-ld .longdesc {
position: absolute;
width: 100%;
height: 100%;
top: 0;
overflow-y: scroll;
box-sizing: border-box;
background: rgba(255, 255, 255, .92);
color: #111;
padding: 46px 1rem 1rem;
text-align: start;
}
.wpa-ld .longdesc,
.wpa-ld .longdesc p {
font-size: clamp( 16px, 1rem, 24px );
}
.wpa-ld .longdesc-link {
position: absolute;
display: inline-block;
right: 3px;
bottom: 3px;
color: #000;
background: rgba(255, 255, 255, .92);
font-size: clamp( 14px, .875rem, 20px );
padding: 2px;
border-radius: 3px;
}
.wpa-alt .wpa-alt-text {
position: absolute;
width: calc( 100% - 2em );
height: fit-content;
bottom: 0;
box-sizing: border-box;
background: rgba(255, 255, 255, .92);
padding: 1rem;
margin: 1rem;
border-radius: 15px;
box-shadow: 0 0 6px #333;
text-align: start;
z-index: 10;
font-size: clamp( 16px, 1rem, 24px );
line-height: 1.5;
color: #111;
}
.top-right .wpa-alt .wpa-alt-text,
.top-left .wpa-alt .wpa-alt-text {
bottom: auto;
top: 0;
margin-top: 2.5em;
}
.rtl .wpa-alt .wpa-alt-text,
.rtl .wpa-ld .longdesc {
text-align: right;
}
.template-longdesc {
text-align: left;
line-height: 1.5;
width: 100%;
max-width: 50em;
padding: 2em;
margin: 1em auto;
background: #fdfdfd;
color: #333;
box-shadow: 0 0 5px;
font-size: 1.4em;
}
label.wpa-screen-reader-text {
border: 0;
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal !important;
}
.wpa-content-summary {
padding: 30px;
background: rgba( 0,0,0,.05 );
margin-bottom: 30px;
}
.wpa-content-summary div p:last-of-type {
margin-bottom: 0;
padding-bottom: 0;
}
.wpa-excerpt .wp-block-read-more,
.wpa-excerpt .wp-block-post-excerpt__more-text {
display: none !important;
}
.wpa-excerpt .wp-block-post-excerpt .continue {
margin-top: 1rem;
display: block;
}
.wpa-alt button.wpa-toggle, .wpa-alt a.wpa-toggle,
.wpa-ld button.wpa-toggle, .wpa-ld a.wpa-toggle,
button.wpa-video {
all: unset;
background: #111;
display: block;
color: #fff;
border-radius: 32px !important;
height: 28px !important;
width: 28px !important;
display: flex !important;
align-items: center;
justify-content: center;
position: absolute !important;
z-index: 10;
padding: 4px !important;
border: 1px solid currentColor !important;
}
.wpa-alt button {
font-family: monospace !important;
font-size: clamp( 14px,.875rem,20px ) !important;
}
.wpa-alt button.wpa-toggle:active,
.wpa-ld button.wpa-toggle:active {
background: #f6f6f6;
color: #111;
}
.wpa-ld button.wpa-toggle,
.wpa-alt button.wpa-toggle,
button.wpa-video {
top: 4px;
left: 4px;
}
.wpa-ld button.wpa-toggle:focus, .wpa-ld button.wpa-toggle:hover,
.wpa-alt button.wpa-toggle:focus, .wpa-alt button.wpa-toggle:hover,
button.wpa-video:hover,
button.wpa-video:focus {
outline: 2px solid currentColor;
outline-offset: 1px;
}
button.wpa-video[aria-pressed=true] .dashicons::before {
content: "\f522" / '';
}
.wpa-alt button.wpa-toggle[aria-expanded=true],
.wpa-ld button.wpa-toggle[aria-expanded=true] {
color: #111;
background: #f6f6f6;
}
.wpa-alt button:focus, .wpa-alt button:hover,
.wpa-ld button:focus, .wpa-ld button:hover {
cursor: pointer;
}
.top-left .wpa-alt a.wpa-toggle, .top-left .wpa-alt button.wpa-toggle,
.top-left .wpa-ld a.wpa-toggle, .top-left .wpa-ld button.wpa-toggle {
top: 4px;
bottom: auto;
}
.top-right .wpa-alt a.wpa-toggle, .top-right .wpa-alt button.wpa-toggle,
.top-right .wpa-ld a.wpa-toggle, .top-right .wpa-ld button.wpa-toggle {
top: 4px;
right: 4px;
left: auto;
bottom: auto;
}
.bottom-right .wpa-alt a.wpa-toggle, .bottom-right .wpa-alt button.wpa-toggle,
.bottom-right .wpa-ld a.wpa-toggle, .bottom-right .wpa-ld button.wpa-toggle {
right: 4px;
left: auto;
}
.wpa-alt .wpa-ld button {
left: 46px;
}
.top-right .wpa-alt .wpa-ld button,
.bottom-right .wpa-alt .wpa-ld button {
left: auto;
right: 46px;
}