@charset "UTF-8";

* {
  box-sizing: border-box;
  outline: none;
}

body,
header,
footer,
aside,
nav,
section,
article,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
ul,
ol,
li,
strong,
img {
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: top;
}

a {
  text-decoration: none;
  cursor: pointer;
}

button {
  background-color: transparent;
  cursor: pointer;
}

textarea {
  vertical-align: top;
}

.errormsg {
  color: #f40000;
  font-size: 0.875rem;
  line-height: 1;
  margin-top: 10px;
}

.errormsg:empty {
  margin: 0;
}

.transparent-image {
  opacity: 0.5;
}

body,
input,
select,
button {
  font-family: "Noto Sans TC", "\5FAE\8EDF\6B63\9ED1\9AD4", sans-serif;
}

.wrapper {
  position: relative;
  width: 100%;
  max-width: 575px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #F5F5F5;
}

.detail_wrapper {
  position: relative;
  width: 100%;
  max-width: 575px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: white;
  /* margin-bottom: 100px; */
}

#otp-wrapper {
  display: none;
}

#form-wrapper {
  display: none;
}

#form-wrapper button.optional-fields-collapse {
  width: 100%;
  font-size: 1.625rem;
  font-weight: bold;
  border: none;
  text-align: left;
  padding-left: 0;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

#form-wrapper button.optional-fields-collapse::after {
  content: "\25BC";
  position: absolute;
  right: 0.5rem;
}

#form-wrapper button.optional-fields-collapse.active::after {
  content: "\25B2";
}

.header {
  padding: 0 10px;
  background-color: #000000;
}

.leading-relaxed ul {
  list-style: disc;
  width: 90%; 
  margin-left: 10%; 
}

#terms-content ul{
  list-style: disc;
  width: 90%; 
  margin-left: 10%; 
}

.header_div {
  min-height: 82px;
}

.header_logo {
  max-width: 150px;
}

.header_profile_icon {
  max-width: 36px;
}

.white_btn_content {
  color: white;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.title_header {
  position: absolute;
  background-color: transparent;
  z-index: 100;
}

.on_header_title_header {
  position: static;
  background-color: transparent;
  z-index: 100;
}

.title_header_icon_div {
  width: 45px;
}

.title_header img {
  max-width: 45px;
}

.header_title_name {
  width: 100%;
  text-align: center;
}

.footer {
  position: fixed; /* Keeps the footer always visible */
  bottom: 0;
  left: 50%;
  transform: translateX(-50%); /* Centers footer inside .wrapper */
  width: 100%;
  max-width: 575px; /* Matches .wrapper width */
  z-index: 1000; /* Ensures footer is above other elements */
  height: 80px;
  border-radius: 2rem 2rem 0 0;
  box-shadow: 0px -4px 6px rgba(0, 0, 0, 0.1);
}

.title {
  font-size: 1.875rem;
  line-height: 1.2;
  margin-bottom: 30px;
}

.koc-channel-row {
  align-items: center;
}

.koc-input-underline {
  border: none;
  border-bottom: 2px solid black;
  background: transparent;
  width: 100%;
  padding: 0.25rem 0;
  padding-right: 60px;
}

.koc-input-underline:focus {
  outline: none;
  box-shadow: none;
  border-color: black;
}

.koc-change-link {
  position: absolute;
  right: 0;
  bottom: 0;
  text-decoration: underline;
  cursor: pointer;
}

.koc-input-container {
  position: relative;
  word-wrap: break-word;
}

.koc-channel-img {
  max-height: 70px;
  object-fit: contain;
}


@media (max-width: 575px) {
  .title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
}

.banner {
  position: relative;
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: center;
          align-items: center;
  /* padding: 10px 30px 20px; */
}

@media (max-width: 479px) {
  .banner {
    /* padding: 10px 10px 15px; */
  }
}

.banner img {
  /* max-width: 47.5%; */
  max-width: 100%;
}

@media (max-width: 575px) {
  .banner img {
    max-width: 100%;
  }
}

.banner__content {
  max-width: 52.5%;
  padding: 0 10px;
}

@media (max-width: 575px) {
  .banner__content {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 0;
  }
}

.banner__content h3 {
  font-size: 2.1875rem;
  letter-spacing: 0.12em;
}

@media (max-width: 575px) {
  .banner__content h3 {
    font-size: 1.5rem;
  }
}

.banner__content h4 {
  font-size: 1.125rem;
}

@media (max-width: 575px) {
  .banner__content h4 {
    font-size: 1rem;
  }
}

.banner__content h5 {
  font-size: 1.125rem;
}

@media (max-width: 575px) {
  .banner__content h5 {
    font-size: 1rem;
  }
}

.banner__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 479px) {
  .banner__bar {
    height: 5px;
  }
}

.main {
  padding: 70px 30px;
}

.detail_main {
  padding: 10px 30px;
  margin-bottom: 120px;
}

@media (max-width: 575px) {
  .main {
    padding: 35px 15px;
  }
}

.footer_range {
  margin-bottom: 120px;
}

.form__phonevalid {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
          justify-content: space-between;
}

.form__phonevalid-selectbox {
  position: relative;
  width: 180px;
}

@media (max-width: 479px) {
  .form__phonevalid-selectbox {
    width: 80px;
  }
}

.form__phonevalid-selectbox::after {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 6px 0 6px;
  border-color: #333333 transparent transparent transparent;
}

