﻿@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.chat_box .bot {
    animation: slide-down 0.4s ease;
}

.chat_box .user {
    animation: slide-up 0.4s cubic-bezier(0.01, 0.57, 0.73, 1.13);
}

#chatviewId {
    overflow: hidden;
}

    #chatviewId:hover {
        overflow-y: overlay;
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    #chatviewId::-webkit-scrollbar {
        display: none;
    }

/* Hide scrollbar for IE, Edge and Firefox */
#chatviewId {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.field_select_links.open .list {
    max-height: 200px;
    overflow: auto;
}

.dialogTextContainer {
    align-self: stretch;
    max-height: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 24px;
    height: 40%;
}

#dialogTextTitle {
    font-size: 2.25rem;
    color: var(--lwc-colorTextDefault, #333333);
    margin: 0 0 4px;
    text-align: center;
}

#dialogTextBody {
    font-size: 1.5rem;
    color: var(--lwc-colorTextDefault, #333333);
    margin: 0 0 4px;
    text-align: center;
}

.js_box_icon_chat {
    background: var(--primary-color);
}

.chat_box header {
    background: var(--primary-color);
}

.chat_box .bot > span {
    background: var(--secondary-color);
}

.chat_box .user > span {
    background-color: var(--primary-color);
}

.spinner-chatbot > div {
    background: var(--primary-color);
}

.dropzone {
    background-color: var(--secondary-color);
}

.field_checkbox_box .group input:checked ~ .input,
.field_checkbox_box .group input:not(:disabled):hover ~ .input,
.field_radio_box .group input:checked ~ .input,
.field_radio_box .group input:not(:disabled):hover ~ .input {
    border-color: var(--primary-color);
}

.checkbox input[type=checkbox]:checked ~ .input,
.checkbox input[type=radio]:checked ~ .input,
.radio input[type=checkbox]:checked ~ .input,
.radio input[type=radio]:checked ~ .input {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.field_checkbox_box .group input:checked ~ .input + .label_box,
.field_checkbox_box .group input:not(:disabled):hover ~ .input + .label_box,
.field_radio_box .group input:checked ~ .input + .label_box,
.field_radio_box .group input:not(:disabled):hover ~ .input + .label_box {
    background-color: var(--secondary-color);
    border-color: var(--primary-color);
}

.field_select_links.open > p {
    border-color: #e1e5ea;
}

.field_select_links > .list {
    border-top-color: #e1e5ea;
}

.i_send {
    background-color: var(--primary-color);
}

.carousel-wrapper {
    position: relative;
    max-width: calc(100% - 60px);
    padding-top: 5px;
}

.carousel-container {
    position: relative;
    width: 60%;
    box-sizing: border-box;
}

.carousel-track {
    display: flex;
    gap: 50px;
    will-change: transform;
    scroll-behavior: smooth;
    transition: transform 0.5s ease;
}

.carousel-item-chatbot {
    border-radius: 7px;
    border: 1px solid rgba(230, 234, 238, 1);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    opacity: 1;
    background-color: rgba(255, 255, 255, 1);
    width: 256px;
    height: auto;
    min-width: 220px;
    scroll-snap-align: start;
    flex-shrink: 0;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease, flex-basis 0.5s ease;
}

    .carousel-item-chatbot:last-child {
        margin-right: 5%;
    }

.carousel-banner {
    background-color: var(--primary-color);
    height: 150px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-size: cover;
    background-position: center;
}

.job-title {
    margin-top: 10px;
    font-size: 18px !important;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #354052;
    text-align: left;
    margin-left: 20px;
    margin-right: 20px;
}

.job-info {
    margin-top: 5px;
    margin-left: 20px;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    opacity: 1;
    color: rgba(103, 118, 138, 1);
    font-weight: 400;
    letter-spacing: 0px;
    text-align: left;
    line-height: 16px;
}

.job-location,
.job-salary,
.job-type {
    margin-top: 8px;
    display: block;
    margin-bottom: 0.3rem;
    opacity: 0.8;
    font-size: 14px !important;
    color: #67768A;
    font-weight: 400;
    letter-spacing: 0px;
    text-align: left;
    line-height: 16px;
}

.job-button-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-button {
    width: 100%;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    text-align: center;
    margin: 0 16px 16px;
    box-sizing: border-box;
    border-radius: 27px;
    border: 1px solid rgba(223, 227, 233, 1);
    opacity: 1;
    background-color: rgba(255, 255, 255, 1);
    color: rgba(53, 64, 82, 1);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    text-align: center;
    line-height: 20px;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.job-button:active,
.job-button:focus {
    position: relative;
}

.carousel-buttons-container {
    position: absolute;
    top: 20%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.carousel-button {
    pointer-events: all;
    background-color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: none;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    outline: none !important
}

    .carousel-button.left {
        position: absolute;
        left: -21px;
    }

    .carousel-button.right {
        position: absolute;
        left: 240px;
    }

    .carousel-button i {
        color: #333;
    }

        .carousel-button i.fa-solid {
            font-size: 20px;
        }

.progress-container {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #000;
    margin-bottom: 10px;
    margin-top: 15px;
    min-height: 20px;
    overflow: hidden;
    justify-content: center;
    width: 250px !important;
}

.progress-bar-chatbot {
    display: flex;
    gap: 5px;
    align-items: center;
}

.progress-dot {
    margin-left: 3px;
    width: 30px;
    height: 5px;
    background-color: #d8d8d8;
    border-radius: 2px;
}

    .progress-dot.active {
        background-color: var(--primary-color);
    }

span.message-text:has(.carousel-wrapper) {
    background-color: white;
    margin-left: 6px !important;
    max-width: 120% !important;
}

    span.message-text:has(.carousel-wrapper)::before {
        content: none !important;
    }

@media (max-width: 768px) {
    .carousel-buttons-container {
        top: 20%;
    }

    .carousel-wrapper {
        max-width: calc(100% - 1px);
    }

    .carousel-container {
        width: 100%;
    }

    .carousel-button.left {
        left: -25px;
    }

    .carousel-button.right {
        left: 238px;
    }
}

li.bot .message-text {
    position: relative;
    width: 100%;
}

li.user .message-text {
    position: relative;
}

li.bot .message-text::before {
    content: '';
    top: -10px;
    left: 0px;
    position: absolute;
    width: 0;
    height: 0;
    border-right: 20px solid transparent;
    border-bottom: 20px solid var(--secondary-color);
}

li.user .message-text::before {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -30px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent var(--primary-color) transparent;
    transform: translate(-100%, 0) rotate(45deg);
}

.chat_box .bot > span#informative {
    font-size: 14px !important;
    background-color: #ffff;
    color: var(--informative-color) !important;
    opacity: 1;
    text-align: center !important;
    color: rgba(103, 118, 138, 1);
    letter-spacing: 0px;
    text-align: center;
    line-height: 16px;
    font-weight: 400;
    max-width: 120%;
    margin-left: -38px;
    margin-right: -26px;
    margin-top: -9px !important;
    padding-top: 0px !important;
    margin-bottom: -13px !important;
}

    .chat_box .bot > span#informative > a {
        font-size: 14px !important;
    }

#informative::before {
    content: '';
    position: absolute;
    bottom: 81%;
    left: 17px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent rgba(255, 255, 255, 1) transparent;
    transform: translate(-100%, 0) rotate(45deg);
}

.message-text:has(.group)::before {
    content: none !important;
}

.field_select_links {
    margin-top: 12px;
}

.spinner-chatbot {
    margin: 0;
    width: 50px;
    text-align: center;
}