@keyframes blc-spinner {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes blc-spinner {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes blccl-spinner {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes blccl-spinner {
    to {
        -webkit-transform: rotate(360deg);
    }
}

.blccl-btn-wrapper {
    text-align: left;
}

.blccl-btn-wrapper .blccl-btn {
    padding-left: 25px;
    background-image: url("../images/coupon.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 20px;
}

.blccl-lightbox {
    display: none;
}

.blccl-featherlight .featherlight-content {
    width: 90%;
    max-width: 500px;
    padding: 20px;
    border-bottom: 0;
}

.blccl-featherlight .featherlight-close {
    outline: none;
}

.blccl-heading {
    font-weight: 700;
    color: #222222;
    text-align: center;
    margin-bottom: 15px;
}

.blccl-coupons .blccl-coupon {
    background-color: #f8f8f8;
    color: #666;
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid #f8f8f8;
}

.blccl-coupons .blccl-coupon:not(.blccl-coupon-plain) {
    cursor: pointer;
}

.blccl-coupons .blccl-coupon .blccl-coupon-info .blccl-coupon-value {
    font-weight: 600;
    color: #000;
    line-height: 1.2;
    font-weight: normal;
    font-size: 14px;
    color: red;
}

.blccl-coupons .blccl-coupon .blccl-coupon-info .blccl-coupon-code-wrap {
    display: flex;
    width: 100%;
    align-items: center;
}

.blccl-coupons .blccl-coupon .blccl-coupon-info .blccl-coupon-code-wrap .blccl-coupon-code {

    padding: 5px 10px;
    margin: 5px 10px 5px 0;
    letter-spacing: 1px;
    color: #000000;
    line-height: 1.4;
    font-size: 16px;
}

.blccl-coupons .blccl-coupon .blccl-coupon-info .blccl-coupon-code-wrap .blccl-coupon-more {
    font-size: 14px;
    line-height: 1.2;
}


.blccl-coupon-expiry,

.blccl-coupons .blccl-coupon .blccl-coupon-info .blccl-coupon-code-wrap .blccl-coupon-more .blccl-coupon-expiry span {
    color: #ff6600;
}



.blccl-coupons .blccl-coupon:hover {
    border-color: #222222;
}

.blccl-coupons .blccl-coupon:hover .blccl-coupon-info .blccl-coupon-code-wrap .blccl-coupon-code {
    border-color: #222222;
}

.blccl-coupons .blccl-coupon.blccl-coupon-applied {
    position: relative;
    cursor: unset;
}

.blccl-coupons .blccl-coupon.blccl-coupon-applied .blccl-coupon-applied-txt {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 12px;
    line-height: 1;
    padding: 4px 6px;
    background-color: #222222;
    color: #ffffff;
}

.blccl-coupons .blccl-coupon:last-child {
    margin-bottom: 0;
}

.blccl-coupons .blccl-coupon.blccl-coupon-loading {
    position: relative;
}

.blccl-coupons .blccl-coupon.blccl-coupon-loading:before {
    width: 32px;
    height: 32px;
    display: block;
    margin-top: -16px;
    margin-left: -16px;
    content: "";
    background-image: url("../images/curve.svg");
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 8;
    -webkit-animation: blccl-spinner 1s linear infinite;
    -moz-animation: blccl-spinner 1s linear infinite;
    -ms-animation: blccl-spinner 1s linear infinite;
    -o-animation: blccl-spinner 1s linear infinite;
    animation: blccl-spinner 1s linear infinite;
}

.blccl-coupons .blccl-coupon.blccl-coupon-loading .blccl-coupon-info {
    opacity: 0.5;
}

.blccl-coupons .blccl-empty {
    padding: 20px 0;
    text-align: center;
}

.blccl-coupons.blccl-coupons-loading {
    position: relative;
    min-height: 120px;
}

.blccl-coupons.blccl-coupons-loading:before {
    width: 32px;
    height: 32px;
    display: block;
    margin-top: -16px;
    margin-left: -16px;
    content: "";
    background-image: url("../images/curve.svg");
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 8;
    -webkit-animation: blccl-spinner 1s linear infinite;
    -moz-animation: blccl-spinner 1s linear infinite;
    -ms-animation: blccl-spinner 1s linear infinite;
    -o-animation: blccl-spinner 1s linear infinite;
    animation: blccl-spinner 1s linear infinite;
}

.blccl-coupons.blccl-coupons-loading .blccl-coupon {
    opacity: 0.5;
    pointer-events: none;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
    display: flex;
}

.woocommerce-form-coupon-toggle .blccl-btn-wrapper {
    flex-grow: 1;
    text-align: right;
}

/* value only */


.blccl-coupon-discount-only{
    background: rgba(208, 1, 27, .08);
    border: 0;
    padding: 5px;
    margin: 0;
    font-size: 14px;
    margin-right: 10px;
    width: auto;
    position: relative;
}

.blccl-coupon-discount-only:after,
.blccl-coupon-discount-only:before{
    background-image: radial-gradient(#fff 2px, transparent 0);
    background-position-x: -6px;
    background-size: 6px 6px;
    content: "";
    height: calc(100% - 5px);
    position: absolute;
    top: 2.5px;
    width: 6px;
    
}
.blccl-coupon-discount-only:before{
    left: -2px;
}
.blccl-coupon-discount-only:after{
    right: -2px;
}
.blccl-coupon-discount-only .blccl-coupon-value{
    color: #ee4d2d;
} 


/* cart page */

.single .blccl-coupons.blccl-coupons-shortcode{
    display: flex;
}

.blccl-coupons.blccl-coupons-shortcode{
    margin-bottom: 20px;
    margin-top: 20px;

}

.woocommerce-checkout .blccl-coupons.blccl-coupons-shortcode{
    margin-top: 0;
}

.blccl-coupons .blccl-coupon{
    border: 1px dashed rgb(213, 93, 38);
    border-radius: 3px;
    background: #fff8ef;
    display: flex;
}

.blccl-coupons .blccl-coupon.blccl-coupon-disabled{
    border: 1px dashed rgb(245, 245, 245);
    background: #f7f7f7;
    color: #909090 ;
}

.blccl-coupons .blccl-coupon.blccl-coupon-disabled .blccl-coupon-info .blccl-coupon-value,
.blccl-coupons .blccl-coupon.blccl-coupon-disabled .blccl-coupon-code{
    color: #818181 !important;
}



.blccl-coupons .blccl-coupon.blccl-coupon-applied{
    border: 1px dashed rgb(37, 181, 44);
    background: #edffeb;
}

.blccl-coupons .blccl-coupon .blccl-coupon-info{
    flex: 1;
}

.blccl-coupons .blccl-coupon .blccl-coupon-more-actions{
    width: 85px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.blccl-coupons .blccl-coupon .blccl-coupon-more-actions a{
    background-color: rgb(213, 93, 38);
    color: #FFF;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
    min-height: auto;
}

.blccl-coupons .blccl-coupon .blccl-coupon-code-wrap{
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.blccl-coupons .blccl-coupon .blccl-coupon-code{
    color: rgb(255, 81, 0) !important ;
    border: 0 !important;
    font-size: 18px;
    text-transform: uppercase;
    padding: 3px 5px !important;
    margin:  0 !important;
    font-weight: 700;
    line-height: 1 !important;
}

.blccl-coupons .blccl-coupon .blccl-coupon-more-details{
    font-size: 13px;
    line-height: 1.1;
}