.form__phonevalid-selectbox select {
  width: 100%;
  height: 55px;
  font-size: 1.3333rem;
  text-align: center;
  -moz-text-align-last: center;
       text-align-last: center;
  padding: 0 22px 0 10px;
  border-color: #333333;
  border-width: 0 0 2px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

@media (max-width: 575px) {
  .form__phonevalid-selectbox select {
    font-size: 1rem;
  }
}

.form__phonevalid-inputbox {
  width: calc(100% - 200px);
}

@media (max-width: 479px) {
  .form__phonevalid-inputbox {
    width: calc(100% - 90px);
  }
}

.form__phonevalid-inputbox input {
  width: 100%;
  height: 55px;
  font-size: 1.3333rem;
  border-color: #333333;
  border-width: 0 0 2px;
}

@media (max-width: 575px) {
  .form__phonevalid-inputbox input {
    font-size: 1rem;
  }
}

.form__main {
  margin-top: 30px;
}

@media (max-width: 575px) {
  .form__main {
    margin-top: 20px;
  }
}

.form__row {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
          justify-content: space-between;
}

.form__row:nth-child(n+2) {
  margin-top: 30px;
}

.form__label {
  width: 100%;
  color: #333333;
  font-size: 1.625rem;
  line-height: 1.3;
}

@media (max-width: 575px) {
  .form__label {
    font-size: 1.25rem;
  }
}

.form__label span {
  font-size: 0.875rem;
}

.form__inputbox-full {
  width: 100%;
}

.form__inputbox input {
  width: 100%;
  height: 50px;
  font-size: 1.25rem;
  border-color: #333333;
  border-width: 0 0 2px;
}

@media (max-width: 575px) {
  .form__inputbox input {
    height: 40px;
    font-size: 1rem;
  }
}

.form__inputbox-referrer-phone {
  width: 65%;
}

.form__inputbox input {
  width: 100%;
  height: 50px;
  font-size: 1.25rem;
  border-color: #333333;
  border-width: 0 0 2px;
  text-align: center;
}

@media (max-width: 575px) {
  .form__inputbox input {
    height: 40px;
    font-size: 1rem;
  }
}

.form__selectbox {
  position: relative;
}

.form__selectbox::after {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 6px 0 6px;
  border-color: #333333 transparent transparent transparent;
}

.form__selectbox-birthday {
  width: calc(50% - 15px);
}

.form__selectbox-birthday select {
  text-align: center;
  -moz-text-align-last: center;
       text-align-last: center;
  padding: 0 22px 0 10px;
}

@media (max-width: 575px) {
  .form__selectbox-birthday {
    width: calc(50% - 5px);
  }
}

.form__selectbox-age {
  width: 100%;
}

.form__selectbox-age select {
  text-align: center;
  -moz-text-align-last: center;
       text-align-last: center;
  padding: 0 22px 0 10px;
}

.form__selectbox-country {
  width: 100%;
}

.form__selectbox-country select {
  text-align: center;
  -moz-text-align-last: center;
       text-align-last: center;
  padding: 0 22px 0 10px;
}

.form__selectbox-referrer-country-code {
  width: 35%;
}

.form__selectbox-referrer-country-code select {
  text-align: center;
  -moz-text-align-last: center;
       text-align-last: center;
  padding: 0 22px 0 10px;
}

.form__selectbox select {
  width: 100%;
  height: 50px;
  font-size: 1.25rem;
  padding: 0 22px 0 10px;
  border-color: #333333;
  border-width: 0 0 2px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

@media (max-width: 575px) {
  .form__selectbox select {
    height: 40px;
    font-size: 1rem;
  }
}

.form__notice {
  margin-top: 35px;
}

@media (max-width: 575px) {
  .form__notice {
    margin-top: 20px;
  }
}

.form__notice-title {
  color: #333333;
  font-size: 1rem;
  line-height: 1.3;
}

.form__notice-title span {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #333333;
  border-radius: 4px;
}

.form__notice-title span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 1px;
  width: 12px;
  height: 13px;
  background-image: url(/images/tick.png?8b26b2251ae82cb199438345c6be94ef);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.form__checkbox {
  margin-top: 30px;
}

@media (max-width: 575px) {
  .form__checkbox {
    margin-top: 20px;
  }
}

.form__checkbox-item:nth-child(n+2) {
  margin-top: 20px;
}

.form__checkbox-item input {
  display: none;
}

.form__checkbox-item input:checked + label::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 4px;
  width: 18px;
  height: 20px;
  background-image: url(/images/tick.png?8b26b2251ae82cb199438345c6be94ef);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.form__checkbox-item label {
  position: relative;
  color: #333333;
  font-size: 1.25rem;
  line-height: 1.5;
  padding-left: 40px;
}

.form__checkbox-item label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border: 2px solid #333333;
  border-radius: 4px;
}

@media (max-width: 575px) {
  .form__checkbox-item label {
    font-size: 1rem;
    line-height: 1.875;
    padding-left: 30px;
  }
}

.submit__box {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  margin-top: 65px;
}

@media (max-width: 575px) {
  .submit__box {
    margin-top: 25px;
  }
}

.submit__btn {
  width: 100%;
  max-width: 420px;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  padding: 12px 15px;
  border: 3px solid #333333;
  border-radius: 12px;
  -webkit-transition: background-color 0.4s;
  transition: background-color 0.4s;
}

.submit__btn:hover {
  background-color: #333333;
}

.submit__btn:hover p {
  color: #ffffff;
}

.submit__btn p {
  position: relative;
  color: #333333;
  font-size: 1.75rem;
  padding: 0 55px;
  -webkit-transition: color 0.4s;
  transition: color 0.4s;
}

.submit__btn p::after {
  content: "";
  position: absolute;
  top: calc(50% - 13px);
  right: 0;
  width: 16px;
  height: 26px;
  background-image: url(/images/arrow.png?935590b0844ecece3e66c617611a841b);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 575px) {
  .submit__btn {
    padding: 10px;
  }

  .submit__btn p {
    font-size: 1.25rem;
  }
}

.verification input {
  width: 100%;
  height: 55px;
  font-size: 1.3333rem;
  text-align: center;
  border-color: #333333;
  border-width: 0 0 2px;
}

.verification input::-webkit-input-placeholder {
  color: #999;
}

.verification input::-moz-placeholder {
  color: #999;
}

.verification input:-ms-input-placeholder {
  color: #999;
}

.verification input::-ms-input-placeholder {
  color: #999;
}

.verification input::placeholder {
  color: #999;
}

@media (max-width: 575px) {
  .verification input {
    font-size: 1rem;
  }
}

.resend {
  text-align: center;
  margin-top: 35px;
}

@media (max-width: 575px) {
  .resend {
    margin-top: 15px;
  }
}

.resend p {
  font-size: 1.375rem;
  line-height: 1.5;
}

@media (max-width: 575px) {
  .resend p {
    font-size: 1rem;
  }
}

.resend a {
  display: inline-block;
  color: #faae4c;
  font-size: 1.375rem;
  margin-top: 12px;
}

.resend a[disabled] {
  color: #333333;
  cursor: not-allowed;
}

@media (max-width: 575px) {
  .resend a {
    font-size: 1rem;
  }
}

.registration {
  position: relative;
  height: 85px;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
  padding-bottom: 10px;
}

@media (max-width: 479px) {
  .registration {
    height: 60px;
    padding-bottom: 5px;
  }
}

.registration h2 {
  color: #333333;
  font-size: 1.875rem;
  line-height: 1;
}

@media (max-width: 479px) {
  .registration h2 {
    font-size: 1.5rem;
  }
}

.titlecall {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: justify;
          justify-content: space-between;
}

.titlecall__titlebox {
  width: 100%;
  margin-bottom: 20px;
}

.titlecall__titlebox h3 {
  color: #333333;
  font-size: 1.625rem;
  line-height: 1;
}

@media (max-width: 575px) {
  .titlecall__titlebox h3 {
    font-size: 1.5rem;
  }
}

.titlecall__item input {
  display: none;
}

.titlecall__item input:checked + label {
  color: #faae4c;
  border-bottom: 3px solid #faae4c;
}

.titlecall__item label {
  color: #333333;
  font-size: 1.625rem;
  line-height: 1;
  padding-bottom: 5px;
  border-bottom: 3px solid transparent;
}

@media (max-width: 575px) {
  .titlecall__item label {
    font-size: 1.25rem;
  }
}

.address {
  margin-top: 50px;
}

@media (max-width: 575px) {
  .address {
    margin-top: 30px;
  }
}

.address__title {
  color: #333333;
  font-size: 1.625rem;
  line-height: 1;
  margin-bottom: 20px;
}

@media (max-width: 575px) {
  .address__title {
    font-size: 1.375rem;
    margin-bottom: 10px;
  }
}

.card {
  position: relative;
  padding: 60px 50px;
  background-color: #f3f3f3;
}

@media (max-width: 575px) {
  .card {
    padding: 30px;
  }
}

.card__main {
  position: relative;
  text-align: center;
  padding: 40px 50px 50px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 10px 5px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

@media (max-width: 575px) {
  .card__main {
    padding: 20px 25px 25px;
  }
}

.card__main-logo {
  display: inline-block;
  width: 100%;
  max-width: 220px;
}

.card__main-name {
  color: #333333;
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 8px;
}

.card__main-lv {
  display: inline-block;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.7;
  padding: 0 25px;
  background-color: #faae4c;
  border-radius: 6px;
}

.card__main-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background-image: url(/images/orange_bar.png?cea922bdbf278770b4f1a1cf6bd68d28);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 575px) {
  .card__main-bar {
    height: 8px;
  }
}

.card__main hr {
  margin: 25px 0;
  border-color: #faae4c;
}

@media (max-width: 575px) {
  .card__main hr {
    margin: 15px 0;
  }
}

.card__score {
  width: 100%;
  max-width: 290px;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.8125;
  text-align: center;
  margin: 35px auto 0;
  background-color: #faae4c;
  border-radius: 17px;
}

.card__score::before {
  content: "\7A4D\5206\7D50\9918\FF1A";
}

@media (max-width: 575px) {
  .card__score {
    font-size: 1.5rem;
    margin-top: 15px;
  }
}

.card__referee-count {
  width: 100%;
  max-width: 290px;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.8125;
  text-align: center;
  margin: 35px auto 0;
  background-color: #faae4c;
  border-radius: 17px;
}

.card__referee-count::before {
  content: "\63A8\85A6\597D\53CB\6578\76EE\FF1A";
}

@media (max-width: 575px) {
  .card__referee-count {
    font-size: 1.5rem;
    margin-top: 15px;
  }
}

.card__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background-image: url(/images/orange_bar.png?cea922bdbf278770b4f1a1cf6bd68d28);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 575px) {
  .card__bar {
    height: 5px;
  }
}

