:root {
  --primary-color: #9c1c31;
  --dark-color: #000000;
  --white-color: #ffffff;
  --gray-color: #dee2e6;
  --blur-color: #0d6efd;
  --secondary-color: #a9a9a9;
  --secondary-color-mute: #dcdcdc;
  --invalide-color: #dc3545;

  --opacity-primary: #f9382230;
  --opacity-dark: #00000033;
  --opacity-gray: #dee2e646;
  --opacity-blur: #0d6efd40;
  --opacity-secondary-mute: #dcdcdc46;
  --opacity-invalide-color: #dc354540;
  --opacity-transparent: #fff0;

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

body {
  min-height: 100vh;
  height: 100vh;
  height: -webkit-fill-available;
}

.container {
  padding-top: calc(1.5rem * 0.5);
  padding-bottom: calc(1.5rem * 0.5);
}

.h-overlay {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  overflow-y: auto;
}

div.h-overlay {
  position: unset !important;
}
div.h-overlay div.bg-light {
  opacity: 1 !important;
  background-color: var(--white-color) !important;
}

.bg-base {
  background-image: url(/img/kmkmv2/background.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  background-attachment: fixed;
}

.layout-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
 padding :24px 24px 94px 24px
}

.padding-wapper {
    padding: 24px 24px calc(24px + env(safe-area-inset-bottom)) 24px !important; 
}

/* Footer Menu CSS */
.footer-nemnu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem 1rem;
  padding-top: 0.75rem;
  background-color: var(--white-color);
  /* border-top-left-radius: 2rem;
  border-top-right-radius: 2rem; */
  box-shadow: 0 -5px 50px var(--opacity-dark);
  transform: translateZ(0);
}

.footer-nemnu .menu-link {
  width: 100%;

  & .menu-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
  }
}

