/**
 * Product Directory & Paid Submission System - Public Stylesheet
 * Modern, Minimalist SaaS Directory with Lime Accent (#BAFF3A)
 */

:root {
	--pd-bg: #0b0f17;
	--pd-surface: #121824;
	--pd-surface-hover: #182234;
	--pd-border: #1f293d;
	--pd-border-light: #2d3748;
	--pd-accent: #baff3a;
	--pd-accent-hover: #a8ee26;
	--pd-accent-text: #0b0f17;
	--pd-text-primary: #f8fafc;
	--pd-text-secondary: #94a3b8;
	--pd-text-muted: #64748b;
	--pd-badge-bg: rgba(255, 255, 255, 0.06);
	--pd-radius-sm: 8px;
	--pd-radius-md: 12px;
	--pd-radius-lg: 16px;
	--pd-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
	--pd-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset / Scope */
.product-dir-container {
	font-family: var(--pd-font-sans);
	color: var(--pd-text-primary);
	background-color: var(--pd-bg);
	max-width: 1240px;
	margin: 0 auto;
	padding: 40px 20px 80px;
	box-sizing: border-box;
	line-height: 1.5;
}

.product-dir-container *,
.product-dir-container *::before,
.product-dir-container *::after {
	box-sizing: border-box;
}

/* Screen reader text */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Hero Section */
.product-dir-hero {
	text-align: center;
	padding: 48px 16px 40px;
	max-width: 820px;
	margin: 0 auto;
}

.product-dir-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(186, 255, 58, 0.08);
	border: 1px solid rgba(186, 255, 58, 0.25);
	padding: 6px 14px;
	border-radius: 9999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--pd-accent);
	margin-bottom: 20px;
}

.product-dir-hero-badge .pulse-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--pd-accent);
	box-shadow: 0 0 10px var(--pd-accent);
	animation: pd-pulse 2s infinite;
}

@keyframes pd-pulse {
	0% { transform: scale(0.95); opacity: 0.8; }
	50% { transform: scale(1.25); opacity: 1; }
	100% { transform: scale(0.95); opacity: 0.8; }
}

.product-dir-hero-title {
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin: 0 0 16px;
	color: #ffffff;
}

.product-dir-hero-desc {
	font-size: clamp(16px, 2.2vw, 19px);
	color: var(--pd-text-secondary);
	margin: 0 auto 28px;
	line-height: 1.6;
	max-width: 650px;
}

.product-dir-hero-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.btn-submit-hero {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: var(--pd-accent);
	color: var(--pd-accent-text);
	border: none;
	padding: 13px 26px;
	border-radius: var(--pd-radius-md);
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 4px 14px rgba(186, 255, 58, 0.35);
}

.btn-submit-hero:hover {
	background-color: var(--pd-accent-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(186, 255, 58, 0.45);
}

.btn-track-hero {
	display: inline-flex;
	align-items: center;
	background: transparent;
	color: var(--pd-text-primary);
	border: 1px solid var(--pd-border-light);
	padding: 13px 22px;
	border-radius: var(--pd-radius-md);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.btn-track-hero:hover {
	border-color: var(--pd-text-secondary);
	background: rgba(255, 255, 255, 0.04);
	color: #ffffff;
}

/* Controls: Search & Sort */
.product-dir-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 40px 0 20px;
	flex-wrap: wrap;
}

.product-search-box {
	position: relative;
	flex: 1;
	min-width: 280px;
}

.product-search-box .search-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--pd-text-muted);
	pointer-events: none;
	display: flex;
}