.barcode {
  text-align: center;
  margin-bottom: 35px;
}

@media (max-width: 575px) {
  .barcode {
    margin-bottom: 20px;
  }
}

.member__btnbox {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
}

.member__btn {
  display: block;
  width: 100%;
  max-width: 375px;
  color: #ffffff;
  font-size: 1.75rem;
  line-height: 2;
  text-align: center;
  background-color: #f06036;
  border-radius: 16px;
}

.member__btn:nth-child(n+2) {
  margin-top: 15px;
}

@media (max-width: 575px) {
  .member__btn {
    font-size: 1.5rem;
  }
}

.member__score {
  text-align: center;
  padding: 20px 20px 10px;
}

@media (max-width: 575px) {
  .member__score {
    padding: 15px 15px 5px;
  }
}

.member__score p {
  color: #f06036;
  font-size: 1.875rem;
  font-weight: bold;
  line-height: 1;
}

.member__score p::before {
  content: "\76EE\524D\7A4D\5206\FF1A";
  color: #000000;
}

.member__score p::after {
  content: "\5206";
  color: #f06036;
}

@media (max-width: 575px) {
  .member__score p {
    font-size: 1.5rem;
  }
}

.member__tabs {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
}

.member__tab {
  position: relative;
  width: calc((100% - 10px) / 3);
  color: #aaa;
  font-size: 1.5rem;
  line-height: 1;
  text-align: center;
  display: block;
  padding: 8px 5px 12px;
}

.member__tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background-color: #aaa;
  border-radius: 0.5rem;
}

.member__tab--active {
  color: #f06036;
}

.member__tab--active::after {
  background-color: #f06036;
}

@media (max-width: 575px) and (min-width: 376px) {
  .member__tab {
    font-size: 1rem;
  }
}

@media (max-width: 375px) {
  .member__tab {
    font-size: 0.875rem;
  }
}

.point__remain {
  text-align: center;
}

.point__remain .card__score {
  margin: 30px auto;
}

@media (max-width: 575px) {
  .point__remain .card__score {
    margin: 20p auto;
  }
}

.point__theader {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: start;
          align-items: flex-start;
}

.point__th {
  color: #f06036;
  font-size: 1.75rem;
  line-height: 1;
  text-align: center;
  padding: 0 10px;
}

@media (max-width: 575px) {
  .point__th {
    font-size: 1.25rem;
  }
}

.point__th:first-child {
  width: 40%;
}

.point__th:nth-child(2) {
  width: 60%;
}

.point__bar {
  width: 100%;
  height: 6px;
  margin-top: 20px;
  background-image: url(/images/orange_bar.png?cea922bdbf278770b4f1a1cf6bd68d28);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 575px) {
  .point__bar {
    margin-top: 15px;
  }
}

.point__tbody-row {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: start;
          align-items: flex-start;
  margin-top: 25px;
}

@media (max-width: 575px) {
  .point__tbody-row {
    margin-top: 15px;
  }
}

.point__td {
  color: #333333;
  font-size: 1.33rem;
  line-height: 1;
  text-align: center;
  padding: 0 10px;
}

.point__td:first-child {
  width: 40%;
}

.point__td:first-child::after {
  content: "\5206";
}

.point__td:nth-child(2) {
  width: 60%;
}

@media (max-width: 575px) {
  .point__td {
    font-size: 1rem;
  }
}

.term__topbar {
  width: 100%;
  height: 10px;
  background-image: url(/images/orange_bar.png?cea922bdbf278770b4f1a1cf6bd68d28);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 575px) {
  .term__topbar {
    height: 5px;
  }
}

.term__blocks .main:nth-child(n+2) {
  border-top: 1px solid #333333;
}

.term__title {
  color: #f06036;
  font-size: 1.875rem;
  line-height: 1;
  margin-bottom: 25px;
}

@media (max-width: 575px) {
  .term__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
  }
}

.term__subtitle {
  color: #333333;
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 20px;
}

@media (max-width: 575px) {
  .term__subtitle {
    margin-bottom: 10px;
  }
}

.term__list {
  padding-left: 1em;
}

.term__list li {
  color: #333333;
  font-size: 1rem;
  line-height: 1.5;
}

.term__list li:nth-child(n+2) {
  margin-top: 15px;
}

.term__text {
  color: #333333;
  font-size: 1rem;
  line-height: 1.5;
}

.thanks__title {
  color: #333333;
  font-size: 2rem;
  line-height: 1.8;
  text-align: center;
}

@media (max-width: 575px) {
  .thanks__title {
    font-size: 1.5rem;
    line-height: 1.5;
  }
}

.qrcode {
  text-align: center;
  margin: 75px auto 0;
}

@media (max-width: 575px) {
  .qrcode {
    margin: 40px auto 0;
  }
}

.qrcode img {
  max-width: 270px;
}

.qrcode p {
  color: #333333;
  font-size: 1.33rem;
  font-weight: bold;
  line-height: 1.7;
  text-align: center;
  margin-top: 15px;
}

@media (max-width: 575px) {
  .qrcode p {
    font-size: 1rem;
  }
}

.gift {
  padding: 10px 25px;
}

