/* WC Subscription Scheduler Pro — My Account Preferences CSS */

.wcss-myaccount { max-width: 900px; }

.wcss-ma-heading {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 8px;
	color: #1d2327;
}

.wcss-ma-intro {
	font-size: 14px;
	color: #646970;
	margin: 0 0 20px;
	line-height: 1.6;
}

.wcss-ma-notice {
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 13px;
	margin-bottom: 16px;
	line-height: 1.5;
}

.wcss-ma-notice--success { background: #edfaef; color: #00a32a; border: 1px solid #00a32a; }
.wcss-ma-notice--error   { background: #fef0f0; color: #d63638; border: 1px solid #d63638; }

.wcss-ma-empty { color: #646970; font-size: 14px; }

/* ── Table ──────────────────────────────────────────────────────────────── */
.wcss-ma-table-wrap { overflow-x: auto; margin-bottom: 16px; }

.wcss-ma-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	background: #ffffff;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	overflow: hidden;
}

.wcss-ma-table thead tr { background: #f6f7f7; border-bottom: 2px solid #c3c4c7; }
.wcss-ma-table th { padding: 10px 14px; text-align: left; font-weight: 600; font-size: 12px; color: #646970; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }
.wcss-ma-table tbody tr { border-bottom: 1px solid #e2e4e7; transition: background .1s; }
.wcss-ma-table tbody tr:last-child { border-bottom: none; }
.wcss-ma-table tbody tr:hover { background: #f0f6fc; }
.wcss-ma-table td { padding: 12px 14px; vertical-align: middle; }

.wcss-ma-sub-link { color: #2271b1; text-decoration: none; font-weight: 600; }
.wcss-ma-sub-link:hover { text-decoration: underline; }

/* ── Toggle ─────────────────────────────────────────────────────────────── */
.wcss-ma-toggle-wrap { display: flex; align-items: center; gap: 10px; cursor: pointer; }

.wcss-ma-toggle {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	flex-shrink: 0;
}

.wcss-ma-toggle input { opacity: 0; width: 0; height: 0; }

.wcss-ma-toggle-slider {
	position: absolute;
	inset: 0;
	background: #c3c4c7;
	border-radius: 24px;
	cursor: pointer;
	transition: background .2s;
}

.wcss-ma-toggle-slider::before {
	content: '';
	position: absolute;
	width: 18px;
	height: 18px;
	left: 3px;
	top: 3px;
	background: #ffffff;
	border-radius: 50%;
	transition: transform .2s;
	box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.wcss-ma-toggle input:checked + .wcss-ma-toggle-slider { background: #2271b1; }
.wcss-ma-toggle input:checked + .wcss-ma-toggle-slider::before { transform: translateX(20px); }

.wcss-ma-toggle-label { font-size: 13px; color: #646970; transition: color .2s; }
.wcss-ma-toggle-label.is-on  { color: #00a32a; font-weight: 500; }
.wcss-ma-toggle-label.is-off { color: #646970; }

/* ── Footnote ───────────────────────────────────────────────────────────── */
.wcss-ma-footnote {
	font-size: 12px;
	color: #646970;
	line-height: 1.7;
	margin: 0;
	padding: 12px 16px;
	background: #f6f7f7;
	border: 1px solid #e2e4e7;
	border-radius: 4px;
}
