/* ==========================================================================
   PCBuilders Creator Hub - Standalone SaaS Platform Stylesheet
   Inspired by Komissio & CreatorSync SaaS Dashboard Architecture
   Supports Default Clean SaaS Light Theme + 1-Click Dark Mode (.pch-dark)
   ========================================================================== */

:root {
	--pch-bg: #f5f7fb;
	--pch-surface: #ffffff;
	--pch-surface-2: #f8fafc;
	--pch-border: #e5e7eb;
	--pch-border-subtle: #eef2f6;
	--pch-text: #0f172a;
	--pch-text-secondary: #475569;
	--pch-muted: #64748b;
	--pch-primary: #6366f1;
	--pch-primary-dark: #4f46e5;
	--pch-purple: #7c3aed;
	--pch-lavender: #8b5cf6;
	--pch-emerald: #10b981;
	--pch-emerald-bg: rgba(16, 185, 129, 0.1);
	--pch-cyan: #06b6d4;
	--pch-amber: #f59e0b;
	--pch-red: #ef4444;
	--pch-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
	--pch-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
	--pch-radius: 14px;
	--pch-radius-sm: 10px;
}

html.pch-dark {
	--pch-bg: #0b0e17;
	--pch-surface: #121726;
	--pch-surface-2: #181f32;
	--pch-border: #232b42;
	--pch-border-subtle: #1c2336;
	--pch-text: #f8fafc;
	--pch-text-secondary: #cbd5e1;
	--pch-muted: #94a3b8;
	--pch-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.25);
	--pch-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after {
	box-sizing: border-box;
}

body.pch-saas-body {
	margin: 0;
	padding: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: var(--pch-bg);
	color: var(--pch-text);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. STANDALONE APP SHELL (SIDEBAR + WORKSPACE)
   ========================================================================== */

.pch-app {
	display: grid;
	grid-template-columns: 256px 1fr;
	min-height: 100vh;
	width: 100%;
	background: var(--pch-bg);
}

/* Sidebar */
.pch-nav {
	background: var(--pch-surface);
	border-right: 1px solid var(--pch-border);
	display: flex;
	flex-direction: column;
	height: 100vh;
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 20px 16px;
}

.pch-sidebar-brand {
	padding: 4px 8px 20px;
	border-bottom: 1px solid var(--pch-border-subtle);
	margin-bottom: 16px;
}

.pch-brand-link {
	display: flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
	color: var(--pch-text);
}

.pch-brand-mark {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
	flex-shrink: 0;
}

.pch-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.pch-brand-text strong {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -0.3px;
	color: var(--pch-text);
}

.pch-brand-text small {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.8px;
	color: var(--pch-primary);
	margin-top: 2px;
}

.pch-sidebar-scroll {
	flex: 1;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-right: 4px;
}

.pch-nav-group-title {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.6px;
	color: var(--pch-muted);
	padding: 0 10px 8px;
	text-transform: uppercase;
}

.pch-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.pch-nav a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	border-radius: 9px;
	color: var(--pch-text-secondary);
	font-size: 13.5px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.15s ease;
}

.pch-nav a svg {
	color: var(--pch-muted);
	flex-shrink: 0;
	transition: color 0.15s ease;
}

.pch-nav a:hover {
	background: var(--pch-surface-2);
	color: var(--pch-text);
}

.pch-nav a:hover svg {
	color: var(--pch-primary);
}

.pch-nav a[aria-current="page"] {
	background: rgba(99, 102, 241, 0.1);
	color: var(--pch-primary);
	font-weight: 600;
}

.pch-nav a[aria-current="page"] svg {
	color: var(--pch-primary);
}

.pch-nav-count {
	margin-left: auto;
	font-style: normal;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 20px;
	background: rgba(16, 185, 129, 0.14);
	color: var(--pch-emerald);
}

.pch-nav-count.pch-count-purple {
	background: rgba(124, 58, 237, 0.14);
	color: var(--pch-purple);
}

/* Sidebar Upgrade Card */
.pch-sidebar-footer {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--pch-border-subtle);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pch-upgrade-card {
	background: linear-gradient(145deg, rgba(99, 102, 241, 0.08), rgba(16, 185, 129, 0.08));
	border: 1px solid rgba(99, 102, 241, 0.22);
	border-radius: 12px;
	padding: 14px;
}

.pch-upgrade-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
}

.pch-upgrade-badge {
	font-size: 12px;
	font-weight: 700;
	color: var(--pch-text);
}

.pch-upgrade-bonus {
	font-size: 11px;
	font-weight: 700;
	background: var(--pch-emerald);
	color: #fff;
	padding: 2px 6px;
	border-radius: 6px;
}

.pch-upgrade-card p {
	font-size: 11.5px;
	color: var(--pch-muted);
	margin: 0 0 10px;
	line-height: 1.45;
}

