.ai-colanta-chat {
position: relative;
z-index: 2147483000;
font-family: 'Poppins', 'Trebuchet MS', sans-serif;
}
.ai-colanta-chat[data-mode="floating"] {
position: fixed;
right: 6px;
bottom: 4px;
}
.ai-colanta-chat[data-mode="floating"][data-position="bottom-left"] {
left: 6px;
right: auto;
}
.ai-colanta-chat[data-mode="inline"] {
position: relative;
right: auto;
left: auto;
bottom: auto;
}
.ai-colanta-chat__launcher {
position: absolute;
bottom: 0;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
border: 0;
background: transparent;
cursor: pointer;
margin: 0;
padding: 0 !important;
min-width: 0;
min-height: 0;
line-height: normal;
appearance: none;
-webkit-appearance: none;
box-shadow: none;
outline: none;
transition: gap 0.28s ease, right 0.28s ease, left 0.28s ease;
}
.ai-colanta-chat__launcher:hover,
.ai-colanta-chat__launcher:focus,
.ai-colanta-chat__launcher:focus-visible,
.ai-colanta-chat__launcher:active {
margin: 0;
padding: 0 !important;
background: transparent !important;
border-color: transparent !important;
box-shadow: none !important;
}
.ai-colanta-chat__launcher--right {
right: 0;
}
.ai-colanta-chat__launcher--left {
left: 0;
}
.ai-colanta-chat__avatar-img-wrap {
width: 180px;
max-width: 42vw;
position: relative;
background: transparent;
transition: width 0.28s ease;
}
.ai-colanta-chat__avatar-img {
width: 100%;
height: auto;
display: block;
background: transparent;
}
.ai-colanta-chat__avatar-img--open {
display: none;
}
.ai-colanta-chat.is-open .ai-colanta-chat__avatar-img--closed {
display: none;
}
.ai-colanta-chat.is-open .ai-colanta-chat__avatar-img--open {
display: block;
}
.ai-colanta-chat__avatar-bubble {
position: relative;
max-width: 260px;
background: #f9fbf7;
color: #42723f;
border: 2px solid #668e5e;
border-radius: 14px;
padding: 7px 12px;
font-size: 16px;
font-weight: 700;
line-height: 1.15;
text-align: center;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
animation: ai-colanta-bubble-float 2.3s ease-in-out infinite;
transition: max-width 0.28s ease, font-size 0.28s ease, padding 0.28s ease;
}
.ai-colanta-chat__avatar-bubble:after {
content: '';
position: absolute;
bottom: -10px;
right: 34px;
width: 18px;
height: 18px;
background: #f9fbf7;
border-right: 2px solid #668e5e;
border-bottom: 2px solid #668e5e;
transform: rotate(45deg);
}
.ai-colanta-chat__avatar-bubble--left:after {
left: 34px;
right: auto;
}
.ai-colanta-chat__bubble {
position: absolute;
right: 0;
bottom: 212px;
width: min(390px, 92vw);
min-height: 344px;
max-height: min(70vh, 560px);
display: flex;
flex-direction: column;
padding: 0;
border: 2px solid #6a915f;
border-radius: 22px;
background: #f2f4f1;
box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
opacity: 0;
pointer-events: none;
transform: translateY(16px) scale(0.97);
transform-origin: right bottom;
transition: opacity 0.22s ease, transform 0.22s ease;
}
.ai-colanta-chat[data-position="bottom-left"] .ai-colanta-chat__bubble,
.ai-colanta-chat[data-mode="inline"] .ai-colanta-chat__bubble {
left: 0;
right: auto;
transform-origin: left bottom;
}
.ai-colanta-chat.is-open .ai-colanta-chat__bubble {
opacity: 1;
pointer-events: auto;
transform: translateY(0) scale(1);
}
.ai-colanta-chat__head {
height: 74px;
padding: 0 22px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid #d4d9d3;
}
.ai-colanta-chat__title {
margin: 0;
color: #325f3b;
font-size: 28px;
font-weight: 700;
line-height: 1;
}
.ai-colanta-chat__minimize {
border: 0;
background: transparent;
color: #96a0ad;
font-size: 30px;
font-weight: 700;
line-height: 1;
cursor: pointer;
padding: 0;
}
.ai-colanta-chat__minimize:hover,
.ai-colanta-chat__minimize:focus,
.ai-colanta-chat__minimize:focus-visible,
.ai-colanta-chat__minimize:active {
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
color: #6f7a88;
outline: none;
}
.ai-colanta-chat__history {
flex: 1;
min-height: 150px;
max-height: clamp(170px, 34vh, 250px);
overflow-y: auto;
padding: 16px 28px;
display: flex;
flex-direction: column;
gap: 10px;
}
.ai-colanta-chat__agent-label {
color: #98a0ad;
font-size: 14px;
font-weight: 700;
margin-top: 2px;
}
.ai-colanta-chat__history-item {
padding: 11px 12px;
border-radius: 18px;
font-size: 16px;
line-height: 1.32;
color: #3b3f52;
word-break: break-word;
}
.ai-colanta-chat__history-item--bot {
background: #e4e7e3;
border: 1px solid #d1d8cf;
align-self: flex-start;
max-width: 92%;
}
.ai-colanta-chat__history-item--bot .ai-colanta-chat__paragraph {
margin: 0 0 8px;
}
.ai-colanta-chat__history-item--bot .ai-colanta-chat__paragraph:last-child {
margin-bottom: 0;
}
.ai-colanta-chat__section-title {
margin: 10px 0 6px;
font-weight: 700;
color: #2f5f3d;
}
.ai-colanta-chat__section-title:first-child {
margin-top: 0;
}
.ai-colanta-chat__list {
margin: 0 0 10px 18px;
padding: 0;
}
.ai-colanta-chat__list:last-child {
margin-bottom: 0;
}
.ai-colanta-chat__list li {
margin-bottom: 4px;
}
.ai-colanta-chat__history-item--user {
background: #dff3d5;
border: 1px solid #c7e3bc;
align-self: flex-end;
max-width: 86%;
color: #29472c;
}
.ai-colanta-chat__loading {
min-width: 64px;
text-align: center;
}
.ai-colanta-chat__loading-dots {
display: inline-flex;
gap: 3px;
}
.ai-colanta-chat__loading-dots span {
animation: ai-colanta-loading-bounce 1.4s infinite ease-in-out both;
font-size: 22px;
color: #2f5f3d;
}
.ai-colanta-chat__loading-dots span:nth-child(1) {
animation-delay: -0.32s;
}
.ai-colanta-chat__loading-dots span:nth-child(2) {
animation-delay: -0.16s;
}
@keyframes ai-colanta-loading-bounce {
0%, 80%, 100% {
transform: translateY(0);
opacity: 0.35;
}
40% {
transform: translateY(-6px);
opacity: 1;
}
}
.ai-colanta-chat__input {
padding: 12px 16px 16px;
display: flex;
align-items: center;
gap: 10px;
}
.ai-colanta-chat__input textarea {
flex: 1;
min-height: 46px;
max-height: 78px;
border: 2px solid #6c9165;
border-radius: 16px;
padding: 10px 14px;
resize: none;
font-family: inherit;
font-size: 15px;
color: #36404a;
outline: 0;
background: #f8faf7;
}
.ai-colanta-chat__input textarea::placeholder {
color: #98a4b3;
}
.ai-colanta-chat.is-chat-unavailable .ai-colanta-chat__input textarea,
.ai-colanta-chat.is-chat-unavailable .ai-colanta-chat__send {
opacity: 0.65;
cursor: not-allowed;
}
.ai-colanta-chat__send {
padding: 11px !important;
width: 44px;
height: 44px;
border: 0;
border-radius: 12px;
background: #e3f2da;
color: #4d7a44;
font-size: 22px;
font-weight: 700;
line-height: 1;
cursor: pointer;
transition: background-color 0.2s ease, color 0.2s ease;
}
.ai-colanta-chat__send:hover,
.ai-colanta-chat__send:focus,
.ai-colanta-chat__send:focus-visible {
background: #76BC22;
color: #ffffff;
outline: none;
}
.ai-colanta-chat__send:disabled {
opacity: 0.55;
cursor: default;
}
.ai-colanta-chat__cta {
margin: 0 28px 8px;
}
.ai-colanta-chat__suggestions-connector {
margin: 0;
color: #3f4a3b;
font-size: 13px;
font-weight: 600;
line-height: 1.35;
}
.ai-colanta-chat__cta-link {
display: inline-flex;
align-items: center;
padding: 8px 11px;
border-radius: 10px;
background: #427a35;
color: #fff;
text-decoration: none;
font-size: 13px;
font-weight: 600;
}
.ai-colanta-chat__inline-suggestions {
display: flex;
flex-direction: column;
gap: 6px;
margin-top: 4px;
}
.ai-colanta-chat__inline-suggestions-cards {
display: flex;
flex-direction: column;
gap: 8px;
}
.ai-colanta-chat__inline-suggestion {
display: flex;
gap: 8px;
align-items: center;
background: #f9fbf7;
border: 1px solid #ced9c8;
border-radius: 12px;
padding: 7px;
}
.ai-colanta-chat__inline-suggestion-thumb {
width: 40px;
height: 40px;
border-radius: 8px;
object-fit: cover;
}
.ai-colanta-chat__inline-suggestion-body {
min-width: 0;
}
.ai-colanta-chat__inline-suggestion-link {
display: block;
color: #2e6933;
text-decoration: none;
font-size: 13px;
font-weight: 700;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ai-colanta-chat__inline-suggestion-desc {
margin: 0;
color: #626f62;
font-size: 12px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
@keyframes ai-colanta-bubble-float {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-5px);
}
} .ai-colanta-chat[data-mode="floating"].is-idle {
right: 4px !important;
left: auto !important;
bottom: 2px;
}
.ai-colanta-chat[data-mode="floating"].is-idle .ai-colanta-chat__launcher {
right: 0 !important;
left: auto !important;
margin: 0;
padding: 0 !important;
gap: 8px;
}
.ai-colanta-chat[data-mode="floating"].is-idle .ai-colanta-chat__avatar-img-wrap {
width: 90px;
max-width: 30vw;
}
.ai-colanta-chat[data-mode="floating"].is-idle .ai-colanta-chat__avatar-bubble {
max-width: 164px;
font-size: 10px;
padding: 5px 8px;
}
.ai-colanta-chat[data-mode="floating"].is-idle .ai-colanta-chat__avatar-bubble:after {
width: 14px;
height: 14px;
bottom: -8px;
}
@media (max-width: 768px) {
.ai-colanta-chat[data-mode="floating"] {
right: 6px;
left: 6px;
bottom: 4px;
}
.ai-colanta-chat[data-mode="floating"][data-position="bottom-left"] {
left: 6px;
right: 6px;
}
.ai-colanta-chat__launcher {
align-items: flex-end;
}
.ai-colanta-chat__avatar-img-wrap {
width: 126px;
max-width: 34vw;
}
.ai-colanta-chat__avatar-bubble {
max-width: 220px;
font-size: 13px;
padding: 6px 10px;
}
.ai-colanta-chat__bubble {
left: 0;
right: 0;
bottom: 132px;
width: 100%;
min-height: 292px;
max-height: calc(100dvh - 120px);
border-radius: 18px;
}
.ai-colanta-chat__head {
height: 64px;
padding: 0 18px;
}
.ai-colanta-chat__title {
font-size: 24px;
}
.ai-colanta-chat__minimize {
font-size: 30px;
}
.ai-colanta-chat__history {
min-height: 144px;
max-height: clamp(150px, 30dvh, 220px);
padding: 14px 16px;
}
.ai-colanta-chat__history-item {
font-size: 15px;
padding: 10px 11px;
}
.ai-colanta-chat__input {
padding: 12px 14px 14px;
}
.ai-colanta-chat__input textarea {
min-height: 44px;
max-height: 72px;
font-size: 14px;
padding: 9px 12px;
}
.ai-colanta-chat__send {
width: 40px;
height: 40px;
border-radius: 11px;
font-size: 20px;
}
}
@media (max-width: 480px) {
.ai-colanta-chat__avatar-img-wrap {
width: 112px;
max-width: 32vw;
}
.ai-colanta-chat__avatar-bubble {
max-width: 196px;
font-size: 12px;
padding: 6px 9px;
}
.ai-colanta-chat__bubble {
bottom: 124px;
min-height: 292px;
max-height: calc(100dvh - 108px);
}
.ai-colanta-chat__title {
font-size: 22px;
}
.ai-colanta-chat__history-item {
font-size: 15px;
}
.ai-colanta-chat__input textarea {
min-height: 42px;
max-height: 78px;
font-size: 13px;
padding: 8px 10px;
}
}
@media (min-width: 769px) and (max-width: 900px) {
.ai-colanta-chat__avatar-img-wrap {
width: 128px;
}
.ai-colanta-chat__avatar-bubble {
font-size: 13px;
padding: 7px 10px;
max-width: 220px;
}
.ai-colanta-chat__bubble {
width: min(350px, 92vw);
min-height: 350px;
bottom: 144px;
}
.ai-colanta-chat__title {
font-size: 24px;
}
.ai-colanta-chat__history-item {
font-size: 15px;
}
.ai-colanta-chat__input textarea {
font-size: 14px;
}
} .ai-colanta-chat button.ai-colanta-chat__launcher,
.ai-colanta-chat button.ai-colanta-chat__launcher:hover,
.ai-colanta-chat button.ai-colanta-chat__launcher:focus,
.ai-colanta-chat button.ai-colanta-chat__launcher:focus-visible,
.ai-colanta-chat button.ai-colanta-chat__launcher:active {
margin: 0 !important;
padding: 0 !important;
min-width: 0 !important;
min-height: 0 !important;
border: 0 !important;
background: transparent !important;
box-shadow: none !important;
line-height: normal !important;
}