.gift__itembox {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gift__name {
  color: #000000;
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.gift__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border-radius: 0.5rem;
  box-sizing: border-box;
  box-shadow: var(--bs-box-shadow-sm) !important;
}

.gift__imgbox {
  width: 100%;
  display: flex; 
  justify-content: center; 
  align-items: center;
}

.gift__imgbox img {
  width: 100%;
  border-radius: 0.5rem;
  border-radius: 5px 5px 0 0;
}

.gift__content {
  flex-grow: 1; /* Makes it take up remaining space */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes redemption div to the bottom */
  width: 100%;
  padding: 10px 15px;
}

.gift__content h3 {
  color: #000000;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.gift__content p {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

@media (max-width: 575px) {
  .gift__content p {
    font-size: 1rem;
  }
}

.gift__content span {
  max-width: 100px;
  display: block;
  color: #ffffff;
  font-size: 14px;
  text-align: center;
  border-radius: 2rem;
  padding: 1px 15px;
  text-decoration: none;
}

.gift__content span[disabled] {
  max-width: 100px;
  font-size: 14px;
  background-color: #d7d7d7;
  cursor: default;
  border-radius: 2rem;
  padding: 1px 15px;
  display: block;
  text-decoration: none;
  text-align: center;
}

.gift__content span[disabled]::after {
  display: none;
}

@media (max-width: 575px) {
}

.redemption_gift__banner {
  display: flex; 
  justify-content: center; 
  align-items: center;
  margin-bottom: 20px;
  max-height: 325px;
  overflow: hidden;
}

.redemption_gift__banner img {
  max-height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

.gift__info-title {
  color: #000000;
  font-size: 1.5rem;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 10px;
}

@media (max-width: 575px) {
  .gift__info-title {
    font-size: 1.25rem;
  }
}

.gift__info-score {
  text-align: center;
}

.gift__info-score P {
  display: -webkit-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  align-items: center;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: bold;
  padding: 5px 20px;
  background-color: #f99b39;
  border-radius: 10px;
}

.gift__info-score P::before {
  content: "\6240\9700\7A4D\5206\FF1A";
  font-size: 1.625rem;
  font-weight: 400;
}

@media (max-width: 575px) {
  .gift__info-score P {
    font-size: 1.5rem;
    padding: 10px;
  }

  .gift__info-score P::before {
    font-size: 1.25rem;
  }
}

.gift__detail {
  margin-top: 20px;
}

.gift__detail-item:nth-child(n+2) {
  margin-top: 10px;
}

.gift__detail-item--open .gift__detail-btn::after {
  display: none;
}

.gift__detail-item--open .gift__detail-hidden {
  display: block;
}

.gift__detail-btn {
  position: relative;
  display: block;
  color: #000000;
  font-size: 1.5rem;
  line-height: 1;
  padding: 12px 50px 12px 30px;
  border: 1px solid #000000;
  border-radius: 4px;
}

.gift__detail-btn::before {
  content: "";
  position: absolute;
  width: 21px;
  height: 3px;
  right: 17px;
  top: calc(50% - 1px);
  background-color: #000000;
}

.gift__detail-btn::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 21px;
  right: 26px;
  top: calc(50% - 10px);
  background-color: #000000;
}

@media (max-width: 575px) {
  .gift__detail-btn {
    font-size: 1rem;
    padding: 10px 50px 10px 20px;
  }
}

.gift__detail ul{
  list-style: auto;
  width: 90%;
  margin-left: 10%;
}

.gift__detail-hidden {
  display: none;
  padding: 20px;
}

.gift__detail-hidden ul {
  padding-left: 1.5em;
}

.gift__detail-hidden ul li {
  color: #000000;
  font-size: 1rem;
  line-height: 1.2;
}

.gift__detail-hidden ul li:nth-child(n+2) {
  margin-top: 5px;
}

.gift__confirm {
				
  text-align: center;
  margin-top: 40px;
}

.gift__confirm img {
  max-width: 50px;
  margin-bottom: 10px;
}

.gift__confirm p {
  color: #000000;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.gift__confirm-btnbox {
  margin-top: 30px;
}

.gift__confirm-btn {
  width: 100%;
  max-width: 350px;
  height: 46px;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
  margin: 0 auto;
  border: 1px solid #000000;
  border-radius: 15px;
}

.gift__confirm-btn span {
  position: relative;
  display: inline-block;
  color: #000000;
  font-size: 1.375rem;
  padding: 0 45px;
}

.gift__confirm-btn span::after {
  content: "";
  position: absolute;
  right: 0;
  top: calc(50% - 9px);
  width: 11px;
  height: 18px;
  background-image: url(/assets/dermacept/images/confirm_arrow.png?1e277067225f52e0cf6b5b026b1855db);
  background-position: center;
  background-repeat: no-repeat;
}

.gift__confirm-cancel {
  width: 100%;
  max-width: 350px;
  height: 46px;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
  color: #000000;
  font-size: 1.375rem;
  margin: 20px auto 0;
  border: 1px solid #000000;
  border-radius: 15px;
}

@media (max-width: 575px) {
}

.gift__form-row {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: start;
          align-items: flex-start;
}

.gift__form-row:nth-child(n+2) {
  margin-top: 20px;
}

.gift__form-row label {
  width: 140px;
  display: block;
  color: #000000;
  font-size: 1.5rem;
  line-height: 52px;
}

@media (max-width: 575px) {
  .gift__form-row label {
    width: 80px;
    font-size: 1rem;
    line-height: 38px;
  }
}

.gift__form-box {
  width: calc(100% - 140px);
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: justify;
          justify-content: space-between;
}

.gift__form-box select {
  width: 100%;
  height: 52px;
  color: #000000;
  font-size: 1.5rem;
  text-align: center;
  -moz-text-align-last: center;
       text-align-last: center;
  padding: 0 30px 0 20px;
  border: 1px solid #000000;
  border-radius: 4px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

@media (max-width: 575px) {
  .gift__form-box {
    width: calc(100% - 80px);
  }

  .gift__form-box select {
    height: 38px;
    font-size: 1rem;
  }
}

.gift__form-select {
  position: relative;
}

.gift__form-select::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 10px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 9px 0 9px;
  border-color: #000000 transparent transparent transparent;
}

@media (max-width: 575px) {
  .gift__form-select::after {
    top: 13px;
  }
}

.gift__form-btn {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.gift__form-minus::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 3px;
  top: calc(50% - 1px);
  left: calc(50% - 7px);
  background-color: #000000;
}

.gift__form-plus::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 3px;
  top: calc(50% - 1px);
  left: calc(50% - 7px);
  background-color: #000000;
}

.gift__form-plus::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 14px;
  top: calc(50% - 7px);
  left: calc(50% - 1px);
  background-color: #000000;
}

.gift__form-amount {
  width: calc(100% - 86px);
  color: #000000;
  font-size: 1.25rem;
  text-align: center;
  border: 0;
}

.gift__form-amount::-webkit-outer-spin-button,
.gift__form-amount::-webkit-inner-spin-button {
  -webkit-appearance: none;
          appearance: none;
}

.gift__form-submit {
  text-align: center;
  margin-top: 50px;
}

