/* @import url('https://fonts.googleapis.com/css2?family=SF Pro Display:ital,wght@0,100..900;1,100..900&display=swap'); */

/* cyrillic-ext */
@font-face {
  font-family: 'SF Pro Display';
  src: url(../fonts/SFProDisplay-Bold.woff) format('woff');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

body {
  margin: 0;
  font-family: 'SF Pro Display', sans-serif;
}

.top-avatar {
  width: 60px;
}

.flag {
  width: 100px;
}

.top-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  height: 100px;
}

@media (max-width: 550px) {
  .top-container {
    flex-direction: column;
  }

  .top-avatar {
    margin-right: unset;
    margin: 0 auto !important;
  }
}

input[name='phone2'].error {
  color: red !important;
}

.flag {
  font-family: 'SF Pro Display', sans-serif;
}

.error {
  border: 1px solid red;
  margin-bottom: 10px !important;
}

input[type='tel'] {
  width: 100%;
}

.iti {
  width: 100%;
}

.overlay-HIYyFVszYb {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow-y: auto;
  display: none;
}

.lds-spinner-HIYyFVszYb {
  color: official;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-spinner-HIYyFVszYb div {
  transform-origin: 40px 40px;
  animation: lds-spinner-HIYyFVszYb 1.2s linear infinite;
}

.lds-spinner-HIYyFVszYb div:after {
  content: ' ';
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #fff;
}

.lds-spinner-HIYyFVszYb div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}

.lds-spinner-HIYyFVszYb div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}

.lds-spinner-HIYyFVszYb div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}

.lds-spinner-HIYyFVszYb div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}

.lds-spinner-HIYyFVszYb div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}

.lds-spinner-HIYyFVszYb div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}

.lds-spinner-HIYyFVszYb div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}

.lds-spinner-HIYyFVszYb div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}

.lds-spinner-HIYyFVszYb div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}

.lds-spinner-HIYyFVszYb div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}

.lds-spinner-HIYyFVszYb div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}

.lds-spinner-HIYyFVszYb div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}

