/* Popup styling */
#wcp-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
}

#wcp-popup .wcp-content {
      background: #fff;
    padding: 0;
    border-radius: 0;
    position: relative;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    top: 25%;
}

#wcp-popup .header{
	padding: 15px;
	border-bottom: 1px solid #eee
}
#wcp-popup .header h6{
	margin: 0;
}
.discount-icon::before {
	content: '';
    display: inline-block;
    width: 25px;
    height: 23px;
    margin-right: 4px;
    vertical-align: sub;
    background: url('offer_11391357.png') no-repeat center center;
    background-size: contain; /* scales image to fit width/height */
}
.wcp-content #wcp-coupons{
max-height: 500px;
    overflow-y: auto;
    padding: 0 10px;
}
.wcp-coupon {
    border-bottom: 1px solid #eee;
    padding: 12px;
    border-radius: 0;
    margin-bottom: 0;
}
.wcp-coupon:last-child{
	border-bottom: 0;
}

.wcp-coupon div{
    display: flex;
}


.wcp-coupon button{
    
    margin-left: auto;
    font-size: 12px;
    line-height: 15px;
    align-self: start;
}

.wcp-coupon h4 {
  margin: 0 0;
  font-size: 16px;
  color: #333;
}

.wcp-coupon h4 span {
  color: #0073aa;
  font-weight: bold;
}

.wcp-coupon p {
    margin: 0;
    font-size: 12px;
    color: #666;
    line-height: 18px;
}


#wcp-popup .footer{
    padding: 15px;
}

/* Toast */
#wcp-toast {
  visibility: hidden;
  min-width: 200px;
  margin-left: -100px;
  background: #2d3748;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: fixed;
  left: 50%;
  bottom: 30px;
  font-size: 14px;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.5s, bottom 0.5s;
}
#wcp-toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 50px;
}


/* Loader inside popup */
#wcp-coupons-loading {
  text-align: center;
  font-size: 16px;
  color: #333;
  padding: 30px 0;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

td .coupon {
	position: relative;
}
td .coupon .coupon-error-notice{
	white-space: nowrap;
    position: absolute;
    bottom: -20px;
    background: #ffe6e6;
    border-left: 4px solid #cc0000;
    color: #900;
    padding: 2px 10px;
}