@font-face {
  font-family: "GE SS Two";
  src: url("https://db.onlinewebfonts.com/t/02f502e5eefeb353e5f83fc5045348dc.eot");
  src: url("https://db.onlinewebfonts.com/t/02f502e5eefeb353e5f83fc5045348dc.eot?#iefix")
      format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/02f502e5eefeb353e5f83fc5045348dc.woff2")
      format("woff2"),
    url("https://db.onlinewebfonts.com/t/02f502e5eefeb353e5f83fc5045348dc.woff")
      format("woff"),
    url("https://db.onlinewebfonts.com/t/02f502e5eefeb353e5f83fc5045348dc.ttf")
      format("truetype"),
    url("https://db.onlinewebfonts.com/t/02f502e5eefeb353e5f83fc5045348dc.svg#GE SS Two Light")
      format("svg");
}
@font-face {
  font-family: "Creato Display";
  font-style: normal;
  font-weight: 400;
  src: local("Creato Display"),
    url("https://fonts.cdnfonts.com/s/57864/CreatoDisplay-Regular.woff")
      format("woff");
}

* {
  /* font-family: "Creato Display", "GE SS Two"; */
  margin: 0;
  padding: 0;
}

.survey-en * {
  font-family: "Creato Display", "GE SS Two";
}
.survey-ar-en * {
  font-family: "Creato Display", "GE SS Two";
}
.survey-ar * {
  font-family: "GE SS Two", "Creato Display";
}

.sv-rating__item-text {
  min-width: 0em;
  margin-right: 0em;
  padding: 0 0.2em;
  /* box-sizing: border-box; */
}
.sv-rating__min-text {
  margin-right: 0em;
}
/* .sd-title .sv-title-actions .sv-title-actions__title {
  min-width: 100%;
  max-width: 100%;
} */
/* .sd-body.sd-body--responsive {
  max-width: calc(90 * (var(--sjs-base-unit, var(--base-unit, 8px))));
  margin-left: auto;
  margin-right: auto;
  padding-top: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
  padding-bottom: calc(10 * (var(--sjs-base-unit, var(--base-unit, 8px))));
} */
h4 {
  width: 100%;
}

.loader-body {
  display: grid;
  place-content: center;
  height: 100vh;
}

/* HTML: <div class="loader"></div> */
.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 5px solid #1756c5;
  animation: l20-1 0.8s infinite linear alternate, l20-2 1.6s infinite linear;
}
@keyframes l20-1 {
  0% {
    clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
  }
  12.5% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 0%,
      100% 0%,
      100% 0%
    );
  }
  25% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 100%,
      100% 100%,
      100% 100%
    );
  }
  50% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 100%,
      50% 100%,
      0% 100%
    );
  }
  62.5% {
    clip-path: polygon(
      50% 50%,
      100% 0,
      100% 0%,
      100% 0%,
      100% 100%,
      50% 100%,
      0% 100%
    );
  }
  75% {
    clip-path: polygon(
      50% 50%,
      100% 100%,
      100% 100%,
      100% 100%,
      100% 100%,
      50% 100%,
      0% 100%
    );
  }
  100% {
    clip-path: polygon(
      50% 50%,
      50% 100%,
      50% 100%,
      50% 100%,
      50% 100%,
      50% 100%,
      0% 100%
    );
  }
}
@keyframes l20-2 {
  0% {
    transform: scaleY(1) rotate(0deg);
  }
  49.99% {
    transform: scaleY(1) rotate(135deg);
  }
  50% {
    transform: scaleY(-1) rotate(0deg);
  }
  100% {
    transform: scaleY(-1) rotate(-135deg);
  }
}

body {
  background-image: url("https://ufeed25.web.app/assets/assets/images/BG_2_orange.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 130vw;
  background-attachment: fixed;
  /* font-family: "Creato Display", "GE SS Two"; */

  /* height: 63vh; */
  /* overflow: hidden; */
}
.sd-root-modern {
  background-color: transparent;
}
#lang {
  width: 100%;
  background-color: #fefffe;
}
/* .sd-completedpage, */
/* .sd-completed-before-page {
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
} */
/* body {
  overflow: hidden;
} */

.body,
.body-hidden {
  display: flex;
  margin-bottom: 45px;
  font-weight: 500;
  font-size: 14px;
  line-height: 19.6px;
}
.body-hidden {
  display: none;
}
.body-jequest-helper {
  /* width: 80vw; */
  /* position: relative; */
  /* margin-bottom: 90px; */
  margin-top: 11rem;
}
.body-jequest {
  width: 90vw;
  position: absolute;
  top: 150px;
  left: 42px;
}

