* {
  margin: 0;
  padding: 0;
}

.b-overlay .position-absolute {
  opacity: 1 !important;
}

.bg-white {
  padding-left: 24px !important;
  padding-right: 24px !important;
  margin-top: 20px !important;
}

.dataRegister {
  text-align: center;
  margin-top: 30px;
}

.dataRegister a {
  text-decoration: none;
}

/**** Button CSS ****/
.but {
  width: 100%;
  margin: 30px 0 0;
  text-align: center;
}

.butContent {
  width: 100%;
  margin: 10px 0 0;
  text-align: center;
}

.cancelBtn {
  width: 125% !important;
}

.btn {
  width: 65%;
  padding: 5px;
  margin: 10px;
}

.btn1 {
  width: 30%;
}

/**** Footer CSS ****/
.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;
}

.img,
.next {
  display: block;
  margin: auto;
}

.img img {
  width: 100%;
}

.language {
  position: absolute;
  right: 12px;
}

.language img {
  width: 45px;
  height: 45px;
}

.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;
}

.opa {
  opacity: 0.4;
}

.memCard {
  height: 100%;
}

.back {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: absolute;
}

.ssss {
  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;
}

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: #fff;
  padding: 22px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
  margin-top: 30px;
}

.member-detail {
  color: #505050;
}

.card-link {
  text-decoration: none;
}

.point-label {
  color: #000;
  font-weight: 700;
}

.qr {
  width: 50%;
}

.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;
  margin-left: 18px;
  margin-right: 18px;
  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:last-child {
  margin-bottom: 30px;
}

.score.not-active {
  background: #e4e4e4;
}

.score + .score {
  margin-top: 20px;
}

.iPoint i {
  margin-top: 30px;
}

.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;
}

/**** Checked CSS ****/
.form-check-input {
  height: 24px !important;
  width: 24px !important;
}

.cond .form-check-input[type="checkbox"] {
  border-radius: 100% !important;
}

.form-switch .form-check-input {
  width: 42px !important;
}

.custom-radios div {
  display: inline-block;
}

.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;
}

.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;
}

.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: 8px 10px 10px;
}

.member-data-row .btn {
  margin: 0;
}

.member-data-row .row-label {
  color: #505050;
}

.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;
}

.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;
}

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

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

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

.scroller :-webkit-scrollbar {
  display: none;
  /* กำหนดความกว้างของ scroll */
}

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

.error {
  color: red;
  margin-top: 3px;
}

.modal-header button {
  border: none;
  background: none;
  line-height: 16px;
}

.use,
.unuse,
.barCode {
  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;
}

.barCode {
  padding-left: 20px;
  padding-left: 40px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.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;
}

.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;
}

.nav-pills .nav-link {
  padding: 15px 5px;
}

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

.promotionBOD .nav {
  background-color: #dcdcdc;
  border-radius: 50px;
  text-align: center !important;
  width: 300px !important;
  margin: 0 auto;
}

.qrCode {
  margin-top: 25px;
}

.qrCode .nav-link {
  width: 106px;
  text-align: center;
  color: #a9a9a9 !important;
  border-radius: 50px !important;
  line-height: 18px;
}

.qrCode .nav {
  background-color: #dcdcdc;
  border-radius: 50px;
  width: 220px;
  margin: 0 auto;
  border: 3px solid #dcdcdc;
}

.qrCode .nav li {
  width: 50%;
}

.warning-modal-text {
  color: #505050;
}

.torr .btn {
  background-color: #a6a4a4 !important;
  color: #0f0f0f !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;
}

.barcode-render {
  text-align: center !important;
}

.qr-render img {
  display: inline !important;
}

.container-fluid {
  padding: 0 24px !important;
}

.container-fluid .b-sidebar-body {
  padding: 25px 24px;
  position: relative;
}

.container-with-logo {
  margin-top: 40px;
}

/**** Condition CSS ****/
.condition {
  margin-left: -20px !important;
  padding-top: 5px;
  color: #505050;
  font-size: 14px;
}

.force-condition {
  color: #505050;
  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");
}

.barcode svg {
  width: 140px !important;
  height: 80px !important;
}

.barcode-full svg {
  width: 160px !important;
  height: 90px !important;
}

.consent-content a {
  display: inline;
}

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

.wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
}

.bounceball {
  position: relative;
  display: inline-block;
  height: 37px;
  width: 15px;
}
.promotionPage {
  padding-bottom: 75px !important;
}

.scrollerMember {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100%;

  scrollbar-width: none; /* สำหรับ Firefox */
}

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

.h-overlay {
  min-height: 100vh;
  height: 100%;
}

@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;
  }
}

/**** media screen ****/
@media screen and (max-width: 280px) {
  h1 {
    font-size: 22px !important;
  }

  h4,
  .text-center {
    font-size: 16px !important;
  }

  .btn {
    width: 90%;
  }

  .detailCard {
    top: 220px;
  }

  .member-card {
    font-size: 11px;
  }

  .cardId {
    font-size: 10px;
  }

  a.collapsed {
    font-size: 10px;
  }

  .footer {
    padding: 0;
  }

  .footer .menu-block {
    font-size: 12px;
  }

  .barcode svg {
    width: 80px !important;
  }

  .gapAuto {
    margin-left: 10px;
  }

  .accept {
    font-size: 11px;
  }

  .promotionImg {
    width: 100px;
  }

  .gapAuto h6 {
    font-size: 15px;
  }

  .noPoint {
    font-size: 10px;
  }

  .row {
    margin: 0;
  }

  .rPoint {
    font-size: 10px !important;
    width: auto;
    margin-top: 3px;
  }

  .phoneMember {
    font-size: 12px;
  }

  .endDate {
    font-size: 8px !important;
  }

  .promotionBOD .nav-link {
    width: 100px;
    font-size: 13px;
  }

  .promotionBOD .nav {
    width: 200px !important;
  }

  .accept-detail {
    -webkit-line-clamp: 2;
  }
}

