@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.wdp_chat_widget {
    position: fixed;
    z-index: 999;
    font-family: 'Inter', sans-serif;
}

.wdp_chat_widget_avatar {
    position: relative;
    width: 100px;
    height: 100px;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    z-index: 5;
}

.wdp_chat_widget_avatar_photo {
	background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background: linear-gradient(-45deg, #23a6d5 ,#23d5ab,#23a6d5, #23d5ab);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
	width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden;
}


@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.wdp_chat_widget_avatar_photo:after {
    width: 90px;
    height: 90px;
    display: block;
    content: '';
    border-radius: 50%;
    border: 3px solid #fff;
}

.ava_1:after {
    background: url(../img/ava-1.png) center;
    background-size: 100px;
}

.ava_2:after {
    background: url(../img/ava-2.png) center;
    background-size: 100px;
}

.ava_3:after {
    background: url(../img/ava-3.png) center;
    background-size: 100px;
}

.ava_4:after {
    background: url(../img/ava-4.png) center;
    background-size: 100px;
}

.ava_5:after {
    background: url(../img/ava-5.png) center;
    background-size: 100px;
}

.ava_6:after {
    background: url(../img/ava-6.png) center;
    background-size: 100px;
}

.ava_7:after {
    background: url(../img/ava-7.png) center;
    background-size: 100px;
}

.ava_8:after {
    background: url(../img/ava-8.png) center;
    background-size: 100px;
}

.ava_9:after {
    background: url(../img/ava-9.png) center;
    background-size: 100px;
}

.ava_10:after {
    background: url(../img/ava-10.png) center;
    background-size: 100px;
}

.ava_11:after {
    background: url(../img/ava-11.png) center;
    background-size: 100px;
}

.ava_12:after {
    background: url(../img/ava-12.png) center;
    background-size: 100px;
}


.wdp_chat_widget_avatar_icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden;
    transform: rotateY(180deg);
}

.icon_1 {
    background: url(../img/chat_1.svg);
    background-size: contain;
}

.icon_2 {
    background: url(../img/chat_2.svg);
    background-size: contain;
}

.icon_3 {
    background: url(../img/chat_3.svg);
    background-size: contain;
}

.icon_4 {
    background: url(../img/chat_4.svg);
    background-size: contain;
}

.icon_5 {
    background: url(../img/chat_5.svg);
    background-size: contain;
}

.wdp_chat_widget_avatar_notification {
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 0px;
    right: 0px;
    display: none;
    background: rgb(235 57 43) !important;
}

.wdp_chat_widget_avatar_notification.on {
    display: flex;
}

.color_1 .wdp_chat_widget_avatar_notification {
    background: #40BEE6;
}

.color_2 .wdp_chat_widget_avatar_notification {
    background: #5E7AD3;
}

.color_3 .wdp_chat_widget_avatar_notification {
    background: #53C18A;
}

.color_4 .wdp_chat_widget_avatar_notification {
    background: #752195;
}

.color_5 .wdp_chat_widget_avatar_notification {
    background: #E25151;
}

.color_6 .wdp_chat_widget_avatar_notification {
    background: #E2DC51;
}

.wdp_chat_widget_avatar_flip {
    transform: rotateY(180deg);
}

.wdp_chat_title {
    visibility: hidden;
    height: 80px;
    width: 0;
    opacity: 0;
    margin-left: 50px;
    padding: 15px 15px 15px 15px;
    background: #fff;
    border-radius: 10px 10px 0 0;
    margin-top: -80px;
    color: transparent;
    transition: all .5s ease;
    white-space: nowrap;
    overflow: hidden;
    z-index: 2;
}

.wdp_chat_title.on {
    opacity: 1;
    visibility: visible;
    width: 350px; 
    padding: 15px 15px 15px 60px;
    color: #202020;
    transition: all .5s ease;
}

.wdp_chat_title_name {
    font-size: 18px;
    line-height: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 10px;
    transition: all .5s ease;
}
.wdp_chat_title_position {
    font-size: 14px;
    line-height: 15px;
    transition: all .5s ease;
}

.wdp_chat_widget {
    box-sizing: border-box;
}

.wdp_chat_body {
    width: 350px;
    margin-left: 50px;
    background: #fff;
    border-radius: 0 0 10px 10px;
    height: 400px;
    display: none;
}

.wdp_chat_close {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 30px;
    right: 10px;
}

.wdp_chat_close svg {
    width: 100%;
}

.wdp_chat_button {
    display: flex;
    align-items: center;
    justify-content: center;    
    padding: 0 15px;
    height: 20px;
    transition: all .3s ease;
    cursor: pointer;
}

.wdp_chat_button:hover {
    opacity: .7;
}

.wdp_chat_button svg {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}

.wdp_chat_button span {
    font-size: 16px;
}

.wdp_chat_tab_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e3e3e3;
    padding: 10px 0;
}

.color_1 .wdp_chat_button svg path {
    fill: #40BEE6;
}