.product-search-input {
	width: 100%;
	background-color: var(--pd-surface);
	border: 1px solid var(--pd-border);
	color: var(--pd-text-primary);
	font-size: 15px;
	padding: 14px 44px 14px 46px;
	border-radius: var(--pd-radius-md);
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-search-input:focus {
	border-color: var(--pd-accent);
	box-shadow: 0 0 0 3px rgba(186, 255, 58, 0.15);
}

.product-search-input::placeholder {
	color: var(--pd-text-muted);
}

.btn-clear-search {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: var(--pd-text-muted);
	font-size: 18px;
	cursor: pointer;
	padding: 4px 8px;
}

.btn-clear-search:hover {
	color: var(--pd-text-primary);
}

.product-dir-sort-box {
	min-width: 170px;
}

.product-sort-select {
	width: 100%;
	background-color: var(--pd-surface);
	border: 1px solid var(--pd-border);
	color: var(--pd-text-primary);
	padding: 14px 18px;
	border-radius: var(--pd-radius-md);
	font-size: 14px;
	outline: none;
	cursor: pointer;
	appearance: auto;
}

.product-sort-select:focus {
	border-color: var(--pd-accent);
}

/* Category Filter Bar (Horizontal Momentum Scroll) */
.product-cat-pills-nav {
	margin-bottom: 24px;
	position: relative;
}

.product-cat-pills-track {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 4px 0 10px;
	white-space: nowrap;
}

.product-cat-pills-track::-webkit-scrollbar {
	display: none;
}

.cat-pill {
	background-color: var(--pd-surface);
	border: 1px solid var(--pd-border);
	color: var(--pd-text-secondary);
	padding: 8px 18px;
	border-radius: 9999px;
	font-size: 13.5px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.cat-pill:hover {
	color: var(--pd-text-primary);
	border-color: var(--pd-border-light);
	background: var(--pd-surface-hover);
}

.cat-pill.active {
	background-color: var(--pd-accent);
	color: var(--pd-accent-text);
	border-color: var(--pd-accent);
	font-weight: 700;
}

/* Tag Filter Row */
.product-tag-pills-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 32px;
	font-size: 13px;
}

.tag-nav-label {
	color: var(--pd-text-muted);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-right: 4px;
}

.tag-pill {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--pd-text-secondary);
	padding: 4px 10px;
	border-radius: var(--pd-radius-sm);
	font-size: 12px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.tag-pill:hover,
.tag-pill.active {
	border-color: var(--pd-accent);
	color: var(--pd-accent);
	background: rgba(186, 255, 58, 0.05);
}

.btn-clear-tag {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #ef4444;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: var(--pd-radius-sm);
	cursor: pointer;
}

/* Loader */
.product-dir-loader {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 40px 0;
	color: var(--pd-text-secondary);
	font-size: 14px;
}

.spinner-ring {
	width: 20px;
	height: 20px;
	border: 2px solid rgba(186, 255, 58, 0.2);
	border-top-color: var(--pd-accent);
	border-radius: 50%;
	animation: pd-spin 0.7s linear infinite;
}

@keyframes pd-spin {
	to { transform: rotate(360deg); }
}

/* Product Cards Grid */
.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 22px;
	margin-bottom: 48px;
}

/* Product Card */
.product-card {
	background-color: var(--pd-surface);
	border: 1px solid var(--pd-border);
	border-radius: var(--pd-radius-lg);
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
	transform: translateY(-4px);
	border-color: rgba(186, 255, 58, 0.4);
	box-shadow: var(--pd-shadow);
}

.product-card.is-featured {
	border-color: rgba(186, 255, 58, 0.35);
	background: linear-gradient(180deg, rgba(186, 255, 58, 0.03) 0%, var(--pd-surface) 100%);
}

.product-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.product-card-identity {
	display: flex;
	align-items: center;
	gap: 14px;
}

.product-card-logo {
	width: 48px;
	height: 48px;
	border-radius: var(--pd-radius-md);
	background-color: #1a2233;
	border: 1px solid var(--pd-border-light);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.product-card-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.product-card-logo-fallback {
	font-weight: 800;
	font-size: 15px;
	color: var(--pd-accent);
}

.product-card-meta {
	overflow: hidden;
}

.product-card-title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 3px;
	line-height: 1.3;
}

.product-card-title a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.15s ease;
}

.product-card-title a:hover {
	color: var(--pd-accent);
}

.product-card-cat {
	font-size: 12px;
	color: var(--pd-text-muted);
}

.product-card-badges {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}