.pch-upgrade-btn {
	display: block;
	text-align: center;
	background: linear-gradient(90deg, #10b981, #059669);
	color: #ffffff !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	padding: 8px 12px !important;
	border-radius: 8px !important;
	text-decoration: none;
}

.pch-sidebar-util {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pch-logout-link {
	color: var(--pch-red) !important;
}

/* ==========================================================================
   2. WORKSPACE & TOPBAR
   ========================================================================== */

.pch-workspace {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pch-topbar {
	height: 68px;
	background: var(--pch-surface);
	border-bottom: 1px solid var(--pch-border);
	padding: 0 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	position: sticky;
	top: 0;
	z-index: 90;
}

.pch-topbar-left {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 1;
}

.pch-mobile-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--pch-border);
	border-radius: 8px;
	padding: 6px;
	color: var(--pch-text);
	cursor: pointer;
}

.pch-topbar-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0;
	white-space: nowrap;
	color: var(--pch-text);
}

.pch-topbar-search {
	position: relative;
	max-width: 380px;
	width: 100%;
	display: flex;
	align-items: center;
}

.pch-topbar-search svg {
	position: absolute;
	left: 12px;
	color: var(--pch-muted);
	pointer-events: none;
}

.pch-topbar-search input {
	width: 100%;
	padding: 9px 14px 9px 36px;
	border-radius: 10px;
	border: 1px solid var(--pch-border);
	background: var(--pch-surface-2);
	color: var(--pch-text);
	font-size: 13px;
	outline: none;
	transition: border-color 0.15s;
}

.pch-topbar-search input:focus {
	border-color: var(--pch-primary);
	background: var(--pch-surface);
}

.pch-topbar-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pch-topbar-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 9px;
	border: 1px solid var(--pch-border);
	background: var(--pch-surface);
	color: var(--pch-text);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.15s;
}

.pch-topbar-btn:hover {
	border-color: var(--pch-primary);
	color: var(--pch-primary);
}

.pch-icon-btn {
	position: relative;
	width: 38px;
	height: 38px;
	border-radius: 9px;
	border: 1px solid var(--pch-border);
	background: var(--pch-surface);
	color: var(--pch-text-secondary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.15s;
}

.pch-icon-btn:hover {
	background: var(--pch-surface-2);
	color: var(--pch-primary);
}

.pch-notif-dot {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--pch-emerald);
}

.pch-profile-chip {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 10px 4px 4px;
	border-radius: 30px;
	border: 1px solid var(--pch-border);
	background: var(--pch-surface-2);
	text-decoration: none;
	color: var(--pch-text);
}

.pch-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, #6366f1, #10b981);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.pch-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pch-profile-meta {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.pch-profile-meta strong {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--pch-text);
}

.pch-profile-meta small {
	font-size: 11px;
	color: var(--pch-muted);
}

.pch-profile-meta small.pch-role-head-admin {
	color: #6366f1;
	font-weight: 700;
}

.pch-profile-meta small.pch-role-admin {
	color: #0284c7;
	font-weight: 700;
}

.pch-admin-upgrade-card {
	border-color: rgba(99, 102, 241, 0.28) !important;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, rgba(16, 185, 129, 0.04) 100%) !important;
}

/* Main Content Area */
.pch-main {
	padding: 26px 28px 48px;
	max-width: 1520px;
	width: 100%;
	margin: 0 auto;
}

/* ==========================================================================
   3. OVERVIEW DASHBOARD (KOMISSIO & CREATORSYNC DESIGN)
   ========================================================================== */

.pch-summary-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	flex-wrap: wrap;
	gap: 12px;
}

.pch-summary-heading {
	font-size: 18px;
	font-weight: 700;
	margin: 0;
	color: var(--pch-text);
}

.pch-summary-controls {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pch-period-tabs {
	display: inline-flex;
	background: var(--pch-surface);
	border: 1px solid var(--pch-border);
	border-radius: 9px;
	padding: 3px;
}

.pch-period-btn {
	border: 0;
	background: transparent;
	color: var(--pch-muted);
	font-size: 12.5px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 7px;
	cursor: pointer;
	transition: all 0.15s;
}

.pch-period-btn.active {
	background: var(--pch-surface-2);
	color: var(--pch-text);
	box-shadow: var(--pch-shadow-sm);
}

.pch-filter-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 9px;
	background: var(--pch-surface);
	border: 1px solid var(--pch-border);
	color: var(--pch-text-secondary);
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
}

/* Row 1: 5 KPI Cards */
.pch-kpi-grid-5 {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin-bottom: 20px;
}

.pch-kpi-card {
	background: var(--pch-surface);
	border: 1px solid var(--pch-border);
	border-radius: var(--pch-radius);
	padding: 18px 20px;
	box-shadow: var(--pch-shadow-sm);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
	transition: transform 0.15s, box-shadow 0.15s;
}

.pch-kpi-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--pch-shadow);
}

