@charset "UTF-8";
.noto {
  font-family: "Noto Sans Thai", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.inter {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.my-scroll::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}
.my-scroll::-webkit-scrollbar-thumb {
  height: 4px;
  min-height: 30px;
  border: 4px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
  background-color: rgba(221, 227, 236, 0.5);
  -webkit-border-radius: 7px;
  -webkit-box-shadow: inset -1px -1px 0px rgba(135, 206, 235, 0.1), inset 1px 1px 0px rgba(135, 206, 235, 0.1);
}
.my-scroll::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.my-scroll::-webkit-scrollbar-corner {
  background-color: transparent;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #7B5AAC;
  margin: 0;
  padding: 0;
  font-family: Inter, "Noto Sans Thai", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

body {
  background: fixed #7B5AAC url("../image/bg0.webp") no-repeat center center;
  background-size: cover;
}

.wrapper {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: fixed #7B5AAC url("../image/bg.webp") no-repeat center center;
  height: 100%;
  min-width: 440px;
  aspect-ratio: 440/956;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.wrapper.my-modal {
  overflow: hidden !important;
}
.wrapper.my-modal .form-container {
  opacity: 0.3;
}
.wrapper.my-modal .my-custom-select-option.active {
  opacity: 1;
  pointer-events: painted;
}

.welcome .wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.welcome .logo-center {
  margin: 0 auto;
  margin-top: 13.8%;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  width: 36.36%;
  height: auto;
  max-width: 160px;
}
.welcome .brand-center {
  color: #FFF;
  text-align: center;
  font-size: 14px;
  margin-top: 12px;
}
.welcome h2 {
  font-weight: bold;
  color: #fff;
  text-align: center;
  font-size: 35px;
  margin-top: 9.7vh;
  white-space: nowrap;
}
.welcome .brand-text {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  font-size: 25px;
  white-space: nowrap;
  margin-bottom: 10vh;
}
.welcome .brand-with {
  color: #fff;
}
.welcome .brand-right {
  color: #01D0CB;
  margin-left: 9px;
  font-weight: bold;
  white-space: nowrap;
}
.welcome .control {
  margin-bottom: 24px;
}
.welcome .footer {
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  height: 110px;
  padding: 8px 24px;
  margin-top: auto;
}
.welcome .footer h4 {
  font-size: 14px;
  text-align: center;
  font-weight: bold;
  margin: 0;
}
.welcome .footer .partner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: baseline;
  padding: 4px;
}
.welcome .footer hr {
  height: 1px;
  background-color: #190F33;
  opacity: 0.5;
  margin: 4px auto;
}
.welcome .footer .credit {
  margin-top: 8px;
}

body.camera .wrapper {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.camera .form-container, body.camera video {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: transparent;
}
body.camera video {
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: rgba(0, 0, 0, 0.3);
}
body.camera .form-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  color: #fff;
}
body.camera .tab {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 12px;
  position: relative;
}
body.camera .tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 8px;
  background-color: #000;
}
body.camera .tab a {
  position: relative;
  height: 12px;
  flex-grow: 1;
  background-color: transparent;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
}
body.camera .tab a.active {
  background-color: #8760D4;
}
body.camera .topbar {
  padding: 0 24px;
  width: 100%;
  margin-top: 7vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
}
body.camera .topbar h3 {
  margin: 0;
}
body.camera .topbar .face-guide {
  width: 50px;
  position: absolute;
  right: 24px;
}
body.camera .bottombar {
  width: 100%;
  margin-top: auto;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
body.camera .bottombar h4 {
  font-size: 20px;
  font-weight: bold;
}
body.camera .bottombar h5 {
  font-size: 14px;
  font-weight: 300;
  margin-top: 6px;
}
body.camera .bottombar #status {
  margin-bottom: 4px;
}
body.camera .bottombar #status.pass {
  color: #00ff88;
}
body.camera .bottombar #status.fail {
  color: #ff4444;
}
body.camera .bottombar #uploadResult {
  margin-bottom: 12px;
}
body.camera .camera-button-box {
  width: 100%;
  margin: 35px auto 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
body.camera #switchCamera {
  position: absolute;
  right: 24px;
  width: 95px;
}
body.camera #captureBtn {
  display: inline-block;
  border-radius: 50%;
  width: 72px;
  height: 72px;
  background-color: #fff;
  border: solid 10px #413E3F;
}
body.camera #captureBtn:hover {
  box-shadow: 0px 0px 8px 0px #FFF;
}
body.camera .btn-back {
  color: #FFF;
  text-decoration: none;
  font-size: 14px;
  vertical-align: middle;
  position: absolute;
  left: 24px;
}
body.camera .btn-back img {
  margin-right: 8px;
}