.footer-nemnu .menu-link .menu-item {
  opacity: 0.4;
  color: var(--dark-color);

  & .item-icon {
    flex: 1;
    padding: 5px 6px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  & .icon-size {
    width: 35px;
    height: 41px;
  }
  & .icon-card-size {
    width: 35px;
    height: 28px;
  }
  & .icon-card {
    background: url("/img/kmkmv2/footer/member-card.webp");
    background-repeat: no-repeat;
  }
  & .icon-point {
    background: url("/img/kmkmv2/footer/point.webp");
    background-repeat: no-repeat;
  }
  & .icon-privilege {
    background: url("/img/kmkmv2/footer/privilege.webp");
    background-repeat: no-repeat;
  }
  & .base-icon {
    opacity: 0.7;
    background-size: 100% !important;
    display: -webkit-inline-box;
  }
}
.footer-nemnu .menu-link .menu-item.menu-active {
  opacity: 1;

  & .item-icon {
    background-color: var(--opacity-transparent);
  }

  & .icon-card {
    background: url("/img/kmkmv2/footer/member-card-active.webp");
    background-repeat: no-repeat;
  }
  & .icon-point {
    background: url("/img/kmkmv2/footer/point-active.webp");
    background-repeat: no-repeat;
  }
  & .icon-privilege {
    background: url("/img/kmkmv2/footer/privilege-active.webp");
    background-repeat: no-repeat;
  }
  & .base-icon {
    opacity: 1;
  }
}
/* End Footer Menu CSS */

.card-wrapper {
  overflow: hidden;
  position: relative;
}

.card-image {
  padding-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
}

label {
  font-weight: bold;
}

.btn-language-wrapper {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px;
  border-radius: 100%;
  /* box-shadow: 0 5px 20px var(--opacity-dark); */
  background-image: url(/img/kmkmv2/language.webp);
  background-size: 3.5rem;
  background-position: center;
  background-repeat: no-repeat;
}

.btn-back-wrapper {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  border-radius: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px;
  box-shadow: 0 5px 20px var(--opacity-dark);
  background-image: url(/img/kmkmv2/icons/back.webp);
  background-size: 1.125rem;
  background-position: center;
  background-repeat: no-repeat;
  background-color:  var(--white-color);
}

span.i-edit {
  margin-top: 2px;
  display: block;
  width: 25px;
  height: 25px;
  background-image: url(/img/kmkmv2/icons/edit.webp);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

span.i-eye {
  margin-top: 2px;
  display: block;
  width: 24px;
  height: 20px;
  background-image: url(/img/kmkmv2/icons/gift.webp);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

span.i-coins {
  margin-top: 8px;
  display: block;
  width: 34px;
  height: 34px;
  background-image: url(/img/beauty/icon/coins.webp);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.i-ticket{
  color:  var(--primary-color);
}
.content-bg {
  flex: 1;
  height: 100%;
  background-color: var(--white-color);
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  box-shadow: 0 5px 20px var(--opacity-dark);
}

.content-wrapper {
  margin: 12px;
  padding: 8px;
  padding-bottom: 2.125rem;
}

.heading-wrapper {
  & .flex-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  & h2,
  h3,
  h4 {
    margin: 0px !important;
  }

  & span.i-edit {
    margin-top: 0px;
    width: 34px;
    height: 34px;
  }
}

.color-primary {
  color: var(--primary-color) !important;
}

button.btn-primary {
  background-color: var(--primary-color) !important;
  border: 1px solid var(--primary-color) !important;
  & :disabled {
    opacity: 0.7;
  }
}
button.btn-secondary {
  color: var(--secondary-color) !important;
  background-color: var(--gray-color) !important;
  border: 1px solid var(--secondary-color-mute) !important;

  & :disabled {
    opacity: 0.7;
  }
}

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

.boun-ceball {
  position: relative;
  display: inline-block;
  height: 37px;
  width: 15px;
}

.boun-ceball:before {
  position: absolute;
  content: "";
  display: block;
  top: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--primary-color);
  transform-origin: 50%;
  -webkit-animation: bounce 500ms alternate infinite ease;
  animation: bounce 500ms alternate infinite ease;
}

.loader-content {
  color: var(--primary-color);
  display: inline-block;
  margin-left: 10px;
  margin-bottom: 5px;
}

.tabs .card-header {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tabs .card-header-pills {
  width: 100%;
  max-width: 400px;
  border-radius: 50px;
  background-color: var(--secondary-color-mute);
}
.tabs .card-header-pills .nav-item {
  width: 50%;
}
.tabs .card-header-pills .nav-item .nav-link {
  color: var(--secondary-color);
  border-radius: 50px;
}
.tabs .card-header-pills .nav-item .nav-link.active {
  color: var(--white-color);
  background-color: var(--primary-color);
  border-radius: 50px;
}

.text-xs {
    font-size: 10px;
    line-height: 1.5;
}

.input-password-group {
    display: flex;
    position: relative;
}

.b-icon.bi {
    display: inline-block;
    overflow: visible;
    vertical-align: -0.15em;
}

.input-password-group .b-icon {
    position: absolute;
    top: 0px;
    right: 0px;
    margin: 18px 14px;
}

.border-error {
  border-color: #dc3545 !important;
}

input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"] {
  padding: 12px !important;
}

.custom-control-inline {
  display: flex;
  align-items: center;
}
input[type="radio"] {
  width: 22px;
  height: 22px;
}
input[type="radio"]:checked {
  accent-color: var(--primary-color);
}

/* สำหรับให้แน่ใจว่า cursor เป็น pointer */
.custom-control-label,
.form-check-label {
  cursor: pointer;
}

.otp-wrapper {
  width: 100%;
  max-width: 320px;
  margin: auto;
  display: flex;
  gap: 10px;
}

.otp-input {
  width: 100%;
  height: 50px;
  padding: 10px;
  font-size: 1.25rem;
  border-radius: 4px;
  border: 1px solid var(--gray-color);
  text-align: center;
  box-sizing: border-box;
}

.otp-input:focus,
.otp-input:active {
  border: 1px solid var(--blur-color) !important;
  box-shadow: 0 0 0 0.25rem var(--opacity-blur);
  outline: none;
}

.modal-dialog .modal-content {
  border-radius: 2rem;
}

.modal-dialog header .close {
  border: none;
  background: none;
  font-size: 3.25rem;
  line-height: 16px;
}

.autocomplete .autocomplete__box {
  padding: 0px;
}
.autocomplete div.autocomplete__box {
  border: none !important;
}
.autocomplete ul.autocomplete__results {
  max-height: 220px;
}
.autocomplete .autocomplete__box span {
  position: absolute;
  right: 14px;
}
.autocomplete .autocomplete__box .autocomplete__inputs {
  padding: 0px;
}
.autocomplete .autocomplete__box .autocomplete__inputs input {
  border: 1px solid var(--gray-color);
  border-radius: 0.375rem;
  padding-right: 2.5rem !important;

  &:focus,
  &:active {
    outline: none;
    box-shadow: none;
    border-color: var(--blur-color);
    box-shadow: 0 0 0 0.25rem var(--opacity-blur);
    transition: border-color 0.15s, box-shadow 0.15s;
  }
}
.autocomplete.invalide .autocomplete__box .autocomplete__inputs input {
  border: 1px solid var(--invalide-color);
  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);

  &:focus,
  &:active {
    border-color: var(--invalide-color);
    box-shadow: 0 0 0 0.25rem var(--opacity-invalide-color);
  }
}

.autocomplete__results__item {
  margin: 0px !important;
  padding: 6px !important;
  border-bottom: 1px solid var(--opacity-secondary-mute);
}
.autocomplete__results__item:hover {
  background-color: var(--opacity-secondary-mute) !important;
}
.autocomplete__results__item:last-child {
  padding: 6px !important;
  border-bottom: 0px;
}
.bi-three-dots g path {
  color: var(--primary-color);
}

.vdp-datepicker input {
  display: block;
  width: 100%;
  line-height: 1.5;
  background-color: var(--white-color);
  border: 1px solid var(--gray-color);
  border-radius: 0.375rem;
}

.vdp-datepicker.invalide input {
  border: 1px solid var(--invalide-color);
  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);

  &:focus,
  &:active {
    border-color: var(--invalide-color);
    box-shadow: 0 0 0 0.25rem var(--opacity-invalide-color);
  }
}
.vdp-datepicker .vdp-datepicker__calendar {
  width: 100%;
  max-width: 320px;
  border-bottom-left-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}
.vdp-datepicker .vdp-datepicker__calendar .cell.selected {
  font-weight: bold;
  color: var(--white-color);
  background-color: var(--primary-color) !important;
}
.vdp-datepicker .vdp-datepicker__calendar .cell:hover {
  border-color: var(--primary-color) !important;
}
.vdp-datepicker .vdp-datepicker__calendar .cell.disabled:hover {
  border-color: var(--white-color) !important;
  background-color: initial !important;
  cursor: not-allowed;
}

input[type="text"] {
  &:focus,
  &:active {
    outline: none;
    box-shadow: none;
    border-color: var(--blur-color);
    box-shadow: 0 0 0 0.25rem var(--opacity-blur);
    transition: border-color 0.15s, box-shadow 0.15s;
  }
}

small.text-invalide {
  color: var(--invalide-color) !important;
}

.wrapper-consent {
  display: flex;
  gap: 10px;
}
.form-check-input {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50px !important;
  flex-shrink: 0;
}

.form-switch .form-check-input {
  width: 48px !important;
  height: 28px !important;
  margin: 0px;
}

.form-check-input:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}
.i-triangle {
  font-size: 20px;
  margin: 6px 1px;
}

