.d-flex{
  display: flex;
}
.flex-space-between{
  justify-content: space-between;
}
.mb-1 {
  margin-bottom: 5px;
}
.mb-2 {
  margin-bottom: 10px;
}
.mb-3 {
  margin-bottom: 15px;
}

.label-tag{
  border-radius: 50px;
  padding: 2px 18px;
  background-color: rgba(0,0,0,0.1);
}
.label-tag.label-tag-success{
  background-color: #d2ede0;
  color: #279972;
}
.card-box {
  box-shadow: 0 0 0 0.1rem rgba(18,18,18, 0.08);
  /* box-shadow: 0 0 0 0.1rem rgba(var(--color-foreground), 0.08); */
  padding: 2.2rem;
  margin-bottom: 2rem;
}

.card-image{
  margin-bottom: 15px;
}
.card-image img{
  width: 100%;
  aspect-ratio: 5/3;
  object-fit: cover;
  background-color: white;
  box-shadow: 0 0 5px 1px rgba(18, 18, 18, 0.05);
  border-radius: 10px;
}

.member-card-wrapper{
  max-width: 400px;
  margin: auto;
}
.member-card{
  position: relative;
  width: 100%;
  padding-bottom: 60%;
  border-radius: 10px;
  line-height: 1.2;
  box-shadow: 2px 5px 15px -3px rgba(18, 18, 18, 0.3);
  background-color: white;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.member-card_title{
  font-size: 30px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 220px;
  display: inline-block;
  line-height: 1;
}

.card-type_simple{
  background-color: #323131;
  color: #fff;
}

.card-type_customize .qr-modal-toggle{
  background: #fff;
  color: #000;
  padding: 2px;
  border-radius: 5px;
  box-shadow: 0 0 5px 1px rgba(18, 18, 18, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-card_detail{
  position: absolute;
  left: 20px;
  right: 20px;
  display:flex;
  justify-content: space-between;
  align-items: flex-end;
}
.member-card_detail:first-child{
  top: 20px;
}
.member-card_detail:last-child{
  bottom: 20px;
  column-gap: 5px;
}
.block{
  display: block;
}

/* component-modal */
details[open] > .confirmation-modal.modal__content {
  position: static;
}

details[open] > .confirmation-modal .confirmation-modal__content {
  transform: translate(-50%, 0);
  transition: transform var(--duration-default) ease, visibility 0s;
  z-index: 10000;
  background-color: #F8F9FA;
  border-color: rgba(18, 18, 18, 0.2);
  border-style: solid;
  border-width: 1px;
  padding: 25px 35px;
  position: fixed;
  top: 10vh;
  left: 50%;
  width: 100%;
  max-width: 400px;
  color: #000;
  text-align: left;
}

details[open] > .confirmation-modal .confirmation-modal__content .h3 {
  color: #000;
}

details[open] > .confirmation-modal .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2001;
  display: block;
  opacity: 1;
  transition: opacity var(--duration-default) ease, visibility 0s;
}

.modal__toggle {
  list-style-type: none;
}

.no-js details[open] .modal__toggle {
  position: absolute;
  z-index: 2;
}

.modal__toggle-close {
  display: none;
}

.no-js details[open] svg.modal__toggle-close {
  display: flex;
  z-index: 1;
  height: 1.7rem;
  width: 1.7rem;
}

.modal__toggle-open {
  display: flex;
}

.no-js details[open] .modal__toggle-open {
  display: none;
}

.no-js .modal__close-button.link {
  display: none;
}

.modal__close-button.link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0rem;
  height: 4.4rem;
  width: 4.4rem;
  background-color: transparent;
}

.modal__close-button .icon {
  width: 1.7rem;
  height: 1.7rem;
}

.modal__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(var(--color-background));
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-modal {
  cursor: zoom-out;
}

.media-modal .deferred-media {
  cursor: initial;
}


.customer .pagination,.customer .pagination-wrapper{
  margin-top: 0;
  margin-bottom: 2rem;
}
@media screen and (min-width: 990px){
  :is(.account, .order) > div:nth-of-type(2) {
      display: flex;
      margin-top: 4rem;
  }
  :is(.account, .order) > div:nth-of-type(2) > div:first-of-type {
    flex-grow: 1;
    padding-right: 3.2rem;
  }
}
@media screen and (max-width: 600px) {
  .md-d-block{
    display: block;
  }
  :is(.account, .order) > div:nth-of-type(2){
    margin-top: 2rem;
  }
}

.point-info {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooltip {
  position: relative;
}

.tooltip .svg-icon {
  height: 18px;
  width: 18px;
}

.tooltip .tooltip-content {
  display: none;
  z-index: -2;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translate(-50%, 0);
  margin: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 7px 10px;
  line-height: 1.3;
  font-size: 13px;
  border-radius: 3px;
  min-width: 200px;
}

.tooltip .tooltip-content::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translate(-50%, 0);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(0, 0, 0, 0.8);
}

.tooltip:hover .tooltip-content,
.tooltip:active .tooltip-content,
.tooltip:focus .tooltip-content {
  display: block;
  opacity: 1;
  z-index: 3;
}