body.form .wrapper, body.info .wrapper, body.qr .wrapper, body.continue .wrapper {
  display: flex;
  flex-direction: column;
  padding: 24px 0 0;
}
body.form .form-container, body.info .form-container, body.qr .form-container, body.continue .form-container {
  background: rgba(0, 0, 0, 0.1);
  width: calc(100% - 48px);
  margin: auto;
  border-radius: 16px;
  padding: 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
body.form .logo-center, body.info .logo-center, body.qr .logo-center, body.continue .logo-center {
  margin: 0 auto;
}
body.form .topbar, body.info .topbar, body.qr .topbar, body.continue .topbar {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
body.form .topbar h2, body.info .topbar h2, body.qr .topbar h2, body.continue .topbar h2 {
  font-weight: bold;
  font-size: 24px;
  margin-top: 3vh;
}
body.form .topbar h3, body.info .topbar h3, body.qr .topbar h3, body.continue .topbar h3 {
  color: #01D0CB;
  font-weight: 400;
  font-size: 18px;
  margin-top: 2px;
}
body.form .main, body.info .main, body.qr .main, body.continue .main {
  margin-top: 32px;
}
body.form .footer, body.info .footer, body.qr .footer, body.continue .footer {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  height: 32px;
  padding: 4px 24px;
}

.control {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.credit {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.credit .pland25-credit-logo {
  margin: 0 9px;
}

.footer {
  position: relative;
  background-color: #fff;
  width: 100%;
  color: #190F33;
  margin-top: auto;
}

button.btn-next {
  color: #fff;
  width: 100%;
  height: 62px;
  font-size: 18px;
  border: 0;
  background: #190F33;
  border-radius: 31px;
  box-shadow: 0px 0px 8px 0px #BD9AFF, inset 0px 4px 8px 0px #9582C2, inset 0px -1px 8px 0px #9582C2;
  max-width: calc(100vw - 24px);
}
button.btn-next:hover {
  background-color: #9582C2;
  transition: all 0.3s ease;
}
button.btn-prev {
  color: #fff;
  width: 100%;
  height: 62px;
  font-size: 18px;
  border: 0;
  background: #010101;
  border-radius: 31px;
  box-shadow: inset 0px 0px 4px 0px #fff;
  max-width: calc(100vw - 24px);
}
button img {
  margin-right: 8px;
}

.form-step {
  display: none;
}
.form-step.active {
  display: inherit;
}

.form-box, .form-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.form-box {
  padding-bottom: 12px;
}

.form-group-horizontal {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: nowrap;
  width: 100%;
}
.form-group-horizontal .form-group {
  flex: 1;
}

.form-group {
  margin-bottom: 24px;
  width: 100%;
}
.form-group label {
  font-size: 14px;
  font-weight: 300;
  padding: 0 16px;
  margin-bottom: 8px;
}
.form-group input, .form-group select {
  padding: 12px 16px;
  font-size: 1rem;
  border: solid 1px #FFF;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 26px;
  width: 100%;
  color: #fff;
}
.form-group input:hover, .form-group input:focus, .form-group select:hover, .form-group select:focus {
  outline: none;
  box-shadow: 0px 0px 8px 0px #BD9AFF, inset 0px 4px 8px 0px #9582C2, inset 0px -1px 8px 0px #9582C2;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px; /* เผื่อพื้นที่ลูกศร */
  background: url("../image/chevron_down.png") no-repeat right 14px center;
  background-size: 12px;
}
.form-group select option {
  color: #000;
  background-color: #fff;
}
.form-group .datepicker-wrapper {
  width: 100%;
  position: relative;
}
.form-group .datepicker-wrapper::after {
  content: "";
  background: transparent url(../image/calendar.png) no-repeat center center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  height: 52px;
  width: 52px;
  display: inline-block;
}
.form-group .form-suffix {
  width: 100%;
  position: relative;
}
.form-group .form-suffix input {
  padding-right: 52px;
}
.form-group .form-suffix .suffix {
  position: absolute;
  right: 0;
  height: 36px;
  z-index: 1;
  display: inline-block;
  line-height: 20px;
  padding: 8px;
  margin: 8px;
  border-left: solid 1px #fff;
}

.data-list-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.data-list-wrapper .data-list {
  width: 100%;
}
.data-list-wrapper .data-list-row {
  position: relative;
  margin-bottom: 8px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
.data-list-wrapper .data-list-row input[type=text] {
  padding-right: 45px;
}
.data-list-wrapper .data-list-row-del {
  position: absolute;
  z-index: 1;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background-color: transparent;
  color: #fff;
  font-size: 1.2rem;
}
.data-list-wrapper .data-list-row-add {
  width: 120px;
  height: 32px;
  border-radius: 16px;
  color: #fff;
  border: 0;
  background-color: #855BD2;
  margin: 0 auto;
  margin-top: 8px;
}
.data-list-wrapper .data-list-row-add:hover {
  box-shadow: 0px 0px 8px 0px #BD9AFF, inset 0px 4px 8px 0px #9582C2, inset 0px -1px 8px 0px #9582C2;
}

.my-custom-select {
  width: 100%;
  position: relative;
}
.my-custom-select select {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}

.my-custom-select-placeholder {
  padding: 8px 16px;
  font-size: 1rem;
  border: solid 1px #FFF;
  color: #fff;
  cursor: pointer;
  border-radius: 26px;
  width: 100%;
  min-height: 50px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}
.my-custom-select-placeholder img {
  margin-right: 9px;
}
.my-custom-select-placeholder div {
  font-size: 14px;
}

.my-custom-select-option {
  position: absolute;
  flex-direction: column;
  justify-content: center;
  display: flex;
  z-index: 3;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.1);
  pointer-events: none;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.my-custom-select-option .my-custom-select-option-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: rgba(0, 0, 0, 0.5);
  width: 360px;
  height: 420px;
  border-radius: 16px;
  border: solid 1px rgba(255, 255, 255, 0.5);
  margin: 0 auto;
  padding: 26px 16px 16px;
}
.my-custom-select-option .my-custom-select-option-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 332px;
  height: 248px;
  margin: 0 auto;
  margin-top: 24px;
}
.my-custom-select-option .my-custom-select-option-container.has-choose button {
  opacity: 0.5;
}
.my-custom-select-option .my-custom-select-option-container label {
  width: 100px;
  height: 72px;
  font-size: 12px;
  white-space: nowrap;
  color: #fff;
  background-color: transparent;
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.my-custom-select-option .my-custom-select-option-container label .img {
  margin: 0;
  height: 32px;
  margin-bottom: 4px;
}
.my-custom-select-option .my-custom-select-option-container label img {
  margin: 0;
}
.my-custom-select-option .my-custom-select-option-container label .text {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.my-custom-select-option .my-custom-select-option-container label > div {
  z-index: 1;
  position: relative;
  text-align: center;
}
.my-custom-select-option .my-custom-select-option-container label::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: transparent url(../image/hilight_hover.png) no-repeat center top;
  bottom: -26px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.my-custom-select-option .my-custom-select-option-container label:hover, .my-custom-select-option .my-custom-select-option-container label.active {
  opacity: 1 !important;
}
.my-custom-select-option .my-custom-select-option-container label:hover::before, .my-custom-select-option .my-custom-select-option-container label.active::before {
  display: block;
  opacity: 1;
}
.my-custom-select-option .my-custom-select-option-container label.active::before {
  background-image: url(../image/hilight_active.png);
}
.my-custom-select-option .my-custom-select-option-container .chk_s_pos {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
}
.my-custom-select-option h4 {
  font-size: 18px;
  font-weight: 400;
}
.my-custom-select-option h5 {
  font-size: 14px;
  font-weight: 400;
}

.my-upload {
  width: 100%;
  border: solid 1px rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.my-upload h4, .my-upload h5 {
  font-weight: 300;
  margin: 0 auto;
  margin-bottom: 8px;
}
.my-upload h4 {
  font-size: 16px;
  margin-top: 16px;
}
.my-upload h5 {
  font-size: 12px;
}
.my-upload .my-upload-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  min-height: 120px;
}
.my-upload .my-upload-preview {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background-color: #000;
  border-radius: 12px;
  display: none;
}
.my-upload .my-upload-preview img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.my-upload #uploadStatus {
  color: red;
}
.my-upload #uploadStatus.success {
  color: green;
}
.my-upload #uploadStatus.pending {
  color: orange;
}

.btn-upload {
  width: 120px;
  height: 32px;
  border-radius: 16px;
  color: #fff;
  border: 0;
  background-color: #855BD2;
  margin: 0 auto;
  margin-top: 8px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
}
.btn-upload:hover {
  box-shadow: 0px 0px 8px 0px #BD9AFF, inset 0px 4px 8px 0px #9582C2, inset 0px -1px 8px 0px #9582C2;
}
.btn-upload img {
  margin-left: 8px;
}
.btn-upload input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
}

.book-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.book-container label {
  border: solid 1px rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 16px;
  padding-left: 56px;
  position: relative;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}
.book-container label.active, .book-container label:hover {
  box-shadow: 0px 0px 8px 0px #BD9AFF, inset 0px 4px 8px 0px #9582C2, inset 0px -1px 8px 0px #9582C2;
}
.book-container input[type=radio] {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.book-container h2 {
  font-size: 20px;
  margin-bottom: 4px;
}
.book-container h3 {
  font-size: 20px;
  color: #00D0CA;
}
.book-container ul {
  margin-left: -12px;
  margin-bottom: 4px;
}
.book-container li > span {
  color: #01D0CB;
}
.book-container #lbl_book_option1, .book-container #lbl_book_option2 {
  position: relative;
}
.book-container #lbl_book_option1::before, .book-container #lbl_book_option2::before {
  content: "1";
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-weight: bold;
  font-size: 18px;
  border-radius: 50%;
  display: inline-block;
  background-color: #9083AB;
  border: solid 1px rgba(255, 255, 255, 0.5);
  text-align: center;
  position: absolute;
  left: 16px;
  top: 16px;
}
.book-container #lbl_book_option2::before {
  content: "2";
}

