/* Expired / cancelled / suspended subscription screen — uses the portal's tokens so it matches the rest of the UI. */
.rp-subexp{display:grid;gap:18px;max-width:1100px}
.rp-subexp h2,.rp-subexp h3,.rp-subexp h4,.rp-subexp p{margin:0}
.rp-subexp-banner{display:flex;align-items:center;gap:20px;padding:22px 26px;border-radius:18px;background:linear-gradient(135deg,#fff1f1,#fde3e3);border:1px solid #f6c4c4;color:#7a1d1d}
.rp-subexp-banner-ico{flex:none;color:#dc2626;display:flex}
.rp-subexp-banner-text{flex:1;min-width:0}
.rp-subexp-banner h2{color:#dc2626;font-size:clamp(22px,3vw,30px);line-height:1.15;margin-bottom:6px}
.rp-subexp-banner p{color:#1f2937;font-size:15px;line-height:1.5}
.rp-subexp-renew{flex:none;display:inline-flex;align-items:center;gap:8px;padding:14px 30px;border-radius:12px;background:#dc2626;color:#fff;font-weight:700;font-size:16px;text-decoration:none;box-shadow:0 6px 16px rgba(220,38,38,.28);transition:transform .15s,background .15s}
.rp-subexp-renew:hover,.rp-subexp-renew:focus{background:#b91c1c;color:#fff;transform:translateY(-1px)}
.rp-subexp[data-state=suspended] .rp-subexp-banner{background:linear-gradient(135deg,#fff8eb,#fdeccb);border-color:#f3d9a4}
.rp-subexp[data-state=suspended] .rp-subexp-banner h2,.rp-subexp[data-state=suspended] .rp-subexp-banner-ico{color:#b45309}
.rp-subexp-card{background:var(--rp-bg-card,#fff);border:1px solid var(--rp-border,#e5e7eb);border-radius:16px;padding:22px}
.rp-subexp-details{display:grid;grid-template-columns:1fr 1fr;gap:0}
.rp-subexp-col{padding:0 22px}.rp-subexp-col:first-child{padding-left:0;border-right:1px solid var(--rp-border,#e5e7eb)}.rp-subexp-col:last-child{padding-right:0}
.rp-subexp-col h3{font-size:18px;margin-bottom:16px}
.rp-subexp-plan{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.rp-subexp-plan-ico{width:68px;height:68px;border-radius:50%;background:#e0ecff;color:#2563eb;display:flex;align-items:center;justify-content:center;flex:none}
.rp-subexp-plan dl{margin:0;display:grid;gap:2px}.rp-subexp-plan dt{font-size:13px;color:var(--rp-text-muted,#667085)}
.rp-subexp-plan dd{margin:0 0 8px;font-weight:700;display:flex;align-items:center;gap:6px}.rp-subexp-plan-name{font-size:20px}
.rp-subexp-status{padding:10px 18px;border-radius:12px;background:#fee2e2;color:#b91c1c;font-weight:700}
.rp-subexp[data-state=suspended] .rp-subexp-status{background:#fef3c7;color:#92400e}
.rp-subexp-now ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.rp-subexp-now li{display:flex;align-items:center;gap:10px;font-size:15px}.rp-subexp-now .is-no svg{color:#dc2626}.rp-subexp-now .is-ok svg{color:#16a34a}
.rp-subexp-upgrade{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:24px 26px;border-radius:18px;background:linear-gradient(135deg,#eef4ff,#e3edff);border:1px solid #cfdcf7}
.rp-subexp-upgrade-main{flex:1 1 420px;min-width:0}
.rp-subexp-upgrade h3{display:flex;align-items:center;gap:8px;font-size:20px;color:#1e3a8a}.rp-subexp-upgrade h3 svg{color:#2563eb}
.rp-subexp-upgrade-main>p{margin:6px 0 16px;color:#374151}
.rp-subexp-perks{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}
.rp-subexp-perks li{display:flex;gap:10px;align-items:center;color:#2563eb}.rp-subexp-perks strong{display:block;color:#111827;font-size:14px}.rp-subexp-perks span{display:block;color:#4b5563;font-size:12.5px}
.rp-subexp-plans{flex:none;display:inline-flex;align-items:center;gap:8px;padding:14px 26px;border-radius:12px;background:#1d4ed8;color:#fff;font-weight:700;text-decoration:none;box-shadow:0 6px 16px rgba(29,78,216,.28)}
.rp-subexp-plans:hover,.rp-subexp-plans:focus{background:#1e40af;color:#fff}
.rp-subexp-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.rp-subexp-cards .rp-subexp-card{display:flex;gap:16px;align-items:flex-start}
.rp-subexp-ico{flex:none;width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.rp-subexp-ico.is-blue{background:#e0ecff;color:#2563eb}.rp-subexp-ico.is-green{background:#dcfce7;color:#16a34a}
.rp-subexp-cards h4{font-size:16px;margin-bottom:6px}.rp-subexp-cards p{font-size:14px;color:var(--rp-text-muted,#667085);line-height:1.5}
@media(max-width:720px){
  .rp-subexp-banner{flex-direction:column;text-align:center;padding:20px}.rp-subexp-renew,.rp-subexp-plans{width:100%;justify-content:center;box-sizing:border-box}
  .rp-subexp-details{grid-template-columns:1fr}.rp-subexp-col{padding:0}.rp-subexp-col:first-child{border-right:0;border-bottom:1px solid var(--rp-border,#e5e7eb);padding-bottom:18px;margin-bottom:18px}
}