.color_2 .wdp_chat_button svg path {
    fill: #5E7AD3;
}

.color_3 .wdp_chat_button svg path {
    fill: #53C18A;
}

.color_4 .wdp_chat_button svg path {
    fill: #752195;
}

.color_5 .wdp_chat_button svg path {
    fill: #E25151;
}

.color_6 .wdp_chat_button svg path{
    fill: #E2DC51;
}

.color_1 .wdp_chat_close svg .cls-1 {
    stroke: #40BEE6;
}

.color_2 .wdp_chat_close svg .cls-1 {
    stroke: #5E7AD3;
}

.color_3 .wdp_chat_close svg .cls-1 {
    stroke: #53C18A;
}

.color_4 .wdp_chat_close svg .cls-1 {
    stroke: #752195;
}

.color_5 .wdp_chat_close svg .cls-1 {
    stroke: #E25151;
}

.color_6 .wdp_chat_close svg .cls-1 {
    stroke: #E2DC51;
}

.wdp_chat_tab {
    display: none;
    padding: 0 10px;
}

.wdp_chat_tab.on {
    display: flex;
    flex-direction: column;
    height: calc(100% - 40px);
}

.wdp_chat_forms {
    height: 60px;
    margin-top: 10px;
    padding: 0;
}

.wdp_chat_window {
    background: #f5f5f5;
    border-radius: 10px;
    margin-top: 10px;
    height: calc(100% - 80px);
}