.pch-kpi-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.pch-kpi-title {
	font-size: 12.5px;
	font-weight: 500;
	color: var(--pch-muted);
}

.pch-kpi-dots {
	color: var(--pch-muted);
	font-size: 16px;
	line-height: 1;
	cursor: default;
}

.pch-kpi-mid {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.pch-kpi-number {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.5px;
	color: var(--pch-text);
}

.pch-kpi-icon-circle {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.pch-circle-emerald {
	background: rgba(16, 185, 129, 0.12);
	color: #10b981;
}

.pch-circle-indigo {
	background: rgba(99, 102, 241, 0.12);
	color: #6366f1;
}

.pch-circle-cyan {
	background: rgba(6, 182, 212, 0.12);
	color: #06b6d4;
}

.pch-circle-purple {
	background: rgba(139, 92, 246, 0.12);
	color: #8b5cf6;
}

.pch-kpi-foot {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
}

.pch-kpi-trend {
	font-weight: 700;
	font-size: 11.5px;
	padding: 2px 7px;
	border-radius: 6px;
}

.pch-kpi-trend.up {
	background: rgba(16, 185, 129, 0.12);
	color: #10b981;
}

.pch-kpi-vs {
	color: var(--pch-muted);
	font-size: 11.5px;
}

/* Row 2: Main Charts Row (2fr 1fr) */
.pch-charts-row {
	display: grid;
	grid-template-columns: 1.9fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.pch-card-panel {
	background: var(--pch-surface);
	border: 1px solid var(--pch-border);
	border-radius: var(--pch-radius);
	padding: 22px;
	box-shadow: var(--pch-shadow-sm);
}

.pch-panel-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 18px;
	gap: 12px;
}

.pch-panel-head h3 {
	font-size: 15.5px;
	font-weight: 700;
	margin: 0;
	color: var(--pch-text);
}

.pch-chart-submetrics {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
}

.pch-chart-submetrics strong {
	font-size: 20px;
	font-weight: 800;
	color: var(--pch-text);
}

.pch-chart-select {
	padding: 6px 12px;
	border-radius: 8px;
	border: 1px solid var(--pch-border);
	background: var(--pch-surface-2);
	color: var(--pch-text-secondary);
	font-size: 12px;
	font-weight: 600;
}

.pch-svg-chart-wrap {
	width: 100%;
	overflow: hidden;
}

.pch-area-svg {
	width: 100%;
	height: 245px;
	display: block;
}

.pch-pill-link {
	font-size: 12px;
	font-weight: 600;
	color: var(--pch-text-secondary);
	background: var(--pch-surface-2);
	border: 1px solid var(--pch-border);
	padding: 5px 11px;
	border-radius: 8px;
	text-decoration: none;
}

.pch-pill-link:hover {
	color: var(--pch-primary);
	border-color: var(--pch-primary);
}

/* Top Campaigns / Affiliates List */
.pch-top-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pch-top-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--pch-surface-2);
	border: 1px solid var(--pch-border-subtle);
}

.pch-top-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(99, 102, 241, 0.12);
	color: var(--pch-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	flex-shrink: 0;
}