.gift__form-submit button {
  position: relative;
  display: block;
  width: 200px;
  color: #ffffff;
  font-size: 1.75rem;
  line-height: 60px;
  margin: 0 auto;
  background-color: #f06036;
  border: 0;
  border-radius: 17px;
}

.gift__form-submit a {
  position: relative;
  display: block;
  width: 200px;
  color: #ffffff;
  font-size: 1.75rem;
  line-height: 60px;
  margin: 0 auto;
  background-color: #f06036;
  border: 0;
  border-radius: 17px;
}

@media (max-width: 575px) {
  .gift__form-submit {
    margin-top: 30px;
  }

  .gift__form-submit button,
  .gift__form-submit a {
    width: 190px;
    font-size: 1rem;
    line-height: 40px;
    border-radius: 12px;
  }
}

.redeem__info {
  padding: 15px 25px;
  margin: 30px 0 50px;
  background-color: #fff4e7;
  border-radius: 12px;
}

@media (max-width: 575px) {
  .redeem__info {
    margin: 20px 0;
  }
}

.redeem__info-item {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
}

.redeem__info-item:nth-child(n+2) {
  margin-top: 15px;
}

.redeem__info-icon {
  width: 25px;
  text-align: center;
}

.redeem__info-icon img {
  max-height: 30px;
}

.redeem__info-text {
  width: 100%;
  max-width: calc(100% - 25px);
  color: #000000;
  font-size: 1.5rem;
  line-height: 1.2;
  padding-left: 10px;
}

@media (max-width: 575px) {
  .redeem__info-text {
    font-size: 1rem;
  }
}

.confirm {
  margin-top: 40px;
}

.confirm__title {
  color: #000000;
  font-size: 1.375rem;
  line-height: 1;
  text-align: center;
  margin-bottom: 10px;
}

.confirm__main {
  position: relative;
  height: 65px;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
  margin-bottom: 5px;
  border: 2px solid #f06036;
  border-radius: 20px;
  overflow: hidden;
}

.confirm__main img {
  max-height: 25px;
}

@media (max-width: 575px) {
  .confirm__main {
    height: 46px;
    border-radius: 15px;
  }

  .confirm__main img {
    max-height: 20px;
  }
}

.confirm__notice {
  color: #f06036;
  font-size: 1rem;
  line-height: 1.2;
  padding-left: 20px;
}

.confirm__btn {
  position: absolute;
  left: 0;
  top: 0;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
  width: 105px;
  height: 100%;
  background-color: #f06036;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.confirm__btn::before {
  content: "";
  display: block;
  width: 19px;
  height: 28px;
  background-image: url(/assets/dermacept/images/arrow_white.png?d6136f41898a5d0d35600d7ff0e50841);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 575px) {
  .confirm__btn {
    width: 78px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
  }
}

.confirm__progress {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 99999;
  height: 100%;
  background-color: #f06036;
}

.confirm #store-passcode {
  display: block;
  width: 100%;
  margin: 0 auto;
  border-radius: 0.5rem;
  height: 2.5rem;
  padding: 0.5rem 1rem;
}

.double_range_slider_box {
  position: relative;
  width: 500px;
  display: inline-block;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  border-radius: 20px;
}
 
.double_range_slider {
  width: 90%;
  height: 10px;
  position: relative;
  background-color: #dddddd;
  border-radius: 20px;
}
.range_track {
  height: 100%;
  position: absolute;
  border-radius: 20px;
}
 
.minvalue {
  position: absolute;
  padding: 6px 15px;
  border-radius: 1rem;
  color: white;
  bottom: 0;
  transform: translate(0, -100%);
  left: 0;
  font-size: 1rem;
  transition: left 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: left, transform;
}

.maxvalue {
  position: absolute;
  padding: 6px 15px;
  border-radius: 1rem;
  color: white;
  top: 0;
  transform: translate(0, 100%);
  right: 0;
  font-size: 1rem;
  transition: right 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: right, transform;
}

input[type=range] {
  position: absolute;
  width: 100%;
  height: 5px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  top: 50%;
  transform: translateY(-50%);
}

input[type=range]::-webkit-slider-thumb {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  pointer-events: auto;
  -webkit-appearance: none;
  cursor: pointer;
  margin-bottom: 1px;
}

input[type=range]::-moz-range-thumb {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  pointer-events: auto;
  -moz-appearance: none;
  cursor: pointer;
  margin-top: 30%;
}

.display_flex {
  display: flex;
  padding: 70px 0 70px 0;
}

.range_title {
  width: 20%;
}

.coupon {
  margin: 0 -30px;
}

@media (max-width: 575px) {
  .coupon {
    margin: 0 -15px;
  }
}

.coupon__notice {
  padding-bottom: 15px;
  margin-bottom: 40px;
  border-bottom: 2px solid #000000;
}

.coupon__notice h3 {
  color: #000000;
  font-size: 1.875rem;
  line-height: 1;
  margin-bottom: 12px;
}

.coupon__notice ul {
  padding-left: 1.5em;
}

.coupon__notice ul li {
  color: #000000;
  font-size: 1rem;
  line-height: 1.2;
}

.coupon__term {
  margin-top: 20px;
}

.coupon__term-block:nth-child(n+2) {
  margin-top: 15px;
}

.coupon__term h5 {
  color: #000000;
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 10px;
}

.coupon__term ul {
  padding-left: 1.5em;
}

.coupon__term ul li {
  color: #000000;
  font-size: 1rem;
  line-height: 1.2;
}

.coupon__term ul li:nth-child(n+2) {
  margin-top: 5px;
}

.receive {
  margin-top: 20px;
}

.receive__time {
  color: #000000;
  font-size: 1.25rem;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 10px;
}

.receive__time span {
  font-size: 3.5rem;
}

.receive__time span::after {
  content: "\5206\9418";
}

.receive__notice {
  color: #000000;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

.receive__notice span {
  font-size: 1.25rem;
}

.receive__barcode {
  text-align: center;
  margin-bottom: 10px;
}

.return {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 30px;
}

.errormsg {
  width: 100%;
  color: #f40000;
  font-size: 1rem;
  line-height: 1;
}

.exchange {
  display: none;
}

.exchange .redeem__info {
  margin: 0;
}

.form__large_label span {
  font-size: calc(1.625 * 0.875) em;
}

.form__notice-title span:not(.tick) {
  width: auto;
  border: none;
}

.form__notice-title span:not(.tick)::after {
  background: none;
  position: initial;
  width: auto;
  height: auto;
}

@media (max-width: 575px) {
  form#register-landing div.submit__box {
    margin-bottom: 60px;
  }
}

#form__tnc-wrapper {
  margin-top: 40px;
}

#loading {
  background: initial;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 1;
  z-index: 100;
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  display: none;
}

#loading .loading_icon {
  width: 48px;
  height: 48px;
  background-size: contain;
  position: absolute;
  left: calc(50% - 48px / 2);
  top: calc(50% - 48px / 2);
}

@media (max-width: 575px) {
  .gift__content h3 {
    font-size: 0.85rem;
  }

  .gift__content p {
    font-size: 0.9rem;
  }
}

.receive__barcode {
  text-align: center;
  width: 55%;
  margin: 0 auto 10px;
}

.coupon__term h5 {
  font-weight: 700;
}

