:root {
  --circle-size: clamp(1.5rem, 5vw, 3rem);
  --spacing: clamp(0.25rem, 2vw, 0.5rem);

  --theory-green: #0a4550;
  --theory-blue: #8bb6eb;
  --theory-brown: #434343;

  --theory-green-light: #8faab1;
  --theory-blue-light: #c5daf7;
  --theory-brown-light: #919598;

  --theory-white: #fff;
}

.c-stepper {
  display: flex;
}

.c-stepper__item {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}
.c-stepper__item:before {
  --size: 3rem;
  content: "";
  display: block;
  width: var(--circle-size);
  height: var(--circle-size);
  border-radius: 50%;
  background-color: lightgrey;
  /* opacity: 0.5; */
  margin: 0 auto 1rem;
}
.stepper-active:before {
  --size: 3rem;
  content: "";
  display: block;
  width: var(--circle-size);
  height: var(--circle-size);
  border-radius: 50%;
  background-color: var(--theory-green);
  /* opacity: 0.5; */
  margin: 0 auto 1rem;
}
.c-stepper__item:not(:last-child):after {
  content: "";
  position: relative;
  top: calc(var(--circle-size) / 2);
  width: calc(100% - var(--circle-size) - calc(var(--spacing) * 2));
  left: calc(50% + calc(var(--circle-size) / 2 + var(--spacing)));
  height: 2px;
  background-color: #e0e0e0;
  order: -1;
}

.c-stepper__title {
  font-weight: 500;
  /* font-size: clamp(1rem, 4vw, 1.25rem); */
  font-size: 12px;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .c-stepper__title {
    font-size: 18px;
  }
}
.c-stepper__desc {
  color: grey;
  /* font-size: clamp(0.85rem, 2vw, 1rem); */
  font-size: 12px;
  padding-left: var(--spacing);
  padding-right: var(--spacing);
}

.timeline-container {
  /* font-family: "Roboto", sans-serif; */
  /* width: 50%; */
  margin: auto;
  display: block;
  position: relative;
}
.timeline-container ul.tl {
  margin: 20px 0;
  padding: 0;
  display: inline-block;
  width: 100%;
}
.timeline-container ul.tl li {
  list-style: none;
  margin: auto;
  min-height: 50px;
  border-left: 1px solid var(--theory-green);
  padding: 0 0 50px 30px;
  position: relative;
  display: flex;
  flex-direction: row;
}
.timeline-container ul.tl li.dashed {
  border-left: 1px dashed var(--theory-green);
}
.timeline-container ul.tl li:last-child {
  border-left: 0;
}
.timeline-container ul.tl li .item-icon {
  position: absolute;
  left: -10px;
  top: -5px;
  content: " ";
  border: 8px solid rgba(255, 255, 255, 0.74);
  border-radius: 500%;
  background: var(--theory-green);
  height: 20px;
  width: 20px;
}
.timeline-container ul.tl li:hover::before {
  border-color: #258cc7;
  transition: all 1000ms ease-in-out;
}

ul.tl li .item-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 250px;
}
/* ul.tl li .item-title {
} */
ul.tl li .item-detail {
  color: rgba(0, 0, 0, 0.5);
  font-size: 12px;
}
ul.tl li .item-timestamp {
  color: #8d8d8d;
  font-size: 12px;
  text-align: right;
  padding-left: 20px;
}

.msglow-card-profile {
  background: #f6f6f7;
  padding: 5px 10px;
  cursor: pointer;
}
.msglow-card-profile:hover {
  background: var(--theory-green) 10;
}

