/* WholesaleNode for WooCommerce — Admin Styles */

/* ── Page layout ───────────────────────────────────────────────────── */
.woowsn-free-wrap { max-width: 1100px; }

.woowsn-free-page-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.woowsn-free-badge {
	display: inline-block;
	padding: 2px 10px;
	background: #f3f4f6;
	color: #6b7280;
	border: 1px solid #d1d5db;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .4px;
}

/* ── Card ──────────────────────────────────────────────────────────── */
.woowsn-free-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 24px 28px;
	margin-bottom: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.woowsn-free-card h2 {
	margin: 0 0 12px;
	font-size: 16px;
	color: #111827;
}

/* ── Toggle switch ─────────────────────────────────────────────────── */
.woowsn-free-switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	vertical-align: middle;
}
.woowsn-free-switch input { opacity: 0; width: 0; height: 0; }
.woowsn-free-slider {
	position: absolute;
	inset: 0;
	background: #d1d5db;
	border-radius: 24px;
	cursor: pointer;
	transition: background .2s;
}
.woowsn-free-slider:before {
	content: '';
	position: absolute;
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform .2s;
	box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.woowsn-free-switch input:checked + .woowsn-free-slider { background: #2563eb; }
.woowsn-free-switch input:checked + .woowsn-free-slider:before { transform: translateX(20px); }

/* ── Toggle table ──────────────────────────────────────────────────── */
.woowsn-free-toggle-table { border-collapse: collapse; width: 100%; }
.woowsn-free-toggle-table th,
.woowsn-free-toggle-table td { padding: 10px 14px; border-bottom: 1px solid #f3f4f6; }
.woowsn-free-toggle-table th { background: #f9fafb; font-weight: 600; font-size: 12px; text-transform: uppercase; color: #6b7280; }

/* ── Info notice ───────────────────────────────────────────────────── */
.woowsn-free-notice-info {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-left: 4px solid #3b82f6;
	border-radius: 6px;
	padding: 12px 16px;
	font-size: 13px;
	color: #1e40af;
}
.woowsn-free-notice-info a { color: #1d4ed8; }

/* ── Upgrade card ──────────────────────────────────────────────────── */
.woowsn-free-upgrade-card {
	border-color: #c7d2fe;
	background: linear-gradient(135deg, #f0f4ff 0%, #fff 100%);
}
.woowsn-free-upgrade-card h2 { color: #3730a3; }
.woowsn-free-pro-list {
	columns: 2;
	column-gap: 32px;
	list-style: none;
	padding: 0;
	margin: 12px 0 20px;
}
.woowsn-free-pro-list li {
	font-size: 13px;
	color: #374151;
	margin-bottom: 6px;
}
.woowsn-free-upgrade-btn {
	background: #4f46e5 !important;
	border-color: #4338ca !important;
	color: #fff !important;
	font-weight: 600 !important;
	padding: 8px 20px !important;
	height: auto !important;
	font-size: 14px !important;
}
.woowsn-free-upgrade-btn:hover { background: #4338ca !important; }

/* ── Status badges ─────────────────────────────────────────────────── */
.woowsn-badge-active   { display:inline-block; padding:2px 8px; border-radius:10px; font-size:11px; font-weight:600; background:#dcfce7; color:#166534; }
.woowsn-badge-inactive { display:inline-block; padding:2px 8px; border-radius:10px; font-size:11px; font-weight:600; background:#f3f4f6; color:#6b7280; }
.woowsn-badge-pending  { display:inline-block; padding:2px 8px; border-radius:10px; font-size:11px; font-weight:600; background:#fef3c7; color:#92400e; }

/* ── Fields table ──────────────────────────────────────────────────── */
.woowsn-fields-table th, .woowsn-fields-table td { padding: 8px 10px; }
