/* coupon styles */
.coupon-item-display.active-coupon-applied.coupon::before {
    background-image: radial-gradient(circle at 0 50%,
            transparent 25px,
            #d4edda 26px);
}

.coupon-item-display.active-coupon-applied.coupon::after {
    background-image: radial-gradient(circle at 100% 50%,
            transparent 25px,
            #d4edda 26px);

}

.coupon-item-display.inactive-coupon {
    background-color: #e9ecef;
    border-color: #ced4da;
    opacity: 0.7;
    cursor: not-allowed;
}

.coupon-item-display.inactive-coupon .fa-tag {
    color: #6c757d !important;
}

.coupon-item-display.inactive-coupon .btn.btn-secondary {
    cursor: not-allowed;
    pointer-events: none;
}

.coupon {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin: auto;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: stretch;
    position: relative;
    text-transform: uppercase;
}

.coupon::before,
.coupon::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: -1;
}

.coupon::before {
    left: 0;
    background-image: radial-gradient(circle at 0 50%,
            transparent 25px,
            gold 26px);
}

.coupon::after {
    right: 0;
    background-image: radial-gradient(circle at 100% 50%,
            transparent 25px,
            gold 26px);
}

.coupon>div {
    display: flex;
    align-items: center;
    justify-content: center !important;
}

.left {
    width: 20%;
    border-right: 1px dotted var(--medium-gray);
}

.left div {
    transform: rotate(-90deg);
    white-space: nowrap;
    font-weight: bold;
}

.center {
    flex-grow: 1;
    text-align: center;
    width: 50%;
    border-right: 1px dotted var(--medium-gray);

}

.right {
    width: 30%;
    background-image: radial-gradient(circle at 100% 50%,
            transparent 25px,
            #fff 26px);
    justify-content: flex-start !important;
    padding: 0px 10px
}

.right div {
    font-family: "Libre Barcode 128 Text", cursive;
    font-size: 2.5rem;
    font-weight: 400;
    transform: rotate(-90deg);
}


@media screen and (max-width:500px) {
    .coupon {
        display: grid;
        grid-template-columns: 1fr;
    }

    .left div {
        transform: rotate(0deg);
    }

    .right div {
        transform: rotate(0deg);

    }
}

.apply-coupon-btn.applied {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.apply-coupon-btn:disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    opacity: 0.65;
}

.coupon-item-display.coupon-disabled {
    opacity: 0.6;
    background-color: #f8f9fa;
}

.countdown-wrapper {
    background-color: #f5fdf5;
    border: 1px solid #f5fdf5;
}

.notification {
    background-color: #fdf5f5;
    border: 1px solid #f8d7da;
}

