/* ==========================================================================
   TPD Tool - Enterprise Portal Stylesheet
   Faithfully replicating Client Inspiration Designs 1 & 2
   ========================================================================== */

:root {
	--tpd-navy-dark: #0b1526;
	--tpd-navy-sidebar: #0e1e38;
	--tpd-navy-card: #152747;
	--tpd-navy-text: #0f172a;
	--tpd-navy-blue: #1d3557;
	--tpd-blue-accent: #2563eb;
	--tpd-blue-light: #e0f2fe;

	--tpd-gold: #d97706;
	--tpd-gold-light: #fef3c7;
	--tpd-gold-text: #b45309;

	--tpd-green: #10b981;
	--tpd-green-light: #d1fae5;
	--tpd-red: #ef4444;
	--tpd-red-light: #fee2e2;
	--tpd-purple: #8b5cf6;

	--tpd-slate-bg: #f8fafc;
	--tpd-slate-card: #ffffff;
	--tpd-slate-border: #e2e8f0;
	--tpd-slate-muted: #64748b;
	--tpd-slate-subtle: #94a3b8;

	--tpd-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
	--tpd-font-serif: 'Playfair Display', Georgia, serif;
	--tpd-font-script: 'Caveat', cursive;
}

body.tpd-theme-dark-sidebar,
body.tpd-app-body {
	margin: 0;
	padding: 0;
	background-color: var(--tpd-slate-bg);
	font-family: var(--tpd-font-sans);
	color: var(--tpd-navy-text);
	-webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Global Button System
   ========================================================================== */
.tpd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	font-size: 13.5px;
	font-weight: 700;
	border-radius: 8px;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.15s ease;
	font-family: var(--tpd-font-sans);
	box-sizing: border-box;
	line-height: 1.4;
}

.tpd-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.tpd-btn-lg {
	padding: 14px 32px;
	font-size: 15px;
	border-radius: 10px;
}

.tpd-btn-sm {
	padding: 7px 14px;
	font-size: 12.5px;
	border-radius: 6px;
}

.tpd-btn-xs {
	padding: 5px 10px;
	font-size: 11.5px;
	border-radius: 5px;
}

.tpd-btn-primary {
	background: var(--tpd-blue-accent);
	color: #ffffff !important;
	border-color: var(--tpd-blue-accent);
}

.tpd-btn-primary:hover {
	background: #1d4ed8;
	border-color: #1d4ed8;
	color: #ffffff !important;
}

.tpd-btn-darkblue {
	background: var(--tpd-navy-dark);
	color: #ffffff !important;
	border-color: var(--tpd-navy-dark);
}

.tpd-btn-darkblue:hover {
	background: #1d3557;
	border-color: #1d3557;
	color: #ffffff !important;
}

.tpd-btn-outline {
	background: transparent;
	color: var(--tpd-navy-text) !important;
	border-color: var(--tpd-slate-border);
}

.tpd-btn-outline:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
}

.tpd-btn-outline-white {
	background: transparent;
	color: #ffffff !important;
	border-color: rgba(255, 255, 255, 0.35);
}

.tpd-btn-outline-white:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #ffffff;
	color: #ffffff !important;
}

.tpd-btn-secondary {
	background: #f1f5f9;
	color: #334155 !important;
	border-color: #cbd5e1;
}

.tpd-btn-secondary:hover {
	background: #e2e8f0;
}

.tpd-btn-block {
	width: 100%;
}

.tpd-portal-shell {
	display: flex;
	min-height: 100vh;
}

/* ==========================================================================
   1. Left Dark Sidebar (#0b1526 / #0e1e38)
   ========================================================================== */
.tpd-portal-sidebar {
	width: 260px;
	background: var(--tpd-navy-dark);
	color: #94a3b8;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	border-right: 1px solid rgba(255, 255, 255, 0.06);
	z-index: 50;
}

.tpd-sidebar-brand {
	padding: 24px 20px 20px;
	display: flex;
	align-items: center;
	gap: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tpd-sb-logo-icon {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #38bdf8;
	font-size: 20px;
}

.tpd-sb-logo-copy {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.tpd-sb-title {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: #ffffff;
}

.tpd-sb-subtitle {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: #ffffff;
}

.tpd-sb-by {
	font-size: 9px;
	font-weight: 700;
	color: #38bdf8;
	letter-spacing: 0.05em;
}

.tpd-sb-menu {
	flex-grow: 1;
	padding: 16px 12px;
	overflow-y: auto;
}

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

.tpd-nav-item a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	color: #94a3b8;
	font-size: 13px;
	font-weight: 600;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.15s ease;
	position: relative;
}

.tpd-nav-item a:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.06);
}

