@media (max-width: 1199px) {
  .avatarMain {
    align-content: center;
  }

  .avatarMain .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }
}

.select_avtar_container {
  min-height: calc(100vh - 82px);
  display: flex;
  justify-content: center;
  align-items: center;
}


.select_avtar {
  padding: 85px 15px 50px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1799px) {
  .select_avtar {
    padding: 40px 15px;
  }
}

@media (max-width: 767px) {
  .select_avtar {
    padding: 40px 0px;
  }
}

.selected_img {
  display: none;
}

.selected_img.active {
  display: block;
}

.select_avtar .selected_img {
  margin: 0 auto;
  max-width: 400px;
  height: 425px;
  object-fit: scale-down;
}

@media (max-width: 1799px) {
  .select_avtar .selected_img {
    max-width: 350px;
    height: 350px;
  }
}

@media (max-width: 1599px) {
  .select_avtar .selected_img {
    height: 300px;
  }
}

@media (max-width: 1299px) {
  .select_avtar .selected_img {
    height: 200px;
  }
}

@media (max-width: 767px) {
  .select_avtar .selected_img {
    max-width: 200px;
  }
}

.select_avtar .selection_box {
  width: 100%;
  height: 222px;
  background: linear-gradient(90.05deg,
      rgba(37, 39, 36, 0) 0.03%,
      #1c1b1a 28.89%,
      #1e1e1c 71.47%,
      rgba(53, 51, 46, 0) 99.96%);
  position: relative;
  display: flex;
  align-items: center;

  @media (max-width: 425px) {
    height: 200px;
  }

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        #21201d 0%,
        #b8b8b8 49.4%,
        #383735 101.46%);
  }

  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        #21201d 0%,
        #b8b8b8 49.4%,
        #383735 101.46%);
  }
}

@media (max-width: 1599px) {
  .select_avtar .selection_box {
    height: 150px;
  }
}

@media (max-width: 991px) {
  .select_avtar .selection_box {
    height: 250px;
  }
}


@media (max-width: 425px) {
  .select_avtar .selection_box {
    height: 230px;
  }
}

@media (max-width: 379px) {
  .select_avtar .selection_box {
    height: 260px;
  }
}

.select_avtar .selection_box .selection_container {
  margin: 0 auto;
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  .select_avtar .selection_box .selection_container {
    flex-direction: column;
    gap: 20px;
  }
}

.select_avtar .selection_box .next_btn {
  z-index: 1;
}

@media (max-width: 767px) {
  .select_avtar .selection_box .next_btn {
    position: absolute;
    bottom: 10px;
  }
}

.select_avtar .selection_box .selection_box_in {
  display: flex;
  align-items: center;
  gap: 80px;
}

@media (max-width: 1599px) {
  .select_avtar .selection_box .selection_box_in {
    gap: 50px;
  }
}

@media (max-width: 991px) {
  .select_avtar .selection_box .selection_box_in {
    gap: 30px;
  }
}

@media (max-width: 425px) {
  .select_avtar .selection_box .selection_box_in {
    gap: 20px;
  }
}

