.my_account_subscrpt .order-status { min-width: 100px; } /* * Legacy status badge. Dedicated `subscrpt-legacy-status` base + * `subscrpt-legacy-status--{name}` colour modifiers. Self-contained class names * (no broad `[class*="subscrpt-"]` attribute selector) so badges never collide * with BEM component spans that merely share the `subscrpt-` prefix. */ span.subscrpt-legacy-status { background: #bfdbfe; color: #1e40af; font-weight: 600; font-size: 12px; text-transform: capitalize; padding: 8px 10px; border-radius: 5px; } span.subscrpt-legacy-status--pending { background: #dbeafe; color: #1e40af; } span.subscrpt-legacy-status--active { background: #bbf7d0; color: #166534; } span.subscrpt-legacy-status--expired { background: #fecaca; color: #991b1b; } span.subscrpt-legacy-status--completed { background: #e0e7ff; color: #3730a3; } span.subscrpt-legacy-status--cancelled { background: #e2e8f0; color: #475569; } span.subscrpt-legacy-status--pe_cancelled, span.subscrpt-legacy-status--on-hold { background: #ffedd5; color: #b45309; } span.subscrpt-legacy-status--draft { background: #f3f3f3; color: #888; } /* Grace Period */ span.grace-active { position: relative; padding-right: 16px; } span.grace-icon { position: absolute; top: -5px; right: -5px; background: #fffbeb; border-radius: 50%; padding: 0px; height: 20px; width: 20px; } span.grace-icon .dashicons { color: #f59e0b; } span.grace-icon::after { content: attr(data-tooltip); position: absolute; top: -28px; right: 50%; transform: translateX(50%); background: #fef3c7; color: #b45309; font-size: 11px; padding: 4px 6px; border-radius: 3px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; } span.grace-icon:hover::after { opacity: 1; }