.product-badge {
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.badge-featured {
	background-color: var(--pd-accent);
	color: var(--pd-accent-text);
}

.badge-pricing {
	background-color: var(--pd-badge-bg);
	color: var(--pd-text-secondary);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-card-desc {
	font-size: 14px;
	color: var(--pd-text-secondary);
	line-height: 1.55;
	margin: 0 0 16px;
	flex-grow: 1;
}

.product-card-tags {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.product-tag-chip {
	font-size: 11.5px;
	color: var(--pd-text-muted);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	padding: 2px 7px;
	border-radius: 4px;
	cursor: pointer;
}

.product-tag-chip:hover {
	color: var(--pd-accent);
}

.product-card-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding-top: 16px;
}

.btn-card-details {
	flex: 1;
	text-align: center;
	background: rgba(255, 255, 255, 0.05);
	color: var(--pd-text-primary);
	text-decoration: none;
	padding: 9px 12px;
	border-radius: var(--pd-radius-sm);
	font-size: 13.5px;
	font-weight: 600;
	transition: background 0.15s ease;
}

.btn-card-details:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.btn-card-visit {
	flex: 1.3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: var(--pd-accent);
	color: var(--pd-accent-text);
	text-decoration: none;
	padding: 9px 14px;
	border-radius: var(--pd-radius-sm);
	font-size: 13.5px;
	font-weight: 700;
	transition: background 0.15s ease, transform 0.15s ease;
}

.btn-card-visit:hover {
	background: var(--pd-accent-hover);
	transform: translateY(-1px);
}

/* Empty State */
.product-empty-state {
	grid-column: 1 / -1;
	text-align: center;
	padding: 64px 20px;
	background: var(--pd-surface);
	border: 1px dashed var(--pd-border-light);
	border-radius: var(--pd-radius-lg);
}

.product-empty-state .empty-icon {
	color: var(--pd-text-muted);
	margin-bottom: 16px;
}

.product-empty-state h3 {
	font-size: 20px;
	color: #ffffff;
	margin: 0 0 8px;
}

.product-empty-state p {
	color: var(--pd-text-secondary);
	font-size: 14.5px;
	margin: 0 auto 20px;
	max-width: 400px;
}

.btn-reset-filters {
	background: var(--pd-accent);
	color: var(--pd-accent-text);
	border: none;
	padding: 10px 20px;
	border-radius: var(--pd-radius-sm);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}

/* Pagination */
.product-dir-pagination-wrap {
	display: flex;
	justify-content: center;
}

.product-pagination {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--pd-surface);
	border: 1px solid var(--pd-border);
	padding: 6px;
	border-radius: var(--pd-radius-md);
}

.page-btn {
	background: transparent;
	border: none;
	color: var(--pd-text-secondary);
	font-size: 14px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: var(--pd-radius-sm);
	cursor: pointer;
	transition: all 0.15s ease;
}

.page-btn:hover {
	color: var(--pd-text-primary);
	background: rgba(255, 255, 255, 0.05);
}

.page-btn.active {
	background: var(--pd-accent);
	color: var(--pd-accent-text);
	font-weight: 700;
}

.page-dots {
	color: var(--pd-text-muted);
	padding: 0 4px;
}

/* Single Product Page Styles */
.product-single-container {
	padding-top: 24px;
}

.product-breadcrumbs {
	font-size: 13.5px;
	color: var(--pd-text-muted);
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.product-breadcrumbs a {
	color: var(--pd-text-secondary);
	text-decoration: none;
}

.product-breadcrumbs a:hover {
	color: var(--pd-accent);
}

.crumb-sep {
	color: var(--pd-border-light);
}

.crumb-current {
	color: var(--pd-text-primary);
	font-weight: 600;
}

.product-single-header {
	background: var(--pd-surface);
	border: 1px solid var(--pd-border);
	border-radius: var(--pd-radius-lg);
	padding: 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
	flex-wrap: wrap;
}

.product-single-header.is-featured {
	border-color: rgba(186, 255, 58, 0.4);
	box-shadow: 0 0 30px rgba(186, 255, 58, 0.05);
}

.product-single-header-main {
	display: flex;
	align-items: center;
	gap: 24px;
	flex: 1;
	min-width: 300px;
}

.product-single-logo {
	width: 88px;
	height: 88px;
	border-radius: var(--pd-radius-md);
	background: #1a2233;
	border: 1px solid var(--pd-border-light);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.product-single-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-logo-fallback-large {
	font-size: 28px;
	font-weight: 800;
	color: var(--pd-accent);
}

.product-single-badges {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.badge-cat {
	background: rgba(255, 255, 255, 0.06);
	color: var(--pd-text-secondary);
}

.product-single-title {
	font-size: clamp(24px, 3.5vw, 36px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 8px;
	color: #ffffff;
}

.product-single-tagline {
	font-size: 16px;
	color: var(--pd-text-secondary);
	margin: 0 0 12px;
	line-height: 1.5;
}

.product-single-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.product-single-header-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.btn-visit-website {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--pd-accent);
	color: var(--pd-accent-text);
	text-decoration: none;
	padding: 14px 28px;
	border-radius: var(--pd-radius-md);
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(186, 255, 58, 0.3);
	transition: all 0.2s ease;
}

.btn-visit-website:hover {
	background: var(--pd-accent-hover);
	transform: translateY(-2px);
}

.product-cta-note {
	font-size: 12px;
	color: var(--pd-text-muted);
}

/* Two column layout */
.product-single-layout {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 32px;
	margin-bottom: 56px;
}

.product-section {
	background: var(--pd-surface);
	border: 1px solid var(--pd-border);
	border-radius: var(--pd-radius-lg);
	padding: 32px;
	margin-bottom: 24px;
}

.product-section-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 18px;
	color: #ffffff;
}

.product-content-body {
	color: var(--pd-text-secondary);
	line-height: 1.7;
	font-size: 15px;
}

.product-content-body p {
	margin-bottom: 16px;
}

/* Features Grid */
.product-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
}

.feature-item-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	padding: 14px 16px;
	border-radius: var(--pd-radius-md);
	display: flex;
	align-items: center;
	gap: 10px;
}

.feature-check-icon {
	color: var(--pd-accent);
	font-weight: bold;
	font-size: 16px;
}

.feature-text {
	font-size: 14px;
	color: var(--pd-text-primary);
	font-weight: 500;
}

/* Screenshots Grid */
.product-screenshots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.screenshot-thumb {
	border-radius: var(--pd-radius-md);
	overflow: hidden;
	border: 1px solid var(--pd-border);
	background: #000;
}

.screenshot-thumb img {
	width: 100%;
	height: auto;
	display: block;
}

/* Sidebar Widgets */
.sidebar-widget {
	background: var(--pd-surface);
	border: 1px solid var(--pd-border);
	border-radius: var(--pd-radius-lg);
	padding: 26px;
	margin-bottom: 24px;
}

.widget-title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 16px;
	color: #ffffff;
}

