.step {
  display: none;
}

.step.active {
  display: block;
}

.stylequiz .title {
  text-align: left;
  font-size: 1.8rem;
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 32px;
  color: var(--color-first);
}

.input-bottom-border:focus {
  border-color: var(--color-first);
}

.stylequiz .form-check {
  min-width: 100px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  padding-left: 0;
  padding-right: 0;
}

.stylequiz .form-check-input {
  display: none;
  /* hide original radio */
}

.stylequiz .form-check-label {
  cursor: pointer;
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-first);
  padding: 8px 16px;
  border: 1px solid var(--bs-border-color);
  border-radius: 20px;
  background: var(--color-dark);
}

.stylequiz .form-check-input:checked+.form-check-label {
  border-color: var(--color-first);
  background: var(--bs-border-color);
  font-weight: 600;
}

.stylequiz .body-type-area .form-check {
  min-width: 100%;
}

.body-type-area .form-check-label {
  padding: 15px 20px;
  border-radius: 12px;
}

/* right side selected value */
.stylequiz .selected-value {
  font-weight: 700;
  color: var(--color-first);
}

.stylequiz .section-header {
  cursor: pointer;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--bs-border-color);
}

.stylequiz .section-header[aria-expanded="true"] {
  border-bottom: none;
}

.stylequiz .section-header span {
  font-weight: 700;
  color: var(--color-first);
}

.stylequiz .form-check-input {
  display: none;
}

.stylequiz .options-wrapper {
  background-color: rgba(0, 0, 0, 0.02);
}

/* Animated dots */
#dots {
  display: inline-block;
  font-size: 1.5rem;
  letter-spacing: 2px;
  animation: blink 1s infinite steps(1);
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.gallery-container .gallery-img {
  width: 500px;
  height: 340px;
  object-fit: contain;
  object-position: center;
  background-color: #FFFFFF;
}

html[data-bs-theme="dark"] .stylequiz img {
  filter: none;
}

@media screen and (max-width: 991px) {
  .gallery-container .gallery-img {
    width: 440px;
    height: 300px;
  }
}

@media screen and (max-width: 767px) {
  .gallery-container .gallery-img {
    width: 100%;
    height: 250px;
  }
}

/* Fade-out animation */
.fade-out {
  animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* @media */
@media screen and (max-width: 991px) {
  .stylequiz .title {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 767px) {
  .stylequiz .title {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 24px;
  }

  .stylequiz .back-btn,
  .stylequiz .next-btn,
  .stylequiz .img-next-btn {
    width: 48%;
  }

  .stylequiz .form-check {
    min-width: 80px;
  }

  .stylequiz .form-check-label {
    font-size: 14px;
  }

  .stylequiz .quiz-icon1 {
    width: 48px;
    height: 48px;
  }

  .stylequiz .section-header {
    padding: 12px 0;
  }

  .stylequiz .section-header h5 {
    font-size: 16.8px;
    font-weight: 600 !important;
  }
}

/*stylegpt-result-ads*/
.stylegpt-ads-img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  object-position: center;
}

.stylegpt-result-ads .product-card {
  border: 1px solid var(--border-medium) !important;
  box-shadow: none !important;
}

.stylegpt-result-ads .product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: center;
  margin: 0 0 12px 0;
}

.stylegpt-adCarousel.owl-theme .item {
  padding: 1px;
}

.stylegpt-adCarousel.owl-theme .owl-nav {
  margin-top: 0 !important
}

.stylegpt-adCarousel.owl-theme .owl-nav [class*=owl-] {
  margin: 0 !important
}

.stylegpt-adCarousel.owl-carousel .owl-nav button span {
  opacity: 0;
  width: 0;
  height: 0
}

.stylegpt-adCarousel.owl-carousel .owl-nav button:focus {
  outline: 0 !important;
  border: 0 !important
}

.stylegpt-adCarousel.owl-carousel .owl-nav button.owl-next::after,
.stylegpt-adCarousel.owl-carousel .owl-nav button.owl-prev::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  top: 10px;
  right: 5px;
  bottom: 5px;
  left: 20px;
  transform: rotate(45deg);
  border-radius: 0;
  border: 2.5px solid var(--color-dark);
  border-left: 0;
  border-bottom: 0;
  margin-left: -9px;
  margin-bottom: 2px
}

.stylegpt-adCarousel.owl-carousel .owl-nav button.owl-next,
.stylegpt-adCarousel.owl-carousel .owl-nav button.owl-prev {
  width: 25px;
  height: 25px;
  position: absolute;
  top: -30px;
  border-radius: 50px;
  background-color: var(--color-first);
}

