* {
  box-sizing: border-box;
}
:root {
  --yellow-theme-color: #ffd700;
}
body {
  background-color: #f3f4f6;
  width: 100%;
  /* height: 100vh; */
  box-sizing: border-box;
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}
.color-theme-yellow {
  color: var(--yellow-theme-color);
}
.bg-theme-yellow {
  background-color: var(--yellow-theme-color);
}
.theme-input {
  border: 1px solid #99999982;
  display: block;
  height: 40px;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0px 0px 2px 0px #4e4e526b;
  color: #666666;
}
.theme-field label {
  padding-bottom: 8px;
  display: inline-block;
  padding-bottom: 8px;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
}
.theme-input::placeholder {
  font-size: 12px;
  padding-left: 7px;
}
.flex {
  display: flex;
}
.gap-\[20px\] {
  gap: 20px;
}
.w-full {
  width: 100%;
}
.flex-wrap {
  flex-wrap: wrap;
}
.justify-content-center {
  justify-content: center;
}
.justify-content-space-evenly {
  justify-content: space-evenly;
}
.justify-content-space-between {
  justify-content: space-between;
}
.gap-\[10px\] {
  gap: 10px;
}
.text-center {
  text-align: center;
}
.fw-300 {
  font-weight: 300;
}
.fw-600 {
  font-weight: 600;
}
.mt-10 {
  margin-top: 10px;
}
.hidden {
  display: none;
}

.toggle:before {
  content: "";
  text-align: right;
  position: relative;
  top: 0px;
  left: 0px;
  width: 54px;
  height: 25px;
  font-size: 10px;
  display: block;
  background: var(--yellow-theme-color);
  border-radius: 30px;
  -webkit-transition: background 0.2s ease;
  -o-transition: background 0.2s ease;
  transition: background 0.2s ease;
}

/* Only for Night/Day Shift toggle, use blue background when unchecked */
.day-night.toggle:before {
  background: blue;
}

.toggle span {
  position: absolute;
  /* top: 2px;
  left: 2px; */
  width: 20px;
  height: 20px;
  display: inline-flex;
  background: #fff;
  border-radius: 50%;
  -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.toggle span:before {
  content: "NO";
  position: absolute;
  /* top: 2.6px;
  left: 2.8px; */
  display: block;
  margin: 0;
  background: #fff;
  border-radius: 50%;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
  pointer-events: none;
  color: var(--yellow-theme-color);
  font-size: 10px;
  font-weight: 600;
}

.cbx:checked + .toggle:before {
  background: var(--yellow-theme-color);
  content: "";
  text-align: left;
  color: #fff;
}

/* For Night/Day Shift toggle, yellow when checked */
.cbx:checked + .day-night.toggle:before {
  background: var(--yellow-theme-color);
}

.cbx:checked + .toggle span {
  left: 33px;
  background: #fff;
  -webkit-transform: translateX(31px);
  -ms-transform: translateX(31px);
  transform: translateX(31px);
  -webkit-transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25),
    background 0.15s ease;
  -o-transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25),
    background 0.15s ease;
  transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25), background 0.15s ease;
}

.cbx:checked + .toggle span:before {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  content: "YES";
  background: #fff;
  color: var(--yellow-theme-color);
  font-weight: 600;
  font-size: 10px;
}
.toggle-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 1.5em;
  min-height: 60px;
  background-color: #fdfdfd;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  overflow: hidden;
}
.toggle-box > label.fw-600 {
  font-weight: 600;
  white-space: nowrap;
}
.toggle {
  position: relative;
  display: inline-block;
  width: 3.2em;
  height: 1.7em;
  background-color: #ddd;
  border-radius: 1.7em;
  transition: background-color 0.2s ease-in-out;
  cursor: pointer;
  flex-shrink: 0;
  /* margin: 0 1em; */
}
.toggle span {
  position: absolute;
  top: 0.15em;
  left: 0.15em;
  width: 1.4em;
  height: 1.4em;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  font-weight: 700;
}
.cbx:checked + .toggle {
  background-color: var(--yellow-theme-color);
}
.cbx:checked + .toggle span {
  transform: translateX(1.5em);
}
.toggle span:before {
  color: #999;
}
.cbx:checked + .toggle span:before {
  color: var(--yellow-theme-color);
}
.day-night.toggle span:before {
  content: "N";
}
.cbx:checked + .day-night.toggle span:before {
  content: "D";
}
/* Interior/Exterior toggle: gray background when unchecked, yellow when checked */
.interior-exterior.toggle:before {
  background: #e0e0e0;
}
.cbx:checked + .interior-exterior.toggle:before {
  background: var(--yellow-theme-color);
}
.interior-exterior.toggle span:before {
  content: "I";
}
.cbx:checked + .interior-exterior.toggle span:before {
  content: "E";
}