.receive__barcode {
  width: 65%;
}

.receive__barcode img {
  width: 85%;
}

.receive__barcode img#d_mark {
  width: 10%;
}

.main__gift div.gift p.empty {
  text-align: center;
}

form p#display-birthday {
  font-size: 1.5rem;
}

.hidden {
  display: none;
}

body.loyalty aside div.list-group a.list-group-item.active {
  background-color: #ffffff;
  border-color: #faae4c;
  color: #faae4c;
}

body.loyalty aside div.list-group a.list-group-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

body.loyalty.receipt.index div#preview_box {
  min-height: 250px;
}

body.loyalty.receipt.index div#preview_box p#preview_text > img {
  display: block;
  margin: 0 auto;
  margin-bottom: 10px;
  max-width: 70px;
}

body.loyalty.receipt.success a.btn {
  width: 100%;
  max-width: 190px;
  position: relative;
  display: block;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: center;
  margin: 0 auto;
  background-color: #f06036;
  border-radius: 17px;
}

body.loyalty.receipt.success a.btn:hover {
  text-decoration: underline;
}

body.loyalty.member_card div.content-wrapper {
  margin-bottom: 40px;
}

body.loyalty.expiry_point div.point {
  height: 450px;
}

body.loyalty.profile div.content-wrapper {
  margin-bottom: 60px;
}

body.loyalty.redemption_details .gift__form-submit a {
  position: relative;
  display: block;
  width: 200px;
  color: #ffffff !important;
  font-size: 1.75rem;
  line-height: 60px;
  margin: 0 auto;
  background-color: #f06036;
  border: 0;
  border-radius: 17px;
}

@media (max-width: 575px) {
  body.loyalty.used_or_expired .gift__content span {
    line-height: 30px;
  }
}

body.loyalty.inactive_member div.wrapper {
  position: relative;
}

body.loyalty.inactive_member div.text-center {
  width: 350px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

body.loyalty.login form#loyalty-login input[type=password] {
  width: 100%;
  height: 55px;
  font-size: 1.3333rem;
  text-align: center;
  border-color: #333333;
  border-width: 0 0 2px;
  margin-top: 1rem;
}

@media (max-width: 575px) {
  body.loyalty.login form#loyalty-login input[type=password] {
    font-size: 1rem;
    margin-top: 0;
  }
}

body.loyalty.login hr {
  margin-top: 30px;
}

body.loyalty.login .submit__box {
  margin-top: 30px;
}

body.loyalty.login a:hover {
  text-decoration: none;
}

body.loyalty.forgot-password .submit__box {
  margin-top: 45px;
}

@media (max-width: 575px) {
  body.loyalty.forgot-password .submit__box {
    margin-top: 30px;
  }
}

body.loyalty.forgot-password div#forgot-password-otp-wrapper {
  margin-top: 60px;
}

body.loyalty.reset-password form input[type=password] {
  width: 100%;
  height: 55px;
  font-size: 1.3333rem;
  text-align: center;
  border-color: #333333;
  border-width: 0 0 2px;
  margin-top: 1rem;
}

@media (max-width: 575px) {
  body.loyalty.reset-password form input[type=password] {
    font-size: 1rem;
    margin-top: 0;
  }
}

body.loyalty.landing div.submit__box {
  margin-top: 30px;
}

body.loyalty.void_details_code .code__info-remark {
  font-size: 1rem;
}

body.loyalty.void_details_code .code__info-more {
  font-size: 1rem;
}

.code__info {
  text-align: center;
}

.code__info-title {
  margin: 15px 0;
}

.code__info-code {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 10px 0;
}

.code__info-button {
  min-width: 220px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 0rem 2rem;
  position: relative;
  display: block;
  color: #ffffff;
  text-align: center;
  margin: 10px auto;
  background-color: #f06036;
  font-size: 1.2rem;
  line-height: 3rem;
  border-radius: 12px;
}

.code__info-remark {
  font-size: 0.8rem;
}

.code__info-remark a {
  color: #f06036;
}

.code__info-more {
  font-size: 0.8rem;
  margin-bottom: 15px;
}

.code__info #code__info-copy {
  cursor: pointer;
}

.used_or_expired.index .gift__content span::after {
  background-image: initial;
}

.used_or_expired.detail .code__info-remark {
  font-size: 1rem;
}

.used_or_expired.detail .code__info-more {
  font-size: 1rem;
}

.default_btn {
  padding: 6px 15px;
  border-radius: 2rem;
}

.default_disabled_btn {
  background-color: #d7d7d7;
  padding: 6px 15px;
  border-radius: 2rem;
}

.unavailable-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    font-size: 1.2em;
    color: white;
    border-radius: 0.5rem 0 0 0.5rem;
    font-weight: bold;
}

.mobile-tab-div {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 575px;
    z-index: 10;
}

.hollow_btn {
  position: relative;
  display: inline-block;
  padding: 6px 15px;
  border-radius: 2rem;
  width: 100%;
}

.copy_btn {
  padding: 0 15px;
  border-radius: 2rem;
}

.mission_category_tag {
  padding: 1px 8px;
  z-index: 10;
  border-radius: 0.5rem;
  color: white;
  border-color: rgba(87, 87, 87, 0.7);
  background-color: rgba(87, 87, 87, 0.7);
}

.history_top_div{
  font-weight: 700;
  padding: 3px 15px;
  text-align: center;
}

.history_selected_div{
  padding: 6px 15px;
  border-radius: 2rem;
  background-color: white;
  text-align: center;
}

.history_header {
  padding: 0px 25px 0px 25px;
}

.history_tab {
  border-radius: 2rem;
}

.member_point_div {
  text-align: left;
  padding: 15px 25px 0px 25px;
}

.member_point_content{
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ADADAD;
  font-size: 12px;
}

.point_record {
  cursor: pointer;
}