.meta-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}

.meta-list li {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 14px;
}

.meta-list li:last-child {
	border-bottom: none;
}

.meta-label {
	color: var(--pd-text-muted);
}

.meta-value {
	color: var(--pd-text-primary);
	font-weight: 600;
}

.btn-sidebar-visit {
	display: block;
	width: 100%;
	text-align: center;
	background: var(--pd-accent);
	color: var(--pd-accent-text);
	text-decoration: none;
	padding: 12px;
	border-radius: var(--pd-radius-sm);
	font-weight: 700;
	font-size: 14px;
}

.widget-submit-cta h4 {
	font-size: 16px;
	color: #ffffff;
	margin: 0 0 8px;
}

.widget-submit-cta p {
	font-size: 13.5px;
	color: var(--pd-text-secondary);
	margin: 0 0 16px;
	line-height: 1.5;
}

.btn-sidebar-submit {
	width: 100%;
	background: transparent;
	border: 1px solid var(--pd-accent);
	color: var(--pd-accent);
	padding: 11px;
	border-radius: var(--pd-radius-sm);
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.btn-sidebar-submit:hover {
	background: var(--pd-accent);
	color: var(--pd-accent-text);
}

.product-related-section {
	margin-top: 48px;
}

.related-section-title {
	font-size: 22px;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 24px;
}

/* Modals System (Submission & Guidelines) */
.product-modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(11, 15, 23, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	animation: pd-fadein 0.2s ease-out;
}

@keyframes pd-fadein {
	from { opacity: 0; }
	to { opacity: 1; }
}

.product-modal-container {
	background: var(--pd-surface);
	border: 1px solid var(--pd-border-light);
	border-radius: var(--pd-radius-lg);
	max-width: 580px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 36px;
	position: relative;
	box-shadow: var(--pd-shadow);
	color: var(--pd-text-primary);
}

.product-modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	background: transparent;
	border: none;
	color: var(--pd-text-muted);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
	transition: color 0.15s ease;
}