.button-row {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  width: calc(100% - 32px);
  margin-left: 16px;
  /* justify-content: flex-start; */
}
.btn {
  padding: 10px 28px;
  border-radius: 24px;
  font-size: 1.05rem;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
  box-shadow: 0 2px 8px rgba(60, 60, 100, 0.07);
}
.btn-back {
  background: #fff;
  color: #222;
  border: 2px solid #ffe033;
  box-shadow: 0 0 6px #00000033 !important;
}
.btn-next {
  background-color: #ffe033;
  color: #222;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 6px #00000033 !important;
}
.arrow-icon {
  /* display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; */
  height: 18px;
}
.btn-next:hover {
  background: #ffd600;
}

@media (max-width: 500px) {
  .button-row {
    width: 96vw;
    margin-left: 2vw;
  }
}

@media (min-width: 767px) {
  .lg-w-half {
    width: 50%;
  }
}

/* Card/Form container for both mobile and desktop */
.main-wrapper {
  min-height: 100vh;
  /* height: 100vh; */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

/* .form-card,

.form-card * {

  box-sizing: border-box;

} */
.form-card {
  overflow-y: auto;
  max-width: 425px;
  width: 100%;
  background: #fff;
}

.form-card::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.form-card-inner {
  max-width: 425px;
  width: 100%;
  margin: 0;
  border-radius: 14px;
  /* box-shadow: 0 2px 16px 0px #00000018; */
  padding: 32px 15px 24px 15px;
  /* height: 100vh; */
}

.step1-title {
  font-size: 1.05rem;
  font-weight: 700;
  background: #eeeeee;
  border-radius: 0;
  margin-bottom: 16px;
  padding: 12px 0 12px 10px;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

/* Field and label spacing */
.theme-field label {
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 600;
  display: block;
  text-align: left;
}
.theme-field {
  margin-bottom: 18px;
}

/* Toggle pill style */
.toggle-box {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  border-radius: 12px;
  padding: 14px 0;
  box-shadow: 0 1px 8px 0px #00000010;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.toggle {
  width: 54px;
  height: 25px;
  background: #eee;
  border-radius: 30px;
  position: relative;
  display: inline-block;
  /* margin: 0 10px; */
}
.toggle span {
  width: 22px;
  height: 22px;
  display: inline-flex;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  position: absolute;
  top: 1.5px;
  left: 2px;
  transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25);
  align-items: center;
  justify-content: center;
}
.toggle span:before {
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow-theme-color);
  content: "NO";
  transition: all 0.2s;
}
.cbx:checked + .toggle {
  background: var(--yellow-theme-color);
}
.cbx:checked + .toggle span {
  left: 8px;
  background: #fff;
}
.cbx:checked + .toggle span:before {
  content: "YES";
  color: var(--yellow-theme-color);
}

/* Button styles */
.btn-row-mobile {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 18px;
}
.btn {
  padding: 12px 0;
  border-radius: 28px;
  font-weight: 700;
  border: 2px solid transparent;
}
.btn-back {
  background-color: #fff;
  color: #222;
  border-color: #ddd;
  flex-grow: 0;
}
.btn-next {
  background-color: #ffe033;
  color: #222;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn:active {
  transform: scale(0.98);
}

/* Utility for icon alignment */
.icon-left {
  margin-right: 6px;
  display: inline-flex;
  align-items: center;
}
.icon-right {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
}

/* Utility spacing */
.mt-10 {
  margin-top: 10px;
}
.mt-20 {
  margin-top: 20px;
}
.mb-20 {
  margin-bottom: 20px;
}

/* html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
} */
.orange-shape-main {
  margin: 20px 0 20px 0;
}
.orange-bg-shape {
  background: url(/SkillSignalAi/media/orange-bg-shape.png);
  background-repeat: no-repeat;
  background-position: center center;
}
.orange-bg-shape .content {
  justify-content: center;
  max-width: 335px;
  height: 110px;
  margin: 0 auto;
  align-items: center;
}
.orange-bg-shape .text {
  max-width: 251px;
  margin-left: 18px;
}

