div.containtMainInner .mission-wrapper img {
  display: inline-block;
  width: unset;
  margin: unset;
}

#description {
  text-align: left;
}

/* missionTop */
.missionTop {
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
}
.missionTop h2 {
  font-weight: 700;
  font-size: 20px;
}
.missionTop .missionTop_right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.missionTop .totalPoint {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 8px 7px;
  gap: 4px;
  background: rgba(229, 200, 84, 0.1);
  border: 1px solid rgba(229, 200, 84, 0.5);
  border-radius: 5px;
  font-size: 11px;
}
.missionTop .totalPointNumber {
  color: #8e6134;
  font-size: 16px;
  font-weight: 700;
}

.containerMission .containerMain,
.containerMission .containtMainInner {
  background: #f5f5f5;
}

.mission-container {
  max-width: 420px;
  margin: auto;
  padding: 16px;
}

.mission-wrapper h3 {
  font-size: 16px;
  font-weight: 700;
}

/* login bonus */
.login-bonus {
  padding: 18px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid #fef9c3;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
}

.login-bonus::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: url("../img/mission/bg_coin.png") center center;
  z-index: 2;
  opacity: 0.2;
}

.login-bonus .login-bonus-content {
  position: relative;
  z-index: 3;
}

.login-bonus::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(98.61deg, #f5c547 13.57%, #fdce53 88.94%);
  z-index: 1;
}

.bonus-days {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: end;
  margin-top: 16px;
}

.bonus-days .day {
  text-align: center;
}

.bonus-days .point_wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.bonus-days .point_wrap span {
  line-height: 1.1;
  color: rgba(51, 51, 51, 0.5);
  font-weight: 500;
  font-size: 12px;
}