.select_avtar .selection_box .selection_box_in .select_title {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.select_avtar .selection_box .selection_box_in .select_title h2 {
  font-weight: 700;
  font-size: 30px;
  text-align: center;
  text-transform: uppercase;
  color: white;
  max-width: 400px;
  width: 100%;
  margin-bottom: 20px;
  z-index: 1;
}

@media (max-width: 1599px) {
  .select_avtar .selection_box .selection_box_in .select_title h2 {
    font-size: 22px;
    margin-right: 20px;
  }
}

@media (max-width: 1399px) {
  .select_avtar .selection_box .selection_box_in .select_title h2 {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .select_avtar .selection_box .selection_box_in .select_title h2 {
    position: absolute;
    top: 20px;
    font-size: 13px;
    font-size: 14px;
    margin-right: 0;
  }
}

.framing1 {
  position: relative;
  z-index: 1;
  width: 264px;
  height: 234px;
  top: -6px;
  cursor: pointer;
}

@media (max-width: 1599px) {
  .framing1 {
    width: 180px;
    height: 160px;
  }
}

@media (max-width: 767px) {
  .framing1 {
    height: 145px;
  }
}

@media (max-width: 479px) {
  .framing1 {
    width: 100px;
    height: 140px;
  }
}

.framing1::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 0px;
  width: 100%;
  height: 100%;
  max-height: 218px;
  max-width: 250px;
  z-index: -1;
  background: radial-gradient(140.81% 135.18% at 19.88% 4.61%,
      #396e50 0%,
      #a0b331 100%)
    /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
  ;
  opacity: 0.4;
  border-radius: 24px;
  transform: skew(12deg, 0deg);
  border: 2px solid transparent;
}

@media (max-width: 1599px) {
  .framing1::after {
    width: 180px;
    height: 90%;
  }
}

@media (max-width: 767px) {
  .framing1::after {
    width: 150px;
    height: 88%;
    border-radius: 10px;
  }
}

@media (max-width: 479px) {
  .framing1::after {
    width: 130px;
    height: 86%;
    left: -30px;
  }
}

.framing1.selected::after {
  opacity: 1;
  border: 2px solid #fff;
  /* top: 14px;
  max-height: 250px; */
}

.framing1.rtl-mode::after {
  top: 12px;
  left: 20px;
}

/* .framing1.rtl-mode.selected::after {
  opacity: 1;
  border: 2px solid #fff;
  top: 14px;
  max-height: 250px;
} */

.framing2 {
  position: relative;
  z-index: 1;
  width: 264px;
  height: 232px;
  top: -6px;
  cursor: pointer;
}

@media (max-width: 1599px) {
  .framing2 {
    width: 180px;
    height: 160px;
  }
}

@media (max-width: 767px) {
  .framing2 {
    height: 145px;
  }
}

@media (max-width: 479px) {
  .framing2 {
    width: 100px;
    height: 140px;
  }
}

.framing2::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 0px;
  width: 100%;
  height: 100%;
  max-height: 218px;
  max-width: 250px;
  z-index: -1;
  background: radial-gradient(140.81% 135.18% at 19.88% 4.61%,
      #396e50 0%,
      #a0b331 100%)
    /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
  ;
  opacity: 0.4;
  border-radius: 24px;
  transform: skew(-10deg, 0deg);
  border: 2px solid transparent;
}

@media (max-width: 1599px) {
  .framing2::after {
    max-width: 180px;
    height: 91%;
  }
}

@media (max-width: 767px) {
  .framing2::after {
    width: 150px;
    height: 88%;
    border-radius: 10px;
  }
}

@media (max-width: 425px) {
  .framing2::after {
    width: 130px;
    height: 86%;
  }
}

.framing2.selected::after {
  opacity: 1;
  border: 2px solid #fff;
  /* top: 14px;
  max-height: 250px; */
}

.framing2.rtl-mode::after {
  top: 12px;
  left: 30px;
}

.frame1_img {
  position: absolute;
  bottom: 0px;
  left: 55%;
  transform: translateX(-50%);
  width: 220px;
  height: 100%;
  display: flex;
}

@media (max-width: 1599px) {
  .frame1_img {
    width: 140px;
  }
}

@media (max-width: 767px) {
  .frame1_img {
    left: 46%;
  }
}

@media (max-width: 575px) {
  .frame1_img {
    width: 137px;
  }
}

@media (max-width: 479px) {
  .frame1_img {
    width: 120px;
    left: 60%;
    left: 45%;
    bottom: 4px;
  }
}

.frame2_img {
  position: absolute;
  width: 188px;
  height: 100%;
  display: flex;
  bottom: 0px;
  left: 43%;
  transform: translateX(-50%);
}

@media (max-width: 1599px) {
  .frame2_img {
    width: 120px;
    left: 46%;
  }
}

@media (max-width: 767px) {
  .frame2_img {
    left: 42%;
  }
}

@media (max-width: 575px) {
  .frame2_img {
    width: 120px;
  }
}

@media (max-width: 479px) {
  .frame2_img {
    width: 110px;
    height: auto;
    left: 70%;
    bottom: 4px;
  }
}

.frame1_background {
  width: 294px;
  width: 100%;
}

@media (max-width: 575px) {
  .frame1_background {
    width: 150px;
  }
}

@media (max-width: 425px) {
  .frame1_background {
    width: 110px;
  }
}

.frame2_background {
  width: 294px;
  width: 100%;
}

@media (max-width: 1199px) {
  .frame2_background {
    width: 200px;
  }
}

@media (max-width: 575px) {
  .frame2_background {
    width: 150px;
  }
}

@media (max-width: 425px) {
  .frame2_background {
    width: 110px;
  }
}

.chatbot {
  position: absolute;
  bottom: 40px;
  right: 29px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  max-width: 320px;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.chatbot-toggle .chatbot-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  height: 100%;
  max-width: 50px;
  max-height: 50px;
}

.chatbot-toggle .chatbot-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.chatbot-wrapper {
  width: 100%;
  max-width: 320px;
  height: 100%;
  max-height: 500px;
  min-height: 420px;
  background-color: #0000002b;
  color: #fff;
  border-radius: 10px;
  border: 1px solid #333;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 20px #ffffff0d;
  border: 1px solid #999999;
  margin-bottom: 20px;
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid #5A5C5C;
  padding: 14px 15px;
}

.chatbot-header span {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  box-shadow: 0px 14px 54px 0px #00000080;
  line-height: 1.2;
}

.close-btn {
  cursor: pointer;
  font-size: 20px;
  background: transparent;
  border: none;
}

.chatbot-body {
  display: flex;
  flex-direction: column;
  padding: 10px;
  overflow-y: auto;
  flex-grow: 1;
  max-height: calc(100% - 106px);
}

.chatbot-body .chatbot-select {
  margin-bottom: 10px;
  height: 44px;
  border-radius: 4px;
  background: #000000;
  color: #ffffff80;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  padding: 14px 20px;
  border: none;
}

.chatbot-body .chatbot-select:focus {
  outline: none;
  box-shadow: none;
}

.chatbot-messages {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.chat-message {
  font-size: 14px;
  line-height: 1.2;
  background: #464646cc;
  padding: 10px;
  border-radius: 10px;
  color: #ffffff80;
  width: 100%;
  max-width: 203px;
  word-break: break-word;
  box-shadow: 0 0 10px #00000080;
  margin-right: auto;
  margin-bottom: 10px;
}

.chat-message-secondary {
  font-size: 14px;
  line-height: 1.2;
  background: #000000;
  padding: 10px;
  border-radius: 10px;
  color: #ffffff80;
  width: 100%;
  max-width: 203px;
  word-break: break-word;
  box-shadow: 0 0 10px #00000080;
  margin-left: auto;
  margin-bottom: 10px;
}

.chatbot-input {
  display: flex;
  align-items: center;
  background: #000000;
  margin: 10px;
  padding: 12px 20px;
  border-radius: 4px;
}

.chatbot-input input {
  width: 100%;
  max-width: calc(100% - 50px);
  background: transparent;
  border: none;
  color: #ffffff99;
  font-size: 14px;
  outline: none;
}

.send-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.chatButton{
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  /* background-color: #000000; */
  /* border-radius: 50%; */
  /* width: 50px; */
  /* height: 50px; */
  display: flex;
  align-items: center;
  justify-content: center;
}