.member_point {
  font-size: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.member_point_img{
  margin-left: 5px;
  width: 30px;
}

.upload_invoice_div {
  text-align: center;
  padding: 20px 75px 10px 75px;
}

.upload_invoice_btn {
  position: relative; /* Makes the button the reference point for the image */
  display: inline-block;
  padding: 6px 15px;
  border-radius: 2rem;
  width: 100%;
}

.upload_invoice_content{
  color: white;
  font-size: 1rem;
}

.redemption_point_div{
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 300px;
  width: 100%;
  margin-top: auto;
}

.redemption_point_img{
  width: 24px; /* Adjust size as needed */
  height: auto;
  margin-right: 10px;
}

.redemption_point_btn{
  max-width: 50px;
  color: #ffffff;
  text-align: right;
  margin: 0 auto;
  background-color: #f06036;
  border-radius: 2rem;
}

.redemption_point_text {
  flex-grow: 1;
  text-align: left;
  font-size: 1rem;
  font-weight: bold;
}

.mobile-nav-div {
  background: white;
  border-radius: 2rem 2rem 0 0;
  height: 120px;
}

.mobile-nav {
  background: white;
  height: 70px;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  border-radius: 2rem 2rem 0 0;
}

.mobile-nav a {
  text-decoration: none;
  padding: 8px 0;
}

.mobile-nav div {
  height: 100%;
  width: 56px;
  margin: 0 12px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.nav-item img {
  width: 20px;
  height: 20px;
  margin-top: 5px;
}

.nav-item p {
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
}

.inactive_text {
  color: black;
}

.exchange__btn_div {
  width: 100%;
  display: flex;
  justify-content: center;
}

.exchange__btn {
  padding: 10px 15px;
  border-radius: 2rem;
  color: white;
  width: 100%;
}

.exchange__btn_content{
  color: white;
  font-size: 1rem;
}

.redemption_gift_point {
  font-size: 30px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: space-between; /* Pushes left and right sections apart */
  align-items: center;
  width: 100%; /* Ensures it takes full width */
}

.redemption_gift_left {
  display: flex;
  align-items: center;
  gap: 5px; /* Adds spacing between image and points */
}

.redemption_gift_point_img {
  width: 30px;
  height: auto;
}

.redemption_gift_info {
  margin-top: 10px;
}

.redemption_gift_name {
  align-items: left;
  font-size: 24px;
  font-weight: bold;
}

.redemption_gift_form_row {
  display: -webkit-box;
}

.redemption_gift_form_row label {
  font-size: 24px;
  font-weight: 400;
  color: black;
}

.redemption_gift_form_box {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: justify;
          justify-content: space-between;
}

.redemption_gift_form_btn_div {
  position: fixed; /* Keeps it floating at the bottom */
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 575px; /* Matches .detail_wrapper */
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  padding: 20px;
  /* box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1); */
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
}

.redemption_gift_form_box_message {
  color: red;
  text-align: center;
}

.redemption_gift_member_point_div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: bold;
}

.redemption_gift_member_point {
  font-size: 24px; /* Adjust size as needed */
}

.valid_page_title {
  font-size: 24px;
}

.valid_gift__item {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  justify-content: space-between;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  min-height: 120px;
  max-height: 120px;
}

.mission__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  min-height: 120px;
  max-height: 120px;
}

.valid_gift_circle {
  width: 100%;
  height: 120px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.mission_circle {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.mission_circle img {
  border-radius: 0.5rem 0 0 0.5rem;
  min-height: 120px;
  max-height: 120px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  width: 100%;
}

.truncate-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;       /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.valid_gift_circle img {
  border-radius: 0.5rem 0 0 0.5rem;
  min-height: 120px;
  max-height: 120px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  width: 100%;
}

.valid_gift__imgbox {
  width: calc(30% - 5px);
  background-color: white;
  border-radius: 0.5rem 0 0 0.5rem;
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  overflow: hidden;
}

.valid_gift__item:nth-child(n+2) {
  margin-top: 15px;
}

.mission__content {
  width: calc(70% - 30px);
  text-align: left;
  padding: 10px 10px 0 0;
}

.valid_gift__content {
  width: calc(70% - 30px);
  text-align: left;
  padding-right: 10px;
}

.valid_gift__content h3 {
  color: #000000;
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 500;
}

.invalid_gift__content {
  width: calc(70% - 30px);
  text-align: left;
  padding-right: 10px;
}

.invalid_gift__content h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.invalid_gift__content p {
  font-size: 12px;
  margin-bottom: 15px;
}

.invalid_gift__content_used {
  background-color: #b3adad;
  border-radius: 5px;
  color: white;
  font-size: 12px;
  padding: 5px;
}

.invalid_gift__content_expired {
  background-color: #b3adad;
  border-radius: 5px;
  color: white;
  font-size: 12px;
  padding: 5px;
}

.valid_gift__content p {
  font-size: 12px;
  margin-bottom: 15px;
  color: #565656;
}

.valid_gift__content a {
  width: 100%;
  max-width: 190px;
  position: relative;
  display: block;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 58px;
  text-align: center;
  margin: 0 auto;
  background-color: #24cae0;
  border-radius: 17px;
}

.valid_gift__content a[disabled] {
  max-width: 100%;
  font-size: 1.25rem;
  margin-top: 40px;
  background-color: #d7d7d7;
  cursor: default;
}

.valid_page_used_expired {
  text-decoration: underline;
  color: #929292;
  cursor: pointer;
}

.need_login_div {
  text-align: center;
  padding: 10px 75px 10px;
}

.need_login_btn {
  padding: 10px 15px;
  border-radius: 2rem;
  width: 100%;
}

.need_login_content {
  color: white;
}

.default_content {
  color: white;
}

.need_login_btn_img{
  width: 24px; /* Adjust size as needed */
  height: auto;
  display: inline;
  margin-bottom: 3px;
}

.add_point_content{
  color:#219653;
}

.minus_point_content{
  color:#F55D0A;
}

.other_point_content{
  color:#929292;
}

.point_history_date {
  color: #929292;
}

.redeem_history_content {
  color: #F55D0A;
}

.point_history_item_div {
  width: 60%;
}

.point_history_item {
  font-size: 24px;
}

.point_history_point {
  display: flex;
  align-items: center; /* Aligns text at different heights */
  font-size: 24px;
  font-weight: bold;
}

.point_history_point_img{
  width: 24px; /* Adjust size as needed */
  height: auto;
  margin-left: 5px;
}

.point_history_point_type {
  margin-bottom: 3px;
}

.home_title {
  font-size: 20px;
}

.home_point_box_div{
  margin: 10px 0 ;
}

.home_mission_name {
  font-size: 16px;
}

.home_one_row_mission_name {
  font-size: 18px;
}

.mission-detail-icon {
  max-width: 55px;
}

.home_point_box {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  justify-content: space-between;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 120px;
}

.home_point_box_imgbox {
  width: calc(50% - 5px);
  padding: 0; /* Remove padding to ensure full coverage */
  border-radius: 0.5rem 0 0 0.5rem;
  overflow: hidden; /* Ensures no overflow issues */
  display: flex; /* Allows image to stretch properly */
}

.home_point_box_imgbox img {
  width: 100%; /* Ensures the image stretches to the full width */
  height: 100%; /* Ensures the image stretches to the full height */
  object-fit: fill; /* Ensures the image fully covers the container */
  border-radius: 0.5rem 0 0 0.5rem; /* Matches the parent container's border-radius */
  min-height: 120px;
}

.home_point_box_content {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px 30px;
}

.home_point_box_content h5 {
  color: #ADADAD;
  font-size: 12px;
}

.home_point_box_content a {
  float: right;
  font-size: 12px;
}

.expire_day_span {
  background-color: #F2E5E5;
  border-radius: 0.2rem;
  color: #E75656;
  padding: 3px 8px;
}

.login_btn_div {
  text-align: center;
}

.login_btn_content{
  color: white;
}

.home_mission_box_div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 0;
}

.mission_box {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex: 1;
  text-align: center;
  min-width: 120px;
}

.mission_thumbnail_icon {
  max-width: 64px;
}

.mission_one_row_thumbnail_icon {
  max-width: 80px;
}

.news_item {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  text-align: center;
}

.news_image img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
}

.news_text {
  text-align: left;
  padding: 10px;
}

.home_point_box_link_histories {
  margin-top: 15px;
}

.modal-footer .popup_btn {
  border-radius: 2rem;
  border: 1px solid;
  padding: 5px;
  width: 100%;
}

