.Coupons_Modal {
  --coupon-primary: #183d28;
  --coupon-secondary: #92c743;
  --coupon-accent: #f4b942;
  --coupon-light: #f5f9ef;
  --coupon-soft: #eef5e8;
  --coupon-border: #dce8d5;
  --coupon-text: #333;
  --coupon-muted: #777;
}

.Coupons_Modal .modal-body {
  padding: 20px;
  background: #fff;
  color: #000;
  border-radius: 14px;
}

.Coupons_Modal .title_div {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.Coupons_Modal .title_div .title_text {
  margin: 0 0 0 9px;
  color: var(--coupon-primary);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.all_coupon_cards_holder {
  max-height: 400px;
  overflow-y: auto;
  padding: 4px;
  scrollbar-width: thin;
  scrollbar-color: #92c743 #eef5e8;
}

.all_coupon_cards_holder::-webkit-scrollbar {
  width: 5px;
}

.all_coupon_cards_holder::-webkit-scrollbar-track {
  background: #eef5e8;
  border-radius: 10px;
}

.all_coupon_cards_holder::-webkit-scrollbar-thumb {
  background: #92c743;
  border-radius: 10px;
}

.Coupons_Modal .coupons_holder {
  margin-bottom: 14px;
}

.Coupons_Modal .coupon_div {
  min-height: 145px;
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--coupon-border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.Coupons_Modal .coupon_div:hover {
  border-color: var(--coupon-secondary);
  box-shadow: 0 6px 20px rgba(24, 61, 40, 0.12);
  transform: translateY(-2px);
}

.Coupons_Modal .coupon_image {
  width: 250px;
  min-width: 150px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.Coupons_Modal .coupon_image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 61, 40, 0.12);
}

.Coupons_Modal .coupon_content {
  flex: 1;
  padding: 18px 20px;
  min-width: 0;
}

.Coupons_Modal .coupon_title {
  margin: 0 0 6px;
  color: var(--coupon-primary);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.Coupons_Modal .coupon_discount {
  margin: 0 0 6px;
  color: #6b962c;
  font-size: 16px;
  font-weight: 800;
}

.Coupons_Modal .coupon_minimum {
  margin: 0 0 7px;
  color: #555;
  font-size: 12px;
  font-weight: 600;
}

.Coupons_Modal .coupon_info {
  margin: 0;
  color: var(--coupon-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.Coupons_Modal .coupon_action {
  width: 145px;
  min-width: 145px;
  padding: 18px 15px;
  border-left: 1px dashed #cbdcc1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--coupon-light);
}

.Coupons_Modal .coupon_code {
  padding: 6px 12px;
  border: 1px dashed var(--coupon-primary);
  border-radius: 6px;
  color: var(--coupon-primary);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.Coupons_Modal .coupon_action .Green_btn_holder {
  width: 100%;
}

.Coupons_Modal .coupon_action .Green_btn {
  width: 100%;
  min-width: 90px;
  font-size: 13px;
  border-radius: 6px;
}

.Coupons_Modal .coupon_action .Green_btn:hover {
  background: #6f9f32;
}

/* No Coupon */

.no_coupon_div {
  width: 100%;
  min-height: 280px;
  padding: 40px 25px;
  margin: 15px 0;
  border-radius: 14px;
  background: var(--coupon-light);
  border: 1px solid var(--coupon-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.no_coupon_emoji {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--coupon-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(24, 61, 40, 0.18);
}

.no_coupon_emoji svg {
  color: #fff;
}

.no_coupon_title {
  margin: 0 0 7px;
  color: var(--coupon-primary);
  font-size: 20px;
  font-weight: 700;
}

.no_coupon_text {
  max-width: 430px;
  margin: 0;
  color: var(--coupon-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Tablet */

@media (max-width: 991px) {
  .Coupons_Modal .modal-body {
    padding: 20px 15px;
  }

  .Coupons_Modal .coupon_div {
    min-height: 120px;
  }

  .Coupons_Modal .coupon_image {
    display: none !important;
  }

  .Coupons_Modal .coupon_content {
    padding: 13px;
  }

  .Coupons_Modal .coupon_title {
    font-size: 14px;
  }

  .Coupons_Modal .coupon_discount {
    font-size: 14px;
  }

  .Coupons_Modal .coupon_minimum,
  .Coupons_Modal .coupon_info {
    font-size: 10px;
  }

  .Coupons_Modal .coupon_action {
    width: 125px;
    min-width: 90px;
    padding: 10px 7px;
  }

  .Coupons_Modal .coupon_code {
    padding: 4px 6px;
    font-size: 9px;
  }

  .Coupons_Modal .coupon_action .Green_btn {
    font-size: 10px;
    padding: 5px 4px;
  }
}

/* Mobile */

@media (max-width: 575px) {
  .Coupons_Modal .modal-body {
    padding: 15px 10px;
    border-radius: 10px;
  }

  .Coupons_Modal .title_div {
    margin-bottom: 14px;
  }

  .Coupons_Modal .title_div .title_text {
    font-size: 16px;
  }

  .Coupons_Modal .coupon_div {
    min-height: 105px;
    border-radius: 9px;
  }

  .Coupons_Modal .coupon_content {
    padding: 10px 8px;
  }

  .Coupons_Modal .coupon_title {
    font-size: 11px;
    margin-bottom: 3px;
  }

  .Coupons_Modal .coupon_discount {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .Coupons_Modal .coupon_minimum {
    font-size: 9px;
    margin-bottom: 3px;
  }

  .Coupons_Modal .coupon_info {
    font-size: 9px;
    line-height: 1.3;
  }

  .Coupons_Modal .coupon_action {
    width: 72px;
    min-width: 72px;
    padding: 7px 5px;
    gap: 7px;
    border-left: 1px dashed #cbdcc1;
  }

  .Coupons_Modal .coupon_code {
    font-size: 8px;
    padding: 3px 4px;
    letter-spacing: 0.5px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .Coupons_Modal .coupon_action .Green_btn {
    min-width: 55px;
    width: 100%;
    font-size: 9px;
    padding: 4px 2px;
  }

  .no_coupon_div {
    min-height: 230px;
    padding: 30px 15px;
  }

  .no_coupon_emoji {
    width: 55px;
    height: 55px;
    font-size: 25px;
  }

  .no_coupon_title {
    font-size: 17px;
  }

  .no_coupon_text {
    font-size: 11px;
  }
}