.msglow-button {
  border: 2px solid var(--theory-green);
  border-radius: 5px;
  padding: 5px 10px;
  background: transparent;
  font-weight: 500;
  /* color: var(--theory-green); */
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.msglow-button:hover {
  border: 2px solid var(--theory-green-light);
  border-radius: 5px;
  /* padding: 10px 20px; */
  background: transparent;
  font-weight: 500;
  color: var(--theory-green-light);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.msglow-button-solid {
  background: var(--theory-green);
  border: 2px solid var(--theory-green);
  color: #fff !important;
  justify-content: center;
  width: 100%;
  padding: 5px 10px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  box-shadow: 0 1px 4px #0000001a;
  /* backdrop-filter: blur(5px); */
  /* -webkit-backdrop-filter: blur(5px); */
  transition: ease 100ms;
  -webkit-transition: ease 100ms;
  -moz-transition: ease 100ms;
  -ms-transition: ease 100ms;
  -o-transition: ease 100ms;
}
.msglow-button-solid:hover {
  background: var(--theory-green-light);
}
.msglow-button-solid:disabled {
  background: var(--theory-green-light);
}
.msglow-button-history-sm {
  border: 2px solid var(--theory-green);
  background: transparent;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
}
@media (min-width: 768px) {
  .msglow-button {
    padding: 10px 20px;
  }
  .msglow-button-solid {
    padding: 10px 20px;
  }
  .msglow-button-history-sm {
    padding: 4px 20px;
  }
}
.msglow-dropdown-history {
  padding: 4px 12px !important;
  white-space: nowrap;
  cursor: pointer;
  font-size: 14px;
}
.msglow-dropdown-history:hover {
  background: var(--theory-green-light);
  color: #fff;
}
.msglow-card-profile {
  background: #f6f6f7;
  padding: 5px 10px;
  cursor: pointer;
}
.msglow-card-profile:hover {
  background: var(--theory-green) 10;
}
.msglow-card {
  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  /* backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); */
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px 10px;
}
.msglow-card > * {
  color: black;
  font-weight: 400;
}
.msglow-card-address {
  border: 2px solid transparent !important;
  cursor: pointer;
}
.msglow-card-address:hover {
  border: 2px solid var(--theory-green) !important;
}
.msglow-card-history {
  -webkit-box-shadow: 0px 0px 5px 0px #8d8d8d99;
  -moz-box-shadow: 0px 0px 5px 0px #8d8d8d99;
  box-shadow: 0px 0px 5px 0px #8d8d8d99;
  /*border: 1px solid #8d8d8d !important;
  */
  padding: 20px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
.rounded-eclipse {
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
}
.benefit-image {
  object-fit: contain;
  width: 60px;
  height: 60px;
}
.msglow-image-product {
  height: 150px !important;
  width: 100%;
  object-fit: contain;
}
@media (min-width: 768px) {
  .msglow-image-product {
    height: 200px !important;
  }
}

.select2 {
  min-width: 300px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.select2-dropdown {
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  /* backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); */
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  /* backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); */
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.select2-container--default .select2-selection--single {
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border: 2px solid #8d8d8d;
  /* box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1); */
  /* backdrop-filter: blur(5px); */
  height: unset;
  padding: 4px 6px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 5px;
  right: 5px;
}
.select2-search__field {
  outline: none !important;
}
.select2-results__options {
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.select2-container--default .select2-results__option--selected {
  background: var(--theory-blue);
  color: var(--theory-green);
  width: 100%;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  color: var(--theory-white);
  background: var(--theory-green);
  width: 100%;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.select2-results__option--selectable {
  width: 100%;
}

.select2-results__options::-webkit-scrollbar {
  background: white;
  width: 8px;
  height: 5px;
}
.select2-results__options::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #00000020;
}
.select2-results__options::-webkit-scrollbar-thumb {
  background: #00000020;
  border: 1px solid #00000020;
}
.select2-results__options::-webkit-scrollbar-thumb:hover {
  background: var(--theory-green-light);
}

.select2-results__options::-webkit-scrollbar,
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 28px;
}
.review-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  cursor: pointer;
  background: var(--theory-green-light);
}
@media (min-width: 992px) {
  .review-content {
    width: 380px;
  }
}
.msglow-image-product-detail-thumbnail {
  width: 100%;
  height: 100px;
  object-fit: contain;
  cursor: pointer;
}
.msglow-image-product-detail {
  width: 100%;
  height: 350px;
  object-fit: contain;
}

.swiper-reviewImage {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--theory-green);
}
.swiper-reviewImage-thumbnail {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--theory-green-light);
}
.slider-product-detail-wrapper {
  display: block;
}

.styled-scrollbar::-webkit-scrollbar {
  background: white;
  width: 8px;
  height: 5px;
}
.styled-scrollbar::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #00000020;
}
.styled-scrollbar::-webkit-scrollbar-thumb {
  background: #00000020;
  border: 1px solid #00000020;
}
.styled-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #999999;
}

.styled-scrollbar::-webkit-scrollbar,
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
  border-radius: 10px;
}

.widget-wrap-checkout {
  display: grid;
  gap: 20px;
  background-color: #fbfbfc;
  border: 10px;
}

.widget-wrap-checkout .checkout-product-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.widget-wrap-checkout .checkout-product-item:not(:last-child) {
  margin-bottom: 15px;
}

.widget-wrap-checkout .checkout-product-item .img-product {
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 3px;
  position: relative;
}

.widget-wrap-checkout .checkout-product-item .img-product .quantity {
  position: absolute;
  right: -8px;
  top: -8px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background-color: #666;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.widget-wrap-checkout .checkout-product-item .img-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.widget-wrap-checkout .checkout-product-item .content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-wrap-checkout .checkout-product-item .content .variant {
  font-size: 12px;
  line-height: 18px;
  color: var(--text);
}

.msglow-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  color: #fff;
  height: fit-content;
  width: fit-content;
}

.msglow-badge-history {
  font-size: 10px;
  padding: 4px 20px;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
  color: #fff;
  height: fit-content;
  width: fit-content;
}

@media (min-width: 768px) {
  .msglow-badge {
    font-size: 12px;
  }

  .msglow-badge-history {
    font-size: 12px;
  }
}

.overflow-y-auto {
  overflow-y: auto;
}

.pointer {
  cursor: pointer;
}

.msglow-input {
  border: none;
  border-bottom: 2px solid var(--theory-green) !important;
  padding: 12px;
  font-size: 16px;
}
.msglow-input:focus {
  outline: none;
  box-shadow: none;
  border-bottom: 2px solid var(--theory-green);
  box-shadow: 0 1px 4px #0000001a;
  /* backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); */
}

.rating-review {
  display: flex;
  direction: rtl;
  /* Pastikan bintang diurutkan dari kiri ke kanan */
  justify-content: left;
}

.star-review {
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s;
}

.star-review:hover,
.star-review:hover ~ .star-review {
  color: #ffca08;
}

.star-review.selected {
  color: #ffca08;
}

.star-review.unselected {
  color: #ccc;
}

.custom-file-input {
  display: none;
}

.preview-container {
  position: relative;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
}

.preview-container img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  display: block;
}

.remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  cursor: pointer;
}