.color-white {
  color: #ffffff;
}
.font-italic {
  font-style: italic;
}
/* Step 1 */

/* Step 2 */
/* Step 2: Green reminder box */
/* .reminder-box {
  background: #d6f5dd !important;
  border-radius: 8px;
  padding: 12px 16px 10px 16px;
  margin-bottom: 18px;
  font-size: 1rem;
  font-weight: 400;
  color: #222;
  width: 100%;
  border: none;
} */

/* Step 2: White shadowed list */
/* #step2-content .reminder-list {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(60, 60, 100, 0.07);
  padding: 8px 0 8px 0;
  margin-bottom: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
} */

/* Step 2 reminder-item (restore previous style) */
/* #step2-content .reminder-item {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #222;
  padding: 7px 18px;
  font-weight: 500;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  box-sizing: border-box;
  justify-content: flex-start;
  border: none;
  box-shadow: none;
  gap: 0;
} */

/* Step 3 PPE layout remains as before */
.reminder-item .ppe-title {
  font-weight: 700;
  font-size: 1.08rem;
  /* margin-bottom: 8px; */
}
.reminder-item .ppe-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reminder-item .checkmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
.reminder-item .inspected-label {
  color: #222;
  font-size: 1rem;
  font-weight: 400;
}

.checkbox-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.checkbox-wrapper input[type="checkbox"] {
  display: none;
}

.checkbox-svg {
  width: 25px;
  height: 25px;
  overflow: visible;
}

.circle {
  fill: none;
  stroke-width: 2;
  transition: stroke 0.2s ease, opacity 0.2s ease;
}

.circle-gray {
  stroke: #bbb;
}

.circle-green {
  stroke: #0cb420;
  stroke-dasharray: 88;
  stroke-dashoffset: 14;
  opacity: 0;
}

.tick {
  fill: none;
  stroke: #0cb420;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + svg .circle-gray {
  opacity: 0;
}

.checkbox-wrapper input[type="checkbox"]:checked + svg .circle-green {
  opacity: 1;
}

.checkbox-wrapper input[type="checkbox"]:checked + svg .tick {
  opacity: 1;
}

/* Responsive field rows for desktop/mobile */
.field-row {
  flex-direction: column;
  gap: 0;
}
.field-half {
  width: 50%;
}
.toggle-box {
  max-width: 100vw;
  gap: 10px;
}
.toggle-row {
  display: flex;
  margin-top: 23px;
  flex-direction: column;
  gap: 12px;
}
.toggle-row .toggle-box {
  width: 100%;
  margin-bottom: 10px;
}
.toggle-row .toggle-box > label.fw-600 {
  max-width: 90px;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

/* .main-wrapper {
  display: block !important;
  padding: 0 !important;
  background: #ffffff !important;
} */
.reminder-box {
  background: #d6f5dd !important;
  border-radius: 8px;
  padding: 12px 12px 10px 12px;
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 400;
  color: #222;
  width: 100%;
  border: none;
}
.reminder-list {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 18px;
  width: 100%;
  gap: 10px;
}
.reminder-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(60, 60, 100, 0.1);
  padding: 10px 14px;
  margin-bottom: 0;
  font-size: 1rem;
  color: #222;
  font-weight: 500;
  align-items: center;
  display: flex;
  border: none;
}
.reminder-item .arrow {
  margin-right: 10px;
  font-size: 1.1em;
  color: #888;
  display: flex;
  align-items: center;
}
.btn-row-mobile {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 18px;
}
.btn {
  width: 48%;
  font-size: 1.05rem;
  padding: 12px 0;
  border-radius: 28px;
  font-weight: 700;
  border: 2px solid transparent;
  box-shadow: none;
}
.btn-back {
  background-color: #fff;
  color: #222;
  border: 2px solid #ffe033;
}
.btn-next {
  background-color: #ffe033;
  color: #222;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* STEP 3 CONTENT */
#step2-content {
  overflow: visible !important;
  max-height: none !important;
}

/* .form-card {
  overflow-y: visible !important;
  max-height: none !important;
} */

.checkmark svg {
  display: inline-block;
  vertical-align: middle;
}

.inspected-label {
  color: #00c853;
  font-weight: 500;
  font-size: 1rem;
}