.bonus-days .day.received:last-child .point_wrap,
.bonus-days .received .point_wrap {
  background: linear-gradient(143.26deg, #ffffff -32.27%, #999999 114.74%);
  border: none;
}

.bonus-days .day.received:last-child .point_wrap span,
.bonus-days .received .point_wrap span {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.bonus-days .get .point_wrap {
  width: 46px;
  height: 48px;
  position: relative;
  background: white;
  border: 1px solid #ec4899;
  overflow: hidden;
  gap: 4px;
  cursor: pointer;
}

.bonus-days .get .point_wrap::before {
  content: "";
  width: 13px;
  height: 13px;
  background: #ec4899;
  display: block;
  position: absolute;
  top: -5px;
  right: -5px;
  border-radius: 50%;
  line-height: 1.3em;
}

.bonus-days .get .pt {
  font-size: 13px;
  color: #713f12;
  font-weight: 500;
}

.bonus-days .get .get-text {
  color: #ec4899;
  font-weight: 600;
}

.bonus-days .get .label {
  font-weight: 600;
}

.bonus-days .get-text {
  font-size: 11px;
  color: #ec4899;
  font-weight: 800;
}

.bonus-days .future .point_wrap {
  background: #f7e8b8;
  border: 2px dashed white;
}

.bonus-days .day:last-child .point_wrap {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  border: 2px dashed #f9a8d4;
}

.bonus-days .day:last-child .point_wrap span {
  color: #ec4899;
  font-weight: 600;
}

.bonus-days .label {
  font-size: 14px;
  margin-top: 4px;
  color: #ffffff;
}

/*  Mission category menu  */
.missionCategoryMenu {
  height: 43px;
  background: #ffffff;
  display: flex;
  flex-direction: row;
  width: 100%;
  border-bottom: 1px solid #e5e5e5;
  overflow: auto;
}

.missionCategoryMenu li {
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  color: #737373;
}

.missionCategoryMenu li.active {
  position: relative;
  color: #c1aa6e;
}

.missionCategoryMenu li.active::after {
  content: "";
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background-color: #c1aa6e;
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
}

/* welcome bonus */
.welcome_bonus .mission-item {
  background: rgba(253, 242, 247, 0.7);
  margin-bottom: 12px;
  position: relative;
}

.welcome_bonus .mission-item .mission-card-wrap, .modalWelcome .mission-item .mission-card-wrap{
  display: flex;
  justify-content: space-between;
  border-radius: 12px;
  width: 100%;
}

.welcome_bonus .mission-item .mission-info {
  padding: 12px 0;
}

.modalWelcome_cnt .mission-item .point,
.welcome_bonus .mission-item .point {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 16px;
}

.welcome_bonus .mission-item .mission-action {
  display: flex;
  flex-direction: column;
}

.welcome_bonus .card-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.welcome_bonus .sub {
  font-size: 12px;
  color: #6b7280;
  display: flex;
  word-break: break-word;
}

.badge {
  background: #ff6fa5;
  color: white;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 10px;
}

.card-desc {
  font-size: 13px;
  color: #777;
  margin: 10px 0 14px;
}

.mission-item {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  border-radius: 12px;
}

.mission-item:first-child {
  border-top: none;
}

.item-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.point {
  color: #ec4899;
  font-weight: 700;
  margin-bottom: 6px;
}

.mission-action {
  flex-shrink: 0;
  text-align: right;
}
.mission-card .btn {
  min-width: 117px;
  padding: 8px 16px;
  background: #ec4899;
  color: white;
  border: none;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  -moz-transition: 0.2s linear all;
  -webkit-transition: 0.2s linear all;
  transition: 0.2s linear all;
  text-align: center;
}

.mission-card .btn:hover {
  opacity: 0.8;
}

.mission-card .btn.complete {
  background: #eab308;
}

.mission-card.near_expiry {
  background: linear-gradient(135deg, #fdf2f8 0%, #fefce8 100%);
  border: 1px solid #fce7f3;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
}
.mission-card.near_expiry .badge {
  display: inline-block;
  margin-bottom: 4px;
  background: #fee2e2;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #ef4444;
}

.mission-card .btn.received {
  background: #d1d5db;
  pointer-events: none;
  cursor: not-allowed;
}

.mission-wrapper .mission-title {
  margin-top: 28px;
  color: #ffffff;
  -webkit-text-stroke: 4px #44ab91;
  paint-order: stroke fill;
  font-size: 20px;
}

.mission-card {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 16px;
  margin-top: 16px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
}

.welcome_bonus .mission-item.clear .mission-card-wrap, .mission-card.clear .mission-card-wrap {
  opacity: 0.5;
}

.welcome_bonus .mission-item.clear{
  background: #F9FAFB;
}

.welcome_bonus .mission-item.clear::before, .mission-card.clear::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 164px;
  height: 64px;
  background: url("/_new_design/skin/v2/img/mission/img_mission_clear.png")
    center center no-repeat;
  background-size: contain;
  transform: translate(-50%, -50%);
}

.mission-info .sub .mission_desc {
  display: flex;
  margin: 4px 0 2px;
  color: #6b7280;
}

.mission-info .sub .mission_desc .mission_desc_cnt {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  word-break: break-word;
  min-width: 0;
}

.mission-info .sub .mission_desc .mission_desc_cnt.expand {
  -webkit-line-clamp: unset;
}

.mission_desc .btn_arrow_down {
  display: flex;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: 2px;
  cursor: pointer;
  transition: 0.2s linear all;
  -moz-transition: 0.2s linear all;
  -webkit-transition: 0.2s linear all;
  background: none;
}

.mission_desc .btn_arrow_down.active {
  -moz-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.meta {
  width: 100%;
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.date {
  font-size: 12px;
  color: #6b7280;
}

.reward {
  font-weight: 700;
  font-size: 13px;
  color: #eab308;
}

.btn-load-more {
  text-align: center;
  margin-top: 16px;
  font-size: 16px;
  color: #000000;
  font-weight: 500;
  background: transparent;
  box-shadow: none;
}

/* Modal Welcome Mission  */
.modalCustom {
  position: fixed;
  background: rgba(51, 51, 51, 0.5);
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modalWelcome {
  padding: 24px 16px;
  position: relative;
  z-index: 1;
  border: 1px solid #fef9c3;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  overflow: hidden;
  width: 90%;
  max-width: 368px;
}

.modalWelcome::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: url("../img/mission/bg_coin.png") center center;
  z-index: 2;
  opacity: 0.3;
}

.modalWelcome .modalWelcome_cnt {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-direction: column;
  position: relative;
  z-index: 3;
}

.modalWelcome::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(98.61deg, #f5c547 13.57%, #fdce53 88.94%);
  z-index: 1;
}

.modalWelcome .mission-item {
  width: 100%;
  background: #ffffff;
}

.modalWelcome .btn_do_later {
  color: #cb950a;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 45px;
  border-radius: 30px;
  background: #ffffff;
  cursor: pointer;
}

.modalWelcome .mission-item-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 190px;
  overflow: scroll;
}

.modalWelcome .mission-action .btn {
  width: 80px;
  height: 32px;
  background: #ec4899;
  border-radius: 9999px;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modalWelcome .mission-action .btn.complete {
  background: #eab308;
}

.modalWelcome .mission-action .btn.received {
  background: #d1d5db;
  pointer-events: none;
  cursor: not-allowed;
}

/*  Modal QA  */
.modalQuestion_wrap {
  display: none;
}
.modalQuestion {
  padding: 24px 20px 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border: 1px solid #fafafa;
  box-shadow: 4px 2px 31.4px rgba(192, 193, 196, 0.18);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  text-align: center;
  flex-direction: column;
  max-width: 301px;
  width: 90%;
}

.modalQuestion .answer_cnt p {
  font-size: 16px;
  color: #333333;
  font-weight: 500;
}

.modalQuestion .btn_understand {
  width: 100%;
  background: #ec4899;
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

/* Modal Get Point */

.modalGetPoint_wrap {
  display: none;
}

.modalGetPoint {
  width: 360px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(98.61deg, #f5c547 13.57%, #fdce53 88.94%);
}

.modalGetPoint::before {
  content: "";
  background: url("/_new_design/skin/v2/img/mission/bg_halo.png") center center
    no-repeat;
  background-size: cover;
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: -20px;
  left: 0;
  z-index: 2;
}

.modalGetPoint::after {
  content: "";
  background: url("/_new_design/skin/v2/img/mission/img_coin_reward.png") center
    center no-repeat;
  background-size: cover;
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}
.modalGetPoint_inner_wrap {
  position: relative;
  z-index: 4;
}

/* Close */
.modalGetPoint .btn_close {
  position: absolute;
  top: 0;
  right: 15px;
  border: none;
  background: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  z-index: 2;
}

.modalGetPoint .modal-bg {
  text-align: center;
  position: relative;
  z-index: 1;
}

.modalGetPoint .img_coin {
  margin-top: 24px;
}

.modalGetPoint .img_coin img {
  width: auto;
}

/* Content box */
.modalGetPoint .modal-content {
  position: relative;
  background: #eee;
  border-radius: 20px;
  margin: 40px 20px 20px;
  padding: 25px 20px;
}

.modalGetPoint .modal-content .mission_name {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: bold;
  color: #333333;
}

.modalGetPoint .modal-content p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.4;
}

/* Button */
.modalGetPoint .btn_done {
  margin-top: 20px;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 25px;
  background: #e64980;
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}
.modalGetPoint .point_label_wrap {
  width: 100%;
  display: inline-block;
  filter: drop-shadow(1px 1px #245712) drop-shadow(1px 1px 0px #901e1c)
    drop-shadow(1px 1px #901e1c);
  position: absolute;
  top: -20px;
  left: 50%;
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.modalGetPoint .point_label {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(91.64deg, #f9f94f 1.39%, #fdb41a 134.99%);
  clip-path: url(#ribbon);
  border-radius: 4px;
  font-size: 20px;
  font-weight: 600;
  color: #284e11;
}

/* Modal Clear Welcome Mission */
.modal_welcome_mission_clear {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.modal_welcome_mission_clear .text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #6b7280;
  font-size: 12px;
}

.modal_welcome_mission_clear .text strong {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

@media (max-width: 400px) {
  .bonus-days .get .point_wrap {
    width: 43px;
    height: 43px;
  }
  .bonus-days .point_wrap {
    width: 35px;
    height: 35px;
  }
  .bonus-days .label {
    font-size: 12px;
  }
  .missionTop .totalPoint {
    flex-direction: column;
  }
}

/* All missions completed message */
.mission-all-clear {
    margin-top: 20px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    text-align: center;
    border: 2px dashed #44ab91;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.mission-all-clear .clear-msg {
    font-size: 18px;
    font-weight: 700;
    color: #44ab91;
    line-height: 1.8;
}

.btn_done.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn_done.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

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