.wdp_chat_message {
    width: 80%;
    padding: 10px;
    font-size: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.wdp_chat_message:first-child {
    margin-top: 10px;
}

.wdp_chat_consultant_message {
    background: #f1fbff;
}

.wdp_chat_user_message {
    background: #ffff;
    margin-left: auto;
}

.wdp_chat_message span {
    display: block;
    text-align: right;
    font-size: 11px;
}

.wdp_chat_forms form {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.wdp_chat_forms form.on,
.wdp_chat_callback_form {
    display: flex;
}


.wdp_chat_forms form input[type=text],
.wdp_chat_forms form input[type=tel],
.wdp_chat_callback_form input[type=tel] {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 30px;
    border: 1px solid #e3e3e3;
    height: 40px;
    outline: none !important;
    width: calc(100% - 50px);
}

.wdp_chat_forms form input[type=submit],
.wdp_chat_callback_form input[type=submit] {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all .3s ease;
    padding: 0;
    background-image: url(../img/up_arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.wdp_chat_forms form input[type=submit]:hover,
.wdp_chat_callback_form input[type=submit]:hover {
    opacity: .7;
}
 
.color_1 .wdp_chat_forms form input[type=submit],
.color_1 .wdp_chat_callback_form input[type=submit] {
    background-color: #40BEE6 !important;
}

.color_2 .wdp_chat_forms form input[type=submit],
.color_2 .wdp_chat_callback_form input[type=submit] {
    background-color: #5E7AD3 !important;
}

.color_3 .wdp_chat_forms form input[type=submit],
.color_3 .wdp_chat_callback_form input[type=submit] {
    background-color: #53C18A !important;
}

.color_4 .wdp_chat_forms form input[type=submit],
.color_4 .wdp_chat_callback_form input[type=submit] {
    background-color: #752195 !important;
}

.color_5 .wdp_chat_forms form input[type=submit],
.color_5 .wdp_chat_callback_form input[type=submit]{
    background-color: #E25151 !important;
}

.color_6 .wdp_chat_forms form input[type=submit],
.color_6 .wdp_chat_callback_form input[type=submit] {
    background-color: #E2DC51 !important;
}

.scrollbar-inner > .scroll-element.scroll-y {
    width: 4px;
}

.wdp_chat_welcome {
    position: absolute;
    right: 58px;
    bottom: 100px;
    width: 292px;
    background: #e3e3e3;
    border-radius: 10px;
    padding: 10px;
    font-size: 13px;
    font-style: italic;
    display: none;
}

.wdp_chat_welcome::after {
    display: block;
    content: '';
    border: 20px solid transparent;
    border-top: 20px solid #cccccc;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: -39px;
    right: 20px;
}

.wdp_chat_typing {
    padding: 10px;
    font-size: 10px;
    order: 1;
}

.wdp_hide {
    display: none !important;
}

.wdp_to_chat_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    margin: 0 auto;
    cursor: pointer;
    transition: all .3s ease;

}

.wdp_to_chat_btn:hover {
    opacity: .7;
}


.color_1 .wdp_to_chat_btn  {
    background: #40BEE6;
}

.color_2 .wdp_to_chat_btn  {
    background: #5E7AD3;
}

.color_3 .wdp_to_chat_btn  {
    background: #53C18A;
}

.color_4 .wdp_to_chat_btn  {
    background: #752195;
}

.color_5 .wdp_to_chat_btn  {
    background: #E25151;
}

.color_6 .wdp_to_chat_btn  {
    background: #E2DC51;
}

.wdp_chat_faq {
    background: #f5f5f5;

    padding: 10px;
    margin-top: 10px;
    height: 280px;
    margin-bottom: 20px;
}

.wdp_faq_block {
    font-size: 14px;
    border-radius: 10px;
    padding: 10px;
    border-bottom: 1px solid #e3e3e3;
}

.wdp_faq_question {
    background: #f1fbff;
    margin-bottom: 10px;
    padding: 10px;
}

.wdp_faq_answer {
    background: #ffff;
    padding: 10px;
    border-radius: 10px; 
}

.wdp_callback_wrapper {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wdp_callback_wrapper svg {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
}

.color_1 .wdp_callback_wrapper svg path {
    fill: #40BEE6;
}

.color_2 .wdp_callback_wrapper svg path {
    fill: #5E7AD3;
}

.color_3 .wdp_callback_wrapper svg path {
    fill: #53C18A;
}

.color_4 .wdp_callback_wrapper svg path {
    fill: #752195;
}

.color_5 .wdp_callback_wrapper svg path {
    fill: #E25151;
}

.color_6 .wdp_callback_wrapper svg path{
    fill: #E2DC51;
}

.wdp_callback_title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.wdp_callback_subtitle {
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
}

.wdp_callback_tnx {
    padding: 10px;
    font-size: 16px;
    display: none;
    text-align: center;
}

.color_1 .wdp_callback_tnx {
    color: #40BEE6;
}

.color_2 .wdp_callback_tnx {
    color: #5E7AD3;
}

.color_3 .wdp_callback_tnx{
    color: #53C18A;
}

.color_4 .wdp_callback_tnx {
    color: #752195;
}

.color_5 .wdp_callback_tnx {
    color: #E25151;
}

.color_6 .wdp_callback_tnx{
    color: #E2DC51;
}

.wdp_chat_type {
    display: flex;
    align-items: center;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}


.wdp_chat_type span {
    font-size: 12px;
    display: block;
    margin-right: 10px;
}

.stage {
    
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 5px 0;
    margin: 0 -5%;
    overflow: hidden;
}

.dot-flashing {
    position: relative;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: #9880ff;
    color: #9880ff;
    animation: dot-flashing 1s infinite linear alternate;
    animation-delay: 0.5s;
  }
  .dot-flashing::before, .dot-flashing::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
  }
  .dot-flashing::before {
    left: -10px;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: #9880ff;
    color: #9880ff;
    animation: dot-flashing 1s infinite alternate;
    animation-delay: 0s;
  }
  .dot-flashing::after {
    left: 10px;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: #9880ff;
    color: #9880ff;
    animation: dot-flashing 1s infinite alternate;
    animation-delay: 1s;
  }
  
  @keyframes dot-flashing {
    0% {
      background-color: #9880ff;
    }
    50%, 100% {
      background-color: rgba(152, 128, 255, 0.2);
    }
  }

  .wdp_polic_a {
    font-size: 12px;
    opacity: .6;
    text-align: center;
    transition: all .3s ease;
    margin-bottom: 10px;
    cursor: pointer;
  }

  .wdp_polic_a:hover {
    opacity: .3;
  }

  .wdp_chat_politic_overall {
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
  }

  .wdp_chat_politic {
    display: none;
    width: 550px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    z-index: 999991;
    position: fixed;
    top: 50px;
    left: 50%;
    max-height: calc(100vh - 50px);
    margin-left: -275px;
    font-family: Inter;
    
  }

  .wdp_chat_politic_close {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .wdp_chat_politic_text {
    margin-top: 20px;
    max-height: calc(100vh - 75px);
    padding-right: 10px !important;
    padding-bottom: 10px !important;
  }

  .wdp_chat_politic_text strong {
    margin-bottom: 15px;
  }

  .wdp_chat_politic_close svg {
    width: 100%;
  }

  .wdp_chat_politic p {
    font-size: 14px;
    margin-bottom: 14px;
  }

@media only screen and (max-width: 450px) {
    .wdp_chat_widget {
        bottom: 10px !important;
        right: 10px !important;
    }
    .wdp_chat_body {
        width: 280px; 
    }

    .wdp_chat_title.on {
        width: 280px;
        padding-left: 44px;
    }

    .wdp_chat_button {
        padding: 0 7px; 
    }

    .wdp_chat_widget_avatar,
    .wdp_chat_widget_avatar_photo,
    .wdp_chat_widget_avatar_icon
     {
        width: 80px;
        height: 80px !important;
    }

    .wdp_chat_widget_avatar {
        top: -10px;
    }

    .wdp_chat_widget_avatar_photo:after {
        width: 75px;
        height: 75px;
    }

    .wdp_chat_close {
        top: 7px;
        right: 7px;
    }

    .wdp_callback_wrapper {
        padding: 10px;
    }

    .wdp_chat_welcome {
        right: 17px;
    }
}