.b-overlay .position-absolute {
  opacity: 1 !important;
}
.cardPage {
  padding-top: 24px;
  padding-left: 24px;
  padding-right: 24px;
  /* padding-bottom: 28%; */
  background: #fff0 url("/img/rcd/bg.png") no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  min-width: 100vw;
  min-height: 100vh;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
}
.overlay-content {
  min-height: 100vh;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cardPage_content {
  padding: 24px 24px 35px 24px;
  background: #fff0 url("/img/rcd/bg.png") no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  min-width: 100vw;
  background-attachment: fixed;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
}
.cardPage_cencel {
  padding-top: 24px;
  padding-left: 24px;
  padding-right: 24px;

  background: #fff0 url("/img/rcd/bg.png") no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  min-width: 100vw;
  min-height: 100vh;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
}
.logo-use-all {
  position: relative;
  width: 100%; /* Or a specific width */
  max-width: 110px; /* Optional: limit the max width */
  background-image: url("/img/rcd/logo.png");
  background-size: contain; /* Maintain aspect ratio and fit within the container */
  background-position: center;
  background-repeat: no-repeat; /* Prevent tiling */
  margin-top: 30px !important;
}
.logo-use-connect {
  position: relative;
  width: 100%; /* Or a specific width */
  max-width: 110px; /* Optional: limit the max width */
  background-image: url("/img/rcd/logo.png");
  background-size: contain; /* Maintain aspect ratio and fit within the container */
  background-position: center;
  background-repeat: no-repeat; /* Prevent tiling */
}
.logo .logo-use-all {
  margin-bottom: 20px;
  margin: auto auto;
  display: block;
}

.logo-use-all::before {
  content: "";
  display: block;
  padding-bottom: 66.67%; /* Aspect ratio (height/width * 100%) */
}
.logo-use-connect::before {
  content: "";
  display: block;
  padding-bottom: 66.67%; /* Aspect ratio (height/width * 100%) */
}

.fornWhite {
  color: #fff !important;
}

h2.fornWhite {
  font-size: 24px !important;
}
.bg-white {
  padding-left: 24px !important;
  padding-right: 24px !important;
  margin-top: 40px !important;
}
.dataRegister {
  text-align: center;
  margin-top: 30px;
}
.dataRegister a {
  text-decoration: none;
}

.logoCampaign img {
  width: 100%;
  height: 100%;
  margin: 15px 0;
}
.logoWeb img {
  width: 90%;
  height: 100%;
  padding-top: 15px;
  padding-left: 5%;
}
.but {
  width: 100%;
  margin: 30px 0 0;
  text-align: center;
}
.backIcon {
  width: 15px;
  margin: 9px;
}
.coinsIcon {
  width: 30px;
  margin: 9px;
}
.edit_Icon.mx-auto {
  margin-right: 5px !important;
  margin-left: 0px !important;
  width: 25px;
  margin: 9px;
}
.editIcon {
  margin-right: 5px !important;
  margin-left: 0px !important;
  width: 15px;
  margin: 9px;
}

.editIcon_ {
  margin-right: 5px !important;
  margin-left: 0px !important;
  width: 25px;
}
.editIcon.d-block,
.edit_Icon.d-block {
  display: inline !important;
}
.butContent {
  width: 100%;
  margin: 50px 0 0;
  text-align: center;
}
.cancelBtn {
  width: 125% !important;
}
.btn {
  width: 65%;
  padding: 5px;
  margin: 10px;
}
.btn.btnQr {
  width: 80%;
  padding: 5px;
  margin: 10px;
}
.btn1 {
  width: 30%;
}
.footer {
  position: fixed;
  bottom: 0px;
  left: 0;
  width: 100%;
  margin: 0px auto;
  padding: 15px 20px;
  box-shadow: 0 -5px 50px rgba(0, 0, 0, 0.2);
  background: #fff;
}
.footer .text-danger {
  margin-top: 5px;
  opacity: 0.7;
}
.footer .menu-block {
  text-align: center;
  line-height: 1;
}
.footer .icon {
  width: 40px;
  height: 29px;
  background-size: 100% !important;
  display: inline-block;
  opacity: 0.7;
}
.menu-block.router-link-exact-active .icon + .text-danger {
  opacity: 1;
}
.menu-block.router-link-exact-active .icon {
  box-shadow: 0 5px 20px rgb(0 0 0 / 20%);
  margin-top: 0;
  opacity: 1;
}
.icon.member {
  background: url("../img/footer-menu/member-card.png");
  opacity: 0.4;
  background-repeat: no-repeat;
}
.menu-block.router-link-exact-active .icon.member {
  background: url("../img/footer-menu/member-card-active.png");
  background-repeat: no-repeat;
}
.icon.point {
  background: url("../img/footer-menu/point.png");
  opacity: 0.4;
  background-repeat: no-repeat;
}
.menu-block.router-link-exact-active .icon.point {
  background: url("../img/footer-menu/point-active.png");
  background-repeat: no-repeat;
}
.icon.privillege {
  background: url("../img/footer-menu/privillege.png");
  opacity: 0.4;
}
.menu-block.router-link-exact-active .icon.privillege {
  background: url("../img/footer-menu/privillege-active.png");
}

.img {
  padding-top: 1rem !important;
  padding-bottom: 2rem !important;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.next {
  display: block;
  margin: auto;
}
.img img {
  width: 90%;
}

.cardHead {
  padding: 0;
  background: #171717;
}
.language {
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
}
.language img {
  width: 40px;
  height: 40px;
}
.cardPoint {
  background-color: #fff0 !important;
}

.centerEdit {
  text-align: center;
}
.detailCard {
  padding-top: 35px;
  padding-bottom: 35px;
  background-color: #fff;
  border-radius: 30px 30px 0 0;
  position: absolute;
  background-size: contain;
  top: 300px;
}
.addPoint100 {
  color: #00ff24;
}
.opa {
  opacity: 0.4;
}
.main-content {
  padding: 0 24px;
  background: #fff0 url("/img/background.png") no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  width: 100vw;
}
.main-content.with-menu {
  padding-top: 40px;
  padding-bottom: 35%;
}
.heightFall {
  height: 100vh;
}

.memCard {
  height: 100%;
}

.icon-down {
  display: block;
  width: 100%;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  -moz-padding-start: calc(0.75rem - 3px);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgb(0,0,0)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.back i {
  padding-left: 35%;
  padding-top: 50%;
  color: #00ff24;
}
.fa-chevron-left:before {
  color: #00ff24;
}

b.bigg {
  font-size: 18px;
}

.bg-img {
  background-color: #dcdcdc;
  border-radius: 15px 15px 15px 15px;
  padding: 15px;
}

.otp {
  margin-top: 10px;
  margin-left: 30px;
  width: 100%;
}

.codeOtp {
  width: 100%;
}

.cardDetail {
  background: rgba(255, 255, 255, 0.75);
  padding: 22px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
  margin-top: 30px;
  width: 90%;
  margin-left: 5% !important;
}
.member-detail {
  color: #000;
}
.card-link {
  text-decoration: none;
}
.point-label {
  color: #000;
  font-weight: 700;
}
.bigPoint {
  color: #fff;
}

.qr-full {
  width: 100%;
}
.detail {
  margin-top: 20px;
}

.edit {
  width: 80%;
  margin-left: 10%;
}

.cencel {
  width: 100%;
  text-align: center;
  margin-top: 60px;
}

.score {
  margin-top: 20px;
  padding: 12px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: #000;
  position: relative;
  text-align: left;
  background-color: #fff;
}
.score_connect {
  margin-top: 20px;
  padding: 24px;
  height: auto;
  min-height: 200px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: #000;
  position: relative;
  text-align: left;
  background-color: #00ff24;
}
.connect_link {
  background-color: #fff !important;
  position: fixed;
  margin-right: 0;
  position: absolute;
  right: 24px;
  width: 140px;
  bottom: 24px;
  margin-bottom: 0;
  border: 1px solid #fff !important;
  color: #000 !important;
}
.button-wrapper {
  display: flex;
  justify-content: flex-end; /* จัดปุ่มไปด้านขวา */
}

.score:last-child,
.score_connect:last-child {
  margin-bottom: 30px;
}
.score.not-active {
  background: #e4e4e4;
}
.score_connect.not-active {
  background: #00ff24;
}

.iPoint i {
  /* margin-top: 30px; */
  margin: auto auto;
}
.wordPoint {
  font-size: 11px !important;
}
.wordConfirm {
  font-size: 20px !important;
}
.rPoint {
  padding-bottom: 0;
  padding-right: 0;
  margin-right: 0px;
  position: absolute;
  right: 12px;
  width: auto;
  bottom: 12px;
  margin-bottom: 0;
}
.gap5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.point-head {
  margin-top: 5px;
}
.row {
  margin: 10px;
}
.section-title {
  margin: 20px 0 0 0;
  display: block;
}

/**** Radio CSS ****/
.form-check-input {
  height: 21px !important;
  width: 21px !important;
}
.cond .form-check-input[type="checkbox"] {
  border-radius: 100% !important;
}
.form-check-input:checked {
  background-color: #bab8b8 !important;
  border-color: #bab8b8 !important;
}
.form-switch .form-check-input {
  width: 42px !important;
  height: 24px !important;
  margin-top: 0px !important;
}
.custom-radios div {
  display: inline-block;
}
.custom-radios input[type="radio"] + label span {
  background-color: #00ff24;
  background-color: #ffffff;
  border: 2px solid #bab8b8;
}

.custom-radios input[type="radio"]:checked + label span {
  background-color: #00ff24;
  border: 0;
}
.custom-radios input[type="radio"]:checked + label span img {
  opacity: 1;
}

/**** Radio CSS ****/
.custom-radios div {
  display: inline-block;
}

.custom-radios input[type="radio"] {
  display: none;
}

.custom-radios input[type="radio"] + label {
  color: #333;
  font-family: Arial, sans-serif;
}
.autocomplete .autocomplete__box .autocomplete__icon {
  margin: 10px;
}

.autocomplete .autocomplete__box {
  padding-left: 10px !important;
  border-radius: 0.375rem;
  border-color: #dee2e6;
}

.autocomplete .autocomplete__inputs {
  padding-left: 0px !important;
}

.autocomplete .autocomplete__inputs input {
  padding-left: 0px;
  color: #000;
}
.autocomplete.error .autocomplete__box {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.custom-radios input[type="radio"] + label span {
  display: inline-block;
  width: 25px;
  height: 25px;
  margin: -1px 4px 0 0;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  line-height: 24px;
}

.btn-checkin {
  background-color: #00ff24; /* สีเขียว */
  border-radius: 25px; /* ขอบโค้งมน */
  color: black;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
}

.btn-checkin:hover {
  background-color: #00ff24;
}

.btn-scan {
  background-color: white;
  border-radius: 25px;
  color: black;
  font-weight: bold;
  padding: 10px 20px;
  border: 2px solid black;
}

.btn-scan:hover {
  background-color: #f0f0f0;
}

.custom-radios input[type="radio"] + label span img {
  opacity: 0;
  transition: all 0.3s ease;
  width: 14px;
}

.custom-radios input[type="radio"]:checked + label span img {
  opacity: 1;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

hr {
  border: 0;
  border-bottom: 1px solid #ddd;
}

.notPadding {
  padding: 0;
}
input[type="text"] {
  padding: 6px 12px;
}

.member-data-row .btn {
  margin: 0;
}
.member-data-row .row-label {
  color: #fff;
}

.btn.point-reload {
  width: 100px;
  padding: 3px 10px 3px 5px;
  margin: 15px 0 10px;
  color: #ffffff;
  border: 1px solid #707070;
  background: #9f9f9f;
}

/**** Radio CSS ****/
.custom-radios div {
  display: inline-block;
}

.custom-radios input[type="radio"] {
  display: none;
}

.custom-radios input[type="radio"] + label {
  color: #333;
  font-family: Arial, sans-serif;
}

.custom-radios input[type="radio"] + label span {
  display: inline-block;
  width: 25px;
  height: 25px;
  margin: -1px 4px 0 0;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  line-height: 24px;
}

.custom-radios input[type="radio"] + label span img {
  opacity: 0;
  transition: all 0.3s ease;
  width: 14px;
}

.custom-radios input[type="radio"]:checked + label span img {
  opacity: 1;
}
.promotion {
  display: flex;
  align-items: center;
}
.promotionImg {
  width: 145px;
  border-radius: 8px;
  margin-left: 12px;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.connect_profile {
  width: 60%;
  height: 60%;
  border-radius: 100%;
  margin-left: 10%;
  /* border: 1px solid #fff; */
}

.gapAuto {
  padding: 0px !important;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  margin-left: 12px;
}
.dPoint {
  padding: 0 !important;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  align-self: stretch;
}

.acceptDetail {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  width: 100% !important;
  line-height: 15px;
}

.acceptName {
  overflow: hidden;
  width: 100% !important;
  position: relative;
  display: inline-block;
  text-align: start;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dateExpire {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.modal-header button {
  border: none;
  background: none;
  line-height: 16px;
}
.use,
.unuse {
  padding: 20px;
}

.use {
  margin: auto;
  padding-left: 80px;
  background-color: #000;
  color: #fff;
  border-radius: 50px 50px 50px 50px;
  position: absolute;
}

.unuse {
  margin: auto;
  padding-left: 230px;
  background-color: #dcdcdc;
  border-radius: 50px 50px 50px 50px;
  z-index: -1;
  color: #a9a9a9;
}

.activeFooter {
  width: 90%;
  background: #000;
  border-radius: 50px 50px 50px 50px;
  position: relative;
  color: #fff;
  margin-top: 5px;
}

.notActive {
  width: 80%;
  background: #dcdcdc;
  border-radius: 50px 50px 50px 50px;
  position: absolute;
}

.imgQr img,
.imgBar img {
  height: 100px;
}

.imgQr {
  padding-left: 35%;
  margin-top: 20px;
}

.imgBar {
  margin-top: 20px;
  text-align: center;
}

.font {
  color: #bab8b8;
  margin: 10px 0;
}

.bg-c0c0c0 {
  background-color: #c0c0c0;
}
.online {
  margin-top: 20px;
  margin-left: 5%;
  padding-left: 10px;
  padding-top: 20px;
  border-radius: 20px;
  width: 90%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.warn {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 10px;
  border: 2px solid #000;
  border-radius: 20px;
}
.warn .b-icon.bi {
  margin-left: 10px;
  margin-top: 10px;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.extI {
  width: 150px;
  height: 150px;
  background: #dcdcdc;
  border-radius: 100%;
}

.extI i {
  padding-left: 25%;
  padding-top: 50%;
}

.ext {
  margin-top: 25%;
  margin-left: 35%;
}
.activeBar {
  background: #000;
  border-radius: 50px 50px 50px 50px;
  color: #fff;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 165px;
  position: absolute;
  padding-top: 15px;
  padding-bottom: 15px;
}

.notActiveBar {
  background: #dcdcdc;
  margin-left: 20px;
  border-radius: 50px 50px 50px 50px;
  z-index: -1;
  color: #a9a9a9;
  padding-top: 20px;
  padding-bottom: 20px;
}

.close {
  margin-left: -15px;
}

.activeQr {
  background: #000;
  border-radius: 50px 50px 50px 50px;
  color: #fff;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 25px;
  position: absolute;
  padding-top: 15px;
  padding-bottom: 15px;
}

.notActiveQr {
  background: #dcdcdc;
  margin-left: 20px;
  border-radius: 50px 50px 50px 50px;
  z-index: -1;
  color: #a9a9a9;
  padding-top: 20px;
  padding-bottom: 20px;
}
a.collapsed {
  color: #000000 !important;
}
.imgSoon {
  margin-top: 110px !important;
  text-align: center;
}

.imgSoon img {
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
}
.imgPoint {
  margin-top: 50px !important;
  text-align: center;
}
.imgPoint img {
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
}

.priSoon {
  margin-left: 90px;
}

/**** Modal CSS ****/
.phoneError,
.redeem,
.threemonth {
  width: 92% !important;
  margin-top: 15%;
  margin-left: 16px;
  border-radius: 25px !important;
}
.promotion-modal {
  width: 80% !important;
  max-width: 400px;
  margin: 10% auto;
  border-radius: 25px !important;
}
.bodyPhoneError,
.redeemQr,
.threeBody {
  text-align: center;
}

.redeemQr {
  padding-bottom: 20px;
}
.redeemQr img {
  margin: 0 auto;
}
.confirm-cencel {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
}
.inline-btn button {
  width: 40%;
  display: inline-block;
  margin: 10px 0;
}

/**** Tabs CSS ****/
.promotionBOD .nav-link {
  width: 150px;
  text-align: center;
  color: #a9a9a9 !important;
  padding: 12px 0;
  border-radius: 50px !important;
  font-size: 14px;
}

.promotionBOD .nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: linear-gradient(90deg, #d4af72, #a07641);
  color: white !important;
  border-radius: 50px;
}

.promotionBOD .nav {
  background-color: #dcdcdc;
  border-radius: 50px;
  text-align: center !important;
  width: 300px !important;
  margin: 0 auto;
}
.warning-modal-text {
  color: #505050;
}
.torr .btn {
  background-color: #a6a4a4 !important;
  border: 1px solid #a6a4a4 !important;
}
.point-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.content-loading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  height: 60vh;
  justify-content: center;
}
.list-empty {
  color: #000;
}
.qr-render {
  margin-top: 25px;
  text-align: center !important;
}
.qr-render img {
  display: inline !important;
}
.container-fluid .b-sidebar-body {
  padding: 0 !important;
  position: relative;
}
.container-with-logo {
  margin-top: 40px;
}

/**** Condition CSS ****/
.condition {
  margin-left: -20px !important;
  padding-top: 5px;
  color: #fff;
  font-size: 14px;
}
.force-condition {
  color: #fff;
  font-size: 14px;
  padding-left: 18px !important;
}
.dee {
  margin-left: 12px;
  padding-left: 0 !important;
}
.custom-form-label {
  margin-bottom: 3px;
}
.arrow-change {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.consent-content a {
  display: inline;
}

/**** load page ****/
body {
  position: relative;
  width: 100%;
  height: 100vh;
}

.text {
  color: #000;
  display: inline-block;
  margin-left: 10px;
}
.promotionPage {
  padding-bottom: 20% !important;
}

.scrollerMember {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100%;
}
.scrollerVerify {
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

.scrollerQr {
  height: 90vh;
  overflow-y: scroll;
  scrollbar-width: thin;
}

@-webkit-keyframes bounce {
  0% {
    top: 30px;
    height: 5px;
    border-radius: 60px 60px 20px 20px;
    transform: scaleX(2);
  }
  35% {
    height: 15px;
    border-radius: 50%;
    transform: scaleX(1);
  }
  100% {
    top: 0;
  }
}

@keyframes bounce {
  0% {
    top: 30px;
    height: 5px;
    border-radius: 60px 60px 20px 20px;
    transform: scaleX(2);
  }
  35% {
    height: 15px;
    border-radius: 50%;
    transform: scaleX(1);
  }
  100% {
    top: 0;
  }
}

* {
  margin: 0;
  padding: 0;
}
/* CSS KMKM All Page */
.container-fluid {
  padding: 0 !important;
}
.icon-language {
  position: absolute;
  top: 10px;
  right: 12px;
}
.icon-language-campaign {
  position: absolute;
  top: 5px;
  right: 5px;
}
.icon-language img,
.icon-language-campaign img {
  width: 50px;
  height: 50px;
}
.btn-danger,
.btn-dark {
  background: linear-gradient(145deg, #ffffff, #d9d9d9) !important;
  border: 1px solid #ffffff !important;
  color: #000 !important;
}
.btn-danger:active,
.btn-dark:active {
  background: linear-gradient(145deg, #ffffff, #d9d9d9) !important;
  border: 1px solid #ffffff !important;
}
.btn-default,
.btn-default:active {
  color: #000 !important;
}
.leng:active {
  border-radius: 50%;
  box-shadow: 0px 0px 15px 5px rgba(255, 255, 255, 0.8);
}
.back,
.close {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  /* box-shadow: 0 5px 20px  rgba(255, 255, 255, 0.8); */
  background: #fff;
  position: absolute;
}
.close {
  right: 20px;
}
.close .iconClose {
  width: 30px;
  height: 30px;
}
.iconClose img {
  width: 15px;
  height: 15px;
  margin-left: 8px;
  margin-top: -28px;
}

.back img {
  width: 10px;
  margin: 9px;
}
.logo img {
  width: 90%;
  height: 100%;
  padding-top: 15px;
  padding-left: 40px;
}
.tab-switch {
  margin-top: 25px;
}
.nav-pills .nav-link {
  /* padding: 15px 5px; */
}

.tab-switch .nav-link {
  width: 106px;
  text-align: center;
  color: #a9a9a9 !important;
  border-radius: 50px !important;
  line-height: 18px;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: linear-gradient(90deg, #d4af72, #a07641) !important;
  border-radius: 50px;
  color: #fff !important;
}
.tab-switch .nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: linear-gradient(90deg, #d4af72, #a07641) !important;
  border-radius: 50px;
  color: #fff !important;
}
.tab-switch .nav {
  background-color: #dcdcdc;
  border-radius: 50px;
  width: 220px;
  margin: 0 auto;
  border: 3px solid #dcdcdc;
}
.tab-switch .nav li {
  width: 50%;
}
.tab-switch .tab-content .form-control {
  padding: 12px;
}
.error {
  margin-top: 3px;
}
.kmkm-discretion {
  margin-top: 1rem;
}
.pdpa-discretion,
.news-discretion {
  display: flex;
  margin-bottom: 10px;
}
.discretion-checkbox {
  margin-right: 15px;
}
.discretion-checkbox .form-check-input[type="checkbox"] {
  border-radius: 100% !important;
}
.discretion-detail {
  padding-top: 5px;
}
.discretion-icon {
  font-size: 22px;
  margin-right: 15px;
}
.scroller-detail {
  overflow-y: auto;
}
.scroller-detail::-webkit-scrollbar {
  display: none;
}
.scroller::-webkit-scrollbar {
  display: none;
}
.select-control {
  display: block;
  width: 100%;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  -moz-padding-start: calc(0.75rem - 3px);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgb(128,0,8)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.get-point-title {
  color: #00ff24;
}
.heading-detail ul {
  padding-left: 0px;
  text-align: center;
  list-style: none;
}

/* CSS Member Card */
.main-container {
  height: 100vh;
  padding: 0px 20px;
  background: #fff0 url(/img/background.png) no-repeat;
  background-size: cover;
}
.container-head {
}
.container-detail {
  height: 100%;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main-footer {
  padding-bottom: 9.5%;
}
.information-card {
  max-width: 728px;
  width: 100%;
  position: relative;
  display: inline-block;
}
.card-tier-img {
  width: 100%;
  position: relative;
  border-radius: 15px;
}
.card-detail {
  width: 90%;
  position: absolute;
  top: 30%;
  left: 5%;
}
.fs-title {
  font-size: 20px;
}
.superior-title {
  color: #000000 !important;
}
.welcome-title,
.sublime-title,
.living-title,
.life-title {
  color: #fff;
}
.detail-progress label {
  color: #fff;
  margin-bottom: 0;
}
.information-detail {
  background: #fff;
  max-width: 728px;
  width: 100%;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  margin-top: 25px;
  margin-bottom: 20px;
}
.truncate-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.edit-infoemation {
  display: flex;
  align-items: center;
  text-decoration: none;

  .edit-icon {
    margin-right: 5px !important;
    margin-left: 0px !important;
    width: 15px;
    margin: 9px;
  }
}
.title-edit {
  display: flex;
  align-items: center;
  justify-content: center;

  .edit-icon {
    width: 28px;
    margin-left: 0px !important;
    margin-right: 10px !important;
  }
}
.lb-point {
  font-weight: bold;
}
.fs-point {
}
.fs-phone,
.fs-email {
  font-size: 16px;
}

.barCode {
  padding-left: 20px;
  padding-left: 40px;
  padding-top: 15px;
  padding-bottom: 15px;
}
.bar-code svg {
  width: 100%;
  height: revert !important;
}
.barcode-render {
  text-align: center;
}
.barcode-render svg {
  width: 210px;
  height: 107px;
}
.barcode-full svg {
  width: 160px;
  height: 90px;
}
.t-code {
  margin-top: 10px;
}
.t-code p {
  margin-bottom: 0px;
  font-size: 18px;
}

.qr {
  width: 100%;
}
.border-error {
  border-color: #dc3545 !important;
}

/* CSS Loading */
.overlay-loading {
  font-size: 18px;
}
.wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
}
.bounceball {
  position: relative;
  display: inline-block;
  height: 37px;
  width: 15px;
}
.bounceball:before {
  position: absolute;
  content: "";
  display: block;
  top: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #000000;
  transform-origin: 50%;
  -webkit-animation: bounce 500ms alternate infinite ease;
  animation: bounce 500ms alternate infinite ease;
}
.loading-text {
  color: #000000;
  display: inline-block;
  margin-left: 10px;
}
a {
  color: #fff !important;
}
a.open-consent-modal {
  color: #fff !important;
}
.accept {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  width: 100% !important;
  line-height: 15px;
}
.cannect_sup_position {
  height: 35px;
  margin: 0;
}
/***** CSS Content Page *****/
.container-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.bg-content {
  background: #fff0 url("/img/rcd/bg.png") no-repeat;
}
.head-content {
  padding: 15px;
}
.benner-card {
  display: flex;
}
.benner-card img {
  max-width: 400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.card-details {
  flex-grow: 1;
  padding: 32px 24px;
  background-color: #ffffff;
  color: #000;
  border-radius: 25px 25px 0px 0px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.detail-content {
  max-width: 575px;
  width: 100%;
}

.action-control {
  margin-top: 15px;
  text-align: center;
}
.btn-register {
  padding-left: 15px;
  padding-left: 15px;
}

/* CSS Register Web */
.head-register-web {
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

/***** Verify Page *****/
.container-verify {
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.head-verify {
  padding: 20px;
}
.detail-verify {
  flex-grow: 1;
  padding: 20px;
}
.otp-verification span {
  font-size: 16px;
}
.otp-input {
  max-width: 35px;
  height: 50px;
  padding: 10px;
  font-size: 1.5em;
  border-radius: 4px;
  border: 1px solid #000;
  text-align: center;
  box-sizing: border-box;
  margin: 0 5px;
}
.otp-input-error .otp-input {
  border-color: #00ff24;
}
.otp-input-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  box-sizing: border-box;
  overflow: hidden;
}
.input-password-group {
  display: flex;
  position: relative;
}
.input-password-group .pw-input {
  padding-top: 12px;
  padding-right: 40px;
  padding-bottom: 12px;
  padding-left: 12px;
}
.input-password-group .b-icon {
  position: absolute;
  top: 0px;
  right: 0px;
  margin: 18px 14px;
}

.psw-message {
  position: relative;
  margin: 15px 0px;
}
.psw-message p {
  margin-top: 10px;
  margin-bottom: 0px;
  padding: 0px 10px;
  font-size: 18px;
}
.psw-valid {
  color: green;
}

.psw-valid:before {
  position: relative;
  left: -10px;
  content: "✔";
}

.psw-invalid {
  color: #00ff24;
}

.psw-invalid:before {
  position: relative;
  left: -10px;
  content: "✖";
}
.countdown-container {
  text-align: center;
  /* font-family: "Arial", sans-serif; */
  /* background-color: #f8f9fa; */
  padding: 20px 0px;
  border-radius: 10px;
  max-width: 300px;
  margin: auto auto;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

/* CSS Register Page */
.container-register {
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.head-register {
  padding: 20px;
}
.head-register img {
  width: 100%;
}
.detail-register {
  flex-grow: 1;
  padding: 24px;
}

/* CSS Point */
.container-point {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.head-point {
  padding: 35px 12px;

  .row {
    --bs-gutter-x: 0 !important;
  }
}
.detail-point {
  flex-grow: 1;
  padding: 15px 35px;
}
.m-point {
  display: flex;
  margin-left: 2rem;
}
.i-coins img {
  max-width: 55px;
  width: 100%;
  margin-top: 5px;
}
.view-point {
  margin-left: 20px;
}
.view-point .fs-title {
  font-size: 28px;
}
.view-point .t-point {
  font-size: 52px;
  color: #00ff24;
}
.qr-lable {
  margin-top: 10px;
}
.qr-lable p {
  margin-bottom: 0px;
  font-size: 18px;
}
.m-qr {
  margin-left: 4rem;
}
.qr-img {
  width: 100%;
}
.qr-img img {
  width: 120px;
}
.card-point {
  background-color: #fff0 !important;
  border: none !important;
  padding: 0px !important;
}
.card-score {
  margin-bottom: 35px;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: #000;
  position: relative;
  text-align: left;
  background-color: #fff;
}
.card-score-connect {
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: #000;
  position: relative;
  text-align: left;
}
.card-score .score-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0px;
}
.card-score-connect .score_connect {
  display: flow-root;
  align-items: center;
  flex-wrap: wrap;
}
.score-block .block-details {
  width: 100%;
  display: flex;
}
.block-detail-img img {
  max-width: 200px;
  width: 100%;
  border-radius: 15px;
}
.block-detail-contents {
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-left: 1.5rem;
}
.content-title h6 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  width: 100% !important;
  line-height: 20px;
  font-size: 20px;
}
.content-description {
  font-size: 16px;
}
.gift-icon {
  margin-right: 15px;
}
.gift-icon img {
  width: 20px;
}
.point-redeem {
  font-size: 16px;
}
.content-action {
  width: 100%;
  text-align: end;
}
.redeem-point-btn {
  width: auto;
  margin: 0px;
  font-size: 16px !important;
  padding: 8px 20px !important;
}
.redeem-point-btn-disabled {
  background-color: #a6a4a4 !important;
  border: 1px solid #a6a4a4 !important;
}
.modal-redeem-btn {
  max-width: 80%;
  width: 100%;
  margin: 0px;
  font-size: 16px !important;
  padding: 8px 20px !important;
}
.coupong-img {
  width: 100%;
  border-radius: 8px;
}
.item-reteem-null {
  margin-top: 20%;
  text-align: center;
}
.item-privilege-null {
  margin-top: 40%;
  text-align: center;
}
.content-description {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  width: 100% !important;
  line-height: 15px;
}
.tabs-switch {
  margin-bottom: 15px;
}
.tabs-switch ul {
  max-width: 360px;
  width: 100%;
  background-color: #dcdcdc;
  border-radius: 50px;
  text-align: center;
  margin: 0 auto;
}
.tabs-switch ul li {
  width: 50%;
}
.tabs-switch .nav-pills .nav-link {
  font-size: 15px;
  border-radius: 50px;
}
.tabs-switch .nav-pills .nav-link.active {
  width: 100%;
  color: #fff !important;
  background: linear-gradient(90deg, #d4af72, #a07641) !important;
}

.qr-code-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}

.qr-code {
  max-width: 100%; /* ทำให้ QR Code ไม่ล้นจอ */
  height: auto;
}

.tabs-switch .nav-pills .nav-link {
  width: 100%;
  color: #a9a9a9 !important;
  background: #fff0 !important;
}

/* CSS Campaign Page*/
.main-campaign {
  min-height: 100vh;
  padding: 35px 25px;
  background: #fff0 url(/img/Kmkm/background.png) no-repeat;
  background-size: cover;
}
.campaign-container {
  min-height: 92vh;
  width: 100%;
  height: 100%;
  padding: 20px;
  border-radius: 20px;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}
.campaign-img {
  width: 60%;
  border-radius: 3px;
}
.campaign-content {
  max-width: 380px;
  width: 100%;
}
.content-center {
  align-items: center;
}
.action-control-campaign {
  margin-top: 10px;
}
.action-control-campaign .btn {
  font-size: 16px;
  margin: 0px;
  margin-bottom: 15px;
}
.campaign-success {
  max-width: 340px;
  width: 100%;
}
.campaign-success img {
  max-width: 300px;
  width: 100%;
  margin: 0px 15px;
}
.exp-date {
  font-size: 12px;
}

/* CSS MarketPlace */
.marketplace-container {
  width: 100%;
  height: 100%;
  padding: 20px;
  border-radius: 20px;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 280px) {
  .promotionImg {
    width: 100px;
  }
}

@media screen and (min-width: 320px) {
  .promotionImg {
    width: 90px;
  }
}

@media screen and (min-width: 360px) {
  .promotionImg {
    width: 110px;
  }
}

@media screen and (min-width: 375px) {
  .promotionImg {
    width: 110px;
  }
}