@media screen and (min-width: 320px) {
  .detailCard {
    top: 230px;
  }

  .main-content {
    padding: 0 12px;
  }
  .dee {
    margin-left: 10px;
  }

  .dee > div {
    font-size: 11px;
  }

  .promotionImg {
    width: 100px;
  }

  .endDate {
    font-size: 10px !important;
  }

  .couponPoint {
    font-size: 12px;
  }

  .footer {
    padding: 0;
  }

  .phoneMember,
  .member-card,
  .word-member,
  .word-point,
  .word-privilege {
    font-size: 13px;
  }

  .couponPoint {
    font-size: 11px;
  }

  .accept {
    font-size: 13px;
  }

  .cardPoint {
    height: 77% !important;
  }

  .barcode svg {
    width: 115px !important;
    height: 80px !important;
  }
  .accept-detail {
    -webkit-line-clamp: 2;
  }
}

/* CSS Redeemtion and plivileges box coupon */
.body-list-box {
  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;
  margin-bottom: 1.25rem;
}
.body-list-box:last-child {
  margin-bottom: 5rem;
}
.body-list-box-empty {
  position: absolute;
  top: 20%;
}
.box-warpper {
  display: flex;
  gap: 10px;
}
.box-warpper .box-coupon-photo {
  width: 115px;
  height: 115px;
  min-width: 115px;
}
.box-coupon-photo img {
  width: 100%;
  border-radius: 10px;
}
.box-coupon-info {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.box-coupon-info .coupon-title h6 {
  color: #000;
  font-size: clamp(0.75rem, 10vw, 1rem);
}
.box-coupon-info .coupon-detail {
  display: flex;
  gap: 5px;
}
.box-coupon-info .coupon-detail .icon-gift {
  width: 18px;
  height: 18px;
}
.box-coupon-info .coupon-detail span {
  font-size: clamp(0.75rem, 10vw, 0.875rem);
}
.box-coupon-info .coupon-action {
  width: 100%;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
}
.box-coupon-info .coupon-action .coupon-date {
  display: flex;
  flex-direction: column;
  font-size: clamp(0.5rem, 10vw, 0.688rem);
}
.box-coupon-info .coupon-action button {
  margin: 0;
  width: auto;
  font-size: clamp(0.75rem, 10vw, 0.75rem);
}
.line-clamp {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1;
  max-height: calc(1.2em * 2);
}

@media screen and (min-width: 360px) {
  .main-content {
    padding: 0 24px;
  }

  .barcode svg {
    width: 140px !important;
    height: 80px !important;
  }
  .cardPoint {
    height: 72% !important;
  }

  .cancelBtn {
    width: 145% !important;
  }

  .dee > div {
    font-size: 13px;
  }

  .promotionImg {
    width: 140px;
  }

  .detailCard {
    top: 255px;
  }

  .card {
    padding: 30px 0 40px 0;
    border-radius: none;
  }

  .accept {
    font-size: 13px;
  }

  .footer {
    padding: 0;
  }

  .endDate {
    font-size: 11px !important;
    width: 90px !important;
  }

  .rPoint {
    margin-top: 0px;
  }

  .gapAuto .row {
    margin-bottom: 10px;
  }

  .score .row {
    margin-bottom: 0;
  }

  .gapAuto {
    margin-left: 20px;
  }

  .promotionImg {
    width: 110px;
  }

  .dee {
    margin-left: 12px;
  }

  .couponPoint {
    font-size: 14px;
  }

  .word-member,
  .word-point,
  .word-privilege {
    font-size: 15px;
  }
}

@media screen and (min-width: 375px) {
  .detailCard {
    top: 250px;
  }

  .card {
    padding: 20px 0 30px 0;
  }

  .promotionImg {
    width: 125px;
  }

  .dee {
    margin-left: 12px;
  }

  .accept {
    font-size: 14px;
  }

  .acceptDetail {
    font-size: 14px;
  }
}

@media screen and (min-width: 376px) {
  .box-warpper .box-coupon-photo {
    width: 135px;
    height: 135px;
    min-width: 135px;
  }
}

@media screen and (min-width: 390px) {
  .dee {
    margin-left: 12px;
  }

  .detailCard {
    padding-top: 40px;
    top: 275px;
  }

  .promotion .nav {
    margin-left: 30px !important;
    margin-right: 30px !important;
  }

  .gapAuto {
    margin-left: 10px;
  }

  .accept {
    font-size: 14px;
  }

  .acceptDetail {
    font-size: 14px;
  }
}

@media screen and (min-width: 412px) {
  .container-fluid {
    padding: 12px !important;
  }

  .language {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .img img {
    width: 366px;
  }

  .img {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .gapAuto {
    margin-left: 0px;
  }

  .main-content {
    display: block;
    align-items: center;
    flex-direction: column;
  }

  .cardPoint {
    width: 80%;
  }

  .scroller {
    width: 366px;
    position: fixed;
    left: 50%;
    transform: translate(-50%, 0%);
  }

  .cardPointmember {
    width: 366px !important;
  }
  .dee {
    margin-left: 14px;
  }
  .accept-detail {
    -webkit-line-clamp: 2;
  }
}