/* Step 3 reminder list and items */
#step2-content .reminder-list {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#step2-content .reminder-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1rem;
  color: #222;
  padding: 12px 20px 12px 20px;
  font-weight: 500;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-sizing: border-box;
  border: none;
  box-shadow: 0 1px 6px rgba(60, 60, 100, 0.07);
  gap: 8px;
}
#step2-content .reminder-item .ppe-title {
  font-weight: 700;
  font-size: 1.08rem;
  /* margin-bottom: 8px; */
}
#step2-content .reminder-item .ppe-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
#step2-content .reminder-item .checkmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
#step2-content .reminder-item .inspected-label {
  color: #222;
  font-size: 1rem;
  font-weight: 400;
}

/* STEP 4: Questions Slider */

.slider-wrapper {
  background: #555555;

  padding: 15px;

  border-radius: 10px;
}

.question-slider {
  width: 100%;
}

.question-card {
  background: #fff;

  border-radius: 12px;

  /* padding: 20px; */

  box-sizing: border-box;

  /* text-align: center; */

  max-height: 300px;
  max-width: 290px;

  width: 100%;
}

.question-header {
  display: flex;

  justify-content: space-evenly;

  align-items: center;

  /* padding: 6px 10px; */
}

.question-number {
  background: #eedf13;

  height: 50px;

  width: 120px;

  border-radius: 0 0 10px 10px;

  justify-content: center;

  display: flex;

  align-items: center;

  box-shadow: 0 3pt 6pt #00000029;
}

.question-number-text {
  font-size: 1.2rem;

  font-weight: bold;

  color: #000;
}

.question-text-wrapper {
  display: flex;
  justify-content: center;
  margin-left: 6%;
}

.question-text {
  /* margin-top: 25px; */

  font-size: 24px;

  font-weight: bold;
}

.questions-options {
  display: flex;

  /* align-items: flex-start;
 
  gap: 10px; */

  justify-content: space-evenly;

  /* padding-left: 20px; */
  flex-direction: column;
  margin-left: 20px;
  gap: 20px;
}

.two-options-wrapper {
  display: flex;
  gap: 40px;
  /* justify-content: space-around; */
}

.options {
  display: flex;

  /* justify-content: center; */

  align-items: center;

  gap: 7px;
}

.option-text {
  font-size: 22px;

  font-weight: 600;

  color: #000000;
}

.view-all-btn {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 25px 0;
  align-items: center;
  cursor: pointer;
}

.question-slider .slick-slide {
  margin-right: 0px;
}

/* .question-slider .slick-list {
  margin-right: -15px;
} */

.slick-slide {
  transition: all 0.3s ease;
  transform: scale(0.9);
  opacity: 1;
}

.slick-center {
  transform: scale(1);
  opacity: 1;
  z-index: 1;
}

/* Optional: Add white background to center card */
.slick-center .your-card {
  background: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
/* SVG Text Overlay */

.svg-text-wrapper {
  position: relative;

  width: 100%;

  /* max-width: 400px; */

  margin: auto;

  margin: 30px 0;
}

.svg-text-wrapper svg {
  width: 100%;

  height: auto;

  display: block;
}

.svg-overlay-text {
  position: absolute;

  top: -12px;

  left: 0;

  width: 100%;

  height: 100%;

  /* display: flex; */

  flex-direction: column;

  align-items: center;

  justify-content: center;

  padding: 10% 8%;

  /* text-align: center; */

  font-family: Arial, sans-serif;

  color: white;

  font-size: 1rem;

  line-height: 1.4;

  font-style: italic;
}

.svg-overlay-text strong {
  font-weight: bold;
}

@media (max-width: 500px) {
  .svg-overlay-text {
    font-size: 0.9rem;

    padding: 12% 10%;
  }
}

.svg-border-desktop {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #fff;
}
.svg-border-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 422px;
  height: 851px;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}
.svg-border-desktop .main-wrapper {
  position: relative;
  z-index: 1;
  width: 411px;
  min-height: 847px;
  max-width: 100vw;
  max-height: 100vh;
  background: transparent;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  box-shadow: none;
  border-radius: 0;
}

@media (min-width: 768px) {
  .mobile-frame {
    position: absolute;
    height: 85vh;
    max-width: 425px;
    width: 100%;
    z-index: 2;
    border-radius: 64px;
    max-height: 800px;
  }

  .mobile-frame img {
    height: 100%;
    max-width: 425px;
    width: 100%;
  }

  .form-card {
    height: 81vh;
    overflow-y: auto;
    max-width: 386px;
    width: 100%;
    z-index: 2;
    max-height: 768px;
    border-radius: 37px;
  }

  .mobile-frame.hidden {
    display: block;
  }
}

