#voucher-title {margin-top: 20px;text-align: center;font-weight: bold;}

#voucher-note {font-size: 12px;text-align: center;color: var(--successColor);}

#voucher-container {
  width: 100%;
  margin: 10px auto;
  /* direction: rtl; */
  /* background-color: green; */
  /* text-align: center; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#no-voucher{
  font-size: 14px;
  color: var(--errorColor);
}
/* --- CARD --- */
.voucher-card {
  position: relative;
  display: flex;
  direction: ltr;
  width: 350px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  /* background: var(--light1); */
  margin-bottom: 10px;
  /* box-shadow: 0 2px 6px rgba(74, 46, 25, 0.15); */
}

/* --- SEMI-CIRCLE CUTS --- */
.voucher-card::before,
.voucher-card::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--light2);
  border-radius: 50%;
  z-index: 3;
}

.voucher-card::before {
  left: -11px;
  top: 50%;
  transform: translateY(-50%);
}

.voucher-card::after {
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
}

/* --- INFO --- */
.voucher-info {
  width: 200px;
  background: var(--light1);
  color: var(--dark1);
  text-align: center;
  direction: rtl;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 8px;
  box-sizing: border-box;
  border-right: 2px dashed var(--primary);
}

.discount {
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  height: 25px;
  margin-bottom: 8px;
}

.note{
      font-size: 10px;
    color: #a7a1a1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.discount .value {
  font-size: 30px;
  font-weight: 800;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.discount .symbol {
  font-size: 16px;
  font-weight: 700;
  /* line-height: 1.2; */
  color: #b8301d;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.min-order {
  font-size: 11px;
  line-height: 1.4;
  margin: 3px 3px;
}

.highlight {
  color: var(--warningColor);
  font-weight: 700;
  font-size: 16px;
}

.period {
  font-size: 12px;
  /* margin: 3px 0 2px; */
}

.dates {
  font-size: 14px;
  color: var(--dark3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 175px;
  DIRECTION: LTR;
}

/* --- CODE --- */
.voucher-code {
  width: 150px;
  background: var(--primary);
  color: var(--light1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.code-text {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
}

.copy-icon {
  position: absolute;
  bottom: 6px;
  font-size: 20px;
  cursor: pointer;
  transition: opacity 0.2s;
  color: var(--light3);
}

.copy-icon:hover {
  opacity: 0.85;
}

/* --- TOAST --- */
#promo-toast {
  position: fixed;
  top: 20px;
  /* right: 20px; */
  left: 50%;
  transform: translateX(-50%);
  background: var(--successColor);
  color: var(--light1);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  width: 250px;
  text-align: center;
}

#promo-toast.show {
  opacity: 1;
}