.pch-top-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.pch-top-info strong {
	font-size: 13px;
	font-weight: 600;
	color: var(--pch-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pch-top-info small {
	font-size: 11.5px;
	color: var(--pch-muted);
}

.pch-top-metric {
	text-align: right;
	background: rgba(16, 185, 129, 0.1);
	padding: 4px 10px;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
}

.pch-top-metric strong {
	font-size: 12.5px;
	font-weight: 700;
	color: #059669;
}

.pch-top-metric span {
	font-size: 10.5px;
	color: var(--pch-muted);
}

/* Row 3: 3-Column Bottom Insights Grid */
.pch-bottom-grid-3 {
	display: grid;
	grid-template-columns: 1fr 1.15fr 1fr;
	gap: 20px;
}

.pch-badge-subtle {
	font-size: 11.5px;
	font-weight: 600;
	color: var(--pch-muted);
	background: var(--pch-surface-2);
	border: 1px solid var(--pch-border);
	padding: 4px 10px;
	border-radius: 8px;
}

/* Donut Chart Card */
.pch-donut-layout {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 8px;
}

.pch-donut-wrap {
	position: relative;
	width: 135px;
	height: 135px;
	flex-shrink: 0;
}

.pch-donut-svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.pch-donut-center {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.pch-donut-center strong {
	font-size: 20px;
	font-weight: 800;
	color: var(--pch-text);
	line-height: 1.1;
}

.pch-donut-center span {
	font-size: 11px;
	color: var(--pch-muted);
}

.pch-donut-legend {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pch-legend-row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
}

.pch-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}

.pch-dot-emerald { background: #10b981; }
.pch-dot-amber { background: #f59e0b; }
.pch-dot-indigo { background: #6366f1; }

.pch-legend-name {
	color: var(--pch-muted);
	flex: 1;
}

/* Conversions by Source Horizontal Bars */
.pch-source-bars {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 8px;
}

.pch-source-row {
	display: grid;
	grid-template-columns: 95px 1fr 78px;
	align-items: center;
	gap: 12px;
	font-size: 12.5px;
}

.pch-source-label {
	color: var(--pch-text-secondary);
	font-weight: 500;
}

.pch-source-track {
	height: 8px;
	background: var(--pch-surface-2);
	border-radius: 99px;
	overflow: hidden;
}

.pch-source-fill {
	height: 100%;
	background: linear-gradient(90deg, #10b981, #059669);
	border-radius: 99px;
}

.pch-source-val {
	text-align: right;
	font-size: 12px;
}

.pch-source-val strong {
	color: var(--pch-text);
	margin-right: 4px;
}

.pch-source-val em {
	font-style: normal;
	color: var(--pch-muted);
}

/* Quick Actions List */
.pch-quick-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pch-qa-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	border-radius: 10px;
	background: var(--pch-surface-2);
	border: 1px solid var(--pch-border-subtle);
	text-decoration: none;
	color: var(--pch-text);
	transition: all 0.15s;
}

.pch-qa-item:hover {
	border-color: var(--pch-emerald);
	background: rgba(16, 185, 129, 0.05);
	transform: translateX(3px);
}

.pch-qa-icon {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: rgba(16, 185, 129, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	flex-shrink: 0;
}

.pch-qa-text {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.pch-qa-text strong {
	font-size: 13px;
	font-weight: 600;
	color: var(--pch-text);
}

.pch-qa-text small {
	font-size: 11.5px;
	color: var(--pch-muted);
}

.pch-qa-arrow {
	color: var(--pch-muted);
	font-weight: 600;
}

/* ==========================================================================
   4. STANDALONE AUTH & REGISTRATION PORTAL (/login & /register)
   ========================================================================== */

.pch-auth-body {
	background: #0b0e17;
	color: #f8fafc;
}

.pch-auth-shell {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	min-height: 100vh;
}

.pch-auth-showcase {
	background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.22), transparent 55%),
	            radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.16), transparent 55%),
	            #080b12;
	padding: 48px 56px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pch-auth-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pch-brand-name {
	font-size: 18px;
	font-weight: 800;
	color: #fff;
	display: block;
	line-height: 1.1;
}

.pch-brand-tag {
	font-size: 10.5px;
	font-weight: 700;
	color: #818cf8;
	letter-spacing: 1px;
}

.pch-showcase-hero {
	margin: 36px 0 28px;
}

.pch-pill-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.7px;
	padding: 6px 12px;
	border-radius: 99px;
	background: rgba(99, 102, 241, 0.16);
	border: 1px solid rgba(99, 102, 241, 0.35);
	color: #a5b4fc;
	margin-bottom: 16px;
}

.pch-showcase-hero h1 {
	font-size: 36px;
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.8px;
	margin: 0 0 14px;
	color: #ffffff;
}

.pch-showcase-hero p {
	font-size: 15px;
	color: #94a3b8;
	line-height: 1.65;
	margin: 0;
	max-width: 540px;
}

.pch-showcase-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 32px;
}

.pch-showcase-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 16px;
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.pch-sc-icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
	background: rgba(99, 102, 241, 0.15);
}

.pch-showcase-card strong {
	display: block;
	font-size: 13.5px;
	color: #fff;
	margin-bottom: 3px;
}

.pch-showcase-card span {
	font-size: 12px;
	color: #94a3b8;
	line-height: 1.4;
}

.pch-showcase-footer {
	display: flex;
	justify-content: space-between;
	font-size: 12.5px;
	color: #64748b;
}

.pch-showcase-footer a {
	color: #94a3b8;
	text-decoration: none;
}

.pch-auth-panel {
	background: #f8fafc;
	color: #0f172a;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 32px;
	min-height: 100vh;
	box-sizing: border-box;
	overflow-y: auto;
}

.pch-auth-card {
	width: 100%;
	max-width: 580px;
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 22px;
	padding: 36px 36px 40px;
	box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.03), 0 20px 40px -4px rgba(15, 23, 42, 0.08);
	box-sizing: border-box;
	overflow: hidden;
}

.pch-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #f1f5f9;
	padding: 4px;
	border-radius: 12px;
	margin-bottom: 24px;
	box-sizing: border-box;
}

.pch-auth-tab {
	border: 0;
	background: transparent;
	padding: 10px 14px;
	border-radius: 9px;
	font-size: 13.5px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	transition: all 0.15s ease;
	text-align: center;
}

.pch-auth-tab.active {
	background: #ffffff;
	color: #0f172a;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.pch-auth-header h2 {
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 6px;
	color: #0f172a;
	letter-spacing: -0.3px;
}

