/* Import Google font - Poppins */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

.laxi * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.hidden {
    display: none;
}

.laxi {
    background: #ffffff00;
}

.chatbot-toggler {
    position: fixed;
    bottom: 22px;
    right: 24px;
    outline: none;
    border: none;
    height: 64px;
    width: 64px;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.24);
    animation: pulse-shadow 2s infinite;
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.10);
    }
    50% {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.24);
    }
    100% {
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.10);
    }
}

a {
    color: #972FFF;
    transition: color 0.3s ease-in-out;
}

a:hover, a:focus {
    color: #9f41ff;
    text-decoration: underline;
}

.chatbot-toggler img {
    width: 70%;
    height: auto;
    transition: opacity 0.5s ease;
    position: absolute;
    margin-bottom: 3px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.chatbot-toggler .open-icon,
.show-chatbot .chatbot-toggler .close-icon {
    opacity: 0;
    visibility: hidden;
}

.show-chatbot .chatbot-toggler .open-icon {
    opacity: 1;
    visibility: visible;
}

.chatbot-toggler .close-icon,
.show-chatbot .chatbot-toggler .open-icon {
    opacity: 1;
    visibility: visible;
}

.show-chatbot .chatbot-toggler .close-icon {
    opacity: 0;
    visibility: hidden;
}

.chatbot {
    position: fixed;
    height: 84%;
    right: 16px;
    bottom: 16px;
    width: 420px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    opacity: 0;
    border: solid 1px #d3d3d34d;
    transform: translateY(100%);
    box-shadow: 0 6px 28px -10px rgb(0 0 0 / 46%);
}

.show-chatbot .chatbot {
    pointer-events: auto;
    animation: showChatbot 0.4s ease-in-out forwards;
    display: flex;
    flex-direction: column;
}

.hiding-chatbot .chatbot {
    display: flex;
    flex-direction: column;
    border: solid 1px #9d9d9d;
    pointer-events: auto;
    animation: hideChatbot 0.4s linear forwards;

}


@keyframes showChatbot {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hideChatbot {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(100%);
    }
}

.chatbot header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 16px;
    padding-left: 20px;
    padding-right: 20px;
    height: 80px;
    position: relative;
    color: black;
    background: #ffffff;
}

.chatbot header .logo {
    width: auto;
    margin-right: 21px;
    height: 32px;
}

.chatbot header .header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.title-img {
    max-width: 147px;
    max-height: 60px;
}

.chatbot header .status {
    font-size: 0.8rem;
    color: green;
}

.chatbot header span {
    cursor: pointer;
}

header h2 {
    font-size: 1.4rem;
    margin-bottom: 0px;
    background: linear-gradient(to right, #000000, #4b4b4b);
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
    display: inline-block;
}

.chatbot .chatbox {
    background: white;
    overflow-y: auto;
    height: -webkit-fill-available;
    padding: 4px 8px 10px;
}

.chatbot :where(.chatbox, textarea)::-webkit-scrollbar {
    width: 0px;
}

.chatbot :where(.chatbox, textarea)::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 25px;
}

.chatbot :where(.chatbox, textarea)::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 25px;
}

.chatbox .chat {
    display: flex;
    list-style: none;
    align-items: flex-end;
    gap: 3px;
    margin-top: 4px;
}

.chatbox .outgoing {
    margin: 8px 0;
    justify-content: flex-end;
}

.chatbox .incoming span {
    width: 32px;
    height: 32px;
    cursor: default;
    text-align: center;
    line-height: 32px;
    border-radius: 4px;
}

.chatbox .chat p {
    white-space: pre-wrap; /* Allows text to wrap */
    word-wrap: break-word; /* Breaks long words */
    padding: 12px 16px;
    margin-inline: 3px;
    border-radius: 24px;
    max-width: 98%; /* Adjust if needed */
    font-size: 16px; /* Adjust if needed */
    -webkit-font-smoothing: subpixel-antialiased;
    line-height: 1.25;
    color: white;
    background: #972fff;
    box-sizing: border-box; /* Includes padding and border in width/height */
    border: solid 1px #8844eb00;
}