.popup_img {
  width: 150px;
}

.mission_date {
  font-size: 14px;
}

#popup-box .modal-content {
  margin: 0 auto;
  position: relative;
  border-radius: 1rem;
}

.lead {
  font-size: 1rem;
  font-weight: 400;
}

.carousel-item img {
  max-width: 100%;
  height: 326px;
  min-height: 233px;
  max-height: 326px;
  object-fit: cover;
}

.mission_datetime {
  font-size: 16px;
}

.mission_histories {
  font-size: 16px;
}

.profile_update_btn {
  width: 300px;
  bottom: 160px;
}

.profile_logout_btn {
  border:2px;
  border-color:black;
  padding: 6px 15px;
  border-radius: 2rem;
  width: 300px;
}

.koc_top_icon {
  max-width: 70px;
  min-width: 60px;
  padding: 5px;
}

.koc_top_text {
  font-size: 10px;
}

.koc_reference_icon {
  border-radius: 2rem;
  background-color: #000000A8; 
  padding: 0px 20px;
  color: white;
  cursor: pointer;
}

.koc_success_icon_background_color {
  background-color: #6E92EE;
}

.koc_processing_icon_background_color {
  background-color: #929292;
}

.koc_rejected_icon_background_color {
  background-color: #E75656;
}

.invalid_text_tab {
  background-color: #929292; 
  color: white; 
}

.koc_subtitle {
  font-size: 14px;
}

#image-carousel {
  max-height: 60vh;
  width: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
}

.swiper-slide img {
  /* max-width: 320px; */
  max-width: 280px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}

.image-text {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: white;
}

.image-index {
  position: absolute;
  top: 15px;
  right: 20%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 10;
}

.btn-rounded {
  border-radius: 2rem !important;
}

.modal-dialog {
  max-width: 40vw;
  margin: auto;
}

.swiper {
  width: 100%;
  height: 100%;
}

.modal-body {
  height: 60vh;
}

.history_detail_min_hight {
  height: 43px;
}

.resize_content {
  font-size: 14px;
}

.history_tab input {
  display: none;
}
          
.switch {
  position: relative;
  display: flex;
}
          
.switch label {
  flex: 1;
  padding: 6px 15px;
  text-align: center;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 2;
}
          
.switch .slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: white;
  border-radius: 30px;
  transition: left 0.3s ease;
  z-index: 1;
}
          
#toggle2:checked ~ .switch .slider {
  left: 50%;
}
  
.tab-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  visibility: hidden;
}
          
#toggle1:checked ~ .content-wrapper .contentA,
#toggle2:checked ~ .content-wrapper .contentB {
  opacity: 1;
  visibility: visible;
}

.switch label {
  color: white; /* default color */
  transition: color 0.3s ease;
}

.mission_sm_content {
  font-size: 12px;
}

.mission_md_content {
  font-size: 14px;
}

.mission_info_content_color {
  color: #6B7280;
}

.upload_invoice_info_icon {
  position: absolute;
  top: 0;
  right: -30px;
  cursor: pointer;
}

.mission-type-tab {
  border-radius: 2rem;
  text-align: center;
  color: #929292;
  background-color: white;
}

.mission-type-tab.active {
  border-radius: 2rem;
  text-align: center;
  color: white;
}

@media (max-width: 600px) {

  .modal-dialog {
    max-width: 70vw;
  }
  .modal-dialog.modal-fullscreen {
    max-width: none;
  }

  .modal-body {
    height: 55vh;
  }

  .image-index {
    right: 10%;
  }

  .valid_page_title {
    font-size: 16px;
  }

  .redemption_point_img {
    width: 15px;
    margin-right: 5px;
  }

  .redemption_point_text {
      font-size: 12px;
  }

  .gift__content span {
    max-width: 70px;
    font-size: 12px;
    border-radius: 2rem;
    padding: 0 10px;
  }

  .home_mission_box_div {
      flex-direction: column;
  }

  .valid_gift__content h3 {
      font-size: 14px;
  }

  .valid_gift__content p {
      font-size: 10px;
      margin-bottom: 10px;
  }

  .valid_gift__content_expired {
      font-size: 12px;
      padding: 5px;
  }
  .invalid_gift__content h3 {
      font-size: 14px;
  }

  .invalid_gift__content p {
      font-size: 10px;
      margin-bottom: 10px;
  }

  .invalid_gift__content_expired {
      font-size: 12px;
      padding: 5px;
  }

  .need_login_div {
    padding: 0px;
  }

  .exchange__btn_div {
      text-align: center;
      padding: 0px;
  }

  .point_history_item {
      font-size: 18px;
  }

  .member_point {
    font-size: 24px;
  }

  .member_point_img {
    width: 24px;
  }

  .gift__content span[disabled] {
      font-size: 12px;
      border-radius: 2rem;
      padding: 0px 10px;
  }

  .home_title {
    font-size: 16px;
  }

  .redemption_gift_name {
    font-size: 22px;
  }

  .redemption_gift_point_img {
    width: 20px;
  }

  .redemption_gift_point {
    font-size: 20px;
  }

  .redemption_gift_form_row label {
      font-size: 18px;
      margin-bottom: 0px;
      margin-top: 7px;
  }

  .redemption_gift_member_point {
    font-size: 18px; /* Adjust size as needed */
  }

  .gift__name {
    font-size: 0.8rem;
  }

  .mission_date {
    font-size: 10px;
  }

  .header_profile_icon {
    max-width: 28px;
  }

  .header_logo {
    max-width: 120px;
  }

  .white_btn_content {
    max-width: 175px;
    font-size: 14px;
  }

  .home_mission_name {
    font-size: 14px;
  }

  .home_one_row_mission_name {
    font-size: 16px;
  }

  .login_btn_content{
    font-size: 14px;
  }

  .header_div {
    min-height: 68px;
  }

  .gift__content {
    padding: 10px 10px;
  }

  .valid_gift__imgbox {
    width: calc(35% - 5px);
  }

  .carousel-item img {
    height: 233px;
  }

  .mission_datetime {
    font-size: 12px;
  }
  
  .mission_histories {
    font-size: 12px;
  }

  .news_image img {
    max-height: 200px;
  }

  .koc_top_icon {
    max-width: 60px;
  }

  .koc_subtitle {
    font-size: 12px;
  }

  .koc_top_text {
    font-size: 8px;
  }

  .redemption_gift__banner {
    max-height: 226px;
  }

  .resize_content {
    font-size: 10px;
  }

  .history_top_text {
    font-size: 16px;
  }

  .history_top_div{
    font-size: 12px;
  }

  .mission_sm_content {
    font-size: 10px;
  }

  .mission_md_content {
    font-size: 12px;
  }
}

.image-mission-container .upload-image-wrapper {
    width: 80%;
}
.image-mission-container .upload-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    border: 2px solid var(--website-color);
    border-radius: 10px;
}
.image-mission-container button {
    width: 80%;
    text-align: center;
    background: var(--website-color);
    color: white;
}
.image-mission-container button.outline-button {
    border: 2px solid var(--website-color);
    background: transparent;
    color: var(--website-color);
}