/* woPaddle by Menfia — Checkout CSS */

/* ── Loading overlay ─────────────────────────────────────────── */
.mp-checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: mp-fade-in .2s ease;
}
@keyframes mp-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Spinner ─────────────────────────────────────────────────── */
.mp-checkout-spinner {
    width: 52px;
    height: 52px;
    border: 4px solid rgba(255,255,255,.2);
    border-top-color: #0B4DFF;
    border-radius: 50%;
    animation: mp-spin .75s linear infinite;
    margin: 0 auto;
}
@keyframes mp-spin {
    to { transform: rotate(360deg); }
}

/* ── Inline checkout embed ───────────────────────────────────── */
.mp-inline-checkout {
    min-height: 500px;
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    margin: 20px 0;
    overflow: hidden;
}

/* ── Receipt wrap ────────────────────────────────────────────── */
.mp-receipt-wrap {
    text-align: center;
    padding: 24px 0 8px;
}
.mp-receipt-wrap p {
    color: #646970;
    margin-bottom: 16px;
    font-size: .95rem;
}
#mp-open-checkout {
    display: inline-block;
    padding: 12px 28px;
    background: #0B4DFF;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
#mp-open-checkout:hover {
    background: #0039cc;
    transform: translateY(-1px);
}

/* ── Subscription price labels ───────────────────────────────── */
.mp-billing-cycle {
    font-size: .75em;
    color: #646970;
    font-weight: 400;
}
.mp-trial-badge {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    font-size: .68em;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 4px;
    font-weight: 600;
    vertical-align: middle;
}