.incoming p {
    animation: incomingBubbleGrow 0.3s ease-in-out forwards;
    transform-origin: bottom left;
}

.outgoing p {
    animation: outgoingBubbleGrow 0.3s ease-in-out forwards;
    transform-origin: bottom right;
}


@keyframes incomingBubbleGrow {
    from {
        opacity: 0.8;
        transform: scale(0.6);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes outgoingBubbleGrow {
    from {
        opacity: 0.8;
        transform: scale(0.6);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slideshow-container {
    margin-top: 3px;
    animation: slideAnimation 0.3s ease-in-out forwards;
    transform-origin: bottom left;
    scale: 0;
}

@keyframes slideAnimation {
    from {
        opacity: 0.8;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
        scale: 1;
    }
}


.div-button-product {
    padding-block: 10px;
    padding-inline: 10px;
    border: 1px solid rgb(136 68 235);
    background-color: #f6f6f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}


.div-button-product a {
    font-size: 16px;
    text-decoration: none;
}


.div-button-product:hover {
    background-color: #efefef;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 24px rgba(0, 0, 0, 0.19);
    border: 1px solid rgb(0, 0, 0);
    transform: scale(1.05);
}


.div-button-form {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    margin-inline: 1px;
    border: solid 1px #d3d3d3;
    border-radius: 9px;
    font-size: 16px;
    padding-block: 8px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}


.div-button-form:hover {box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1)
}


.link-product {
    transition: all 0.3s ease;
    color: #8b5cf6;
}

.div-button-form:hover .link-product {
    transition: all 0.3s ease;
}

.laxi .product {
    width: 150px;
}

.chatbox .incoming p {
    border-radius: 24px;
    color: black;
    background: #f6f6f600;
    border: solid 1px #cbcbcb00;
}

.chatbox .chat p.error {
    color: #721c24;
    background: #f8d7da;
}

.chatbot .chat-input {
    display: flex;
    align-items: center;
    bottom: 0;
    border: solid 1px #c6c6c6;
    margin: 1px 6px 6px 6px;
    border-radius: 20px;
}

.chat-input {
    display: flex;
    justify-content: center;
    align-items: center;
}

.message-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Adjust this if needed */
    height: 100%; /* Adjust this if needed */
}

.message-text {
    width: 100%;
    height: 100%;
    resize: none;
    box-sizing: border-box;
    outline: none;
    overflow: hidden;
    color: black;
}


.message-text:empty:not(:focus):before {
    content: attr(placeholder);
    pointer-events: none;
    display: block; /* For Firefox */
}

.chat-input .message-wrapper {
    min-height: 38px;
    border: none;
    outline: none;
    resize: none;
    width: -webkit-fill-available;
    padding: 9px 20px 10px 18px;
    font-size: 1em;
    overflow-y: hidden;
    max-height: 250px;
    background: transparent;
}

.chat-input textarea {
    min-height: 38px;
    border: none;
    outline: none;
    resize: none;
    width: 100%;
    padding: 0px;
    font-size: 1em;
    overflow-y: hidden;
    max-height: 250px;
    background: transparent;
    color: black;
}

.chat-input span {
    justify-content: center;
    height: 36px;
    margin-right: 1px;
    margin-bottom: 1px;
    padding-right: 2px;
    color: #8844eb;
    border-radius: 500px;
    min-width: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 24px;
    transition: color 0.3s, box-shadow 0.3s, transform 0.2s ease-in-out;
}

.chat-input span:hover {
    transform: rotate(10deg);
}

.chat-input textarea:valid ~ span {
    visibility: visible;
}

.chat-input textarea::placeholder {
    color: black;
}

.chatbot-icon {
    width: 24px;
    height: 24px;
    position: relative;
    top: 23px;
    margin-bottom: 5px;
    border-radius: 500px;
    background-color: #8844ec;
}

.form-btn {
}

.bubble-indicator {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 52px;
    height: 40px;
    margin: 0;
    padding: 5px;
    transform: scale(0);
    transform-origin: bottom center;
    animation: bubbleIndicatorGrow 0.5s ease-out forwards;
}


@keyframes bubbleIndicatorGrow {
    from {
        transform: scale(0);
        opacity: 0.8;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bubbleIndicatorGrow {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


.bubble-dot {
    width: 6px;
    height: 6px;
    background-color: #000000;
    border-radius: 50%;
    animation: scale 1.4s infinite ease-in-out;
}

.bubble-dot:nth-of-type(1) {
    animation-delay: 0s;
}

.bubble-dot:nth-of-type(2) {
    animation-delay: 0.2s;
}

.bubble-dot:nth-of-type(3) {
    animation-delay: 0.4s;
}

@keyframes scale {
    0%, 100% {
        transform: scale(0.2);
    }
    50% {
        transform: scale(1.6);
    }
}

@media (max-width: 490px) {
    .chatbot {
        left: 0;
        bottom: 0;
        height: 100%;
        border-radius: 0;
        width: 100%;
    }

    .chatbot .chatbox {
        height: 90%;
        padding: 25px 15px 70px;
    }

    .chatbot header span {
        display: block;
    }

}

.chatbox .slide .nome-product {
    background-color: white;
    min-width: 100%;
    text-align: center;
    font-weight: 450;
    padding-inline: 5px;
    padding-block: 7px;
    min-height: 54px;
    box-shadow: 0px 0px 0px;
    border: none;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    animation: incomingBubbleGrow 0.3s ease-in-out forwards;
    transform-origin: center;
}

.slideshow-container {
    position: relative;
    margin-right: 0%;
    margin-left: 3px;
    max-width: 80%;
    border-radius: 15px;
    background: #f2f2f2;
    box-shadow: 3px 3px 8px #0000004f;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: solid 1px #f3f3f3;
}

.carousel-box {
    position: relative;
    width: 200px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
}

.slide {
    height: 100%;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
}

.slide img {
    width: 100%;
    object-fit: cover;
}

.container-img-product {
    height: 220px;
    width: 200px;
    overflow: hidden;
    border-radius: 10px 10px 0px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.prev, .next {
    position: absolute;
    top: 43%;
    transform: translateY(-50%);
    color: black;
    border-radius: 21px;
    background-color: rgba(255, 255, 255, 0);
    border: none;
    padding: 24px 7px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev:hover {
    background-color: #b3b3b3;
}

.next:hover {
    background-color: #b3b3b3;
}

.prev {
    left: 0;
    margin-left: -8px;
}

.next {
    right: 0;
    margin-right: -8px;
}

.chatbot .chatbox .form-container {
    padding: 20px;
    background: #f6f6f6;
    border-radius: 24px;
    border: solid 1px #cbcbcb;
    margin-top: 0;
    margin-left: 4px;
    display: flex;
    flex-direction: column;
    width: 75%;
    animation: incomingBubbleGrow 0.3s ease-in-out forwards;
    transform-origin: bottom left;
    font-size: 16px;
    line-height: 1.25;
}

.chatbot .chatbox .form-container label {
    margin-bottom: 4px;
    color: #333;
}

.message-suggestions {
    display: flex;
    flex-direction: column-reverse; /* Change from row to column */
    align-items: flex-end;
    border: none;
    white-space: nowrap;
    background: white;
    height: auto; /* Adjust height to fit content */
}

.suggestion-btn {
    display: inline-block;
    width: fit-content; /* Adjust width for vertical layout */
    height: fit-content;
    margin: 5px 8px; /* Adjust margin for vertical spacing */
    padding: 8px 14px;
    margin-block: 4px;
    background-color: #8844eb;
    border: 1px solid lightgrey;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    color: white;
    opacity: 0; /* Start with opacity 0 */
    animation: fadeIn 1s forwards; /* Apply animation */
    font-size: 16px;
}


.message-suggestions {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.suggestion-btn:hover {
    background-color: #9f41ff;
    color: white;
    transform: translateY(-1px) scale(1.005);
}

.suggestion-btn:active {
    animation: clickAnimation 0.2s ease-in-out;
}

@keyframes clickAnimation {
    0% {
        transform: translateY(-3px) scale(1.05);
        background-color: #8844eb;
    }
    100% {
        transform: scale(1);
        background-color: #fefefe;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.chatbot .chatbox .form-container input[type="email"],
.chatbot .chatbox .form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    resize: none;
}

.mail-li {
    margin-top: 30px;
}

button .div-button-product {
    width: 60px;
    margin-top: 4px;
}

/* Feedback Prompt Styles */
.feedback-prompt {
    color: #333333; /* Adjust based on your color scheme */
    display: flex;
    position: relative;
    bottom: 15px;
    left: 8px;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    margin: 7px 3px;
    width: fit-content;
    background-color: #ffffff;
    border-radius: 24px;
    padding: 0;
    font-size: 16px; /* Adjust size as needed */
    border: solid 1px #f3f3f3;
    animation: incomingBubbleGrow 0.3s ease-in-out forwards;
    transform-origin: center;
}

li.chat.incoming:hover +.feedback-prompt {
    display: flex;
}
.thumbs-container {
    color: black;
    display: flex;
    gap: 0px;
    background-color: #ffffff;
    padding: 4px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}


.feedback-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #655b7700; /* Background color */
    /* Text/icon color */
    border: transparent; /* Border color */
    border-radius: 50%;
    width: 32px; /* Button size */
    height: 32px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.feedback-button img {
    width: 60%;
    height: auto;
}

.feedback-button:hover {
    background-color: #f7f7f7;
    color: #ffffff;
    transform: scale(1.1);
}

.chatbox .chat img {
    /* Adjust based on your preference */
    border-radius: 8px; /* Gives a nice rounded corner look to images */
    /* Adds a bit of space above the image */
    /* Optional: Adds a subtle shadow for depth */
}

.feedback-image-container {
    position: relative;
    display: flex;
    justify-content: center; /* Center the image horizontally in the chat */
    align-items: center; /* Center the image vertically */
    margin-top: -13px; /* Add some vertical margin for spacing */
    margin-left: 2%;
    padding: 2px;
    height: 32px;
    width: 32px;
    /* Padding around the image */
    background-color: #ffffff; /* Light background to distinguish the container */
    border-radius: 50px; /* Rounded corners for a softer look */
    /* Subtle shadow for depth */
    border: solid 1px #ffffff;
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

/* Styling for the images inside the feedback container */
.feedback-image-container img {
    width: 80%; /* Set a standard width for the images */
    height: auto; /* Maintain aspect ratio */
    /* Circular images */
}

/* Optional: Add a slight hover effect to the image container */
.feedback-image-container:hover {
    transform: scale(1.05); /* Slightly enlarge the container on hover */
}

.laxi-tag {
    display: flex;
    align-items: flex-start;
    background-color: transparent;
    justify-content: flex-end;
    margin-top: 0px;
    padding-right: 12px;
}

.laxi-tag-group {
    display: flex;
}

.laxi-tag textarea {
    resize: none;
    border: none;
    background: none;
    font-size: 12px;
    padding: 0px 0px 0px 12px;
    color: #b4b4b4;
    height: 12px;
    overflow: hidden;
    outline: none;
    line-height: 1;
    vertical-align: bottom;
    text-align: end;
}

.laxi-tag a {
    font-size: 12px;
    color: #b4b4b4;
    text-decoration: none;
    margin-left: 2px;
    line-height: 1;
    vertical-align: text-top;
}

.laxi-tag a:hover {
    text-decoration: underline;
}


.chatbot .chatbox .bubble-container {
    padding: 0px;
    background: transparent;
    border-radius: 0px;
    border: none;
    margin-top: 0;
    margin-left: 4px;
    display: flex;
    flex-direction: column;
    width: auto;
    animation: incomingBubbleGrow 0.3s ease-in-out forwards;
    transform-origin: bottom left;
}

.fa-solid {
    font-size: 16px;
    cursor: pointer;
    color: #8844eb;
}
