/* WCIS */
.wcis-maintext {
    text-align: center;
    font-size: 30px;
    font-weight: 900;
    line-height: 2.4;
    margin-bottom: 50px;
}

.wcis-reels {
    height: 660px;
}

.wcis-reelsection__title {
    text-align: center;
    margin-top: -200px;
    margin-bottom: 60px;
    position: relative;
    z-index: 99;
}

.wcis-modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    z-index: 9999;
    transition: .4s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(20px);
}

.wcis-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wcis-modal-close {
    cursor: pointer;
}

.wcis-modal-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
}

.wcis-modal.open .wcis-modal-bg {
    backdrop-filter: blur(20px);
}

.wcis-modal-content {
    position: absolute;
    z-index: 2;
    width: 560px;
    height: 850px;
    max-height: 90vh;
    max-height: 90svh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.6);
    padding: 10px;
    border-radius: 24px;
}

.wcis-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    width: 100%;
    height: 60px;
    color: #fff;
    background: var(--base-color);
    padding: 0 30px;
}
.wcis-modal-content.owner .wcis-modal__head {
    background-color: var(--theme-color);
    color: #fff;
}
.wcis-modal-content.owner .wcis-modal__inner{
    background-color: #fff;
}
.wcis-modal-content.owner .wcis-modal__message--textbox{
    border: 1px solid var(--theme-color);
    background-color: var(--theme-color);
    color: #fff;
}
.wcis-modal-content.owner .wcis-modal__message--textbox::before{
    background: var(--theme-color);
}
.wcis-modal-content.owner .wcis-modal__message--icon{
    border: 1px solid var(--theme-color);
    border-radius: 50%;
}
.wcis-modal-content.owner .wcis-modal__choosetype-item label{
    background-color: #fff;
    color: var(--theme-color);
    border-color: #fff;
}
@media screen and (min-width: 992px) {
    .wcis-modal-content.owner .wcis-modal__choosetype-item label:hover{
        background-color: var(--theme-color);
        color: #fff;
    }
}

.wcis-modal__head--title {
    font-size: 18px;
}