@media (max-width: 767px) {
  .field-row {
    flex-direction: column;

    gap: 0;
  }

  .field-half {
    width: 100%;
  }

  .toggle-box {
    max-width: 100vw;

    gap: 10px;
  }
  .svg-border-svg {
    display: none;
  }
  .svg-border-desktop .main-wrapper {
    width: 100vw;
    min-height: 100vh;
    max-width: 100vw;
    max-height: none;
  }
}

@media (max-width: 600px) {
  .main-wrapper {
    align-items: unset;
    /* justify-content: flex-start !important; */
    min-height: 100vh;
    /* background: #fff !important; */
  }
  .form-card {
    max-height: none !important;
    margin-top: 0 !important;
  }
  .form-card-inner {
    border-radius: 0 !important;
  }
  .question-card {
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
    width: 290px !important;
    min-width: 290px !important;
    max-width: 290px !important;
  }
}

@media (max-width: 375px) {
  .toggle-icon svg {
    width: 16px;
  }

  .toggle-icon {
    width: 14px;
  }

  .step1-title {
    font-size: 14px;
  }
}

@media (min-width: 600px) {
  .slick-slide {
    float: left;
    height: auto;
  }
  .question-card {
    background: #fff;
    border-radius: 12px;
    box-sizing: border-box;
    min-height: 300px !important;
    max-width: 290px;
    width: 100%;
  }
}



/* Ensure vertical-question-cards overrides media query */
#vertical-question-cards .question-card {
  background: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  height: 330px !important;
  width: 320px !important;
  min-height: 330px !important;
  max-width: 320px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
}

.vertical-view {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 20px !important;
}

#vertical-question-cards .questions-options {
  flex-direction: column !important;
  justify-content: space-evenly;
  align-items: flex-start;
  margin-left: 20px;
  gap: 20px;
}

/* Fix for Add Permit button vertical centering in vertical view */
#vertical-question-cards .permit-action {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  margin: 0 !important;
}

#vertical-question-cards .attach-permit-btn {
  margin: 0 !important;
  align-self: center !important;
}

/* loading step */
.loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90%;
  flex-direction: column;
}
/* .loader-container svg {
  display: block !important;
  max-width: 100%;
  height: auto;
} */
.loader-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
  padding: 0px 60px;
  text-align: center;
}

/* step 4 */
.activities-section {
  margin: 0 0 18px 0;
}
.activities-label {
  font-size: 1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.activities-subtext {
  font-size: 0.95em;
  color: #888;
  font-style: italic;
}
.activity-search {
  width: 100%;
  padding: 8px 12px;
  margin: 10px 0 16px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
}
.activities-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.activity-item {
  display: flex;
  align-items: center;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid #e0e0e0;
}
.activity-item.selected {
  background: #d6f5dd;
  border: 1.5px solid #0cb420;
}
.activity-item input[type="checkbox"] {
  display: none;
}
.activity-item label {
  display: flex;
  align-items: center;
  width: 100%;
  cursor: pointer;
  font-weight: 600;
}
.activity-item .checkmark {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border-radius: 50%;
  border: 2px solid #bbb;
  background: #fff;
  position: relative;
  transition: border 0.2s;
}
.activity-item.selected .checkmark {
  border: 2px solid #0cb420;
  background: #0cb420;
}
.activity-item.selected .checkmark:after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.activity-other-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
  min-height: 100px !important;
}

/* STEP 5: Duplicate styles for step 5 slider components */

.slider-wrapper-step-5 {
  background: #555555;
  padding: 15px;
  border-radius: 10px;
}

.question-slider-step-5 {
  width: 100%;
}

.question-card-step-5 {
  background: #fff;
  border-radius: 12px;
  box-sizing: border-box;
  max-height: 300px;
  max-width: 290px;
  width: 100%;
  height: auto !important;
  padding-bottom: 10px !important;
}

.question-header-step-5 {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.question-number-step-5 {
  background: #fff;
  height: 50px;
  width: 152px;
  border-radius: 0 0 10px 10px;
  justify-content: center;
  display: flex;
  align-items: center;
  box-shadow: 0 3pt 6pt #00000029;
}

.question-number-text-step-5 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #000;
}

.question-text-wrapper-step-5 {
  display: flex;
  justify-content: center;
  margin-left: 6%;
}