.product-modal-close:hover {
	color: #ffffff;
}

.modal-header {
	margin-bottom: 24px;
}

.step-indicator {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--pd-accent);
	letter-spacing: 0.5px;
	margin-bottom: 6px;
	display: block;
}

.modal-header h2 {
	font-size: 24px;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 8px;
	letter-spacing: -0.02em;
}

.modal-header p {
	font-size: 14px;
	color: var(--pd-text-secondary);
	margin: 0;
}

.btn-back-step {
	background: none;
	border: none;
	color: var(--pd-text-secondary);
	font-size: 13px;
	cursor: pointer;
	padding: 0;
	margin-bottom: 12px;
	display: inline-block;
}

.btn-back-step:hover {
	color: var(--pd-text-primary);
}

/* Form Styles inside Modal */
.submission-form .form-group {
	margin-bottom: 20px;
}

.submission-form label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--pd-text-primary);
	margin-bottom: 8px;
}

.submission-form label .required {
	color: #ef4444;
}

.input-with-icon {
	position: relative;
}

.input-with-icon .input-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16px;
	pointer-events: none;
}

.submission-form input[type="url"],
.submission-form input[type="email"],
.portal-form input[type="email"],
.portal-form input[type="text"] {
	width: 100%;
	background: #0b0f17;
	border: 1px solid var(--pd-border-light);
	color: #ffffff;
	font-size: 15px;
	padding: 12px 14px 12px 42px;
	border-radius: var(--pd-radius-sm);
	outline: none;
	transition: border-color 0.2s ease;
}

.submission-form input:focus,
.portal-form input:focus {
	border-color: var(--pd-accent);
}

.field-validation-msg {
	display: block;
	font-size: 12px;
	color: #ef4444;
	margin-top: 5px;
}

.form-agreement-box {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--pd-border);
	padding: 14px;
	border-radius: var(--pd-radius-sm);
	margin-bottom: 24px;
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-size: 13.5px;
	color: var(--pd-text-secondary);
}

.checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	accent-color: var(--pd-accent);
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.btn-link-guidelines {
	background: none;
	border: none;
	color: var(--pd-accent);
	text-decoration: underline;
	padding: 0;
	font-size: 13.5px;
	cursor: pointer;
	font-weight: 600;
}

.btn-continue-disabled {
	width: 100%;
	background: #1f293d;
	color: var(--pd-text-muted);
	border: none;
	padding: 14px;
	border-radius: var(--pd-radius-md);
	font-size: 15px;
	font-weight: 700;
	cursor: not-allowed;
	transition: all 0.2s ease;
}

.btn-continue-enabled {
	width: 100%;
	background: var(--pd-accent) !important;
	color: var(--pd-accent-text) !important;
	border: none;
	padding: 14px;
	border-radius: var(--pd-radius-md);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer !important;
	box-shadow: 0 4px 14px rgba(186, 255, 58, 0.35);
}

.btn-continue-enabled:hover {
	background: var(--pd-accent-hover) !important;
	transform: translateY(-2px);
}

/* Step 2: Review Card */
.submission-review-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--pd-border);
	border-radius: var(--pd-radius-md);
	padding: 16px 20px;
	margin-bottom: 24px;
}

.review-row {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	font-size: 14px;
}

.review-label {
	color: var(--pd-text-muted);
}

.review-val {
	color: #ffffff;
	font-weight: 600;
	word-break: break-all;
	max-width: 65%;
	text-align: right;
}

.review-val.highlight {
	color: var(--pd-accent);
}