.wcis-modal__inner {
    overflow-y: scroll;
    padding: 30px 20px 60px;
    background-color: #dcdcdc;
    width: 100%;
    height: calc(100% - 60px);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.wcis-modal__message {
    display: flex;
    align-items: center;
    gap: 24px;
}

.wcis-modal__message:not(:last-of-type) {
    margin-bottom: 16px;
}

.wcis-modal__message--icon {
    width: 40px;
}

.wcis-modal__message--textbox {
    position: relative;
    background: #fff;
    width: 335px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
}

.wcis-modal__message--textbox::before {
    content: "";
    position: absolute;
    top: calc(50% - 6px);
    width: 16px;
    height: 12px;
    background: #fff;
}

.wcis-modal__message.message-admin .wcis-modal__message--textbox::before {
    left: -16px;
    clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

.wcis-modal__message--textbox.question {
    position: relative;
}

.wcis-modal__message--textbox.question .wcis-modal__message--text {
    font-weight: bold;
}

.wcis-modal__message--textbox.question .wcis-modal__message--text strong{
    font-size: 22px;
    display: block;
}

.question-number {
    position: absolute;
    left: calc(100% + 14px);
    bottom: 0;
}

.wcis-modal__message.message-you {
    flex-direction: row-reverse;
}

.wcis-modal__message.message-you .wcis-modal__message--textbox::before {
    right: -16px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.wcis-modal__selectors {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.wcis-modal__selectbtn {
    width: 100px;
    line-height: 42px;
    text-align: center;
    font-family: var(--figtree);
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.1em;
    border-radius: 25px;
    border: 1px solid var(--base-color);
    cursor: pointer;
}

.wcis-modal__selectbtn.yes {
    color: var(--base-color);
    background: var(--theme-color);
    color: #fff;
}

.wcis-modal__selectbtn.no {
    color: var(--theme-color);
    background: #fff;
}

.wcis-modal__selectbtn.disabled {
    pointer-events: none;
}

.wcis-modal__selectbtn.faded {
    opacity: 0.3;
}

.wcis-modal__age{
    text-align: right;
}
.wcis-modal__age input, .wcis-modal__people input{
    border: 1px solid var(--gray);
    height: 40px;
    padding: 0 10px;
    border-radius: 2px;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}
.wcis-modal__age input{
    width: calc(100% - 30px);
}
.wcis-modal__people{
    text-align: right;
}
.wcis-modal__people input{
    width: 45px;
    margin: 0 10px;
    height: 35px;
}
.wcis-modal__age.disabled input,
.wcis-modal__people.disabled input{
    pointer-events: none;
    opacity: 0.3;
    background-color: #ddd;
}
.wcis-modal__age span{
    margin-left: 10px;
}
.wcis-modal__people-item:not(:last-child){
    margin-bottom: 5px;
}
.wcis-modal__age span, .wcis-modal__people span{
    font-size: 14px;
    font-weight: bold;
}
.wcis-modal__nextbtn{
    margin-top: 15px;
    text-align: center;
}
.wcis-modal__nextbtn span{
    font-size: 14px;
    display: inline-block;
    border-radius: 20px;
    background-color: var(--theme-color);
    color: #fff;
    font-weight: bold;
    padding: 5px 30px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--theme-color);
}
@media screen and (min-width: 992px) {
    .wcis-modal__nextbtn span:hover{
        background-color: transparent;
        color: var(--theme-color);
    }
}
.wcis-modal__nextbtn span.disabled{
    pointer-events: none;
    opacity: 0.3;
}
.wcis-modal__choosetype{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 8px;
}
.wcis-modal__choosetype.col-1{
    grid-template-columns: repeat(1,1fr);
}
.wcis-modal__choosetype-item input{
    display: none;
}
.wcis-modal__choosetype-item label{
    border: 1px solid var(--base-color);
    text-align: center;
    display: block;
    padding: 8px 0;
    border-radius: 5px;
    font-size: 14px;
    transition: var(--transition);
}
.wcis-modal__choosetype-item input:checked + label,
.wcis-modal__choosetype-item label.selected,
.wcis-modal-content.owner .wcis-modal__choosetype-item label.selected{
    background-color: var(--theme-color);
    color: #fff;
}
.wcis-modal__choosetype-item input:disabled + label,
.wcis-modal__choosetype-item label.selected,
.wcis-modal-content.owner .wcis-modal__choosetype-item label.selected{
    pointer-events: none;
    opacity: 0.3;
}
@media screen and (min-width: 992px) {
    .wcis-modal__choosetype-item label:hover{
        background-color: var(--theme-color);
        color: #fff;
    }
}
.wcis-modal__choosetype-item input:disabled + label{
    pointer-events: none;
    opacity: 0.3;
}
.wcis-modal__choosetype.disabled label{
    opacity: 0.3;
    pointer-events: none;
}
.wcis-modal__toForm input[type="submit"] {
    background-color: var(--theme-color);
    color: #fff;
    border-radius: 30px;
    padding: 8px 0;
    text-align: center;
    font-weight: bold;
    border: 1px solid var(--theme-color);
    cursor: pointer;
    display: block;
    width: 100%;
    transition: var(--transition);
}
@media screen and (min-width: 992px) {
    .wcis-modal__toForm input[type="submit"]:hover{
        background-color: transparent;
        color: var(--theme-color);
    }
}
.wcis-modal__choosetype-item__img{
    padding: 10px 10px 0;
}
.wcis-modal__choosetype-item__img img{
    border-radius: 6px;
}
.chatbot-reset-btn{
    display: block;
    background-color: #231815;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    padding: 8px 0;
    font-weight: bold;
    margin-top: 15px;
    cursor: pointer;
}
.js-chatbot-reset{
    cursor: pointer;
}

@media screen and (max-width: 767px){
    .wcis-modal-content{
        width: calc(100% - 40px);
        height: 90svh;
    }
    .wcis-modal__backicon img{
        width: 12px;
        display: block;
    }
    .wcis-modal__homeicon img{
        width: 20px;
        display: block;
    }
    .wcis-modal__message{
        align-items: flex-start;
        gap: 0;
        justify-content: space-between;
    }
    .wcis-modal__message--icon{
        width: 35px;
    }
    .wcis-modal__message--textbox{
        width: calc(100% - 45px);
    }
    .wcis-modal__message--textbox::before{
        display: none;
    }
    .wcis-modal__inner{
        padding: 20px 15px 40px;
        height: calc(100% - 50px);
    }
    .wcis-modal__message--textbox,
    .wcis-modal__message--textbox p,
    .wcis-modal__choosetype-item label{
        font-size: 13px;
    }
    .wcis-modal__age input, .wcis-modal__people input{
        font-size: 13px;
    }
    .wcis-modal__nextbtn span{
        font-size: 13px;
    }
    .wcis-modal__head--title{
        font-size: 14px;
    }
    .wcis-modal__head{
        height: 50px;
        padding: 0 20px;
    }
}