/* @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: 102px;
}

.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; */
  border-radius:23px;
  /*background: #F3F4F9;*/
  background:#DFE2F0;

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

  color: #000000;
}

.left-chat .chat-block{
  width: 100%;
}

.right-chat .chat-block {
  border-radius: 26px 4px 26px 26px;
  border-radius: 23px;
background: #18C139;
color: white;
}



.chat {
  position: absolute;
  left: 50px;
  right: 50px;
  top: 50px;
  bottom: 50px;
  width: auto;
  transform: none;
  height: auto;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: url(../offer_index/back.png) no-repeat top center / cover;
  padding: 20px 16px;
  /* нижний левый угол без скругления */
  border-radius: 40px!important;
  box-sizing: border-box;
  overflow: hidden;
}


.main-chat {
  width: 100%;
  height: 100%;
  overflow: auto;
  padding-inline: 10px;
  border-radius: 20px;
  border: none;
  background: #efefef;
  backdrop-filter: none;
  display: block;
  padding: 8%;
  box-shadow: 0px 7px 20px 10px rgba(0, 0, 0, 0.4);
}

.chat-header {
  width: 100%;
  padding: 10px 12px 10px 12px;
  border-radius: 28px 28px 0 0;
  /* 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; */
  box-sizing: border-box;
}

.chat-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  min-width: 0;
}

.chat-header-brand {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

/* Иконка без жёлтого круга (он был внутри img/logo.svg) + текстовый логотип */
.chat-header-logo-icon {
  display: block;
  /* width: 100px; */
  /* height: 64px; */
  object-fit: contain;
  flex-shrink: 0;
  /* width: 260px; */
  border-radius: 13px;
}

.chat-header-logo-text {
  display: block;
  width: 118px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .chat-header-brand {
    gap: 4px;
  }

  .chat-header-logo-icon {
    width: 100px;
    height: 64px;
  }

  .chat-header-logo-text {
    width: 118px;
    height: 72px;
  }
}

.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: flex-start;
  min-width: 0;
  flex: 1;
    }

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

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

    .profile-name {
      color: #000;
      font-size: 36px;
      font-style: normal;
      font-weight: 400;
      line-height: 0%;
      margin-bottom: 25px;
    }

    .status {
      color: #28a745; /* Green for online status */
      font-size: 19px;
      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;
} */
.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%;
  left: -1.5rem;
  width: 16px;
  height: 16px;
  transform: translateY(-50%) scale(1);
  animation: pulseStatus 1.5s infinite ease-in-out;
}

@keyframes pulseStatus {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-50%) scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}


    .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: right;
  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;

  line-height: 17px;
  text-align: center;
  color: white;
  transition: all 0.3s ease-in-out;
  margin-bottom: 16px;
  cursor: pointer;
  border-radius: 999px;
  border: none;
  background: #002F6D;
  display: flex;
  
  padding: 7px 10px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
leading-trim: both;
text-edge: cap;
font-size: 21px;
font-style: normal;
font-weight: 400;
line-height: 100%; /* 22.4px */
cursor: pointer;
}

.answer-btn-0, .answer-btn-1, .answer-btn-3,  .answer-btn-4{
  /* padding-right: 45px; */
}
.answer-btn-2{
  padding: 7px 46px;
}

.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;
  color: white;
}

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

.form_header_info {
  display: flex;
  font-size: 36px;
  text-align: center;
  text-transform: uppercase;
}

.form_header .logo h2 {
  font-size: 36px;
  white-space: nowrap;
  text-transform: uppercase;
  margin-top: 10px;
}

@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: 800px) {
  .form_header_container {
    flex-wrap: wrap;
    justify-content: center;
  }
}
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  /* transform: translate(-50%, -50%); */
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  width: 100%;
  height: 100%;
  filter: brightness(0.7);
}


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


.rf-form__header {

color: #222 !important;
leading-trim: both !important;
text-edge: cap  !important;
font-size: 24px !important;
font-style: normal !important;
font-weight: 500 !important;
line-height: 100% !important; 
letter-spacing: -0.48px !important;


} */