/* Coffee Plans Selector */
.coffee-plans-selector {
	margin-bottom: 24px;
}

.plans-label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 12px;
}

.plans-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.plan-card {
	background: #0e131d;
	border: 1.5px solid var(--pd-border);
	border-radius: var(--pd-radius-md);
	padding: 16px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.plan-card:hover {
	border-color: rgba(186, 255, 58, 0.5);
	background: #141b29;
}

.plan-card.selected {
	border-color: var(--pd-accent);
	background: rgba(186, 255, 58, 0.06);
	box-shadow: 0 0 15px rgba(186, 255, 58, 0.15);
}

.plan-card-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
}

.plan-coffee-icon {
	font-size: 15px;
}

.plan-price {
	font-size: 18px;
	font-weight: 800;
	color: var(--pd-accent);
}

.plan-title {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 4px;
	color: #ffffff;
}

.plan-desc {
	font-size: 13px;
	color: var(--pd-text-secondary);
	margin: 0;
	line-height: 1.4;
}

.plan-perk-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	color: var(--pd-accent);
	background: rgba(186, 255, 58, 0.1);
	padding: 2px 8px;
	border-radius: 4px;
	margin-top: 8px;
}

.btn-pay-now {
	width: 100%;
	background: var(--pd-accent);
	color: var(--pd-accent-text);
	border: none;
	padding: 15px;
	border-radius: var(--pd-radius-md);
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 4px 18px rgba(186, 255, 58, 0.4);
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.btn-pay-now:hover {
	background: var(--pd-accent-hover);
	transform: translateY(-2px);
}

.payment-guarantee-note {
	text-align: center;
	font-size: 12px;
	color: var(--pd-text-muted);
	margin-top: 10px;
}

/* Result Screens */
.payment-result-box {
	text-align: center;
	padding: 20px 0;
}

.result-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	font-weight: bold;
	margin: 0 auto 20px;
}

.success-icon {
	background: rgba(186, 255, 58, 0.15);
	color: var(--pd-accent);
	border: 2px solid var(--pd-accent);
}

.failed-icon {
	background: rgba(239, 68, 68, 0.15);
	color: #ef4444;
	border: 2px solid #ef4444;
}

.success-details-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--pd-border);
	border-radius: var(--pd-radius-md);
	padding: 16px 20px;
	margin: 24px 0;
	text-align: left;
}

.detail-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	font-size: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row:last-child {
	border-bottom: none;
}

.status-badge-paid {
	color: #10b981;
	font-weight: 700;
}

.status-badge-review {
	color: #f59e0b;
	font-weight: 700;
}

.btn-view-submission,
.btn-retry-payment {
	display: inline-block;
	background: var(--pd-accent);
	color: var(--pd-accent-text);
	padding: 13px 26px;
	border-radius: var(--pd-radius-md);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	border: none;
	cursor: pointer;
}

/* Guidelines Modal Content */
.guidelines-container {
	max-width: 640px;
}

.guidelines-content-body {
	color: var(--pd-text-secondary);
	font-size: 14.5px;
	line-height: 1.65;
	max-height: 50vh;
	overflow-y: auto;
	padding-right: 8px;
	margin-bottom: 24px;
}

.product-guidelines-heading {
	font-size: 16px;
	color: #ffffff;
	margin: 16px 0 8px;
}

.product-guidelines-list {
	padding-left: 20px;
	margin-bottom: 16px;
}

.product-guidelines-list li {
	margin-bottom: 8px;
}

.btn-accept-guidelines {
	width: 100%;
	background: var(--pd-accent);
	color: var(--pd-accent-text);
	border: none;
	padding: 13px;
	border-radius: var(--pd-radius-md);
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
}

/* My Submissions Portal */
.my-submissions-portal {
	max-width: 900px;
}

.portal-header {
	text-align: center;
	margin-bottom: 36px;
}

.portal-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--pd-accent);
	background: rgba(186, 255, 58, 0.1);
	padding: 4px 12px;
	border-radius: 9999px;
	margin-bottom: 12px;
}

.portal-title {
	font-size: 32px;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 10px;
}

