@import url('https://fonts.googleapis.com/css?family=Quicksand&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
.smartpay-edd-alert{
    width:100%;
    margin:20px auto;
    padding:10px 6px 2px 6px;
    position:relative;
    border-radius:5px;
    display: flex;
    justify-content: space-between;
}

.smartpay-edd-alert >p {
    font-family: Quicksand, serif;
    flex: 1 1 0;
}

.smartpay-edd-alert-success {
    background-color: #a8f0c6;
    border-left: 2px solid #6c7f73
}

.smartpay-edd-alert-danger {
    background-color: #f0c6c6;
    border-left: 2px solid #6c7f73
}
.smartpay-edd-alert-close{
    width:30px;
    height:30px;
    opacity:0.5;
    border-width:1px;
    border-style:solid;
    border-radius:50%;
    text-align:center;
    font-size:1.2em;
    cursor:pointer;
    border-color:#6c7f73;
    color:#6c7f73;
}

/* Paddle Billing: pay box on the EDD confirmation/receipt page */
.smartpay-billing-checkout{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;margin:24px 0;padding:20px 24px;border:1px solid #e4dcfb;border-radius:12px;background:#f7f4ff;}
.smartpay-billing-checkout__text{display:flex;flex-direction:column;gap:4px;flex:1 1 280px;min-width:0;}
.smartpay-billing-checkout__text strong{font-size:17px;font-weight:600;line-height:1.3;color:#17122b;}
.smartpay-billing-checkout__text span{font-size:14px;line-height:1.5;color:#5d5874;}
.smartpay-billing-checkout .smartpay-billing-pay{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:13px 24px;border:0;border-radius:8px;background:#5419e6;color:#fff;font-family:inherit;font-size:15px;font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer;box-shadow:0 1px 2px rgba(84,25,230,.3);transition:background-color .15s ease,box-shadow .15s ease,transform .15s ease;}
.smartpay-billing-checkout .smartpay-billing-pay:hover{background:#4511c9;box-shadow:0 8px 20px rgba(84,25,230,.28);}
.smartpay-billing-checkout .smartpay-billing-pay:active{transform:translateY(1px);}
.smartpay-billing-checkout .smartpay-billing-pay:focus-visible{outline:3px solid rgba(84,25,230,.35);outline-offset:2px;}
.smartpay-billing-checkout .smartpay-billing-pay[hidden]{display:none;}
.smartpay-billing-checkout .smartpay-billing-pay svg{width:16px;height:16px;flex:none;}
.smartpay-billing-checkout .smartpay-billing-message{flex-basis:100%;margin:0;font-size:14px;color:#17122b;}
.smartpay-billing-checkout .smartpay-billing-message:empty,.smartpay-billing-checkout .smartpay-billing-frame:empty{display:none;}
.smartpay-billing-checkout .smartpay-billing-frame{flex-basis:100%;}
@media (max-width:600px){.smartpay-billing-checkout{padding:18px;}.smartpay-billing-checkout .smartpay-billing-pay{width:100%;}}
