.enable-loyalty-display {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.enable-loyalty-display h3 {
  color: #343a40;
  font-size: 1.2em;
  margin-bottom: 10px;
  border-bottom: 2px solid #007bff;
  padding-bottom: 5px;
}

.enable-loyalty-display h4 {
  color: #495057;
  font-size: 1em;
  margin-top: 15px;
  margin-bottom: 8px;
}

.loyalty-info {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.loyalty-info p {
  background-color: #e9ecef;
  padding: 8px;
  border-radius: 5px;
  margin-bottom: 5px;
  text-align: left;
  font-size: 0.9em;
}

.coupon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 5px;
}

.enable-coupon-btn {
  background-color: #007bff;
  color: #ffffff;
  border: none;
  width: calc(50% - 4px);
  height: auto;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8px;
  font-size: 0.9em;
}

.enable-coupon-btn:hover {
  background-color: #0056b3;
}

.enable-coupon-btn.active {
  background-color: #28a745; /* Change to green when active */
}

.enable-coupon-btn .coupon-value {
  font-weight: bold;
  margin-bottom: 5px;
}

.enable-coupon-btn .coupon-cost {
  font-size: 0.8em;
  opacity: 0.9;
}

.enable-coupon-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 768px) {
  .enable-coupon-btn {
    width: 100%;
  }
}