.pch-auth-header p {
	font-size: 13.5px;
	color: #64748b;
	margin: 0 0 22px;
	line-height: 1.5;
}

.pch-saas-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.pch-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.pch-field label {
	font-size: 12px;
	font-weight: 600;
	color: #334155;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pch-field input,
.pch-field select,
.pch-field textarea {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	padding: 10px 13px;
	height: 42px;
	border-radius: 10px;
	border: 1.5px solid #e2e8f0;
	background: #ffffff;
	color: #0f172a;
	font-size: 13.5px;
	font-family: inherit;
	outline: none;
	transition: all 0.15s ease;
}

.pch-field textarea {
	height: auto;
	min-height: 72px;
	resize: vertical;
}

.pch-field input:focus,
.pch-field select:focus,
.pch-field textarea:focus {
	border-color: #6366f1;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
}

.pch-field input::placeholder,
.pch-field textarea::placeholder {
	color: #94a3b8;
	font-weight: 400;
}

.pch-form-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.pch-form-grid-3 {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr) minmax(0, 0.7fr);
	gap: 10px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.pch-social-box {
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-radius: 14px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.pch-social-box-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 12.5px;
}

.pch-social-box-head strong {
	font-weight: 700;
	color: #0f172a;
}

.pch-social-box-head span {
	font-size: 11px;
	color: #64748b;
}

.pch-saas-form .pch-btn-primary.pch-btn-lg {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	height: 48px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
	color: #ffffff;
	border: 0;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
	transition: all 0.18s ease;
	margin-top: 4px;
}

.pch-saas-form .pch-btn-primary.pch-btn-lg:hover {
	background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
	box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
	transform: translateY(-1px);
}

.pch-status-box {
	text-align: center;
	padding: 24px 16px;
}

.pch-status-icon {
	font-size: 42px;
	margin-bottom: 12px;
}

.pch-status-box h2 {
	font-size: 20px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 10px;
}

.pch-status-pill {
	display: inline-block;
	background: #fef3c7;
	color: #b45309;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 99px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.pch-status-box p {
	font-size: 13.5px;
	color: #64748b;
	line-height: 1.6;
	margin: 0 0 20px;
}

.pch-status-meta {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 16px;
	text-align: left;
	font-size: 13px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: #334155;
}

.pch-auth-switch-foot {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
	text-align: center;
	font-size: 13px;
	color: #64748b;
}

.pch-auth-switch-foot a {
	color: #6366f1;
	font-weight: 600;
	text-decoration: none;
	margin-left: 4px;
}

.pch-alert {
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 13px;
	margin-bottom: 18px;
}

.pch-alert-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.pch-alert-success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

/* ==========================================================================
   5. INNER VIEWS (PRODUCTS, CAMPAIGNS, PROMOTIONS, CONTENT, WALLET, REWARDS)
   ========================================================================== */

.pch-stat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.pch-stat-card {
	background: var(--pch-surface);
	border: 1px solid var(--pch-border);
	border-radius: var(--pch-radius);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	box-shadow: var(--pch-shadow-sm);
}

.pch-stat-label {
	font-size: 12px;
	color: var(--pch-muted);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.pch-stat-val {
	font-size: 24px;
	font-weight: 800;
	color: var(--pch-text);
}

.pch-stat-sub {
	font-size: 12px;
	color: var(--pch-emerald);
	font-weight: 600;
}

.pch-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--pch-border);
	padding-bottom: 12px;
}

.pch-tab {
	color: var(--pch-muted);
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 9px;
	font-weight: 600;
	font-size: 13.5px;
	border: 1px solid transparent;
}

.pch-tab.active, .pch-tab:hover {
	background: rgba(99, 102, 241, 0.1);
	color: var(--pch-primary);
	border-color: rgba(99, 102, 241, 0.25);
}

.pch-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
	background: var(--pch-surface);
	padding: 14px;
	border-radius: 12px;
	border: 1px solid var(--pch-border);
}

.pch-filter-bar input[type="search"],
.pch-filter-bar select {
	padding: 10px 14px;
	border-radius: 9px;
	background: var(--pch-surface-2);
	border: 1px solid var(--pch-border);
	color: var(--pch-text);
	font-size: 13.5px;
}

.pch-filter-bar input[type="search"] {
	flex: 1;
	min-width: 220px;
}

/* Product Hub Cards */
.pch-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	margin-bottom: 24px;
}

.pch-product-card {
	background: var(--pch-surface);
	border: 1px solid var(--pch-border);
	border-radius: var(--pch-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--pch-shadow-sm);
	transition: transform 0.2s, border-color 0.2s;
}

.pch-product-card:hover {
	transform: translateY(-3px);
	border-color: var(--pch-primary);
	box-shadow: var(--pch-shadow);
}

.pch-card-media {
	position: relative;
	background: var(--pch-surface-2);
	padding: 18px;
	text-align: center;
	min-height: 190px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid var(--pch-border-subtle);
}