/* Member CSS */
.information-wrapper {

  margin-top: 0px;

}
.information-detail {
  padding: 24px;
  background-color: var(--white-color);
  border-radius: 2rem;
}
div .exp-d-wrapper {
  font-size: 13px;
}

.qr-code {
  max-width: 100%;
  height: auto;
}

div.barcode-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 150px;
  align-items: center;
  justify-content: start;
}
div.barcode-wrapper svg {
  width: 100%;
  max-height: 65px;
}

.coupon-wrapper {
  height: 100%;
  padding-top: 10px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;

  &::-webkit-scrollbar {
    display: none;
  }
}

.coupon-list {
  /* margin: 10px 22px; */
  margin-bottom: 32px;
}
.coupon-item {
  padding: 14px;
  background-color: var(--white-color);
  border-radius: 2rem;
  /* box-shadow: 0 5px 20px var(--opacity-dark); */

  & .coupon-image {
    width: 100%;
    max-width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    
    & img {
      width: 100%;
      border-radius: 0.875rem;
    }
  }

  & .coupon-image-use {
    filter: grayscale(100%);
    transition: filter 0.5s ease-in-out;
  }

  & span.i-gift {
    display: block;
    width: 22px;
    height: 22px;
    background-image: url(/img/kmkmv2/icons/gift.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.coupon-lg-image {
  width: 100%;
  max-width: 400px;
  margin: auto;
  border-radius: 0.875rem;
}

.text-truncate-1 {
  margin-bottom: 0px;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.text-truncate-2 {
  margin-bottom: 0px;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-description {
  line-height: 1;
  font-size: 14px;
}

.coupon-date-wrapper {
  display: flex;
  flex-direction: column;

  & span {
    font-size: 12px;
  }
}

/* End Member CSS */

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

.tag-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;

  &::-webkit-scrollbar {
    display: none;
  }

  & .tag-list {
    display: inline-flex;
    padding: 0px !important;
    margin: 0;
    list-style: none;

    & .tag-item {
      flex-shrink: 0;
      margin: 12px 8px;
      padding: 6px 12px;
      font-size: 14px;
      color: var(--primary-color);
      border: 1px solid var(--primary-color);
      border-radius: 50px;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.3s ease;

      &:hover {
        background-color: var(--opacity-primary);
        box-shadow: 0 3px 8px var(--opacity-dark);
      }
    }
    & .tag-active {
      color: var(--white-color);
      background-color: var(--primary-color);
      box-shadow: 0 3px 8px var(--opacity-dark);

      &:hover {
        color: var(--white-color);
        background-color: var(--primary-color);
      }
    }
  }
}

.center-wrapper {
  width: 100%;
  padding: 0px 32px;
  text-align: center;
}

.center-wrapper.content-absolute {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.center-wrapper.content-static {
  height: 100%;
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-heading-wrapper {
  position: relative;
  margin: 12px;
  padding: 8px;
  padding-top: 72px;

  & .btn-back-wrapper {
    margin: 10px;
  }
}

.menu-list .menu-item,
.menu-item-lang {
  padding: 12px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--gray-color);

  & .menu-text p,
  h6 {
    margin: 0px;
  }

  & menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.menu-item-lang {
  margin: 16px 0px;
  padding: 6px;
  border: none;
  background-color: var(--opacity-gray);
  box-shadow: 0 3px 8px var(--secondary-color-mute);
  border-radius: 50px;
}

.section-wrapper {
  & h1 {
    font-size: 2rem;
  }
}

.wrapper-logo {
   display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px; 
    z-index: 2; /* ยกระดับให้ลอยเหนือ Background */
    flex-shrink: 0; 
    height: 60px; 

  & img {
    width: 100%;
  }
}



.close-position {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}

/* point history */
/* Section Point history */
.container-point {
  height: 100vh;
  padding: 24px;
  /* background-color: #e8e8e8; */
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.section-logo {
  width: 100%;
  margin-bottom: 1.5rem;
}
.section-logo img {
  border-radius: 3px;
}
.section-point {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1rem;
  overflow: hidden;
}
.box-details {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: center;
  color: #1c252d;
  font-size: 16px;
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  background-color: white;
  padding: 10px;
}
.box-details p {
  margin-bottom: 0.25rem;
  color: var(--dark-color);  
  font-size: clamp(1rem, 10vw, 1.125rem);
}
.box-details span {
  color: var(--dark-color);;
  font-size: clamp(1rem, 10vw, 1.25rem);
}
.point-filter {
  display: flex;
  gap: 1rem;
}
.point-filter .point-month,
.point-year {
  width: 100%;
}
.point-month .filter-text,
.point-year .filter-text {
  border: none !important;
  box-shadow: none !important;
  margin: 0px !important;
  color: var(--primary-color) !important;
  font-weight: bold;
  text-align: center;
  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(	249, 56, 34)' 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;
}
.point-listes {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--primary-color);
  border-radius: 20px;
  background-color: white;
  overflow: hidden;
}
.tabs-score {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px;
}
.tabs-score .nav-link {
  width: 100% !important;
  color: #1c252d !important;
  border-bottom: 2px solid #dadfe3 !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  text-align: center;
  padding: 2px;
  margin: 0;
}
.tabs-score .nav-link.active {
  border-bottom: 2px solid var(--primary-color) !important;
}
.tab-content {
  padding: 5px 0;
  flex-grow: 1;
  overflow: auto;
}
.points-history {
  min-height: 0;
  max-height: 100%;
}
.tab-content::-webkit-scrollbar {
  display: none;
}
.history-warper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #9e9e9e;
}
.history-warper .info-point {
  display: flex;
  flex-direction: column;
}
.info-point .title p {
  margin-bottom: 2px;
}
.info-point .action-date {
  color: #00000075;
  margin-top: 0.25rem;
  font-size: clamp(0.5rem, 10vw, 0.875rem);
}
.history-warper .point-total {
  text-align: end;
  font-weight: bold;
  color: var(--dark-color);;
}
.main-campaign {
  min-height: 100vh;
  padding: 35px 25px;
  background-color: #e8e8e8;
  background-size: cover;
}
.campaign-container {
  min-height: 92vh;
  width: 100%;
  height: 100%;
  padding: 20px;
  border-radius: 20px;
  background-color: var(--white-color);
  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 หน้า Share Line */
.referral-step {
  position: relative;
  padding-left: 50px; /* เว้นที่ว่างสำหรับไอคอนตัวเลขและเส้น */
}

/* เส้นเชื่อมต่อ (เหมือนในรูป) */
.referral-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 40px; /* เริ่มต้นจากใต้ไอคอน */
  left: 20px;
  width: 2px;
  height: calc(100% - 40px);
  background-color: #c00030; /* สีเส้น */
}

/* ภาชนะสำหรับไอคอนตัวเลข */
.step-icon-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #c00030; /* สีพื้นหลังไอคอน (สีแดงคล้ายในรูป) */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  z-index: 10; /* ให้อยู่ด้านหน้าเส้น */
}

.step-number {
  font-size: 1.2rem;
}

.step-card {
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.line-button {
  background-color: #00c300 !important; /* สีเขียว LINE */
  border-color: #00c300 !important;
  font-weight: bold;
}

/* จัดกึ่งกลางรูป LINE ในปุ่ม */
.line-button img {
  vertical-align: middle;
}

.invite-box {
  background-color: #f8f5ee; /* สีพื้นหลังนวลคล้ายในรูป */
  border-radius: 30px; /* ขอบโค้งมน */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* เงาเล็กน้อย */
  max-width: 500px; /* จำกัดความกว้างสำหรับแสดงผลที่ดี */
}

/* สไตล์สำหรับไอคอน */
.icon-container {
  color: #333; /* สีของไอคอน */
  display: flex;
  align-items: center;
}

.icon-large {
  font-size: 2.5rem; /* ขนาดไอคอนที่ใหญ่ขึ้น */
  /* Bootstrap-Vue Icon (BIconPersonPlus) จะแสดงเป็น SVG ซึ่งดีกว่าการใช้แค่ตัวอักษร */
}

.card-detail
 {
    width: 80%;
    position: absolute;
    top: 45%;
    left: 10%;
}

.superior-title {
  color: var(--dark-color) !important;
}

.sublime-title ,.living-title ,.life-title ,.welcome-title {
  color: var(--white-color);
}

.i-flag {
  display: inline-block;
  width: 48px;
  height: 48px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  
  &.i-flag-th {  background-image: url(/img/beauty/icon/flag-th.webp); }
  &.i-flag-en { background-image: url(/img/beauty/icon/flag-en.webp); }
}

.header-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 40px;      
}
.logo-container {
  width: 100%;
  max-width: 300px;      
  justify-content: center;
  align-items: center;
  
  flex-shrink: 0;
  z-index: 2;
  margin-top: 10px;     
  ::v-deep img, 
  ::v-deep svg {
    max-height: 100%;
    object-fit: contain;
  }
}


