/* stylelint-disable no-descending-specificity */
/* stylelint-disable selector-class-pattern */
/* stylelint-disable indentation */
.point-redemption-main-header {
  font-size: 2rem !important;
  margin-bottom: 45px;
}

.ph-reward-seats-point-redemption-wrap {
  text-align: center;
  margin-bottom: 75px;
}

.ph-reward-seats-point-redemption-wrap p {
  color: #333;
}

.ph-reward-seats-point-redemption-wrap .tab-header {
  max-width: 600px;
  display: flex;
  margin: 20px auto;
  align-items: center;
}

.ph-reward-seats-point-redemption-wrap .tab-header button {
  border: none;
  background: none;
  padding: 10px;
  position: relative;
}

.ph-reward-seats-point-redemption-wrap .tab-header button.active {
  font-weight: bold;
  background-color: #c00;
  border-radius: 4px;
  color: #fff;
}

.point-redemption-item {
  display: flex;
  align-items: center;
  gap: 32px;
}

.point-redemption-header {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 16px;
  padding: 16px 0;
  min-width: 375px;
}

.point-redemption-subheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.point-redemption-subheader p {
  font-size: 22px;
  color: #333;
}

.point-redemption-subheader .point-redemption-airline-image {
  height: 48px;
  width: 48px;
}

.point-redemption-subheader .point-redemption-airline-image img {
  border-radius: 4px;
  border: 1px solid #ebebeb;
}

.point-redemption-numbers {
  display: flex;
  align-items: center;
  text-align: left;
  justify-content: space-between;
  gap: 4px;
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.point-redemption-numbers p {
  font-size: 12px;
  color: #333;
}

.equivalent-amount {
  margin-top: 24px;
  text-align: left;
}

.equivalent-amount h3 {
  font-size: 2rem !important;
}

.equivalent-amount h3.equivalent-price {
  font-weight: 400 !important;
}

.separator {
  border-top: 2px solid #ccc;
  flex-grow: 1;
  height: 1px;
  margin: 0 20px;
}

@media (max-width: 767px) {
  .point-redemption-item {
    flex-direction: column;
    gap: 12px;
  }

  .point-redemption-content {
    margin: 12px 0;
    min-width: 340px;
  }

  .point-redemption-header {
    min-width: max-content;
  }

  h3 {
    font-size: 1rem !important;
  }
}

/* Comparison image */
.img-comp-container {
  position: relative;
  height: 550px;
  width: 50%;
}

.img-comp-img {
  position: absolute;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.img-comp-img img {
  display: block;
  vertical-align: middle;
  width: 610px;
  height: 520px;
  max-width: none;
  object-fit: cover;
  border-radius: 16px;
}

.img-comp-slider {
  position: absolute;
  z-index: 9;
  cursor: ew-resize;

  /* set the appearance of the slider: */
  width: 40px;
  height: 40px;
  background-color: #c00;
  animation: pulse-animation 3s infinite;
  border-radius: 50%;
  box-shadow: 0 0 1px 1px rgb(0 0 0 / 80%);
}

.img-comp-slider .fa-left-right {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0 rgb(0 0 0 / 80%);
  }

  100% {
    box-shadow: 0 0 0 20px rgb(0 0 0 / 0%);
  }
}

/* Flip card */
.flip-card {
  perspective: 1000px;
  width: 450px;
  height: 275px;
  background-color: transparent;
}

.flip-card h3 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

.flip-card p {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card.activate_better .flip-card-inner {
  transform: rotateY(180deg);
  backface-visibility: hidden;
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  border: 2px solid #ccc;
  border-radius: 16px;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  padding: 24px 36px;
  background-color: #fff;
}

.flip-card-back {
  transform: rotateY(180deg);
}

.redemption-tags,
.equivalent-tags {
  display: flex;
  gap: 8px;
  position: absolute;
  bottom: 24px;
}

.redemption-tags .tag,
.equivalent-tags .tag {
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 8px;
  color: #fff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.redemption-tags .tag {
  background: #3ed5ac;
  color: #02553f;
}

.equivalent-tags .tag {
  background: #e21836;
}

@media (max-width: 767px) {
  .img-comp-container {
    height: 200px;
    min-width: 340px;
  }

  .img-comp-img {
    width: 340px;
  }

  .img-comp-img img {
    width: 340px;
    height: 210px;
  }

  .flip-card {
    width: 340px;
    height: 250px;
  }

  .img-comp-slider {
    width: 20px;
    height: 20px;
  }

  .redemption-tags,
  .equivalent-tags {
    margin-top: 1rem;
    gap: 2px;
    position: inherit;
  }

  .redemption-tags .tag,
  .equivalent-tags .tag {
    font-size: 12px;
  }
}