.pch-card-media img {
	max-height: 160px;
	width: auto;
	object-fit: contain;
}

.pch-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	font-size: 10.5px;
	font-weight: 700;
	padding: 4px 9px;
	border-radius: 6px;
}

.pch-badge-instock {
	background: rgba(16, 185, 129, 0.14);
	color: #059669;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.pch-badge-outstock {
	background: rgba(239, 68, 68, 0.14);
	color: #dc2626;
	border: 1px solid rgba(239, 68, 68, 0.3);
}

.pch-badge-featured {
	background: rgba(245, 158, 11, 0.15);
	color: #d97706;
	border: 1px solid rgba(245, 158, 11, 0.35);
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 6px;
}

.pch-badge-discount {
	background: rgba(99, 102, 241, 0.12);
	color: var(--pch-primary);
	font-size: 11px;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 5px;
	margin-left: 6px;
}

.pch-badge-info {
	background: rgba(6, 182, 212, 0.12);
	color: #0891b2;
	padding: 4px 8px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
}

.pch-code-badge {
	background: rgba(99, 102, 241, 0.1);
	color: var(--pch-primary);
	border: 1px solid rgba(99, 102, 241, 0.3);
	padding: 4px 9px;
	border-radius: 6px;
	font-weight: 700;
	letter-spacing: 0.8px;
}

.pch-card-body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 12px;
}

.pch-card-sku {
	font-size: 11px;
	color: var(--pch-muted);
	text-transform: uppercase;
}

.pch-card-title {
	font-size: 14.5px;
	font-weight: 700;
	margin: 0;
	line-height: 1.35;
	color: var(--pch-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 39px;
}

.pch-card-pricing {
	background: var(--pch-surface-2);
	padding: 10px 12px;
	border-radius: 9px;
	border: 1px solid var(--pch-border-subtle);
}

.pch-price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
	margin-bottom: 4px;
}

.pch-price-row:last-child { margin-bottom: 0; }
.pch-label { color: var(--pch-muted); }
.pch-price-val { color: var(--pch-muted); text-decoration: line-through; }
.pch-price-creator { color: var(--pch-text); font-weight: 700; font-size: 13.5px; }

.pch-perks-box {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	background: rgba(99, 102, 241, 0.04);
	padding: 10px;
	border-radius: 9px;
	border: 1px solid rgba(99, 102, 241, 0.14);
}

.pch-perk {
	font-size: 11px;
	color: var(--pch-muted);
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pch-perk strong {
	color: var(--pch-text);
	font-size: 12px;
}

.pch-card-footer {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--pch-border-subtle);
}

.pch-camp-badge {
	font-size: 11.5px;
	color: var(--pch-primary);
	font-weight: 600;
}

/* Buttons */
.pch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 9px;
	border: 1px solid var(--pch-border);
	background: var(--pch-surface);
	color: var(--pch-text);
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.15s;
}

.pch-btn-primary {
	background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
	border-color: transparent;
	color: #ffffff;
}

.pch-btn-primary:hover {
	opacity: 0.94;
	transform: translateY(-1px);
}

.pch-btn-lg {
	padding: 12px 20px;
	font-size: 14px;
}

.pch-btn-danger {
	background: rgba(239, 68, 68, 0.1);
	color: #dc2626;
	border-color: rgba(239, 68, 68, 0.3);
}

.pch-btn-joined {
	background: rgba(16, 185, 129, 0.12);
	color: #059669;
	border-color: rgba(16, 185, 129, 0.3);
}

.pch-btn-small {
	padding: 6px 12px;
	font-size: 12px;
}

/* Campaigns Grid */
.pch-campaigns-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
	gap: 20px;
	margin-bottom: 24px;
}

.pch-campaign-card {
	background: var(--pch-surface);
	border: 1px solid var(--pch-border);
	border-radius: var(--pch-radius);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-shadow: var(--pch-shadow-sm);
}

.pch-campaign-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.pch-type-badge {
	background: rgba(99, 102, 241, 0.12);
	color: var(--pch-primary);
	padding: 4px 9px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.pch-campaign-title {
	font-size: 17px;
	font-weight: 700;
	margin: 0;
	color: var(--pch-text);
}

.pch-campaign-desc {
	font-size: 13.5px;
	color: var(--pch-muted);
	line-height: 1.55;
}

.pch-campaign-meta {
	font-size: 12.5px;
	color: var(--pch-muted);
}

.pch-campaign-meta code {
	background: var(--pch-surface-2);
	border: 1px solid var(--pch-border);
	padding: 2px 6px;
	border-radius: 5px;
	color: var(--pch-primary);
}

.pch-campaign-actions {
	margin-top: auto;
	display: flex;
	gap: 10px;
	align-items: center;
}

/* Milestones Grid */
.pch-milestone-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 16px;
	margin-top: 16px;
}