.tpd-nav-item.active a {
	background: #1d68c2;
	color: #ffffff;
	font-weight: 700;
}

.tpd-nav-item a i {
	font-size: 15px;
	width: 18px;
	text-align: center;
}

.tpd-nav-subtext {
	display: block;
	font-size: 10px;
	color: #64748b;
	margin-left: 30px;
	margin-top: -4px;
}

.tpd-nav-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
	margin: 10px 0;
}

.tpd-badge-counter {
	margin-left: auto;
	padding: 2px 7px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
}

.tpd-badge-red {
	background: var(--tpd-red);
	color: #ffffff;
}

.tpd-sb-footer-card {
	margin: 16px;
	height: 140px;
	border-radius: 12px;
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tpd-sbfc-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 21, 38, 0.2) 0%, rgba(11, 21, 38, 0.85) 100%);
	display: flex;
	align-items: flex-end;
	padding: 16px;
}

.tpd-sbfc-quote {
	font-family: var(--tpd-font-serif);
	color: #ffffff;
	font-size: 14px;
	margin: 0;
	line-height: 1.3;
}

.tpd-sb-bottom-actions {
	padding: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tpd-sb-help-prompt {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	color: #94a3b8;
}

/* ==========================================================================
   2. Main Header Topbar
   ========================================================================== */
.tpd-portal-body {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #f8fafc;
}

.tpd-portal-topbar {
	height: 70px;
	background: #ffffff;
	border-bottom: 1px solid var(--tpd-slate-border);
	padding: 0 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: sticky;
	top: 0;
	z-index: 40;
}

.tpd-topbar-search {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #f1f5f9;
	border-radius: 8px;
	padding: 8px 16px;
	width: 440px;
	color: #64748b;
}

.tpd-top-search-input {
	border: none;
	background: transparent;
	outline: none;
	font-size: 14px;
	width: 100%;
	font-family: var(--tpd-font-sans);
}

.tpd-topbar-actions {
	display: flex;
	align-items: center;
	gap: 18px;
}

.tpd-top-icon-btn {
	background: transparent;
	border: none;
	position: relative;
	font-size: 18px;
	color: #475569;
	cursor: pointer;
	padding: 6px;
}

.tpd-bell-badge {
	position: absolute;
	top: 2px;
	right: 2px;
	background: var(--tpd-red);
	color: #ffffff;
	font-size: 10px;
	font-weight: 800;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tpd-user-pill-dropdown,
.tpd-company-pill-dropdown {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 10px;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.tpd-user-pill-dropdown:hover {
	background: #f1f5f9;
}

.tpd-user-avatar-sm {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

.tpd-user-pill-info {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.tpd-user-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--tpd-navy-text);
}

.tpd-user-role-label {
	font-size: 11px;
	color: #64748b;
}

.tpd-tier-tag {
	color: var(--tpd-gold);
}

.tpd-chevron-icon {
	font-size: 11px;
	color: #94a3b8;
}

/* ==========================================================================
   3. Workspace & Welcome Hero
   ========================================================================== */
.tpd-workspace-content {
	padding: 24px 32px 60px;
}

.tpd-tab-panel {
	display: none;
}

.tpd-tab-panel.active {
	display: block;
}

/* Welcome Card (Amalfi coast panoramic background) */
.tpd-hero-welcome-card {
	background-size: cover;
	background-position: center;
	border-radius: 16px;
	padding: 40px 48px;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
	box-shadow: 0 10px 25px -5px rgba(11, 21, 38, 0.2);
}

.tpd-hwc-title {
	font-family: var(--tpd-font-serif);
	font-size: 38px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 8px;
}

.tpd-hwc-subtitle {
	font-size: 15px;
	color: #cbd5e1;
	margin: 0;
	max-width: 580px;
	line-height: 1.5;
}

.tpd-hwc-quote {
	font-family: var(--tpd-font-script);
	font-size: 26px;
	color: #ffffff;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Supplier Welcome Banner */
.tpd-supplier-hero-card {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 28px 36px;
}

.tpd-shc-badge-card {
	background: #ffffff;
	color: var(--tpd-navy-dark);
	padding: 16px 24px;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	flex-shrink: 0;
}

.tpd-shc-badge-card h3 {
	margin: 6px 0 2px;
	font-size: 17px;
	font-weight: 800;
}

.tpd-shc-badge-card small {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #64748b;
}

.tpd-shc-text h1 {
	font-family: var(--tpd-font-serif);
	font-size: 30px;
	color: #ffffff;
	margin: 0 0 6px;
}

.tpd-shc-text p {
	font-size: 14px;
	color: #cbd5e1;
	margin: 0;
}

/* ==========================================================================
   4. Metric Rows
   ========================================================================== */
.tpd-metrics-row-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 24px;
}

.tpd-metric-widget {
	background: #ffffff;
	border: 1px solid var(--tpd-slate-border);
	border-radius: 14px;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	gap: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.tpd-mw-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.tpd-mw-blue { background: #e0f2fe; color: #0284c7; }
.tpd-mw-cyan { background: #cffafe; color: #0891b2; }
.tpd-mw-navy { background: #e2e8f0; color: #1e293b; }

.tpd-mw-body {
	flex-grow: 1;
}

.tpd-mw-val-line {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

.tpd-mw-value {
	font-size: 28px;
	font-weight: 800;
	color: var(--tpd-navy-text);
}

.tpd-mw-sparkline {
	color: #0284c7;
	font-size: 14px;
}

.tpd-mw-label {
	font-size: 13px;
	color: #64748b;
	display: block;
	margin-bottom: 4px;
}

.tpd-mw-trend {
	font-size: 12px;
	font-weight: 700;
}

.text-green { color: #10b981; }
.text-gold { color: #d97706; }
.text-blue { color: #2563eb; }
.text-red { color: #ef4444; }
.text-purple { color: #8b5cf6; }

/* 6 Metrics in a row (Supplier Image 2) */
.tpd-metrics-row-6 {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
	margin-bottom: 24px;
}

.tpd-metric-widget-mini {
	background: #ffffff;
	border: 1px solid var(--tpd-slate-border);
	border-radius: 12px;
	padding: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.tpd-mwm-top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

.tpd-mwm-top i {
	font-size: 18px;
}

.tpd-mwm-value {
	font-size: 22px;
	font-weight: 800;
	color: var(--tpd-navy-text);
}

.tpd-mwm-label {
	font-size: 12px;
	color: #64748b;
	display: block;
	margin-bottom: 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tpd-mwm-trend {
	font-size: 11px;
	font-weight: 700;
}

/* ==========================================================================
   5. Dashboard Grid Columns (Left Flow + Right Sidebar)
   ========================================================================== */
.tpd-dashboard-columns {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 24px;
	align-items: start;
}

.tpd-card-box {
	background: #ffffff;
	border: 1px solid var(--tpd-slate-border);
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
	margin-bottom: 24px;
}

.tpd-box-header-clean {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.tpd-box-header-clean h4 {
	font-size: 15px;
	font-weight: 700;
	margin: 0;
	color: var(--tpd-navy-text);
}

.tpd-clean-link {
	font-size: 12px;
	font-weight: 600;
	color: #2563eb;
	text-decoration: none;
}

/* "Find Your Next Supplier" Search Box */
.tpd-ss-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
}

.tpd-ss-header h3 {
	font-family: var(--tpd-font-serif);
	font-size: 22px;
	margin: 0;
}

.tpd-link-arrow {
	font-size: 13px;
	font-weight: 600;
	color: #2563eb;
	text-decoration: none;
}

.tpd-ss-desc {
	font-size: 13px;
	color: #64748b;
	margin: 0 0 16px;
}

.tpd-ss-search-bar {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
}

.tpd-ss-input-wrap {
	flex-grow: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #ffffff;
	border: 1px solid var(--tpd-slate-border);
	border-radius: 8px;
	padding: 10px 14px;
	color: #94a3b8;
}

.tpd-ss-input-wrap input {
	border: none;
	outline: none;
	width: 100%;
	font-size: 14px;
	font-family: var(--tpd-font-sans);
}

.tpd-btn-darkblue {
	background: #0e1e38;
	color: #ffffff;
	border: none;
	padding: 10px 24px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.tpd-btn-darkblue:hover {
	background: #1d68c2;
}

.tpd-ss-filters-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.tpd-filter-select-pill {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--tpd-slate-border);
	padding: 8px 12px;
	border-radius: 8px;
	background: #ffffff;
	color: #64748b;
}

.tpd-filter-select-pill select {
	border: none;
	background: transparent;
	outline: none;
	font-size: 13px;
	font-weight: 600;
	color: var(--tpd-navy-text);
	width: 100%;
	cursor: pointer;
}

/* Featured Suppliers Grid */
.tpd-featured-suppliers-section {
	margin-bottom: 28px;
}

.tpd-fss-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.tpd-fss-header h3 {
	font-size: 18px;
	font-weight: 700;
	margin: 0;
}

.tpd-featured-suppliers-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.tpd-supp-showcase-card {
	background: #ffffff;
	border: 1px solid var(--tpd-slate-border);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
}

.tpd-ssc-thumb {
	height: 110px;
	background-size: cover;
	background-position: center;
	padding: 8px 10px;
}

.tpd-reps-online-badge {
	background: rgba(16, 185, 129, 0.9);
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.tpd-ssc-body {
	padding: 14px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.tpd-brand-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--tpd-navy-text);
	display: flex;
	align-items: center;
	gap: 6px;
}

.tpd-ssc-category {
	font-size: 11px;
	color: #64748b;
	margin-bottom: 8px;
	display: block;
}

.tpd-ssc-tags {
	display: flex;
	gap: 4px;
	margin-bottom: 14px;
	flex-grow: 1;
}

.tpd-ssc-tags span {
	background: #f1f5f9;
	color: #475569;
	font-size: 10px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 4px;
}

.tpd-ssc-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

/* Quick Actions (6 Grid) */
.tpd-quick-actions-grid-6 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.tpd-qa-tile {
	border: 1px solid var(--tpd-slate-border);
	border-radius: 10px;
	padding: 16px 12px;
	text-align: center;
	text-decoration: none;
	color: var(--tpd-navy-text);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	transition: all 0.15s ease;
}

.tpd-qa-tile:hover {
	border-color: #2563eb;
	background: #f8fafc;
	transform: translateY(-2px);
}

.tpd-qa-tile i {
	font-size: 20px;
	color: #0284c7;
}

.tpd-qa-tile span {
	font-size: 12px;
	font-weight: 600;
}

/* Saved Suppliers List */
.tpd-saved-suppliers-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tpd-saved-supp-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 0;
	border-bottom: 1px solid #f1f5f9;
}

.tpd-ssi-icon {
	width: 32px;
	height: 32px;
	background: #f8fafc;
	border: 1px solid var(--tpd-slate-border);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	flex-shrink: 0;
}

.tpd-ssi-info {
	flex-grow: 1;
}

.tpd-ssi-info strong {
	display: block;
	font-size: 13px;
	color: var(--tpd-navy-text);
}

.tpd-ssi-info span {
	font-size: 11px;
	color: #64748b;
}

.tpd-btn-dots {
	background: transparent;
	border: none;
	color: #94a3b8;
	cursor: pointer;
}

/* Events Stack */
.tpd-events-stack {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tpd-event-stack-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tpd-esr-date {
	background: #f1f5f9;
	border-radius: 8px;
	padding: 6px 10px;
	text-align: center;
	flex-shrink: 0;
	line-height: 1.1;
}

.tpd-esr-m {
	font-size: 9px;
	font-weight: 800;
	color: #0284c7;
	display: block;
}

.tpd-esr-d {
	font-size: 16px;
	font-weight: 800;
	color: var(--tpd-navy-text);
}

.tpd-esr-details {
	flex-grow: 1;
}

.tpd-esr-details h5 {
	font-size: 13px;
	margin: 0 0 2px;
}

.tpd-esr-series {
	font-size: 11px;
	color: #64748b;
	display: block;
}

.tpd-esr-time {
	font-size: 10px;
	color: #94a3b8;
}

/* TARC News Cards (Image 1 Bottom) */
.tpd-news-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.tpd-news-mini-card {
	background: #ffffff;
	border: 1px solid var(--tpd-slate-border);
	border-radius: 12px;
	overflow: hidden;
}

.tpd-nmc-thumb {
	height: 120px;
	background-size: cover;
	background-position: center;
	padding: 10px;
}

.tpd-news-date {
	background: rgba(11, 21, 38, 0.85);
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	padding: 3px 6px;
	border-radius: 4px;
}

.tpd-nmc-body {
	padding: 14px;
}

.tpd-nmc-body h4 {
	font-size: 14px;
	margin: 0 0 6px;
	line-height: 1.3;
}

.tpd-nmc-body p {
	font-size: 12px;
	color: #64748b;
	margin: 0;
	line-height: 1.4;
}

/* ==========================================================================
   6. Supplier Portal 3-Column Specifics (Image 2)
   ========================================================================== */
.tpd-supplier-dashboard-grid-3 {
	display: grid;
	grid-template-columns: 1.3fr 1.1fr 1fr;
	gap: 20px;
	align-items: start;
}

.tpd-online-badge-text {
	font-size: 12px;
	font-weight: 600;
	color: #10b981;
}

.tpd-vo-members-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tpd-vo-member-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f1f5f9;
}

.tpd-vom-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.tpd-vom-info {
	flex-grow: 1;
	line-height: 1.25;
}

.tpd-vom-info strong {
	display: block;
	font-size: 14px;
}

.tpd-vom-role {
	font-size: 12px;
	color: #64748b;
	display: block;
}

.tpd-vom-spec {
	font-size: 11px;
	color: #94a3b8;
}

/* Manage Content 8 Tiles */
.tpd-myc-grid-8 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.tpd-myc-tile {
	border: 1px solid var(--tpd-slate-border);
	border-radius: 10px;
	padding: 16px 14px;
	text-decoration: none;
	color: var(--tpd-navy-text);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	transition: all 0.15s ease;
}

.tpd-myc-tile:hover {
	border-color: #2563eb;
	background: #f8fafc;
}

.tpd-myc-tile i {
	font-size: 20px;
	color: #0284c7;
	margin-bottom: 8px;
}

.tpd-myc-tile strong {
	font-size: 13px;
	margin-bottom: 2px;
}

.tpd-myc-tile p {
	font-size: 11px;
	color: #64748b;
	margin: 0;
	line-height: 1.3;
}

/* Recent Conversations List */
.tpd-rc-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tpd-rc-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid #f1f5f9;
	cursor: pointer;
	position: relative;
}

.tpd-rc-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.tpd-rc-body {
	flex-grow: 1;
	line-height: 1.25;
}

.tpd-rc-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.tpd-rc-head strong {
	font-size: 13px;
}

.tpd-rc-time {
	font-size: 11px;
	color: #94a3b8;
}

.tpd-rc-agency {
	font-size: 11px;
	color: #64748b;
	display: block;
	margin-bottom: 4px;
}

.tpd-rc-snippet {
	font-size: 12px;
	color: #475569;
	margin: 0;
	line-height: 1.3;
}

.tpd-rc-unread-dot {
	width: 8px;
	height: 8px;
	background: var(--tpd-red);
	border-radius: 50%;
	position: absolute;
	right: 0;
	top: 24px;
}

/* Profile Status Checklist */
.tpd-badge-live {
	background: #d1fae5;
	color: #065f46;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.tpd-badge-live i { font-size: 7px; color: #10b981; }

.tpd-ps-desc {
	font-size: 12px;
	color: #64748b;
	margin: 0 0 12px;
}

.tpd-progress-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.tpd-progress-bar {
	flex-grow: 1;
	height: 8px;
	background: #e2e8f0;
	border-radius: 4px;
	overflow: hidden;
}

.tpd-progress-fill {
	height: 100%;
	background: #10b981;
}

.tpd-progress-label {
	font-size: 12px;
	font-weight: 700;
	color: var(--tpd-navy-text);
}

.tpd-checklist-items {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 12px;
}

.tpd-checklist-items li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tpd-checklist-items li.checked i { color: #10b981; }
.tpd-checklist-items li.unchecked i { color: #cbd5e1; }

.tpd-ps-footer-thumb {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
}

.tpd-ps-footer-thumb img {
	width: 100px;
	height: 50px;
	border-radius: 6px;
	object-fit: cover;
}

/* Quick Actions Row 4 (Image 2) */
.tpd-qa-row-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.tpd-qa-action-btn {
	border: 1px solid var(--tpd-slate-border);
	border-radius: 8px;
	padding: 12px 6px;
	text-align: center;
	text-decoration: none;
	color: var(--tpd-navy-text);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 600;
}

.tpd-qa-action-btn:hover {
	border-color: #2563eb;
	background: #f8fafc;
}

.tpd-qa-action-btn i {
	font-size: 18px;
	color: #0284c7;
}

/* ==========================================================================
   7. Super Admin Hub & Permissions Matrix
   ========================================================================== */
.tpd-admin-hub-wrapper {
	padding: 24px;
	max-width: 1200px;
	margin: 0 auto;
}

.tpd-admin-hub-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.tpd-admin-hub-header h1 {
	font-size: 26px;
	margin: 0 0 6px;
}

.tpd-admin-hub-header p {
	font-size: 14px;
	color: #64748b;
	margin: 0;
}

.tpd-admin-header-links {
	display: flex;
	gap: 10px;
}

.tpd-admin-kpi-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 28px;
}

.tpd-kpi-card {
	background: #ffffff;
	border: 1px solid var(--tpd-slate-border);
	border-radius: 12px;
	padding: 20px;
}

.tpd-kpi-label {
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
}

.tpd-kpi-value {
	font-size: 32px;
	font-weight: 800;
	margin: 4px 0;
}

.tpd-kpi-sub {
	font-size: 12px;
	color: #94a3b8;
}

.tpd-admin-panel-card {
	background: #ffffff;
	border: 1px solid var(--tpd-slate-border);
	border-radius: 14px;
	overflow: hidden;
}

.tpd-panel-header {
	padding: 20px 24px;
	border-bottom: 1px solid var(--tpd-slate-border);
}

.tpd-panel-header h3 {
	margin: 0 0 4px;
	font-size: 17px;
}

.tpd-panel-header p {
	font-size: 13px;
	color: #64748b;
	margin: 0;
}

.tpd-panel-body {
	padding: 24px;
}

.tpd-admin-table,
.tpd-matrix-table {
	width: 100%;
	border-collapse: collapse;
}

.tpd-admin-table th,
.tpd-admin-table td,
.tpd-matrix-table th,
.tpd-matrix-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid #f1f5f9;
	font-size: 13px;
}

.tpd-admin-table th,
.tpd-matrix-table th {
	background: #f8fafc;
	font-weight: 700;
	color: var(--tpd-navy-text);
}

.tpd-role-badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
}

.tpd-role-advisor { background: #e0f2fe; color: #0284c7; }
.tpd-role-supplier { background: #ede9fe; color: #7c3aed; }

.tpd-tier-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
}

.tpd-tier-paid { background: #fef3c7; color: #b45309; }
.tpd-tier-free { background: #f1f5f9; color: #64748b; }

.tpd-matrix-subtitle {
	font-size: 15px;
	margin: 16px 0 10px;
	color: var(--tpd-navy-text);
}

/* Feature Locked Teaser */
.tpd-feature-locked-card {
	background: #ffffff;
	border: 1px dashed var(--tpd-slate-border);
	border-radius: 14px;
	padding: 48px;
	text-align: center;
	max-width: 540px;
	margin: 40px auto;
}

.tpd-flc-icon {
	width: 60px;
	height: 60px;
	background: #fef3c7;
	color: #d97706;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin: 0 auto 16px;
}

.tpd-flc-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fef3c7;
	color: #b45309;
	font-size: 11px;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 999px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 1200px) {
	.tpd-metrics-row-6 { grid-template-columns: repeat(3, 1fr); }
	.tpd-supplier-dashboard-grid-3 { grid-template-columns: 1fr; }
	.tpd-featured-suppliers-grid { grid-template-columns: repeat(2, 1fr); }
	.tpd-dashboard-columns { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	.tpd-portal-shell { flex-direction: column; }
	.tpd-portal-sidebar { width: 100%; }
	.tpd-metrics-row-3,
	.tpd-metrics-row-6,
	.tpd-news-cards-grid { grid-template-columns: 1fr; }
	.tpd-ss-filters-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Registration System Styles (Advisor & Supplier)
   ========================================================================== */
.tpd-registration-wrapper {
	max-width: 860px;
	margin: 40px auto;
	padding: 0 20px;
	font-family: var(--tpd-font-sans);
}

.tpd-reg-card {
	background: #ffffff;
	border: 1px solid var(--tpd-slate-border);
	border-radius: 18px;
	padding: 40px 48px;
	box-shadow: 0 15px 40px -5px rgba(11, 21, 38, 0.08);
}

.tpd-reg-header {
	text-align: center;
	margin-bottom: 32px;
}

.tpd-reg-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #e0f2fe;
	color: #0369a1;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.5px;
	padding: 5px 12px;
	border-radius: 999px;
	margin-bottom: 12px;
}

.tpd-reg-header h2 {
	font-size: 26px;
	font-weight: 800;
	color: var(--tpd-navy-dark);
	margin: 0 0 10px;
}

.tpd-reg-header p {
	color: var(--tpd-slate-muted);
	font-size: 14.5px;
	margin: 0;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.5;
}

.tpd-form-section {
	border-top: 1px solid #f1f5f9;
	padding-top: 24px;
	margin-top: 24px;
}

.tpd-fs-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--tpd-navy-dark);
	margin: 0 0 18px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.tpd-fs-title i {
	color: var(--tpd-blue-accent);
}

.tpd-form-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 14px;
}

.tpd-form-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 14px;
}

.tpd-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tpd-form-group label {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
}

.tpd-input,
.tpd-select,
.tpd-textarea {
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 13.5px;
	font-family: inherit;
	color: #0f172a;
	background: #ffffff;
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
	width: 100%;
	box-sizing: border-box;
}

.tpd-input:focus,
.tpd-select:focus,
.tpd-textarea:focus {
	border-color: var(--tpd-blue-accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.tpd-select-sm {
	padding: 9px 10px;
}

.tpd-accreditation-row {
	display: flex;
	gap: 8px;
}

.tpd-checkbox-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tpd-pill-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 12.5px;
	font-weight: 500;
	color: #334155;
	cursor: pointer;
	user-select: none;
	transition: background 0.15s, border-color 0.15s;
}

.tpd-pill-checkbox input {
	cursor: pointer;
}

.tpd-pill-checkbox:hover {
	background: #eff6ff;
	border-color: #bfdbfe;
}

/* Tier Selection Grid */
.tpd-tier-selection-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 10px;
}

.tpd-tier-option {
	position: relative;
	border: 2px solid #e2e8f0;
	border-radius: 14px;
	padding: 22px;
	cursor: pointer;
	transition: all 0.2s;
	display: flex;
	background: #ffffff;
}

.tpd-tier-option input[type="radio"] {
	position: absolute;
	top: 18px;
	right: 18px;
	accent-color: #2563eb;
	width: 18px;
	height: 18px;
}

.tpd-tier-option:hover {
	border-color: #93c5fd;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.tpd-tier-option:has(input:checked) {
	border-color: var(--tpd-blue-accent);
	background: #f8fbff;
}

.tpd-tier-featured {
	border-color: #fde68a;
	background: #fffbeb;
}

.tpd-tier-featured:has(input:checked) {
	border-color: #d97706;
	background: #fffdf5;
	box-shadow: 0 8px 24px rgba(217, 119, 6, 0.12);
}

.tpd-to-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: #64748b;
	margin-bottom: 6px;
}

.tpd-to-gold {
	color: #b45309;
}

.tpd-to-content h4 {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 800;
	color: var(--tpd-navy-dark);
}

.tpd-to-price {
	font-size: 22px;
	font-weight: 800;
	color: var(--tpd-navy-dark);
	display: block;
	margin-bottom: 14px;
}

.tpd-to-price span {
	font-size: 13px;
	font-weight: 500;
	color: #64748b;
}

.tpd-to-features {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 12.5px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tpd-to-features li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #1e293b;
}

.tpd-to-features li.disabled {
	color: #94a3b8;
}

/* Registration Status Messages */
.tpd-reg-status {
	margin: 20px 0;
	padding: 14px 18px;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
}

.tpd-reg-status.success {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}

.tpd-reg-status.error {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.tpd-reg-submit-wrap {
	margin-top: 28px;
	text-align: center;
}

.tpd-reg-already-logged-in {
	max-width: 580px;
	margin: 60px auto;
	padding: 40px;
	background: #ffffff;
	border: 1px solid var(--tpd-slate-border);
	border-radius: 16px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.tpd-reg-already-logged-in i {
	font-size: 44px;
	margin-bottom: 16px;
}

.tpd-reg-already-logged-in h3 {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 8px;
}

.tpd-reg-already-logged-in p {
	color: #64748b;
	margin-bottom: 24px;
}

@media (max-width: 768px) {
	.tpd-reg-card { padding: 24px; }
	.tpd-form-grid-2,
	.tpd-form-grid-3,
	.tpd-tier-selection-grid { grid-template-columns: 1fr; }
}
