
.sxwl-auto-renew-wrap{
display:flex;align-items:center;gap:12px;margin:12px 0;
}

.sxwl-auto-renew-wrap-label{
    font-weight:600;font-size:0.95em;color:#374151;
}

.sxwl-toggle{
    
position:relative;
display:inline-block;
width:52px;
height:28px;
border-radius:999px;

transition:background 0.25s ease;
flex-shrink:0;
text-decoration:none;
}


.sxwl-toggle-span{
    position:absolute;
    top:3px;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 1px 4px rgba(0,0,0,0.2);
    transition:left 0.25s ease;
    display:block;
}

   .sxwl-toggle:hover {
            opacity: 0.85;
        }
        .sxwl-toggle:focus {
            outline: 2px solid #2271b1;
            outline-offset: 2px;
        }

        .sxwl-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.sxwl-subscriptions-pagination {
    width: 100%;
    display: flex;
    margin: auto;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 15px;
}


/* ============================================
   SXWL Subscription Action Buttons
   ============================================ */

/* ── Base style for all subscription action buttons ── */
.sxwl-resubscribe-action,
.sxwl-reactivate-action,
.sxwl-renew-action,
.sxwl-cancel-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    line-height: 1.4;
}

/* ── Resubscribe — Blue ── */
.sxwl-resubscribe-action {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.sxwl-resubscribe-action:hover {
    background: #135e96;
    border-color: #135e96;
    color: #fff;
}

/* ── Reactivate — Green ── */
.sxwl-reactivate-action {
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
}

.sxwl-reactivate-action:hover {
    background: #15803d;
    border-color: #15803d;
    color: #fff;
}

/* ── Renew — Outlined Blue ── */
.sxwl-renew-action {
    background: #fff;
    color: #2271b1;
    border-color: #2271b1;
}

.sxwl-renew-action:hover {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

/* ── Cancel — Red outlined ── */
.sxwl-cancel-action {
    background: #fff;
    color: #dc2626;
    border-color: #dc2626;
}

.sxwl-cancel-action:hover {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}

/* ── Disabled state for all ── */
.sxwl-resubscribe-action.disabled,
.sxwl-reactivate-action.disabled,
.sxwl-renew-action.disabled,
.sxwl-cancel-action.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .sxwl-resubscribe-action,
    .sxwl-reactivate-action,
    .sxwl-renew-action,
    .sxwl-cancel-action {
        width: 100%;
        justify-content: center;
    }
}