.stylegpt-adCarousel.owl-carousel .owl-nav button.owl-prev {
  transform: rotate(180deg)
}

.stylegpt-adCarousel.owl-theme .owl-nav .owl-prev {
  right: initial;
  left: auto;
  right: 42px;
}

.stylegpt-adCarousel.owl-theme .owl-nav .owl-next {
  right: 8px;
}

@media screen and (max-width: 767px) {
  .stylegpt-ads-img {
    height: auto;
  }
}

.stylequiz {
  width: 700px;
  margin: 0 auto;
}

.stylegpt-ad-result {
  width: 100% !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stylegpt-result.stylegpt-ad-result {
  width: 100% !important;
  display: block;
  /* flex-direction: column; */
  /* justify-content: center; */
}

@media screen and (max-width: 991px) {
  .stylequiz {
    width: 100% !important;
  }
}

.num {
  height: 24px;
}

/* Upload img */
.upload-card .upload-card-body {
  padding: 20px;
  border-radius: 10px;
  border-color: var(--color-first);
  background: var(--bs-border-color);
}

.upload-card .preview {
  background: transparent;
  height: 175px;
  padding: 0px;
}

.upload-card .preview-card {
  position: relative;
  display: inline-block;
}

.upload-card .preview-card img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.upload-card .close-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--color-first);
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  color: var(--color-dark);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

svg.svg-white-icon path {
  fill: var(--color-dark) !important;
}

/* Upload img */

/*========== ROOM THEME CHECKBOXES ================*/
.theme-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.theme-list li {
  display: inline-block;
  text-align: center;
  width: 25%;
  position: relative;
}

.theme-list input[type="radio"] {
  display: none;
}

.theme-list label {
  border: 1px solid #fff;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 5px;
  cursor: default;
  border-radius: 5px;
  text-align: center;
  background-color: var(--color-fourth);
}

.theme-list label:before {
  background-color: var(--color-fourth);
  color: var(--color-first);
  content: " ";
  display: block;
  border-radius: 50%;
  position: absolute;
  top: 45%;
  left: 45%;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 32px;
  transition-duration: 0.4s;
  transform: scale(0);
  z-index: 99;
}

.theme-list label img {
  height: 150px;
  width: 100%;
  transition-duration: 0.2s;
  transform-origin: 50% 50%;
  border-radius: 5px;
}

.theme-list input:checked+label:before {
  content: "✓";
  font-weight: bold;
  font-size: 0.8rem;
  background-color: var(--color-third);
  color: var(--color-first);
  transform: scale(1);
}

.theme-list input:checked+label img {
  filter: brightness(50%);
  border: 3px solid var(--color-first);
}

.history-theme-section .theme-list input {
  position: absolute;
  z-index: 999;
  top: 10px;
  left: 10px;
  opacity: 0
}

.history-theme-section .theme-list input.showcheckbox {
  opacity: 1
}

.select-history-options input,
.history-theme-section .theme-list input {
  width: 1rem;
  height: 1rem
}

.history-theme-section .theme-list input:checked {
  opacity: 0
}

.history-theme-section .theme-list label img {
  object-fit: contain;
}

.select-history-options {
  display: none;
  opacity: 0
}

.select-history-options.showOption {
  display: flex;
  align-items: center;
  opacity: 1
}

.delete-history-button.disabledButton {
  cursor: not-allowed;
  opacity: 0.5
}

.stylegpt-adCarousel .product-card .product-title {
  height: 38px;
}

.stylegpt-adCarousel .product-card .desc {
  height: 36px;
}

.download-img-block {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 10px;
  z-index: 999;
  display: flex;
  justify-content: flex-end;
}

.download-img-block .download-img-button {
  cursor: pointer;
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

html[data-bs-theme="dark"] .history-theme-section img {
  filter: none !important;
}

.download-img-block .download-img-button svg {
  fill: var(--color-dark);
}

html[data-bs-theme="dark"] .download-img-block .download-img-button {
  background: rgba(255, 255, 255, 0.7);
}

@media only screen and (max-width: 768px) {
  .theme-list li {
    width: 33.3%;
  }
}

@media only screen and (max-width: 450px) {
  .theme-list li {
    width: 50%;
  }

  .select-history-options button {
    font-size: 0.7rem;
    padding: .3rem .575rem;
  }

  .select-history-options input {
    width: 0.9rem;
    height: 0.9rem
  }
}

/*stylegpt-result-ads end*/