@import "../style.css";
@import "../index.css";

body {
  background: rgb(248, 249, 251);
}

/* option-header */
.option-header {
  width: 100%;
}

.option-header-wrapper {
  margin: auto;
  padding-bottom: 20px;
  padding-top: 10px;
}

.logo-wrapper {
  background: transparent;
  width: 200px;
  display: block;
  margin: 0px auto;
  padding-top: 18px;
}

/* option */
.option {
  width: 100%;
  display: flex;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  padding: 0px;
  text-align: left;
  background: rgb(248, 249, 251);
}

.option-wrapper {
  display: flex;
  flex-direction: row;
  padding: 50px;
}

.plan-option {
  position: relative;
  box-shadow: rgb(0 0 0 / 8%) 0px 0px 20px;
  border-radius: 5px;
  background: rgb(255, 255, 255);
  padding: 30px;
  height: fit-content;
  display: flex;
  flex-direction: column;
}

.tag {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #ec3c3c;
  color: rgb(255, 255, 255);
  padding: 1px 8px;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 2.25;
  text-transform: uppercase;
  font-size: 11px;
}

.plan-header {
  font-weight: 600;
  display: grid;
  grid-template-columns: 1fr auto auto;
  color: #333;
}

.old-price {
  color: rgb(181, 187, 198);
  text-decoration-line: line-through;
  padding: 0px 2px;
  font-weight: 400;
}

.new-price {
  color: rgb(31, 38, 45);
  padding: 0px 2px;
  font-weight: 400;
}

.plan-promo {
  padding-top: 10px;
  padding-bottom: 29px;
}

.plan-promo > span {
  font-weight: 400;
  color: #ec3c3c;
  margin-bottom: 0px;
  font-size: 15px;
  line-height: 2.25;
}

.member-btn {
  font-size: 16px;
  font-weight: 500;
  margin: 20px 0px;
  width: 100%;
}

.billing-detail {
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  cursor: pointer;
  line-height: 1.75;
  font-weight: 400;
  font-size: 14px;
  color: rgb(97, 104, 113);
}

.billing-btn {
  margin: 0px 3px;
}

.billing-btn > svg {
  width: 10px;
  height: 10px;
}

.billing-text {
  display: none;
  font-weight: 300;
  text-align: inherit;
  margin-bottom: 0px;
  font-size: 14px;
  line-height: 2.25;
  color: rgb(36, 39, 44);
}

.show-billing-text {
  display: block;
}

.other-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 315px;
  border-top: 2px solid rgb(241, 242, 245);
  margin: 30px 0px;
}

.other-icon {
  width: 45px;
  height: 45px;
  vertical-align: middle;
  border-radius: 100px;
  text-align: center;
  display: inline-block;
  box-sizing: initial;
  background: rgb(248, 249, 251);
  margin-bottom: 30px;
  margin-top: -22.5px;
}

.other-plan-detail {
  display: grid;
  justify-items: center;
}

.other-plan-detail > span {
  font-weight: 400;
  padding: 0px 15px;
  font-size: 16px;
  line-height: 2.25;
  color: rgb(7, 9, 10);
}

/* faq */
.accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
}

.accordion-wrapper {
  padding: 25px 50px;
  background-color: rgb(248, 249, 251);
}

.accordion-item {
  padding-bottom: 10px;
}

.accordion-item-header {
  display: flex;
  align-items: center;
  cursor: pointer;
  background: #fafafa;
  position: relative;
}

.accordion-item:not(:last-child) {
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(181, 187, 198, 0.5);
}

.accordion-item-header > h5 {
  color: #000;
  width: 80%;
}

.accordion-item-header::after {
  content: "\002B ";
  position: absolute;
  right: 1rem;
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: right;
  color: #ec3c3c;
}

.accordion-item-header.active::after {
  content: "\2212";
  color: #ec3c3c;
}

.accordion-item-body {
  background: #fafafa;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion-item-body-content {
  padding: 20px;
  display: flex;
  justify-content: space-between;
}

.plan-details-header {
  color: rgb(97, 104, 113);
  margin: 20px 0;
}

@media (min-width: 768px) {
  .plan-option {
    width: 419px;
  }

  .other-plan {
    width: 759px;
  }

  .other-plan-detail {
    grid-template-columns: 1fr 1fr;
  }

  .accordion-inner-wrapper {
    box-shadow: rgb(0 0 0 / 11%) 0px 0px 20px;
    padding: 45px;
  }

  .option-header-wrapper {
    padding-top: 23px;
  }
}

@media (min-width: 991px) {
  .plan-option {
    margin: 0px 25px;
  }

  .accordion-wrapper {
    width: 850px;
  }
}

@media (max-width: 991px) {
  .option-wrapper {
    flex-direction: column;
    min-width: 315px;
    width: fit-content;
    padding: 0px;
    max-width: 315px;
  }

  .plan-option {
    margin-top: 35px;
    margin-bottom: 25px;
  }
}

.active {
  display: flex;
}