.info-note {
  font-size: 12px;
  margin: 25px 0 32px;
}

.qr-download {
  display: block;
  margin: 32px 0 16px;
}

body.qr h3 {
  text-align: center;
}
body.qr h4 {
  font-size: 16px;
  margin-top: 16px;
  margin-bottom: 32px;
  text-align: center;
}
body.qr .main {
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

body.continue .main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.btn-skip {
  text-decoration: underline;
  color: #fff;
  font-size: 14px;
  font-weight: 300;
}

.fate-shift {
  margin-bottom: 32px;
}
.fate-shift img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

#uploadStatus {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

#previewList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.preview-item {
  position: relative;
}

.preview-item img {
  width: 95px;
  height: 95px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  border: dashed 1px #fff;
}

.preview-item button {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  cursor: pointer;
}
.preview-item button::before {
  content: "×";
  position: relative;
  top: -3px;
}

@media (orientation: portrait) {
  .wrapper {
    background-size: cover;
    aspect-ratio: unset;
    width: 100%;
    height: auto;
    min-width: unset;
  }
}
@media (max-width: 400px) {
  .index h2 {
    font-size: 30px;
  }
  .index .brand-text {
    font-size: 22px;
  }
}
@media (max-width: 375px) {
  .index h2 {
    margin-top: 5vh;
  }
  .index .control {
    margin-top: 10vh;
  }
}

/*# sourceMappingURL=style.css.map */
