#coupon-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.coupon-popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    width: 100%;
    overflow: auto;
    max-height: 80%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.coupon-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
}

.coupon-card {
    background: #f9f9f9;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    padding: 15px;
    width: 45%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.coupon-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.coupon-status {
    font-size: 14px;
    color: #666;
}

.coupon-body {
    margin-top: 15px;
    text-align: center;
}

.coupon-benefit {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.coupon-conditions {
    font-size: 14px;
    color: #666;
}

.coupon-description {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

.coupon-footer {
    margin-top: 15px;
    text-align: center;
}

.apply-coupon {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.apply-coupon:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Style for already applied coupons */
.applied-coupon {
    padding: 8px;
    margin-top: 8px;
    /* border-radius: 8px; */
    border: 1px solid #694f8e; /* Teal border */
}

.applied-coupon button {
    background-color: transparent;
    margin-left: 1rem;
    text-decoration: underline;
    /* pointer-events: none; */
    /* background-color: #eee; */
    border-color: #eee;
}

.applied-coupon .coupon-benefit {
    /* Dark teal text */
    /* color: #694f8e; */
}

.applied-coupon .apply-coupon {
    background: #694f8e; /* Dark teal button */
    cursor: not-allowed;
}

/* Style for coupons that cannot be added */
.excluded-coupon {
    background: #fff3e0; /* Light orange background */
    border: 1px solid #ffb74d; /* Orange border */
}

.excluded-coupon .coupon-benefit {
    color: #e65100; /* Dark orange text */
}

.excluded-coupon .apply-coupon {
    background: #e65100; /* Dark orange button */
    cursor: not-allowed;
}

.invalid-coupon {
    background: #e2e3e5;
    border: 1px solid #d6d8db;
}

.invalid-coupon .coupon-benefit {
    color: #6c757d;
}

.invalid-coupon .apply-coupon {
    background: #6c757d;
    cursor: not-allowed;
}

#close-coupon-popup {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: block;
    margin: 20px auto 0;
}
.coupon-card {
    background: #f9f9f9;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    padding: 20px;
    width: 45%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover; /* Add this to ensure the background image covers the card */
    background-position: center; /* Center the background image */
}
