/* RW Subscriptions – front-end */

.rwsub-status {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 0.85em;
	font-weight: 600;
	line-height: 1.6;
	background: #e5e7eb;
	color: #374151;
	vertical-align: middle;
}
.rwsub-status--active { background: #d1fae5; color: #065f46; }
.rwsub-status--pending { background: #fef3c7; color: #92400e; }
.rwsub-status--paused { background: #dbeafe; color: #1e40af; }
.rwsub-status--on-hold { background: #fee2e2; color: #991b1b; }
.rwsub-status--pending-cancel { background: #ffedd5; color: #9a3412; }
.rwsub-status--cancelled,
.rwsub-status--expired { background: #e5e7eb; color: #4b5563; }

.rwsub-period,
.rwsub-length,
.rwsub-signup-fee,
.rwsub-trial,
.rwsub-sync {
	font-size: 0.9em;
	font-weight: normal;
	opacity: 0.85;
}
.rwsub-then,
.rwsub-help,
.rwsub-tax-note { opacity: 0.8; }

.rwsub-recurring-heading th { padding-top: 1em; }
.rwsub-recurring-total th { font-weight: normal; }

.rwsub-section { margin: 0 0 2.5em; }
.rwsub-section h3 { margin-bottom: 0.75em; }
.rwsub-details-table th { width: 35%; }

.rwsub-action-buttons .button { margin: 0 0.5em 0.5em 0; }
.rwsub-disclosure {
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 0.75em 1em;
	margin: 0 0 1em;
}
.rwsub-disclosure summary { cursor: pointer; font-weight: 600; }
.rwsub-disclosure .rwsub-form { margin-top: 1em; }
.rwsub-form .form-row label { display: block; margin-bottom: 0.25em; }
.rwsub-form textarea,
.rwsub-form select,
.rwsub-form input[type="date"] { max-width: 100%; }
.rwsub-button-danger { background: #b91c1c !important; color: #fff !important; }

.rwsub-plan-list { list-style: none; margin: 0 0 1em; padding: 0; }
.rwsub-plan-list li { margin: 0 0 0.75em; }
.rwsub-plan-list label { cursor: pointer; }

.rwsub-unpaid-notice .button { margin-left: 1em; }
.rwsub-save-notice { margin: 0.5em 0 0; }
.rwsub-order-subscriptions { margin-top: 2em; }
