.wrapper {
  margin-bottom: 16px;
}

.section_title {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.loading {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border: none;
  min-height: 96px;
  width: 450px;
}

.card_purple {
  background-image: url("/img/Voucher-purple.png");
}

.card_blue {
  background-image: url("/img/Voucher-blue.png");
}

.card_disabled {
  opacity: 0.72;
}

.card_inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

.card_amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  width: 185px;
  color: #fff;
  font-family: var(--neuzeit-bol-font);
}

.amount_currency, .amount_value, .amount_label {
  font-size: 1.5rem;
  font-weight: 900;
}

.amount_discount {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.card_blue .card_amount {
  color: #f5fbff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.card_purple .card_amount {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.code_description{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2px;
  width: 100%;
  height: 100%;
  padding-right: 25px;
  padding-left: 25px;
  padding-bottom: 10px;
}

.code_description_title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  white-space: wrap;
  width: 80%;
}

.card_body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  height: 100%;
  width: 100%;
}

.code_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2px;
  height: 100%;
  padding-right: 30px;
  padding-left: 25px;
  padding-bottom: 10px;
  width: 100%;
}

.code_details{
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
  width: 50%;
}

.min_purchase {
  font-size: 0.6rem;
  margin: 0;
}

.valid_thru {
  font-size: 0.6rem;
  margin: 0;
}


.code {
  margin-top:5px ;
  font-size: 1.1rem;
  font-weight: 900;
  color: black;
  line-height: 1.2;
  font-family: var(--neuzeit-reg-font);
}


.card_blue .code {
  color: black;
}

.card_purple .code {
  color: black;
}

.savings {
  font-size: 0.74rem;
  color: #2f6b3a;
  line-height: 1.3;
}

.reason {
  font-size: 0.7rem;
  color: #8a5a00;
  margin: 2px 0 0;
  line-height: 1.35;
}

.countdown {
  margin: 2px 0;
  font-size: 0.68rem;
}

.apply_btn {
  margin-top: 6px;
  width: 100%;
  max-width: 120px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.apply_btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.apply_btn div {
  width: 100%;
  font-size: 0.68rem;
  text-align: center;
}

@media only screen and (max-width: 650px) {
  .card {
    min-height: 88px;
  }

  .card_inner {
    min-height: 88px;
    grid-template-columns: minmax(64px, 24%) 1fr;
  }

  .card_amount {
    padding: 8px 6px;
  }

  .amount_currency {
    font-size: 0.82rem;
  }

  .amount_discount {
    font-size: 0.82rem;                                                                                                        
  }

  .amount_value {
    font-size: 1.1rem;
  }

  .card_body {
    padding: 8px 10px 8px 8px;
  }

  .code {
    font-size: 0.84rem;
  }
}

/* Dashboard preview panel only */
.preview_scope {
  --neuzeit-bol-font: "Neuzeit Grotesk", "Segoe UI", sans-serif;
  --neuzeit-reg-font: "Neuzeit Grotesk", "Segoe UI", sans-serif;
  font-family: var(--neuzeit-reg-font);
}

.free_item_note {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.45;
  margin: 0;
}

.state_select {
  margin-bottom: 12px;
}

.state_select label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #555;
}

.state_select select {
  width: 100%;
}