@keyframes lds-spinner-HIYyFVszYb {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.visible-HIYyFVszYb {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.plug {
  display: flex;
  top: 0;
  position: fixed;
  overflow: hidden;
  height: 100%;
  width: 100%;
  background: white;
  z-index: 999999;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-align: center;
  font-weight: bold;
  font-family: 'SF Pro Display', sans-serif;
  padding: 0 20px;
}

* {
  box-sizing: border-box;
}

.main-bg {
  /* background: #f4f4f4; */
  height: 100vh;
}

.date {
  margin: auto;
  padding: 7px 20px;
  border-radius: 60px;
  width: fit-content;
  background: white;
  font-family: 'SF Pro Display', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  text-align: center;
  color: #000000;
  position: relative;
}

.left-chat .chat-block,
.right-chat .chat-block {
  background: #c2ffd7;
  border-radius: 0px 16px 16px 16px;
  background: #EEE;

  padding: 16px 20px 22px 16px;
  font-family: 'SF Pro Display', sans-serif;
  font-style: normal;
  font-weight: 100;
  font-size: 18px;
  line-height: 20px;
  max-width: 100%;

  color: #000000;
}

.right-chat .chat-block {
  border-radius: 26px 4px 26px 26px;
  border-radius: 16px 0px 16px 16px;
background: #E7E2FC;
}



.chat {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  height: 69%;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.main-chat {
  width: 100%;
  height: 100%;
  overflow: auto;
  padding-inline: 10px;
  border-radius: 20px;
  border: 4px solid rgba(255, 255, 255, 0.30);
  background: var(--ios-status-bar-status-bar-background-color, #FFF);
  backdrop-filter: blur(37px);
  display: block;
  padding: 8%;
}

.chat-header {
  width: 100%;
  padding: 3% 8%;
  border-radius: 20px 20px 0px 0px;
  border-bottom: 1px solid #EEE;
  background: var(--ios-status-bar-status-bar-background-color, #FFF);
  box-shadow: 0px 4px 10px 0px rgba(136, 136, 136, 0.20);
  z-index: 1000;
  display: block;
  justify-content: space-around;
  position: absolute;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img{
  width: 52px;
  height: auto;
}


.logo h2 {
  font-size: 1.8rem;
  font-weight: 500;
  padding-left: 10px;
}

.profile-container {
  display: flex;

align-items: center;

justify-content: space-between;
    }

    .profile-pic {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      margin-right: 15px;
      background-color: #d3d3d3; /* Placeholder for profile image */
    }

    .profile-info {
      flex-grow: 1;
    }

    .profile-name {
      color: var(--ios-status-bar-status-bar-text-color, #000);
      font-size: 24px;
      font-style: normal;
      font-weight: 400;
      line-height: 0%;

    }

    .status {
      color: #28a745; /* Green for online status */
      font-size: 14px;
      position: relative;
      margin-left: 1.5rem;
    }
    .status:before {
      content: "";
      background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='icon_online'%3E%3Cg id='Ellipse 4'%3E%3Ccircle cx='8' cy='8.00098' r='4' fill='%231ACF66'/%3E%3Ccircle cx='8' cy='8.00098' r='6' stroke='%231ACF66' stroke-opacity='0.3' stroke-width='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
      background-size: cover;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 16px;
      height: 16px;
      left: -1.5rem;
}


    .company-logo {
      height: 24px; /* Adjust based on logo size */
    }

.main-chat::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

.custom-form {
  width: 40%;
  margin: 14px auto auto;
  height: 80%;
  padding-bottom: 30px;
}

.left-chat,
.right-chat {
  width: 100%;
  display: flex;
  align-items: center;
  margin-top: 16px;
  justify-content: left;
}

.right-chat {
  justify-content: right;
  flex-direction: row-reverse;
  width: 100%;
}

.time {
  margin-left: 12px;
  margin-right: 12px;
  font-family: 'SF Pro Display', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 12px;

  color: rgba(255, 255, 255, 0.7);
}

.horizontal,
.vertical {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
}

.vertical {
  justify-content: left;
  flex-direction: column;
}

.horizontal {
  justify-content: left;
  flex-direction: row;
  position: relative;

  display: flex;
  align-items: center;
  /* другие стили */
}

.horizontal:before {
  content: "";
  display: block;
  width: 12px;
  height: 62px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='63' viewBox='0 0 14 63' fill='none'%3E%3Cpath d='M1 0.999999L0.999998 31C0.999998 34.3137 3.68629 37 7 37L13 37' stroke='%23DDDDDD' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: cover;
  position: relative;
  margin-right: 10px;
  top: -13px;
}


.horizontal:first-of-type:before {
  content: "";
  width: 12px;
  height: 62px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='63' viewBox='0 0 14 63' fill='none'%3E%3Cpath d='M1 0.999999L0.999998 31C0.999998 34.3137 3.68629 37 7 37L13 37' stroke='%23DDDDDD' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: cover;
  position: absolute;
  left: 0;
  top: 33%;
  transform: translateY(-50%);
}


.horizontal.hide:before {
  content: none; /* Убираем контент псевдоэлемента */
}


.answer-btn {
  font-family: 'SF Pro Display', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: #000;
  transition: all 0.3s ease-in-out;
  margin-bottom: 16px;
  cursor: pointer;
  border-radius: 8px;
  border: 4px solid rgba(255, 213, 67, 0.30);
  background: #FFD543;
  display: flex;
  height: 52px;
  padding: 20px 52px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-left: 20px;

  color: #222;
leading-trim: both;
text-edge: cap;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 140%; /* 22.4px */
}

.vertical .answer-btn {
  width: 100%;
}

.answer-btn:hover {
  background: rgb(246,206,66);
}

.form-wrapper {
  padding: 10px;
}

.form {
  display: block;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
  box-shadow: 0px 0px 10px 0px #fff;
  width: 100%;
}

.form h4 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 13px;
  font-size: 1.5rem;
}

.form input {
  width: 100%;
  border-radius: 10px;
  padding: 10px 20px 10px 20px;
  border: 2px solid black;
  margin-bottom: 10px;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 15px;
}

.form-input {
  border-radius: 5px;
  border: 2px solid black;
}

.form button {
  display: block;
  font-family: 'SF Pro Display', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: #000;
  background: #50c646;
  border: 2px solid #50c646;
  border-radius: 10px;
  padding: 14px 25px;
  width: 240px;
  height: 50px;
  transition: all 0.3s ease-in-out;
  margin: 10px auto;
}

@media screen and (max-width: 767px) {
  .main-chat,
  .custom-form {
    width: 100%;
  }
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper label {
  position: absolute;
  left: 10px;
  top: 15px;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 15px;
  line-height: 16px;
  color: #000;
}

.submit-wrapper {
  width: 100%;
  position: relative;
}

.loader {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 10px;
  background: linear-gradient(0deg, #c2ffd7 0%, #c2ffd7 100%), #d1fedd;
  color: #000 !important;
  border: none;
  transition: all 250ms ease;
  width: 240px;
  height: 50px;
  padding: 10px 0;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.18px;
  left: 50%;
  transform: translate(-50%, 0);
}

.new-logo {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;

  margin-right: auto;
}

.new-logo img {
  width: 100px;
}

.new-logo h2 {
  font-size: 30px;
  color: #fff;
  text-transform: uppercase;
  font-style: bold;
}

.new-logo .flag {
}

@media (max-width: 860px) {
  /* .flag{
margin-right: unset;
margin-left: auto;

}
.new-logo{
width: 100%;
padding: 0 10px;
} */
  .new-logo img {
    width: 50px;
  }

  .new-logo h2 {
    font-size: 18px;
  }

  .flag {
    width: 40px;
    height: auto;
  }

  @media (max-width: 500px) {
    .new-logo {
      width: 100%;
      padding: 0 10px;
    }

    .flag {
      margin-right: unset;
      margin-left: auto;
    }

    .top-container {
      height: 150px;
      justify-content: flex-start;
    }
  }
}

.error-message {
  color: red;
}

/* prewiew */

.preview-content {
  background: rgba(255, 255, 255, 0.8); /* Полупрозрачный фон */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center; /* Центрирование текста */
}

.preview-content h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.preview-content p {
  margin-bottom: 20px;
}

.preview-content button {
  background-color: #50c646; /* Цвет кнопки */
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.preview-content button:hover {
  background-color: #45b03a; /* Цвет при наведении */
}

.form_header {
  width: 100%;
  padding: 3% 5%;
  border-radius: 20px 20px 0px 0px;
  border-bottom: 1px solid #EEE;
  background: var(--ios-status-bar-status-bar-background-color, #FFF);
  box-shadow: 0px 4px 10px 0px rgba(136, 136, 136, 0.20);
  z-index: 1000;
  display: block;
  justify-content: space-around;
  top: 0;
}

.form_header_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form_header_info {
  display: flex;
  font-size: 18px;
}

.form_header .logo h2 {
  font-size: 18px;
}

@media (max-width: 1090px) {
  .form_header_container {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 1000px) {
  .form_header_container {
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

@media (max-width: 590px) {
  .form_header_container {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 1000px) {
    @media (max-width: 768px) {
        .full-height {
            height: calc(100vh - env(safe-area-inset-bottom));
            box-sizing: border-box;
            padding-bottom: env(safe-area-inset-bottom);
        }
    }
}

 .main-chat {
          padding: 13% 8% 8% 8%;
        }
        
        html,
        body {
          overflow-y: hidden;
          overflow-x: hidden;
        }
        
        .top-avatar,
        .profile-pic {
          border-radius: 50%;
        }
        
        @keyframes slideInAfter {
          from {
            transform: translateX(100%);
            /* Начальная позиция за пределами экрана справа */
          }
          to {
            transform: translate(0);
            /* Конечная позиция */
          }
        }
        
        .mob_btn {
          backdrop-filter: blur(10px) !important;
          background-color: rgba(255, 255, 255, 0.5);
          /* полупрозрачный белый фон */
        }
        
        .mob_btn .logo h2 {
          color: #000;
        }
        
        @media (max-width: 1400px) {
          .answer-btn {
            width: 35%;
          }
          .horizontal:before {
            display: none !important;
          }
          .chat {
            width: 100%;
            height: 85%;
            top: auto;
            bottom: 0;
            transform: translate(-50%, 0);
          }
          .chat .logo {
            display: none !important;
          }
          .horizontal {
            flex-direction: column;
          }
          .mob_btn {
            display: flex;
            padding: 12px 48px;
            border-radius: 40px;
            border: 2px solid rgba(255, 255, 255, 0.70);
            background: rgba(255, 255, 255, 0.60);
            backdrop-filter: blur(3px);
            margin: 0 auto;
            margin-top: 0rem;
            transform: translateY(4rem);
          }
          .mob_btn img {
            display: flex;
            height: 21px;
            justify-content: center;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
            align-self: stretch;
          }
          .mob_btn .logo {
            display: flex;
          }
          .mob_btn .logo h2 {
            font-size: 1.2rem;
            padding: 0;
            margin: 0;
            color: #000 !important;
          }
          .mob_btn {
            backdrop-filter: blur(10px) !important;
            background-color: rgba(255, 255, 255, 0.5);
            /* полупрозрачный белый фон */
          }
          .pattern-bg {
            height: 100dvh;
          }
          .rf-image {
            display: none;
          }
          .chat {
            border-radius: 36px 36px 0 0;
          }
        }
        
        @media (max-width: 1000px) {
          .logo img {
            width: 39px;
          }
          #custom-form {
            width: 90%;
            height: 70%;
          }
          @media (max-width: 768px) {
            .pattern-bg {
              height: 90dvh;
            }
            .answer-btn {
              width: 96%;
              border-radius: 8px;
              border: 4px solid rgb(248, 236, 196);
              background: #FFD543;
            }
            .main-chat {
              padding: 19% 8% 8% 8%;
            }
            .full-height {
              height: calc(100vh - env(safe-area-inset-bottom));
              box-sizing: border-box;
              padding-bottom: env(safe-area-inset-bottom);
              /* Добавление нижнего отступа для безопасной зоны */
            }
            .pattern-bg {
              height: 100vh;
            }
            .mob_btn {
              display: flex;
              padding: 12px 48px;
              border-radius: 40px;
              border: 2px solid rgba(255, 255, 255, 0.70);
              background: rgba(255, 255, 255, 0.60);
              backdrop-filter: blur(3px);
              margin: 0 auto;
              margin-top: 0rem;
              transform: translateY(4rem);
            }
            .mob_btn img {
              display: flex;
              height: 21px;
              justify-content: center;
              align-items: center;
              gap: 8px;
              flex-shrink: 0;
              align-self: stretch;
            }
            .mob_btn .logo {
              display: flex;
            }
            .mob_btn .logo h2 {
              font-size: 1.2rem;
              padding: 0;
              margin: 0;
            }
            .chat {
              height: 77%;
            }
            .profile-info {
              flex-grow: 1;
              display: flex;
              flex-direction: row;
              justify-content: space-between;
            }
            .profile-name {
              color: var(--ios-status-bar-status-bar-text-color, #000);
              font-size: 16px;
              font-style: normal;
              font-weight: 400;
              line-height: 100%;
            }
            .top-avatar,
            .profile-pic {
              width: 40px;
              height: 40px;
              border-radius: 50%;
            }
            .left-chat .chat-block,
            .right-chat .chat-block {
              color: #222;
              font-size: 14px;
              font-style: normal;
              font-weight: 400;
              line-height: 160%;
            }
            .horizontal:before {
              top: 0;
              left: 0;
              position: absolute;
            }
          }
        }

            
    .mob_btn {
      display: none;
    }
    
    .horisontal {
      display: none !important;
    }

            .chat {
          border-radius: 20px;
        }
        
        #custom-form {
          display: none;
          align-items: center;
          position: fixed;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          width: 50%;
          height: 60%;
          z-index: 1000;
          background: rgba(255, 255, 255, 0.9);
          box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
          border-radius: 20px;
          flex-direction: column;
        }
        
        .aio-sdk-form {
          --aio-sdk-submit-bg: #FFD543 !important;
          --aio-sdk-submit-padding: 15px 20px;
          --aio-sdk-submit-border: 4px solid rgba(255, 213, 67, 0.30);
          --aio-sdk-submit-border-radius: 8px;
          --aio-sdk-submit-color: #000;
          --aio-sdk-submit-font-size: var(--aio-sdk-input-font-size);
        }


         .custom-dropdown-wrapper {
      position: relative;
      width: 100%;
    }
    
    .custom-dropdown-selected {
      padding-right: 32px !important;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      cursor: pointer;
      height: auto;
      box-sizing: border-box;
      font-size: 17px !important;
    }
    
    .custom-dropdown-arrow {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      pointer-events: none;
      font-size: 14px;
      color: #555;
      line-height: 1;
      height: 1em;
      display: flex;
      align-items: center;
    }
    
    .custom-dropdown-list {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      border-radius: 8px;
      border: 1px solid #ccc;
      margin-top: 4px;
      max-height: 160px;
      overflow-y: auto;
      display: none;
      z-index: 100;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
      padding: 0;
      list-style: none;
    }
    
    .custom-dropdown-list::-webkit-scrollbar {
      width: 4px;
    }
    
    .custom-dropdown-list::-webkit-scrollbar-thumb {
      border-radius: 10px;
      background: #ddd;
    }
    
    .custom-dropdown-option {
      padding: 12px;
      cursor: pointer;
      transition: background 0.2s ease;
    }
    
    .custom-dropdown-option:hover {
      background: #f2f2f2;
    }
    
    .custom-dropdown-option {
      padding: 12px;
      cursor: pointer;
      transition: background 0.2s ease;
      color: #222222;
      font-size: 16px;
      font-weight: 400;
      font-family: inherit;
    }
    
    input.custom-dropdown-selected::placeholder {
      font-size: 14px !important;
    }
    
    @media(max-width: 1200px) {
      input.custom-dropdown-selected::placeholder {
        font-size: 13px !important;
      }
      .custom-dropdown-selected {
        font-size: 13px !important;
      }
    }
    
    @media(max-width: 991px) {
      input.custom-dropdown-selected::placeholder {
        font-size: 12px !important;
      }
      .custom-dropdown-selected {
        font-size: 12px !important;
      }
    }
    
    .popup-modal-overlay {
      --popup-surface-start: #f4f4f4;
      --popup-surface-end: #f8f8f8;
      --popup-text: #222222;
      --popup-text-muted: #666666;
      --popup-field: #e6e6e6;
      --popup-field-border: #cecece;
      --popup-soft: #dadada;
      --popup-accent-start: #edf937;
      --popup-accent-end: #95db03;
      --popup-brand-start: #ac97ff;
      --popup-brand-end: #947eee;
      position: fixed;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 36px;
      padding: 20px;
      background: rgba(34, 34, 34, 0.70);
      z-index: 9999;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--popup-text);
    }
    
    .popup-modal-overlay.is-visible {
      opacity: 1;
      visibility: visible;
    }
    
    .popup-modal__backdrop-blocker {
      position: absolute;
      inset: 0;
      z-index: 0;
    }
    
    .popup-modal {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 580px;
      color: var(--popup-text);
    }
    
    .popup-modal__step {
      display: none;
    }
    
    .popup-modal__step.is-active {
      display: block;
    }
    
    .popup-modal__frame {
      position: relative;
    }
    
    .popup-modal__card {
      position: relative;
      z-index: 2;
      padding: 20px 8px 8px;
      border-radius: 24px;
      background: linear-gradient(226deg, var(--popup-surface-start) 0%, var(--popup-surface-end) 100%);
      box-shadow: 0 6px 24px rgba(68, 68, 68, 0.12);
    }
    
    .popup-modal__body {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    
    .popup-modal__copy {
      padding: 0 12px;
    }
    
    .popup-modal__copy--stacked {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    
    .popup-modal__title {
      margin: 0;
      font-size: 20px;
      line-height: 1.2;
      color: var(--popup-text);
    }
    
    .popup-modal__text {
      margin: 0;
      font-size: 16px;
      line-height: 1.2;
      color: var(--popup-text);
    }
    
    .popup-modal__close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 24px;
      height: 24px;
      padding: 0;
      border: 0;
      background: transparent;
      cursor: pointer;
    }
    
    .popup-modal__close::before,
    .popup-modal__close::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 14px;
      height: 1.5px;
      border-radius: 999px;
      background: #555;
    }
    
    .popup-modal__close::before {
      transform: translate(-50%, -50%) rotate(45deg);
    }
    
    .popup-modal__close::after {
      transform: translate(-50%, -50%) rotate(-45deg);
    }
    
    .popup-modal__actions {
      display: flex;
      gap: 12px;
    }
    
    .popup-modal__actions--stacked {
      flex-direction: column;
      gap: 8px;
    }
    
    .popup-modal__button {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      width: 100%;
      min-height: 67px;
      padding: 18px;
      border: 0;
      border-radius: 16px;
      font-size: 16px;
      line-height: 1.2;
      font-weight: 600;
      font-family: inherit;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }
    
    .popup-modal__button:hover {
      transform: translateY(-1px);
    }
    
    .popup-modal__button:focus-visible,
    .popup-modal__close:focus-visible {
      outline: 2px solid rgba(144, 116, 255, 0.55);
      outline-offset: 2px;
    }
    
    .popup-modal__button--primary {
      flex: 1 1 auto;
      background: linear-gradient(90deg, var(--popup-accent-start) 0%, var(--popup-accent-end) 100%);
      color: var(--popup-text);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
    }
    
    .popup-modal__button--primary:hover {
      background: linear-gradient(90deg, #f2ff44 0%, #9eea02 100%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 18px rgba(149, 219, 3, 0.18);
    }
    
    .popup-modal__button--primary:active {
      transform: translateY(0);
      box-shadow: inset 0 0 0 1px rgba(34, 34, 34, 0.08);
    }
    
    #showFormButton::before {
      content: "";
      display: block;
      width: 20px;
      height: 20px;
      flex: 0 0 20px;
      background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='5.25' stroke='%23222222' stroke-width='1.5'/%3E%3Cpath d='M10 7V13' stroke='%23222222' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M7 10H13' stroke='%23222222' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center/20px no-repeat;
    }
    
    .popup-modal__button--secondary {
      flex: 0 0 128px;
      background: var(--popup-soft);
      color: var(--popup-text-muted);
    }
    
    .popup-modal__button--secondary:hover {
      background: #e4e4e4;
      color: var(--popup-text);
      box-shadow: 0 8px 18px rgba(68, 68, 68, 0.08);
    }
    
    .popup-modal__button--secondary:active {
      transform: translateY(0);
      box-shadow: inset 0 0 0 1px rgba(34, 34, 34, 0.08);
    }
    
    .popup-modal__button--reason {
      justify-content: flex-start;
      min-height: 67px;
      padding-right: 52px;
      background: #fff;
      color: var(--popup-text);
      text-align: left;
      box-shadow: inset 0 0 0 1px rgba(34, 34, 34, 0.03);
    }
    
    .popup-modal__button--reason:hover {
      transform: translateY(-1px);
      background: #fbfbfb;
      box-shadow: inset 0 0 0 1px rgba(144, 116, 255, 0.28), 0 8px 18px rgba(68, 68, 68, 0.08);
    }
    
    .popup-modal__button--reason:active {
      transform: translateY(0);
      box-shadow: inset 0 0 0 1px rgba(144, 116, 255, 0.35);
    }
    
    .popup-modal__button--reason::after {
      position: absolute;
      top: 50%;
      right: 18px;
      transform: translateY(-50%);
      font-size: 18px;
      line-height: 1;
    }
    
    .popup-modal__actions--stacked .popup-modal__button--reason:nth-child(1)::after {
      content: "\01F60C";
    }
    
    .popup-modal__actions--stacked .popup-modal__button--reason:nth-child(2)::after {
      content: "\023F3";
    }
    
    .popup-modal__actions--stacked .popup-modal__button--reason:nth-child(3)::after {
      content: "\01F648";
    }
    
    .popup-modal__actions--stacked .popup-modal__button--reason:nth-child(4)::after {
      content: "\01F914";
    }
    
    .popup-modal__actions--stacked .popup-modal__button--reason:nth-child(5)::after {
      content: "\01F622";
    }
    
    .popup-modal__form-shell {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    
    .popup-modal__form {
      width: 100%;
    }
    
    .popup-modal__form:where(.field,
    .form-group,
    .input-group) {
      margin: 0;
    }
    
    .popup-modal__form:where(label,
    legend) {
      display: block;
      margin: 0 0 8px;
      font-size: 14px;
      line-height: 1.4;
      color: var(--popup-text-muted);
    }
    
    .popup-modal__form:where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
    select,
    textarea) {
      width: 100%;
      min-height: 60px;
      padding: 18px;
      box-sizing: border-box;
      border: 1px solid transparent;
      border-radius: 16px;
      background: var(--popup-field);
      color: var(--popup-text);
      font: 600 16px/1.2 inherit;
    }
    
    .popup-modal__form:where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
    select,
    textarea)::placeholder {
      color: rgba(34, 34, 34, 0.3);
    }
    
    .popup-modal__form:where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
    select,
    textarea):focus {
      outline: none;
      border-color: var(--popup-field-border);
      background: #fff;
    }
    
    .popup-modal__form:where(button:not(.iti-aio__selected-country),
    input[type="submit"],
    input[type="button"]),
    .popup-modal__form #popupCustomForm .aio-sdk-input-container input[type="submit"] {
      width: 100% !important;
      min-height: 67px !important;
      padding: 18px !important;
      border: 0;
      border-radius: 16px !important;
      background: linear-gradient(90deg, var(--popup-accent-start) 0%, var(--popup-accent-end) 100%) !important;
      color: var(--popup-text) !important;
      font: 600 16px/1.2 inherit !important;
      cursor: pointer;
      text-transform: unset !important;
      box-shadow: none !important;
      font-weight: 600 !important;
      font-size: 16px !important;
      font-family: inherit !important;
      margin: 0 !important;
    }
    
    .popup-modal__form .aio-sdk-form .aio-sdk-input-container {
      height: unset !important;
    }
    
    .popup-modal__form .aio-form .aio-sdk-input-container:last-child {
      margin: 0 !important;
    }
    
    .popup-modal__form:where(.iti,
    .iti--allow-dropdown) {
      width: 100%;
    }
    
    .popup-modal__thanks-state {
      display: block;
      position: relative;
      padding: 0 12px;
      text-align: center;
    }
    
    .popup-modal__thanks-badge {
      position: absolute;
      top: -70px;
      left: 50%;
      width: 56px;
      height: 56px;
      margin-left: -28px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 36px;
      line-height: 1;
    }
    
    .popup-modal__thanks-copy {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    
    .popup-modal__thanks-copy .popup-modal__text {
      text-align: center;
    }
    
    .popup-modal__card--thank {
      padding-top: 40px;
      padding-bottom: 20px;
    }
    
    .popup-modal__brand-strip {
      position: relative;
      z-index: 1;
      margin-top: -36px;
      padding: 12px 8px 8px;
      height: 92px;
      box-sizing: border-box;
      border-bottom-left-radius: 24px;
      border-bottom-right-radius: 24px;
      background: linear-gradient(90deg, var(--popup-brand-start) 0%, var(--popup-brand-end) 100%);
      display: flex;
      align-items: flex-end;
    }
    
    .popup-modal__brand-pill {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      height: 40px;
      width: 100%;
      padding: 8px 16px;
      box-sizing: border-box;
      border-radius: 16px;
      background: linear-gradient(90deg, var(--popup-brand-end) 0%, var(--popup-brand-start) 100%);
      color: #fff;
    }
    
    .popup-modal__brand-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 16px;
      height: 16px;
      color: #fff;
    }
    
    .popup-modal__brand-icon svg {
      display: block;
      width: 16px;
      height: 16px;
    }
    
    .popup-modal__brand-name {
      font-size: 14px;
      line-height: 1.4;
      font-weight: 500;
      white-space: nowrap;
    }
    
    .popup-modal__legal {
      position: relative;
      z-index: 1;
      margin: 0;
      max-width: 580px;
      font-size: 14px;
      line-height: 1.4;
      text-align: center;
      color: #fff;
    }
    /* list of countries above the pop-up in the mobile */
    
    .iti-aio--container {
      z-index: 10000 !important;
    }
    
    @media (max-width: 480px) {
      .popup-modal-overlay {
        gap: 24px;
        padding: 16px;
      }
      .popup-modal {
        max-width: 100%;
      }
      .popup-modal__card {
        border-radius: 20px;
      }
      .popup-modal__brand-strip {
        height: 88px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
      }
      .popup-modal__title {
        font-size: 18px;
      }
      .popup-modal__text,
      .popup-modal__button {
        font-size: 15px;
      }
      .popup-modal__button--reason {
        min-height: 60px;
        padding: 16px 48px 16px 16px;
      }
      .popup-modal__thanks-badge {
        top: -62px;
        font-size: 32px;
      }
    }