.pch-milestone-card {
	background: var(--pch-surface);
	border: 1px solid var(--pch-border);
	border-radius: 12px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pch-milestone-card.achieved {
	border-color: rgba(16, 185, 129, 0.45);
	background: rgba(16, 185, 129, 0.04);
}

.pch-milestone-head {
	display: flex;
	justify-content: space-between;
	font-size: 12.5px;
}

.pch-milestone-head strong {
	color: var(--pch-emerald);
	font-size: 14px;
}

.pch-progress-bar {
	height: 7px;
	background: var(--pch-surface-2);
	border-radius: 99px;
	overflow: hidden;
}

.pch-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #6366f1, #10b981);
	border-radius: 99px;
}

.pch-milestone-foot {
	font-size: 11.5px;
	color: var(--pch-muted);
	text-align: right;
}

/* Tables & Forms */
.pch-section {
	background: var(--pch-surface);
	border: 1px solid var(--pch-border);
	border-radius: var(--pch-radius);
	padding: 22px;
	margin-bottom: 24px;
	box-shadow: var(--pch-shadow-sm);
}

.pch-section h2 {
	margin-top: 0;
	margin-bottom: 12px;
	font-size: 17px;
	color: var(--pch-text);
}

.pch-table-wrap { overflow-x: auto; }

.pch-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

.pch-table th {
	text-align: left;
	padding: 12px;
	background: var(--pch-surface-2);
	color: var(--pch-muted);
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	border-bottom: 1px solid var(--pch-border);
}

.pch-table td {
	padding: 13px 12px;
	border-bottom: 1px solid var(--pch-border-subtle);
	font-size: 13.5px;
	color: var(--pch-text);
}

.pch-meta-desc {
	font-size: 13.5px;
	color: var(--pch-muted);
	margin: 0 0 14px;
}

.pch-form-box {
	background: var(--pch-surface-2);
	border: 1px solid var(--pch-border);
	border-radius: 12px;
	padding: 20px;
}

.pch-inline-form {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}

.pch-inline-form select,
.pch-inline-form input {
	padding: 10px 14px;
	border-radius: 9px;
	background: var(--pch-surface);
	border: 1px solid var(--pch-border);
	color: var(--pch-text);
}

.pch-form {
	display: grid;
	gap: 14px;
	max-width: 680px;
}

.pch-form label {
	display: grid;
	gap: 6px;
	color: var(--pch-text-secondary);
	font-size: 13.5px;
	font-weight: 600;
}

.pch-form input,
.pch-form select,
.pch-form textarea {
	padding: 10px 13px;
	border-radius: 9px;
	border: 1px solid var(--pch-border);
	background: var(--pch-surface);
	color: var(--pch-text);
	font-size: 14px;
}

.pch-notice {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
	padding: 13px 16px;
	border-radius: 10px;
	margin-bottom: 18px;
	font-weight: 500;
}

.pch-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	padding: 13px 16px;
	border-radius: 10px;
	margin-bottom: 18px;
}

.pch-empty-state {
	text-align: center;
	padding: 40px 24px;
	color: var(--pch-muted);
	background: var(--pch-surface-2);
	border-radius: 12px;
	border: 1px dashed var(--pch-border);
}

.pch-page-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 12px;
}

.pch-page-head h2 {
	margin: 0 0 4px;
	font-size: 20px;
}

.pch-guidelines-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 16px;
}

.pch-guideline-card {
	background: var(--pch-surface-2);
	border: 1px solid var(--pch-border);
	border-radius: 12px;
	padding: 18px;
}

.pch-guideline-card h4 {
	margin: 0 0 8px;
	color: var(--pch-text);
}

.pch-guideline-card p {
	margin: 0;
	font-size: 13.5px;
	color: var(--pch-muted);
}

.pch-status-pill {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 99px;
	font-size: 11.5px;
	font-weight: 600;
	background: rgba(16, 185, 129, 0.14);
	color: #059669;
}

.pch-sidebar-backdrop {
	display: none;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1280px) {
	.pch-kpi-grid-5 {
		grid-template-columns: repeat(3, 1fr);
	}
	.pch-charts-row,
	.pch-bottom-grid-3 {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 960px) {
	.pch-app {
		grid-template-columns: 1fr;
	}
	.pch-nav {
		position: fixed;
		left: 0;
		top: 0;
		bottom: 0;
		width: 270px;
		transform: translateX(-100%);
		transition: transform 0.25s ease;
	}
	.pch-app.sidebar-open .pch-nav {
		transform: translateX(0);
	}
	.pch-app.sidebar-open .pch-sidebar-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(15, 23, 42, 0.5);
		z-index: 95;
	}
	.pch-mobile-toggle {
		display: inline-flex;
	}
	.pch-auth-shell {
		grid-template-columns: 1fr;
	}
	.pch-auth-showcase {
		padding: 32px 24px;
	}
}