.question-text-step-5 {
  margin-top: 0px;
  font-size: 24px;
  font-weight: bold;
}

.question-body-step-5-item-sound-icon {
  margin-left: 6%;
  margin-top: 20px;
}

.view-all-btn-step-5 {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 25px 0;
  align-items: center;
  cursor: pointer;
}

.question-slider-step-5 .slick-slide {
  margin-right: 0px;
}

/* Media query overrides for step 5 */
@media (max-width: 600px) {
  .question-card-step-5 {
    height: auto !important;
    min-height: 330px !important;
    max-height: none !important;
    width: 290px !important;
    min-width: 290px !important;
    max-width: 290px !important;
    padding-bottom: 10px !important;
  }
}

@media (min-width: 600px) {
  .question-card-step-5 {
    background: #fff;
    border-radius: 12px;
    box-sizing: border-box;
    width: 100%;
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    padding-bottom: 10px !important;
  }
}

/* Slick slider styles for step 5 */
.question-slider-step-5 .slick-slide {
  margin-right: 0px;
  float: left;
  height: 100%;
}

.slick-slide-step-5 {
  transition: all 0.3s ease;
  transform: scale(0.9);
  opacity: 1;
}

.slick-center-step-5 {
  transform: scale(1);
  opacity: 1;
  z-index: 1;
}

/* Step 5 card styling - removed flex display to let slick handle it */
.question-card-step-5 {
  flex-shrink: 0;
  margin-right: 20px;
}

/* Step 5 card colors - odd cards red, even cards green */
.question-card-step-5:nth-child(odd) {
  background: #ff7f7f !important;
}

.question-card-step-5:nth-child(even) {
  background: #90ee90 !important;
}

/* Ensure vertical-question-cards-step-5 overrides media query but maintains colors */
#vertical-question-cards-step-5 .question-card-step-5 {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  height: auto !important;
  width: 320px !important;
  min-height: 330px !important;
  max-width: 320px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  padding-bottom: 10px !important;
}

/* Maintain colors in vertical view for step 5 */
#vertical-question-cards-step-5 .question-card-step-5:nth-child(odd) {
  background: #ff7f7f !important;
}

#vertical-question-cards-step-5 .question-card-step-5:nth-child(even) {
  background: #90ee90 !important;
}

/* Responsive adjustments for step 5 question number */
@media (max-width: 600px) {
  .question-number-step-5 {
    width: 140px;
    height: 45px;
  }

  .question-number-text-step-5 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .question-number-step-5 {
    width: 130px;
    height: 40px;
  }

  .question-number-text-step-5 {
    font-size: 1rem;
  }
}

/* card text-inner alignment */

.question-body-step-5 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 10px;
}
.question-body-step-5-item {
  display: flex;
  gap: 13px;
  padding: 0 20px;
}

.question-body-step-5-item-text-title {
  font-size: 24px;
  font-weight: bold;
}

.question-body-step-5-item-text-description {
  font-size: 22px;
  font-weight: 600;
}

.question-body-step-5-item-icon .checkbox-svg {
  width: 35px !important;
  height: 35px !important;
}
.question-body-step-5-item-icon .checkbox-svg .circle-gray {
  stroke: #000 !important;
}
.question-body-step-5-item-icon .checkbox-svg .circle-green {
  stroke: #000 !important;
}
.question-body-step-5-item-icon .checkbox-svg .tick {
  stroke: #000 !important;
}

.question-body-step-5-item-text #step5-other-textarea {
  margin-left: -48px !important;
  width: calc(100% + 90px) !important;
  box-sizing: border-box;
}

/* Maintain colors in vertical view for step 5 */
#vertical-question-cards-step-5 .question-card-step-5:nth-child(odd) {
  background: #ff7f7f !important;
}

#vertical-question-cards-step-5 .question-card-step-5:nth-child(even) {
  background: #90ee90 !important;
}

.vertical-view-step-5 {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 20px !important;
}

/* Disclaimer box show more/show less functionality */
.disclaimer-box {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.disclaimer-box.collapsed {
  max-height: 40px;
  overflow: hidden;
}

.disclaimer-box.collapsed .disclaimer-content {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 80px);
}

.disclaimer-box.collapsed .disclaimer-content::after {
  content: "";
  display: none;
}