.portal-desc {
	color: var(--pd-text-secondary);
	font-size: 16px;
	max-width: 580px;
	margin: 0 auto;
}

.portal-card {
	background: var(--pd-surface);
	border: 1px solid var(--pd-border);
	border-radius: var(--pd-radius-lg);
	padding: 36px;
	max-width: 480px;
	margin: 0 auto;
	text-align: center;
}

.portal-card .card-icon {
	font-size: 32px;
	margin-bottom: 14px;
}

.portal-card h2 {
	font-size: 22px;
	color: #ffffff;
	margin: 0 0 8px;
}

.portal-card p {
	font-size: 14px;
	color: var(--pd-text-secondary);
	margin: 0 0 24px;
}

.portal-form .form-group {
	text-align: left;
	margin-bottom: 20px;
}

.portal-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
}

.otp-input-large {
	font-size: 28px !important;
	letter-spacing: 8px;
	text-align: center;
	padding: 12px !important;
	font-weight: 800;
	color: var(--pd-accent) !important;
}

.portal-error-msg {
	display: block;
	font-size: 12px;
	color: #ef4444;
	margin-top: 5px;
}

.btn-portal-primary {
	width: 100%;
	background: var(--pd-accent);
	color: var(--pd-accent-text);
	border: none;
	padding: 14px;
	border-radius: var(--pd-radius-md);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.portal-form-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.btn-link-action {
	background: none;
	border: none;
	color: var(--pd-text-secondary);
	font-size: 13px;
	cursor: pointer;
	text-decoration: underline;
	white-space: nowrap;
}

.portal-results-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	flex-wrap: wrap;
	gap: 16px;
}

.portal-results-header h2 {
	font-size: 24px;
	color: #ffffff;
	margin: 0 0 4px;
}

.portal-results-actions {
	display: flex;
	gap: 12px;
}

.btn-logout-portal {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--pd-border);
	color: var(--pd-text-secondary);
	padding: 8px 16px;
	border-radius: var(--pd-radius-sm);
	cursor: pointer;
	font-size: 13px;
}

.submissions-table-responsive {
	overflow-x: auto;
	background: var(--pd-surface);
	border: 1px solid var(--pd-border);
	border-radius: var(--pd-radius-lg);
}

.submissions-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	text-align: left;
}

.submissions-table th {
	background: rgba(255, 255, 255, 0.02);
	color: var(--pd-text-muted);
	padding: 14px 18px;
	font-weight: 600;
	border-bottom: 1px solid var(--pd-border);
}

.submissions-table td {
	padding: 16px 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	color: var(--pd-text-primary);
}

.submissions-table tr:last-child td {
	border-bottom: none;
}

.sub-status-pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 9999px;
	font-size: 12px;
	font-weight: 700;
}

.payment-paid {
	background: rgba(16, 185, 129, 0.15);
	color: #10b981;
}

.payment-pending {
	background: rgba(245, 158, 11, 0.15);
	color: #f59e0b;
}

.payment-failed {
	background: rgba(239, 68, 68, 0.15);
	color: #ef4444;
}

.review-paid_pending_review {
	background: rgba(245, 158, 11, 0.15);
	color: #f59e0b;
}

.review-under_review {
	background: rgba(59, 130, 246, 0.15);
	color: #3b82f6;
}

.review-approved {
	background: rgba(186, 255, 58, 0.15);
	color: var(--pd-accent);
}

.review-rejected {
	background: rgba(239, 68, 68, 0.15);
	color: #ef4444;
}

.review-needs_changes {
	background: rgba(234, 179, 8, 0.15);
	color: #eab308;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
	.product-single-layout {
		grid-template-columns: 1fr;
	}
	.product-single-header {
		flex-direction: column;
		align-items: flex-start;
	}
	.product-single-header-cta {
		width: 100%;
		align-items: stretch;
	}
}

@media (max-width: 640px) {
	.product-grid {
		grid-template-columns: 1fr;
	}
	.product-dir-controls {
		flex-direction: column;
		align-items: stretch;
	}
	.product-search-box,
	.product-dir-sort-box {
		width: 100%;
	}
	.product-modal-container {
		padding: 24px 18px;
	}
}