.progress-container {
  position: relative;
  /* width: 95%; */
  /* max-width: 1200px; */
  /* max-width: 95%; */
  margin-left: auto;
  margin-right: auto;
  display: flex;
  /* justify-content: space-between; */
  align-items: baseline;
  gap: 5px;
}

.progress-container-ees-width {
  width: 95%;
  max-width: 95%;
}

.progress-number {
  /* position: absolute;

  bottom: -10px;
  font-size: 14px;
  align-self: flex-end; */
  color: #333;
  /* transform: translateX(0px);
  transform: translateY(0px); */
  /* margin-right: 23px; */

  /* transform: translateY(17%); */
  /* display: flex; */

  /* align-items: baseline; */
}

.progress-text {
  position: absolute;
  left: 0;
  top: -25px;
  color: #ff6b4a;
  font-size: 12px;
}

.progress-bar {
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  position: relative;
  width: 100%;
  /* margin-top: 23px; */
}
/* .progress-bar-ar-en {
  margin-top: 50px;
} */

.progress-fill {
  position: absolute;
  height: 100%;
  background-color: #ff6b4a;
  border-radius: 4px;
  width: 16%;
  transition: width 0.3s ease;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 5px;
}

.step {
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  width: calc(100% / 10);
  position: relative;
  margin-bottom: 15px;
  justify-content: center;
  align-items: center;
  /* word-break: break-all; */
  padding-bottom: 10px;
  flex-direction: column-reverse;
  display: flex;
  /* height: 88px; */
  /* gap: 3px; */
}
.step::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -78%;
  bottom: -8%;
  width: 2px;
  height: 12px;
  background-color: #999;
}

.step-on {
  color: #ff6b4a;
}
.step-on::before,
.step-passed::before {
  background-color: #ff6b4a;
}

.step-on::after {
  content: "";
  position: absolute;
  left: 50%;
  /* bottom: -88%; */
  bottom: -10%;
  width: 6px;
  height: 6px;
  transform: translateX(-2px);
  background-color: #ff6b4a;
  border-radius: 50%;
}
.text {
  width: 50%;
  text-overflow: ellipsis;
  text-overflow: clip;
}
.step-passed {
  opacity: 0.4;
  color: #ff6b4a;
}

/* .arrow {
  width: 2px;
  height: 100%;
  background-color: #999;
} */
/* .arrow-on {
  position: relative;
  background-color: #ff6b4a;
} */
/* .arrow-on::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 6px;
  height: 6px;
  transform: translateX(-2px);
  background-color: #ff6b4a;
  border-radius: 50%;
} */
.arrow-passed {
  background-color: #ff6b4a;
}
.text-on,
.text-passed {
  color: #ff6b4a;
}

.total {
  color: #969494;
  font-weight: 500;
}
.current {
  color: #ff6b4a;
  font-weight: 500;
  font-size: 2rem;
}

@media (max-width: 1045px) {
  .progress-steps {
    display: none;
  }
  .body-jequest-helper {
    /* width: 90vw;
    position: absolute;
    top: auto;
    left: 42px;
    margin-top: -40px; */
    display: none;
  }
  .body-hidden {
    display: flex;
  }
  .progress-container {
    width: 95%;
  }
  /* .body-jequest-helper {
    margin-bottom: 0;
  } */
}

.sd-title .sv-title-actions .sv-title-actions__title {
  max-width: 100%;
  width: 100%;
}

/* Modal Overlay (hidden by default) */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Modal Content */
.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 400px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-30px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.modal-overlay.open .modal-content {
  opacity: 1;
  transform: translateY(0);
}

/* Close Button */
.close-modal-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #365d97;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.close-modal-btn:hover {
  background-color: #555;
}

.sd-matrix {
  position: relative;
  width: 100%;
  overflow: visible;
}

.sd-matrix thead {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 100;
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

.sd-matrix thead th {
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Ensure parent containers don't interfere with sticky positioning */
.sd-body,
.sd-page,
.sd-question {
  overflow: visible !important;
}

/* Ensure the table container doesn't clip the sticky header */
.sd-matrix__container {
  overflow: visible !important;
  position: relative;
}

/* Ensure the table itself doesn't clip the sticky header */
.sd-matrix__table {
  overflow: visible !important;
}

@media (max-width: 767px) {
  /* Dropdown popup styling fixes */
  .sv-popup__container {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
  }
  
  .sv-popup__body-content {
    max-height: 300px;
    overflow-y: auto;
  }
  
  .sv-list__container {
    width: 100%;
  }
  
  .sv-list__item {
    padding: 8px 12px;
    cursor: pointer;
  }
  
  .sv-list__item:hover {
    background-color: #f5f5f5;
  }
  
  .sv-popup__body-footer {
    border-top: 1px solid #ddd;
    padding: 8px;
    text-align: right;
  }
}