@media (max-width: 640px) {
	.pch-auth-panel {
		padding: 24px 14px;
	}
	.pch-auth-card {
		padding: 24px 18px 28px;
		border-radius: 16px;
	}
	.pch-auth-header h2 {
		font-size: 20px;
	}
	.pch-kpi-grid-5 {
		grid-template-columns: 1fr;
	}
	.pch-topbar {
		padding: 0 16px;
	}
	.pch-topbar-search,
	.pch-profile-meta {
		display: none;
	}
	.pch-main {
		padding: 18px 16px 36px;
	}
	.pch-form-grid-2,
	.pch-form-grid-3,
	.pch-guidelines-grid,
	.pch-showcase-grid {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}
}

/* ==========================================================================
   Creator Launchpad Onboarding Checklist
   ========================================================================== */
.pch-onboard-card {
	background: var(--pch-surface);
	border: 1px solid var(--pch-border);
	border-radius: var(--pch-radius);
	box-shadow: var(--pch-shadow-sm);
	padding: 22px;
	margin-bottom: 24px;
}

.pch-onboard-step {
	padding: 14px;
	border-radius: var(--pch-radius-sm);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.pch-onboard-step:hover {
	transform: translateY(-2px);
	box-shadow: var(--pch-shadow-sm);
}

.pch-onboard-step.is-done {
	background: var(--pch-surface);
	border: 1px solid rgba(16, 185, 129, 0.35);
}

.pch-onboard-step.is-pending {
	background: var(--pch-surface-2);
	border: 1px solid var(--pch-border);
}

/* ==========================================================================
   Creator Hub Standard Cards, Form Controls & Admin Components
   ========================================================================== */
.pch-card {
	background: var(--pch-surface);
	border: 1px solid var(--pch-border);
	border-radius: var(--pch-radius);
	padding: 24px;
	box-shadow: var(--pch-shadow-sm);
	margin-bottom: 24px;
	box-sizing: border-box;
}

.pch-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--pch-border);
	padding-bottom: 16px;
}

.pch-card-header h3 {
	margin: 0 0 4px 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--pch-text);
	letter-spacing: -0.2px;
}

.pch-card-header .pch-meta-desc {
	margin: 0;
	font-size: 13px;
	color: var(--pch-muted);
	line-height: 1.4;
}

.pch-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 18px;
	width: 100%;
	box-sizing: border-box;
}

.pch-field label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--pch-text);
	line-height: 1.3;
}

.pch-field-help {
	display: block;
	font-size: 11.5px;
	color: var(--pch-muted);
	line-height: 1.4;
	margin-top: 4px;
}

.pch-input,
input.pch-input,
select.pch-input,
textarea.pch-input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 10px 14px;
	height: 42px;
	border-radius: var(--pch-radius-sm);
	border: 1.5px solid var(--pch-border);
	background: var(--pch-surface);
	color: var(--pch-text);
	font-size: 13.5px;
	font-family: inherit;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.pch-input:focus,
input.pch-input:focus,
select.pch-input:focus,
textarea.pch-input:focus {
	border-color: var(--pch-primary);
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
}

.pch-input::placeholder {
	color: var(--pch-muted);
	font-weight: 400;
}

textarea.pch-input {
	height: auto !important;
	min-height: 85px;
	resize: vertical;
	line-height: 1.5;
	font-family: inherit;
}

select.pch-input {
	height: 42px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px;
	padding-right: 36px;
}

html.pch-dark select.pch-input {
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

input[type="date"].pch-input {
	cursor: pointer;
	height: 42px;
}

.pch-input-sm {
	height: 34px !important;
	padding: 6px 10px !important;
	font-size: 12px !important;
}

select.pch-input-sm {
	height: 34px !important;
	padding: 6px 28px 6px 10px !important;
	background-position: right 10px center;
}

.pch-file-upload-box {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	padding: 8px 12px;
	background: var(--pch-surface-2);
	border: 1px dashed var(--pch-border);
	border-radius: var(--pch-radius-sm);
	font-size: 12px;
	color: var(--pch-muted);
}

.pch-file-upload-box input[type="file"] {
	font-size: 12px;
	color: var(--pch-text);
	cursor: pointer;
}

.pch-form-subtitle {
	font-size: 14px;
	font-weight: 700;
	color: var(--pch-text);
	margin: 24px 0 14px 0;
	padding-bottom: 8px;
	border-bottom: 1px dashed var(--pch-border);
}

.pch-btn-whatsapp {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(16, 185, 129, 0.1);
	color: var(--pch-emerald);
	border: 1px solid rgba(16, 185, 129, 0.3);
	padding: 5px 12px;
	font-size: 11.5px;
	font-weight: 600;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.15s ease;
}

.pch-btn-whatsapp:hover {
	background: rgba(16, 185, 129, 0.2);
	border-color: var(--pch-emerald);
	color: var(--pch-emerald);
}

.pch-btn-whatsapp svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
}