.disclaimer-box.collapsed .disclaimer-toggle {
  position: absolute;
  right: 42px;
  top: 12px;
  background: none;
  padding: 0 5px;
  border-radius: 3px;
  margin-top: 0 !important;
  color: #007bff;
  font-weight: bold;
  font-size: 1em;
}

.disclaimer-box:not(.collapsed) .disclaimer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.disclaimer-box:not(.collapsed) .disclaimer-toggle {
  position: static;
  display: inline;
  margin-top: 0;
  background: transparent;
  padding: 0;
  white-space: nowrap;
  color: #007bff;
  font-weight: bold;
  font-size: 1em;
}

.disclaimer-toggle {
  transition: color 0.2s ease;
  background: none !important;
  border: none !important;
  /* max-width: 90px; */
  overflow: hidden;
  /* text-overflow: ellipsis; */
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}

.disclaimer-toggle:hover {
  text-decoration: underline;
}

/* submission step */
.signature-container {
  background: #fff;
  /* padding: 20px; */
  /* border: 1px solid #ddd; */
  width: 100%;
  /* max-width: 500px; */
  margin: auto;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
}

#signature-pad {
  border: 2px solid #999999;
  border-radius: 20px;
  width: 100%;
  height: 200px;
  cursor: crosshair;
}

.buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

button {
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
}

#output-image {
  display: block;
  margin-top: 20px;
  max-width: 100%;
  border: 1px solid #ccc;
}

/* Custom Dropdown Styles */
.custom-dropdown {
  position: relative;
  width: 100%;
  font-family: inherit;
}
.dropdown-selected {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 1em;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(60, 60, 100, 0.07);
}
.dropdown-list {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
  z-index: 1000;
  max-height: 320px;
  overflow-y: auto;
  padding: 8px 0 8px 0;
}
.dropdown-search-wrapper {
  padding: 0 12px 8px 12px;
  /* position: sticky; */
  /* top: 0; */
  background: #fff;
  /* z-index: 2; */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid #eee;
}
.dropdown-search {
  width: 100%;
  padding: 7px 10px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  font-size: 1em;
  margin-bottom: 2px;
}
.dropdown-group {
  margin-bottom: 2px;
}
.dropdown-group-header {
  font-weight: 700;
  font-size: 1em;
  padding: 10px 16px;
  background: #f7f7f7;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}
.dropdown-group-header:hover {
  background: #ececec;
}
.dropdown-arrow {
  font-size: 1.1em;
  margin-left: 8px;
  transition: transform 0.2s;
}
.dropdown-group.open .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-group-options {
  background: #fff;
  border-radius: 0 0 8px 8px;
  padding: 0;
  border-top: none;
}
.dropdown-option {
  padding: 10px 28px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #f2f2f2;
}
.dropdown-option:last-child {
  border-bottom: none;
}
.dropdown-option:hover,
.dropdown-option.selected {
  background: #f0f6ff;
  color: #222;
}
@media (max-width: 600px) {
  .dropdown-list {
    max-height: 220px;
  }
}

#clear-btn {
  border: 2px solid #ffe033;
  border-radius: 28px;
  background: #fff;
  color: #222;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 24px;
  margin-top: 0;
  margin-right: 0;
  box-shadow: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
  cursor: pointer;
}
#clear-btn:hover {
  background: #ffe033;
  color: #222;
}

.signature-container .buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 15px;
}

/* star animation css without third party library */

.rotating-ele {
  animation: rotate 3s linear infinite;
}
.rotating-star-container {
  position: relative;
  width: 131px;
  height: 123px;
  margin: 0 auto;
}
.first-largest {
  right: 0;
  bottom: 11px;
  position: absolute;
}
.second-largest {
  left: 0;
  top: 0;
  position: absolute;
}
.third-largest {
  position: absolute;
  bottom: 0;
  left: 0;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* input focus outline none */

input:focus {
  outline: none;
}

input {
  text-indent: 7px;
}

.dropdown-selected .dropdown-arrow {
  display: flex;
  align-items: center;
  margin-left: auto;
  transition: none;
  transform: none;
}

/* By default, .toggle span:before shows 'NO' in yellow. We want 'N' in blue for Night/Day toggle when unchecked, and 'D' in yellow when checked. */

/* Target the Night/Day toggle's label for 'N' (unchecked) */
.day-night.toggle span:before {
  color: blue;
}

/* When checked, revert to yellow (for 'D') */
.cbx:checked + .day-night.toggle span:before {
  color: var(--yellow-theme-color);
}
