/**
 * Dokan Knack - Frontend Styles
 */

/* ==========================================================================
   Creator content layout - clean design (matches proposed template)
   Replaces Dokan sidebar with dynamic left sidebar + top bar
   ========================================================================== */
/* Force our PHP layout to show when fullwidth React dashboard hides it */
body.dokan-knack-creator-layout #dokan-vendor-dashboard-layout-root {
	display: none !important;
}
body.dokan-knack-creator-layout #dokan-dashboard-fullwidth-wrapper .dokan-dashboard-wrap .dokan-dashboard-content {
	display: block !important;
}
body.dokan-knack-creator-layout .dokan-dash-sidebar,
body.dokan-knack-creator-layout .dokan-dashboard-menu,
body.dokan-knack-creator-layout .dokan-dashboard-wrap > .dokan-dash-sidebar {
	display: none !important;
}
body.dokan-knack-creator-layout .dokan-dashboard-wrap {
	display: block !important;
	margin-top: 0;
	background: #f5f5f7;
}
body.dokan-knack-creator-layout .dokan-dashboard-content,
body.dokan-knack-creator-layout .dokan-member-content-dashboard {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
}
body.dokan-knack-creator-layout .dokan-dashboard-header {
	display: none;
}

/* Top bar - knack logo, Create Content, Draft • Autosaved, user */
.dokan-knack-creator-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	border-bottom: 1px solid #e5e7eb;
	padding: 14px 24px;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.dokan-knack-creator-topbar__left { flex-shrink: 0; }
.dokan-knack-creator-topbar__logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--dokan-knack-primary, #6B46C1);
	letter-spacing: -0.02em;
}
.dokan-knack-creator-topbar__logo:hover {
	color: var(--dokan-knack-primary, #6B46C1);
	opacity: 0.9;
}
.dokan-knack-creator-topbar__logo i {
	font-size: 1.1em;
}
.dokan-knack-creator-topbar__center {
	flex: 1;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.dokan-knack-creator-topbar__title {
	font-weight: 600;
	font-size: 1.05rem;
	color: #1f2937;
}
.dokan-knack-creator-topbar__center-sep {
	color: #9ca3af;
	font-size: 0.85rem;
	margin: 0 2px;
}
.dokan-knack-creator-topbar__subtitle {
	font-size: 0.9rem;
	color: #6b7280;
}
.dokan-knack-creator-topbar__right {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-shrink: 0;
}
.dokan-knack-creator-topbar__user {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	color: #374151;
}
.dokan-knack-creator-topbar__user i {
	color: var(--dokan-knack-primary, #6B46C1);
	font-size: 1.2em;
}
.dokan-knack-creator-topbar__store {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9rem;
	color: #6b7280;
	text-decoration: none;
}
.dokan-knack-creator-topbar__store:hover {
	color: var(--dokan-knack-primary, #6B46C1);
}
.dokan-knack-creator-topbar__store img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
}
.dokan-knack-creator-topbar__store i {
	opacity: 0.8;
}

/* Creator body - three column layout */
.dokan-knack-creator-body {
	display: flex;
	min-height: calc(100vh - 60px);
	background: #f5f5f7;
}
.dokan-knack-creator-sidebar--left {
	width: 260px;
	flex-shrink: 0;
	background: #fff;
	border-right: 1px solid #e5e7eb;
	padding: 24px 20px;
	overflow-y: auto;
}
.dokan-knack-creator-main-wrap {
	flex: 1;
	min-width: 0;
	background: #f5f5f7;
}

/* Left sidebar - What are you creating? */
.dokan-knack-creator-sidebar__section {
	margin-bottom: 28px;
}
.dokan-knack-creator-sidebar__section:last-child {
	margin-bottom: 0;
}
.dokan-knack-creator-sidebar__section-title {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #6b7280;
	margin: 0 0 12px 0;
}
.dokan-knack-creator-sidebar__type-grid {
	display: flex;
	flex-direction: column;
	gap: 6px;
	list-style: none;
	padding-left: 0;
}
.dokan-knack-creator-sidebar__type-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	background: #fff;
	cursor: pointer;
	text-align: left;
	width: 100%;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #374151;
	transition: all 0.15s ease;
}
.dokan-knack-creator-sidebar__type-btn:hover {
	border-color: #d1d5db;
	background: #f9fafb;
}
.dokan-knack-creator-sidebar__type-btn.is-active {
	border-color: var(--dokan-knack-primary, #6B46C1);
	background: rgba(107,70,193,.08);
	color: var(--dokan-knack-primary, #6B46C1);
}
.dokan-knack-creator-sidebar__type-btn input { display: none; }
.dokan-knack-creator-sidebar__type-btn i {
	width: 20px;
	text-align: center;
	opacity: 0.85;
}
.dokan-knack-creator-sidebar__input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 0.9375rem;
	background: #fff;
}
.dokan-knack-creator-sidebar__input:focus {
	border-color: var(--dokan-knack-primary, #6B46C1);
	outline: none;
	box-shadow: 0 0 0 3px rgba(107,70,193,.15);
}
.dokan-knack-creator-sidebar__nav .dokan-knack-creator-sidebar__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.dokan-knack-creator-sidebar__item { margin: 0; }
.dokan-knack-creator-sidebar__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	color: #374151;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.15s;
}
.dokan-knack-creator-sidebar__link:hover {
	background: #f3f4f6;
}
.dokan-knack-creator-sidebar__link.is-active {
	color: var(--dokan-knack-primary, #6B46C1);
	background: rgba(107,70,193,.08);
}
.dokan-knack-creator-sidebar__link--primary {
	color: var(--dokan-knack-primary, #6B46C1);
	font-weight: 600;
}

/* Creator form area */
body.dokan-knack-creator-layout .dokan-knack-member-content-form-wrap {
	padding: 32px;
	max-width: 100%;
	background: transparent;
}
body.dokan-knack-creator-layout .dokan-knack-member-content-form {
	display: flex;
	gap: 32px;
	align-items: flex-start;
	flex-wrap: wrap;
}
body.dokan-knack-creator-layout .dokan-knack-member-content-form .dokan-knack-mc-form__main {
	flex: 1;
	min-width: 300px;
	background: #fff;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
	border: 1px solid #e5e7eb;
}
body.dokan-knack-creator-layout .dokan-knack-member-content-form .dokan-knack-mc-form__sidebar {
	flex: 0 0 320px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
body.dokan-knack-creator-layout .dokan-knack-member-content-form .dokan-knack-mc-form__card {
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
	border: 1px solid #e5e7eb;
	background: #fff;
	padding: 20px;
}
body.dokan-knack-creator-layout .dokan-knack-member-content-intro {
	margin-bottom: 20px;
	font-size: 0.875rem;
	color: #6b7280;
	line-height: 1.5;
	max-width: 100%;
}

/* Main form - What are you creating? (content types in form, always visible) */
.dokan-knack-mc-form__section-title {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #6b7280;
	margin: 0 0 12px 0;
}
.dokan-knack-mc-form__type-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
	list-style: none;
	padding-left: 0;
}
.dokan-knack-mc-form__type-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	background: #fff;
	cursor: pointer;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #374151;
	transition: all 0.15s ease;
}
.dokan-knack-mc-form__type-btn:hover {
	border-color: #d1d5db;
	background: #f9fafb;
}
.dokan-knack-mc-form__type-btn.is-active {
	border-color: var(--dokan-knack-primary, #6B46C1);
	background: rgba(107,70,193,.08);
	color: var(--dokan-knack-primary, #6B46C1);
}
.dokan-knack-mc-form__type-btn input { display: none; }
.dokan-knack-mc-form__type-btn i { opacity: 0.85; }
.dokan-knack-mc-form__type-btn::before,
.dokan-knack-creator-sidebar__type-btn::before { content: none !important; display: none !important; }
.dokan-knack-mc-form__section-title::before,
.dokan-knack-creator-sidebar__section-title::before { content: none !important; display: none !important; }
.dokan-knack-mc-form__meta-fallback { margin-bottom: 20px; }

/* Cover image - dashed border, drag & drop (reference design) */
body.dokan-knack-creator-layout .dokan-knack-cover-image-box {
	display: block;
	margin-bottom: 24px;
}
body.dokan-knack-creator-layout .dokan-knack-cover-image-dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 180px;
	padding: 32px;
	border: 2px dashed #d1d5db;
	border-radius: 12px;
	background: #f9fafb;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}
body.dokan-knack-creator-layout .dokan-knack-cover-image-dropzone:hover {
	border-color: var(--dokan-knack-primary, #6B46C1);
	background: rgba(107,70,193,.04);
}
body.dokan-knack-creator-layout .dokan-knack-cover-image-dropzone.is-dragover {
	border-color: var(--dokan-knack-primary, #6B46C1);
	background: rgba(107,70,193,.12);
}
.dokan-knack-cover-image-box.is-uploading .dokan-knack-cover-image-dropzone {
	pointer-events: none;
	opacity: 0.8;
}
.dokan-knack-upload-progress {
	position: relative;
	width: 100%;
	max-width: 200px;
	height: 6px;
	background: rgba(0,0,0,.1);
	border-radius: 3px;
	margin-top: 10px;
	overflow: hidden;
}
.dokan-knack-upload-progress-bar {
	height: 100%;
	width: 0%;
	background: var(--dokan-knack-primary, #6B46C1);
	transition: width .2s ease;
}
.dokan-knack-upload-progress-text {
	display: block;
	font-size: 11px;
	color: #666;
	margin-top: 4px;
}
.dokan-knack-media-dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 80px;
	padding: 16px;
	border: 2px dashed #ddd;
	border-radius: 8px;
	background: #fafafa;
	cursor: pointer;
	transition: border-color .2s, background .2s;
}
.dokan-knack-media-dropzone:hover {
	border-color: var(--dokan-knack-primary, #6B46C1);
	background: rgba(107,70,193,.04);
}
.dokan-knack-media-dropzone.is-dragover {
	border-color: var(--dokan-knack-primary, #6B46C1);
	background: rgba(107,70,193,.12);
}
.dokan-knack-media-dropzone.is-uploading {
	pointer-events: none;
	opacity: 0.8;
}
.dokan-knack-media-dropzone.has-file .dokan-knack-media-dropzone__text {
	color: #16a34a;
}
.dokan-knack-media-dropzone__text {
	margin: 0 0 8px 0;
	font-size: 14px;
	color: #666;
}
.dokan-knack-media-dropzone__input {
	opacity: 0;
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}
.dokan-knack-media-progress {
	position: relative;
	width: 100%;
	max-width: 180px;
	height: 6px;
	background: rgba(0,0,0,.1);
	border-radius: 3px;
	margin-top: 8px;
}
.dokan-knack-media-progress-bar {
	height: 100%;
	width: 0%;
	background: var(--dokan-knack-primary, #6B46C1);
	transition: width .2s ease;
	border-radius: 3px;
}
.dokan-knack-media-progress-text {
	display: block;
	font-size: 11px;
	color: #666;
	margin-top: 4px;
}
body.dokan-knack-creator-layout .dokan-knack-cover-image-title {
	margin: 0 0 6px;
	font-weight: 600;
	font-size: 0.9375rem;
	color: #374151;
}
body.dokan-knack-creator-layout .dokan-knack-cover-image-hint {
	margin: 0 0 16px;
	font-size: 0.875rem;
	color: #6b7280;
}
body.dokan-knack-creator-layout .dokan-knack-cover-image-preview {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 12px;
}
body.dokan-knack-creator-layout .dokan-knack-cover-image-preview img {
	max-width: 100%;
	height: auto;
	display: block;
}
body.dokan-knack-creator-layout .dokan-knack-featured-image-remove {
	margin-top: 8px;
}

/* Dokan vendor dashboard - larger, visible checkboxes */
.dokan-dashboard-wrap input[type="checkbox"],
.dokan-form-group input[type="checkbox"],
.dokan-dashboard-wrap .checkbox input[type="checkbox"] {
	min-width: 20px;
	min-height: 20px;
	width: 20px;
	height: 20px;
	cursor: pointer;
	accent-color: var(--dokan-knack-primary, #0272ad);
}

/* Verified badge */
.dokan-knack-verified-badge {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	margin-left: 6px;
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-verified-badge svg {
	flex-shrink: 0;
}

/* Subscribe store button - matches other header buttons */
.dokan-knack-follow-store-wrap {
	list-style: none;
	margin: 0;
	padding: 0;
}
.dokan-knack-follow-store-inner {
	display: flex;
	align-items: center;
	gap: 8px;
}
.dokan-knack-follow-btn.dokan-knack-subscribe-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 6px;
	border: none;
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: background 0.2s;
}
.dokan-knack-follow-btn.dokan-knack-subscribe-btn:hover {
	background: var(--dokan-knack-accent, #f05a28);
	color: #fff;
}
.dokan-knack-follow-btn.dokan-knack-subscribe-btn.is-subscribed {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.4);
}
.dokan-knack-follow-btn.dokan-knack-subscribe-btn.is-subscribed:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
}
/* Fallback for non-subscribe follow buttons */
.dokan-knack-follow-btn:not(.dokan-knack-subscribe-btn) {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 4px;
	border: 1px solid transparent;
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
	cursor: pointer;
	font-size: 13px;
	transition: background 0.2s, border-color 0.2s;
}
.dokan-knack-follow-btn:not(.dokan-knack-subscribe-btn):hover {
	opacity: 0.9;
	background: var(--dokan-knack-accent, #f05a28);
	border-color: var(--dokan-knack-accent, #f05a28);
}
.dokan-knack-follow-btn:not(.dokan-knack-subscribe-btn).is-following {
	background: var(--dokan-knack-accent, #f05a28);
	border-color: var(--dokan-knack-accent, #f05a28);
}
.dokan-knack-follower-count,
.dokan-knack-follower-count-only {
	font-size: 13px;
	color: #666;
}

/* ==========================================================================
   Main Vendor Dashboard - Modern clean design (iBanko-inspired)
   ========================================================================== */
.dokan-dashboard .dokan-dashboard-wrap {
	background: #f5f6f8;
}
.dokan-dashboard #dokan-dashboard-fullwidth-wrapper {
	background: #f5f6f8;
}
.dokan-dashboard .dokan-dashboard-wrap .dokan-dashboard-content {
	background: #f5f6f8;
	padding: 32px 40px 48px;
}
/* Minimal layout tweaks - avoid breaking Dokan's layout */
.dokan-dashboard .dokan-dashboard-wrap .dokan-dashboard-content {
	padding-top: 24px !important;
}
.dokan-dashboard .dokan-dashboard-wrap .dokan-dash-sidebar {
	background: #fff;
	box-shadow: 2px 0 12px rgba(0,0,0,.06);
}
.dokan-dashboard .dokan-dashboard-wrap .dokan-dash-sidebar ul.dokan-dashboard-menu {
	background: #fff;
	border-right: 1px solid #eee;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a {
	color: #4a4a4a;
	padding: 12px 20px;
	font-size: 14px;
	border-radius: 8px;
	margin: 2px 12px;
	transition: background 0.2s, color 0.2s;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover a,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active a {
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
}
/* Submenu: only highlight the current item, not all when parent is active */
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active .navigation-submenu .submenu-item:not(.current) a {
	background: transparent;
	color: #4a4a4a;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active .navigation-submenu .submenu-item.current a {
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
}
.dokan-dashboard .dash-content-area,
.dokan-dashboard article.dashboard-content-area {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 0 -12px;
}
.dokan-dashboard .dokan-w6.dokan-dash-left,
.dokan-dashboard .dokan-w6.dokan-dash-right {
	width: calc(50% - 12px);
	float: none;
	flex: 1 1 calc(50% - 12px);
	min-width: 280px;
}
.dokan-dashboard .dokan-w6.dokan-dash-left {
	padding-right: 0;
}
/* Dashboard widgets - card style matching store settings */
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
	transition: box-shadow 0.2s, border-color 0.2s;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget:hover {
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
	border-color: #d1d5db;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget .widget-title {
	font-weight: 600;
	font-size: 15px;
	border-bottom: none;
	padding: 0 0 16px;
	margin-bottom: 16px;
	color: #1a1a1a;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget .widget-title i {
	color: var(--dokan-knack-primary, #0272ad);
	padding-right: 8px;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget .widget-title .pull-right a {
	color: var(--dokan-knack-primary, #0272ad);
	font-size: 13px;
	font-weight: 500;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget .widget-title .pull-right a:hover {
	color: var(--dokan-knack-accent, #f05a28);
}
/* Big counter - prominent "My Card" style */
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget.big-counter {
	background: linear-gradient(135deg, var(--dokan-knack-primary, #0272ad) 0%, color-mix(in srgb, var(--dokan-knack-primary, #0272ad) 85%, #1a1a1a) 100%);
	color: #fff;
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget.big-counter .widget-title {
	color: rgba(255,255,255,.9);
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget.big-counter ul.list-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget.big-counter ul.list-inline li {
	width: auto;
	flex: 1 1 auto;
	min-width: 100px;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget.big-counter .title {
	font-size: 13px;
	font-weight: 500;
	opacity: .9;
	padding-top: 0;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget.big-counter .count {
	font-size: 22px;
	font-weight: 600;
	border-bottom: none;
	padding-bottom: 0;
}
/* Orders & Products widgets */
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget.orders,
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget.products {
	overflow: visible;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget .list-unstyled.list-count {
	margin: 0;
	padding: 0;
	list-style: none;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget .list-count li {
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget .list-count li:last-child {
	border-bottom: none;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget .list-count a {
	color: #4a4a4a;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-decoration: none;
	padding: 4px 0;
	border-radius: 6px;
	transition: background 0.2s, color 0.2s;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget .list-count a:hover {
	background: #f8f9fa;
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget .list-count .count {
	float: none;
	font-weight: 600;
	color: #1a1a1a;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget.orders .content-half-part {
	width: 50%;
	padding: 0;
	float: left;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget.orders #order-stats {
	padding: 16px;
	max-height: 180px;
}
/* Sales chart widget */
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget.sells-graph {
	padding-bottom: 20px;
}
.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget .chart-placeholder.main {
	height: 280px;
	border-radius: 8px;
}
/* Dashboard top cards - single row */
.dokan-knack-dashboard-cards-row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 24px;
	width: 100%;
}
.dokan-knack-dashboard-cards-row .dokan-knack-dashboard-widget {
	flex: 1 1 200px;
	min-width: 200px;
	max-width: 100%;
	margin-bottom: 0;
}
@media (min-width: 768px) {
	.dokan-knack-dashboard-cards-row .dokan-knack-dashboard-widget {
		max-width: calc(33.333% - 14px);
	}
}
@media (min-width: 1100px) {
	.dokan-knack-dashboard-cards-row .dokan-knack-dashboard-widget {
		max-width: calc(25% - 15px);
	}
}

/* Dashboard widgets shown before content (e.g. follower, support plans, Creator Content) */
.dokan-dashboard .dokan-dashboard-content .dokan-knack-dashboard-widget,
.dokan-dashboard .dokan-dashboard-content .dokan-knack-support-widget {
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.dokan-knack-member-content-widget .dokan-knack-widget-inner {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}
.dokan-knack-member-content-widget .dokan-knack-widget-link {
	display: inline-block;
	margin-top: 8px;
	font-size: 12px;
	color: var(--dokan-knack-primary, #0272ad);
	text-decoration: none;
}
.dokan-knack-member-content-widget .dokan-knack-widget-link:hover {
	text-decoration: underline;
}
@media (max-width: 768px) {
	.dokan-dashboard .dokan-w6.dokan-dash-left,
	.dokan-dashboard .dokan-w6.dokan-dash-right {
		width: 100%;
		flex: 1 1 100%;
	}
	.dokan-dashboard .dokan-dashboard-wrap .dokan-dashboard-content {
		padding: 20px 16px 32px;
	}
}

/* ==========================================================================
   Products page - Card style matching store settings
   ========================================================================== */
.dokan-dashboard .dokan-product-listing .dokan-product-listing-area {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.dokan-dashboard .dokan-product-listing .product-listing-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e5e7eb;
}
.dokan-dashboard .dokan-product-listing .dokan-listing-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.dokan-dashboard .dokan-product-listing .dokan-listing-filter li {
	margin: 0;
}
.dokan-dashboard .dokan-product-listing .dokan-listing-filter li a {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 500;
	color: #6b7280;
	text-decoration: none;
	transition: color 0.15s, background 0.15s;
}
.dokan-dashboard .dokan-product-listing .dokan-listing-filter li a:hover {
	color: #374151;
	background: #f3f4f6;
}
.dokan-dashboard .dokan-product-listing .dokan-listing-filter li.active a {
	color: var(--dokan-knack-primary, #0272ad);
	background: rgba(2, 114, 173, 0.08);
}
.dokan-dashboard .dokan-product-listing .product-listing-top .dokan-add-product-link .dokan-btn-theme {
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: 500;
	background: var(--dokan-knack-primary, #0272ad) !important;
	border: none;
	transition: opacity 0.15s;
}
.dokan-dashboard .dokan-product-listing .product-listing-top .dokan-add-product-link .dokan-btn-theme:hover {
	opacity: 0.92;
}
.dokan-dashboard .dokan-product-listing .dokan-w12 {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px;
	margin-bottom: 16px;
}
.dokan-dashboard .dokan-product-listing .dokan-product-date-filter,
.dokan-dashboard .dokan-product-listing .dokan-product-search-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.dokan-dashboard .dokan-product-listing .dokan-form-group .dokan-form-control,
.dokan-dashboard .dokan-product-listing .dokan-form-control {
	padding: 10px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 0.9375rem;
}
.dokan-dashboard .dokan-product-listing .dokan-form-control:focus {
	border-color: var(--dokan-knack-primary, #0272ad);
	outline: none;
	box-shadow: 0 0 0 3px rgba(2, 114, 173, 0.12);
}
.dokan-dashboard .dokan-product-listing .dokan-btn {
	padding: 10px 18px;
	border-radius: 8px;
	font-weight: 500;
}
.dokan-dashboard .dokan-product-listing .dokan-product-listing-wrapper {
	margin-top: 20px;
}
.dokan-dashboard .dokan-product-listing #dokan-bulk-action-selector,
.dokan-dashboard .dokan-product-listing #dokan-bulk-action-submit {
	margin-bottom: 16px;
}
.dokan-dashboard .dokan-product-listing .product-listing-table {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}
.dokan-dashboard .dokan-product-listing .product-listing-table thead th {
	background: #f9fafb;
	font-weight: 600;
	font-size: 0.8125rem;
	color: #374151;
	padding: 12px 16px;
	border-bottom: 1px solid #e5e7eb;
}
.dokan-dashboard .dokan-product-listing .product-listing-table tbody td {
	padding: 14px 16px;
	border-bottom: 1px solid #f3f4f6;
}
.dokan-dashboard .dokan-product-listing .product-listing-table tbody tr:last-child td {
	border-bottom: none;
}
.dokan-dashboard .dokan-product-listing .product-listing-table tbody tr:hover td {
	background: #f9fafb;
}
.dokan-dashboard .dokan-product-listing .pagination-wrap {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
}
.dokan-dashboard .dokan-product-listing .pagination ul.pagination li a,
.dokan-dashboard .dokan-product-listing .pagination ul.pagination li span {
	padding: 8px 14px;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #374151;
}
.dokan-dashboard .dokan-product-listing .pagination ul.pagination li a:hover,
.dokan-dashboard .dokan-product-listing .pagination ul.pagination li span.current {
	background: var(--dokan-knack-primary, #0272ad);
	border-color: var(--dokan-knack-primary, #0272ad);
	color: #fff;
}
.dokan-dashboard .dokan-product-listing .dokan-dashboard-not-product-found {
	text-align: center;
	padding: 48px 24px;
	background: #f9fafb;
	border-radius: 12px;
	border: 2px dashed #e5e7eb;
}
.dokan-dashboard .dokan-product-listing .dokan-dashboard-not-product-found .no-product-found-icon {
	max-width: 120px;
	margin-bottom: 16px;
	opacity: 0.6;
}
.dokan-dashboard .dokan-product-listing .dokan-dashboard-not-product-found .dokan-blank-product-message {
	color: #374151;
	margin: 8px 0;
}
.dokan-dashboard .dokan-product-listing .dokan-dashboard-not-product-found .dokan-add-product-link .dokan-btn-theme {
	padding: 12px 24px;
	border-radius: 8px;
	margin-top: 8px;
}

/* ==========================================================================
   Add/Edit Product page - Card style matching store settings, full width
   ========================================================================== */
.dokan-dashboard .dokan-new-product-area,
.dokan-dashboard .dokan-product-edit .product-edit-new-container {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
	padding-bottom: 80px;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
	width: 100%;
	max-width: 100%;
}
.dokan-dashboard .dokan-new-product-area .dokan-form-container,
.dokan-dashboard .dokan-product-edit .dokan-product-edit-form {
	max-width: 100%;
}
.dokan-dashboard .dokan-new-product-area .product-edit-container,
.dokan-dashboard .dokan-product-edit .product-edit-container {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 24px;
}
.dokan-dashboard .dokan-new-product-area .content-half-part,
.dokan-dashboard .dokan-product-edit .content-half-part {
	flex: 1 1 300px;
	min-width: 0;
}
.dokan-dashboard .dokan-new-product-area .featured-image .dokan-feat-image-upload,
.dokan-dashboard .dokan-product-edit .dokan-feat-image-upload,
.dokan-dashboard .dokan-product-edit .dokan-new-product-featured-img {
	border: 2px dashed #e5e7eb;
	border-radius: 10px;
	padding: 32px;
	text-align: center;
	background: #f9fafb;
	transition: border-color 0.2s, background 0.2s;
}
.dokan-dashboard .dokan-new-product-area .featured-image .dokan-feat-image-upload:hover,
.dokan-dashboard .dokan-product-edit .dokan-feat-image-upload:hover,
.dokan-dashboard .dokan-product-edit .dokan-new-product-featured-img:hover {
	border-color: #d1d5db;
	background: #f3f4f6;
}
.dokan-dashboard .dokan-new-product-area .instruction-inside i,
.dokan-dashboard .dokan-product-edit .instruction-inside i {
	font-size: 36px;
	color: #9ca3af;
	display: block;
	margin-bottom: 12px;
}
.dokan-dashboard .dokan-new-product-area .dokan-feat-image-btn,
.dokan-dashboard .dokan-product-edit .dokan-feat-image-btn {
	padding: 10px 20px;
	border-radius: 8px;
	background: var(--dokan-knack-primary, #0272ad) !important;
	border: none;
	color: #fff !important;
	font-weight: 500;
	text-decoration: none !important;
	display: inline-block;
	transition: opacity 0.15s;
}
.dokan-dashboard .dokan-new-product-area .dokan-feat-image-btn:hover,
.dokan-dashboard .dokan-product-edit .dokan-feat-image-btn:hover {
	opacity: 0.92;
}
.dokan-dashboard .dokan-new-product-area .image-wrap,
.dokan-dashboard .dokan-product-edit .image-wrap {
	border-radius: 10px;
	overflow: hidden;
	position: relative;
}
.dokan-dashboard .dokan-new-product-area .image-wrap img,
.dokan-dashboard .dokan-product-edit .image-wrap img {
	display: block;
	max-width: 100%;
	height: auto;
}
.dokan-dashboard .dokan-new-product-area .dokan-product-gallery,
.dokan-dashboard .dokan-product-edit .dokan-product-gallery {
	margin-top: 16px;
}
.dokan-dashboard .dokan-new-product-area #dokan-product-images ul.product_images,
.dokan-dashboard .dokan-product-edit #dokan-product-images ul.product_images {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.dokan-dashboard .dokan-new-product-area #dokan-product-images ul.product_images li,
.dokan-dashboard .dokan-product-edit #dokan-product-images ul.product_images li {
	width: 80px;
	height: 80px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
}
.dokan-dashboard .dokan-new-product-area #dokan-product-images ul.product_images li.add-image a,
.dokan-dashboard .dokan-product-edit #dokan-product-images ul.product_images li.add-image a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: #f9fafb;
	color: #9ca3af;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}
.dokan-dashboard .dokan-new-product-area #dokan-product-images ul.product_images li.add-image a:hover,
.dokan-dashboard .dokan-product-edit #dokan-product-images ul.product_images li.add-image a:hover {
	background: #e5e7eb;
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-dashboard .dokan-new-product-area .dokan-form-group,
.dokan-dashboard .dokan-product-edit .dokan-form-group {
	margin-bottom: 18px;
}
.dokan-dashboard .dokan-new-product-area .dokan-form-group label,
.dokan-dashboard .dokan-product-edit .dokan-form-group label,
.dokan-dashboard .dokan-new-product-area .dokan-form-label,
.dokan-dashboard .dokan-product-edit .dokan-form-label {
	font-weight: 600;
	font-size: 0.9375rem;
	color: #374151;
	margin-bottom: 6px;
	display: block;
}
.dokan-dashboard .dokan-new-product-area .dokan-form-control,
.dokan-dashboard .dokan-product-edit .dokan-form-control,
.dokan-dashboard .dokan-new-product-area input[type="text"],
.dokan-dashboard .dokan-product-edit input[type="text"],
.dokan-dashboard .dokan-new-product-area textarea,
.dokan-dashboard .dokan-product-edit textarea {
	padding: 10px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 0.9375rem;
	width: 100%;
	max-width: 100%;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.dokan-dashboard .dokan-new-product-area .dokan-form-control:focus,
.dokan-dashboard .dokan-product-edit .dokan-form-control:focus,
.dokan-dashboard .dokan-new-product-area input:focus,
.dokan-dashboard .dokan-product-edit input:focus,
.dokan-dashboard .dokan-new-product-area textarea:focus {
	border-color: var(--dokan-knack-primary, #0272ad);
	outline: none;
	box-shadow: 0 0 0 3px rgba(2, 114, 173, 0.12);
}
.dokan-dashboard .dokan-new-product-area .dokan-input-group,
.dokan-dashboard .dokan-product-edit .dokan-input-group {
	display: flex;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}
.dokan-dashboard .dokan-new-product-area .dokan-input-group-addon,
.dokan-dashboard .dokan-product-edit .dokan-input-group-addon {
	padding: 10px 14px;
	background: #f9fafb;
	color: #6b7280;
	font-size: 0.9375rem;
	border-right: 1px solid #e5e7eb;
}
.dokan-dashboard .dokan-new-product-area .dokan-input-group .dokan-form-control,
.dokan-dashboard .dokan-product-edit .dokan-input-group .dokan-form-control,
.dokan-dashboard .dokan-new-product-area .dokan-input-group input {
	border: none;
	border-radius: 0;
}
.dokan-dashboard .dokan-new-product-area .dokan-price-container,
.dokan-dashboard .dokan-product-edit .dokan-price-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.dokan-dashboard .dokan-new-product-area .dokan-price-container .content-half-part,
.dokan-dashboard .dokan-product-edit .dokan-price-container .content-half-part {
	flex: 1 1 140px;
}
.dokan-dashboard .dokan-new-product-area .sale_schedule,
.dokan-dashboard .dokan-new-product-area .cancel_sale_schedule,
.dokan-dashboard .dokan-product-edit .sale_schedule,
.dokan-dashboard .dokan-product-edit .cancel_sale_schedule {
	font-size: 0.8125rem;
	color: var(--dokan-knack-primary, #0272ad);
	text-decoration: none;
	margin-left: 8px;
}
.dokan-dashboard .dokan-new-product-area .sale_schedule:hover,
.dokan-dashboard .dokan-new-product-area .cancel_sale_schedule:hover,
.dokan-dashboard .dokan-product-edit .sale_schedule:hover,
.dokan-dashboard .dokan-product-edit .cancel_sale_schedule:hover {
	text-decoration: underline;
}
.dokan-dashboard .dokan-new-product-area hr,
.dokan-dashboard .dokan-product-edit .product-edit-container + hr {
	margin: 24px 0;
	border: none;
	border-top: 1px solid #e5e7eb;
}
.dokan-dashboard .dokan-new-product-area .dokan-form-group.dokan-right,
.dokan-dashboard .dokan-product-edit .dokan-form-group.dokan-right {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
}
.dokan-dashboard .dokan-new-product-area .dokan-btn,
.dokan-dashboard .dokan-product-edit .dokan-btn {
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: 500;
	font-size: 0.9375rem;
}
.dokan-dashboard .dokan-new-product-area .dokan-btn-theme,
.dokan-dashboard .dokan-product-edit .dokan-btn-theme {
	background: var(--dokan-knack-primary, #0272ad) !important;
	border: none !important;
	color: #fff !important;
}
.dokan-dashboard .dokan-new-product-area .dokan-btn-theme:hover,
.dokan-dashboard .dokan-product-edit .dokan-btn-theme:hover {
	opacity: 0.92;
}
.dokan-dashboard .dokan-new-product-area .dokan-btn-default,
.dokan-dashboard .dokan-product-edit .dokan-btn-default {
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	color: #374151 !important;
}
.dokan-dashboard .dokan-new-product-area .wp-editor-wrap,
.dokan-dashboard .dokan-product-edit .wp-editor-wrap {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}
.dokan-dashboard .dokan-new-product-area .dokan-alert,
.dokan-dashboard .dokan-product-edit .dokan-alert {
	border-radius: 8px;
	padding: 14px 18px;
	margin-bottom: 20px;
}
.dokan-dashboard .dokan-new-product-area .dokan-alert-danger {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}
.dokan-dashboard .dokan-new-product-area .dokan-alert-success {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
}
.dokan-dashboard .dokan-dashboard-header.dokan-clearfix {
	margin-bottom: 20px;
}
.dokan-dashboard .dokan-dashboard-header .entry-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #111827;
	margin: 0;
}

/* Vendor dashboard follower widget */
.dokan-knack-dashboard-widget {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	padding: 16px;
	margin-bottom: 20px;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
}
.dokan-knack-follower-widget .dokan-knack-widget-inner {
	display: flex;
	align-items: center;
	gap: 12px;
}
.dokan-knack-widget-icon {
	font-size: 32px;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
	border-radius: 8px;
}
.dokan-knack-widget-number {
	display: block;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
}
.dokan-knack-widget-label {
	font-size: 13px;
	color: #666;
}
.dokan-knack-plan-widget .dokan-knack-plan-limit {
	display: block;
	font-size: 12px;
	color: #888;
	margin-top: 2px;
}
.dokan-knack-plan-widget .dokan-knack-plan-upgrade {
	display: inline-block;
	margin-top: 8px;
	font-size: 12px;
	color: var(--dokan-knack-primary, #0272ad);
	text-decoration: none;
}
.dokan-knack-plan-widget .dokan-knack-plan-upgrade:hover {
	text-decoration: underline;
}

/* Hide store personal info by default (address, phone, email, ratings) */
.dokan-single-store .dokan-store-info .dokan-store-rating {
	display: none !important;
}

/* Support subscriptions - store page cards */
/* Store header - YouTube-style modern layout */
.dokan-single-store .profile-frame {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.dokan-single-store .profile-frame .profile-info-box {
	display: flex;
	flex-direction: column;
	background: #fff;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-img {
	max-height: 280px;
	min-height: 140px;
	object-fit: cover;
	width: 100%;
}
/* Store banner - gradient when no image (uses primary color) */
.dokan-single-store .profile-frame .profile-info-box .profile-info-img.dummy-image {
	min-height: 140px;
	background: var(--dokan-knack-primary, #0272ad);
	background: linear-gradient(135deg, var(--dokan-knack-primary, #0272ad) 0%, color-mix(in srgb, var(--dokan-knack-primary, #0272ad) 85%, white) 50%, color-mix(in srgb, var(--dokan-knack-primary, #0272ad) 70%, white) 100%);
}
/* Profile card - 3-column layout (reference design): img | content | buttons */
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper {
	position: relative;
	top: auto;
	left: auto;
	height: auto;
	background: #fff;
	color: #1a1a1a;
	padding: 24px 28px 28px;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery {
	width: 100%;
	height: auto;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 20px 28px;
}
/* Layout1/Layout3 - 3-column grid (img | content | buttons) like reference */
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .profile-info-summery-wrapper .profile-info-summery {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 24px 32px;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info-head {
	float: none;
	grid-column: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info-head .profile-img {
	margin: 0;
}
/* Profile image - square with rounded corners (reference design) */
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info-head .profile-img.profile-img-circle img,
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info-head .profile-img.profile-img-square img {
	width: 145px;
	height: 145px;
	min-width: 145px;
	min-height: 145px;
	border-radius: 12px;
	object-fit: cover;
	border: 3px solid #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info-head .store-name {
	color: #1a1a1a;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info .store-name {
	color: #1a1a1a;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 12px;
	display: block;
}

/* Creator profile (profession) - under store name, smaller than artist name */
.dokan-knack-creator-profile {
	display: block;
	margin-top: 4px;
	font-size: 0.5em;
	font-weight: 400;
	color: #666;
	line-height: 1.4;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info-head .store-name .dokan-knack-creator-profile,
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info .store-name .dokan-knack-creator-profile {
	margin-top: 2px;
}

/* Creator stats (supporters, posts, joined) */
.dokan-knack-creator-stats-wrap {
	display: block;
	width: 100%;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}
.dokan-knack-creator-stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	font-size: 0.9em;
	color: #555;
}
.dokan-knack-creator-stat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.dokan-knack-stat-icon {
	flex-shrink: 0;
	color: var(--dokan-knack-primary, #0272ad);
	opacity: 0.9;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info {
	float: none;
	flex: 1;
	min-width: 0;
	padding: 0;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery .profile-info,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .profile-info-summery-wrapper .profile-info-summery .profile-info {
	grid-column: 2;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	align-content: flex-start;
	gap: 12px 24px;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery .profile-info .store-name,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .profile-info-summery-wrapper .profile-info-summery .profile-info .store-name {
	order: 1;
	flex: 1 1 auto;
	min-width: 0;
	margin-right: auto;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-store-info .dokan-knack-become-member-wrap,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-store-info .dokan-knack-share-store-wrap,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-store-info .dokan-knack-vendor-dashboard-wrap,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-store-info .dokan-knack-become-member-wrap,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-store-info .dokan-knack-share-store-wrap,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-store-info .dokan-knack-vendor-dashboard-wrap {
	order: 2;
	flex-shrink: 0;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-store-info > li:not(.dokan-knack-become-member-wrap):not(.dokan-knack-share-store-wrap):not(.dokan-knack-vendor-dashboard-wrap),
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-store-info > .dokan-knack-creator-stats-wrap,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-store-info > .dokan-knack-store-about-inline,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-store-info > .dokan-knack-social-proof,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-store-info > li:not(.dokan-knack-become-member-wrap):not(.dokan-knack-share-store-wrap):not(.dokan-knack-vendor-dashboard-wrap),
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-store-info > .dokan-knack-creator-stats-wrap,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-store-info > .dokan-knack-store-about-inline,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-store-info > .dokan-knack-social-proof {
	order: 3;
	width: 100%;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
	color: #555;
}
/* Layout1/Layout3 - store info items participate in profile-info flex (display: contents) */
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info {
	display: contents;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info li {
	margin: 0;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info li i {
	margin-right: 6px;
	opacity: .8;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info .store-social-wrapper {
	margin-top: 12px;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery .profile-info .store-social-wrapper,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .profile-info-summery-wrapper .profile-info-summery .profile-info .store-social-wrapper {
	order: 3;
	width: 100%;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info .store-social-wrapper .store-social {
	display: flex;
	gap: 12px;
	padding: 0;
	list-style: none;
	margin: 0;
}
/* Layout1 (banner + overlapping card) - card fully below banner, no overlap */
/* Override Dokan core: summery has margin-top:-55px by default - remove so vendor name is below banner */
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper {
	margin-top: 0 !important;
	padding: 24px;
	position: relative;
	z-index: 2;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery {
	margin-top: 0 !important;
}
/* Vendor name below banner, black - override Dokan core (color:#fff, text-shadow) */
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery .profile-info .store-name {
	color: #1a1a1a !important;
	text-shadow: none !important;
	margin: 0 0 12px !important;
}
/* Align details and about section to vendor name - consistent left edge */
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery .profile-info,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .profile-info-summery-wrapper .profile-info-summery .profile-info {
	padding-left: 0;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery .profile-info .dokan-store-info,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .profile-info-summery .profile-info .dokan-store-info {
	padding-left: 0 !important;
	margin-left: 0 !important;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-store-info .dokan-knack-creator-stats-wrap,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-store-info .dokan-knack-store-about-inline,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-store-info .dokan-knack-creator-stats-wrap,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-store-info .dokan-knack-store-about-inline {
	text-align: left;
	padding-left: 0;
	margin-left: 0;
}
/* Profile image - fixed square, full image visible, equal padding */
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery .profile-info-head {
	align-self: start;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery .profile-info-head .profile-img {
	flex: none;
	width: 180px;
	height: 180px;
	padding: 8px;
	box-sizing: border-box;
	background: #f8f8f8;
	border-radius: 12px;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-head .profile-img img {
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	border-radius: 8px !important;
	box-shadow: 0 2px 8px rgba(0,0,0,.1);
	object-fit: contain;
}
/* Default layout - keep overlay, improve spacing */
.dokan-single-store .profile-frame .profile-info-box.profile-layout-default .profile-info-summery-wrapper {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent 20%, rgba(0,0,0,.85) 100%);
	color: #fff;
	padding: 48px 28px 24px;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-default .profile-info-summery-wrapper .profile-info-head .store-name,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-default .profile-info-summery-wrapper .profile-info .dokan-store-info {
	color: inherit;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-default .dokan-knack-creator-profile {
	color: rgba(255,255,255,.9);
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-default .dokan-knack-creator-stats,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-default .dokan-knack-creator-stat {
	color: rgba(255,255,255,.85);
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-default .dokan-knack-stat-icon {
	color: rgba(255,255,255,.9);
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-default .profile-info-summery-wrapper .profile-info .dokan-store-info li a {
	color: inherit;
	opacity: .95;
}
/* Layout3 (no banner) - profile image same as layout1: full image, equal padding */
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .profile-info-summery-wrapper .profile-info-summery .profile-info-head {
	align-self: start;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .profile-info-summery-wrapper .profile-info-summery .profile-info-head .profile-img {
	flex: none;
	width: 180px;
	height: 180px;
	padding: 8px;
	box-sizing: border-box;
	background: #f8f8f8;
	border-radius: 12px;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .profile-info-summery-wrapper .profile-info-head .profile-img img {
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	border-radius: 8px !important;
	box-shadow: 0 2px 8px rgba(0,0,0,.1);
	object-fit: contain;
}
.dokan-single-store .profile-frame.profile-frame-no-banner .profile-layout-layout3 .profile-info-summery-wrapper {
	border: none;
	border-radius: 0 0 12px 12px;
	box-shadow: none;
}

/* Follow button - below profile picture (in profile-info-head), centered */
.dokan-knack-follow-below-profile {
	margin-top: 12px;
	width: 100%;
	display: flex;
	justify-content: center;
}
.dokan-knack-follow-below-profile .dokan-knack-follow-store-inner {
	display: inline-flex;
	align-items: center;
	background: var(--dokan-knack-primary, #0272ad);
	padding: 0;
	border-radius: 6px;
	height: 36.9px;
	min-height: 36.9px;
	box-sizing: border-box;
	justify-content: center;
	width: 130px;
	min-width: 130px;
}
.dokan-knack-follow-below-profile .dokan-knack-follow-btn {
	background: transparent !important;
	color: #fff !important;
	height: 100%;
	line-height: 36.9px;
	font-size: 0.9em;
}
.dokan-knack-follow-below-profile .dokan-knack-follow-btn:hover,
.dokan-knack-follow-below-profile .dokan-knack-follow-btn.is-subscribed {
	background: rgba(255,255,255,.15) !important;
	color: #fff !important;
}
/* Become a Member + Share - reference design */
.dokan-store-info li.dokan-knack-become-member-wrap {
	display: inline-flex;
	margin: 0 6px 0 0;
	vertical-align: middle;
}
.dokan-knack-follow-store-inner,
.dokan-store-info li.dokan-knack-become-member-wrap {
	display: inline-flex;
	align-items: center;
	background: #e8e9eb;
	padding: 6px;
	border-radius: 8px;
}
/* Layout1/Layout3 - Subscribe button same style as other buttons */
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-head .dokan-knack-follow-below-profile .dokan-knack-follow-store-inner,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .profile-info-head .dokan-knack-follow-below-profile .dokan-knack-follow-store-inner {
	background: var(--dokan-knack-primary, #0272ad) !important;
	border-radius: 6px;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-store-info .dokan-knack-become-member-wrap,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-store-info .dokan-knack-become-member-wrap {
	background: var(--dokan-knack-primary, #0272ad) !important;
	padding: 0 !important;
	border-radius: 6px;
	width: auto;
	min-width: 150px;
	height: 36.9px;
	box-sizing: border-box;
	justify-content: center;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-head .dokan-knack-follow-below-profile .dokan-knack-follow-btn,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-knack-become-member-btn-header,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .profile-info-head .dokan-knack-follow-below-profile .dokan-knack-follow-btn,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-knack-become-member-btn-header {
	background: transparent !important;
	color: #fff !important;
	padding: 0 18px;
	height: 100%;
	min-height: 36.9px;
	line-height: 36.9px;
	border: none !important;
	border-radius: 6px;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-head .dokan-knack-follow-below-profile .dokan-knack-follow-btn:hover,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-knack-become-member-btn-header:hover,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .profile-info-head .dokan-knack-follow-below-profile .dokan-knack-follow-btn:hover,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-knack-become-member-btn-header:hover {
	background: rgba(255,255,255,.15) !important;
	color: #fff !important;
	box-shadow: none;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-head .dokan-knack-follow-below-profile .dokan-knack-follow-btn.is-subscribed,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .profile-info-head .dokan-knack-follow-below-profile .dokan-knack-follow-btn.is-subscribed {
	background: rgba(255,255,255,.2) !important;
	color: #fff !important;
}
/* Share button - same dimensions as other buttons (36.9px x 130px) */
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-knack-share-store-btn,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-knack-share-store-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 36.9px;
	width: 130px;
	min-width: 130px;
	padding: 0 18px;
	box-sizing: border-box;
	background: #f0f0f0 !important;
	color: #1a1a1a !important;
	border: 1px solid #e5e5e5 !important;
	border-radius: 6px;
	font-size: 0.9em;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-knack-share-store-btn:hover,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-knack-share-store-btn:hover {
	background: #e8e8e8 !important;
	color: #1a1a1a !important;
}
/* Fallback for other layouts */
.dokan-knack-follow-btn,
.dokan-knack-become-member-btn-header,
.dokan-knack-dashboard-btn,
.dokan-knack-back-to-dashboard {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: transparent !important;
	border: none !important;
	border-radius: 8px;
	font-size: 0.9em;
	font-weight: 500;
	cursor: pointer;
	color: #4a4a4a;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
	text-decoration: none !important;
}
.dokan-knack-follow-btn:hover,
.dokan-knack-become-member-btn-header:hover,
.dokan-knack-dashboard-btn:hover,
.dokan-knack-back-to-dashboard:hover {
	background: #fff !important;
	color: var(--dokan-knack-primary, #0272ad) !important;
	box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.dokan-knack-follow-btn.is-following,
.dokan-knack-follow-btn.is-subscribed {
	background: #fff !important;
	color: var(--dokan-knack-primary, #0272ad) !important;
	box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.dokan-knack-become-member-btn-header {
	background: transparent !important;
	color: var(--dokan-knack-primary, #0272ad) !important;
}
.dokan-knack-become-member-btn-header:hover {
	color: var(--dokan-knack-accent, #f05a28) !important;
}
.dokan-knack-vendor-dashboard-wrap {
	list-style: none;
	margin: 0;
	padding: 0;
}
.dokan-knack-vendor-dashboard-link {
	display: inline-flex;
	margin-right: 6px;
}
.dokan-knack-vendor-dashboard-link .dokan-knack-back-to-dashboard,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-knack-vendor-dashboard-wrap .dokan-knack-back-to-dashboard,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-knack-vendor-dashboard-wrap .dokan-knack-back-to-dashboard {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--dokan-knack-primary, #0272ad) !important;
	color: #fff !important;
	height: 36.9px !important;
	width: 130px !important;
	min-width: 130px !important;
	padding: 0 18px !important;
	box-sizing: border-box;
	border-radius: 6px;
	text-decoration: none !important;
	font-weight: 500;
	font-size: 0.9em;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-knack-vendor-dashboard-wrap .dokan-knack-back-to-dashboard:hover,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-knack-vendor-dashboard-wrap .dokan-knack-back-to-dashboard:hover {
	background: rgba(124, 58, 237, 0.85) !important;
	color: #fff !important;
}


/* Become a Member button - reveals Support section (when in collapsed area) */
.dokan-knack-become-member-btn {
	display: inline-block;
	padding: 12px 28px;
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff !important;
	border: none;
	border-radius: 6px;
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s;
	margin: 16px 0;
}
.dokan-knack-become-member-btn:hover {
	opacity: 0.9;
	color: #fff !important;
}
.dokan-knack-support-wrapper .dokan-knack-support-section {
	margin-top: 16px;
}

.dokan-knack-support-section {
	background: #f8f9fa;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	padding: 24px;
	margin: 24px 0;
}
.dokan-knack-support-title {
	margin: 0 0 8px;
	font-size: 1.35em;
	font-weight: 600;
}
.dokan-knack-support-desc {
	margin: 0 0 20px;
	color: #666;
	font-size: 0.95em;
}
.dokan-knack-support-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}
.dokan-knack-support-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.2s, box-shadow 0.2s;
	position: relative;
}
.dokan-knack-support-card:hover {
	border-color: var(--dokan-knack-primary, #0272ad);
	box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
/* Membership Tiers - "MOST POPULAR" pill (Patreon-style) */
.dokan-knack-support-card.dokan-knack-support-card-most-popular {
	border-color: var(--dokan-knack-primary, #0272ad);
	box-shadow: 0 0 0 2px rgba(var(--dokan-knack-primary-rgb, 2, 114, 173), 0.2);
}
.dokan-knack-support-card-most-popular .dokan-knack-support-card-badge {
	display: inline-block;
	margin-bottom: 8px;
	padding: 4px 12px;
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
	font-size: 0.7em;
	font-weight: 600;
	letter-spacing: 0.05em;
	border-radius: 999px;
	text-transform: uppercase;
}
.dokan-knack-support-card-inner {
	padding: 20px 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
}
.dokan-knack-support-card-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.dokan-knack-support-tier-pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .01em;
	background: #eef2ff;
	color: #3730a3;
}
.dokan-knack-support-tier-premium {
	background: #ecfeff;
	color: #0e7490;
}
.dokan-knack-support-tier-elite {
	background: #fff7ed;
	color: #b45309;
}
.dokan-knack-support-tier-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #334155;
}
.dokan-knack-support-tier-icon [class*="fa-"],
.dokan-knack-support-tier-icon .dashicons {
	font-size: 14px;
	line-height: 1;
}
.dokan-knack-support-tier-icon .dokan-knack-plan-badge-img {
	width: 16px;
	height: 16px;
}
.dokan-knack-support-card-title {
	margin: 0;
	font-size: 1.1em;
	font-weight: 600;
	line-height: 1.3;
	color: #1a1a1a;
}
.dokan-knack-support-card-desc {
	margin: 0;
	font-size: 0.9em;
	color: #666;
	line-height: 1.4;
	flex: 1;
}
.dokan-knack-support-card-meta {
	font-size: 0.95em;
}
.dokan-knack-support-card-price {
	color: var(--dokan-knack-primary, #0272ad);
	font-weight: 700;
}
.dokan-knack-support-card-interval {
	color: #888;
	font-size: 0.9em;
}
.dokan-knack-support-card-save-note {
	display: block;
	margin-top: 4px;
	color: #047857;
	font-size: 12px;
	font-weight: 600;
}
.dokan-knack-support-card-btn {
	display: block;
	text-align: center;
	padding: 10px 16px;
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff !important;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.95em;
	transition: opacity 0.2s;
}
.dokan-knack-support-card-btn:hover {
	opacity: 0.9;
	color: #fff !important;
}
.dokan-knack-subscribe-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: auto;
}
.dokan-knack-support-card-duration {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.dokan-knack-subscribe-form .dokan-knack-support-card-btn {
	width: 100%;
	border: none;
	cursor: pointer;
	font-family: inherit;
}
.dokan-knack-support-card-duration label {
	margin: 0;
	font-size: 0.9em;
	color: #555;
}
.dokan-knack-support-card-duration .dokan-knack-duration-select {
	padding: 6px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 0.9em;
	min-width: 100px;
}
.dokan-knack-top-supporters-wall {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px dashed #dbe3ea;
}
.dokan-knack-top-supporters-title {
	margin: 0 0 10px;
	font-size: 16px;
}
.dokan-knack-top-supporters-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
}
.dokan-knack-top-supporter-card {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 10px;
}
.dokan-knack-top-supporter-avatar {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	object-fit: cover;
}
.dokan-knack-top-supporter-meta {
	display: grid;
	gap: 2px;
	min-width: 0;
}
.dokan-knack-top-supporter-meta strong,
.dokan-knack-top-supporter-meta span,
.dokan-knack-top-supporter-meta small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.dokan-knack-top-supporter-meta span {
	font-size: 12px;
	color: #475569;
}
.dokan-knack-top-supporter-meta small {
	font-size: 11px;
	color: #64748b;
}
.dokan-knack-referral-link-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
}
.dokan-knack-referral-link-input {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Vendor "Back to dashboard" button on store page */
.dokan-knack-vendor-dashboard-link {
	display: inline-block;
	margin-left: 12px;
}
.dokan-knack-back-to-dashboard {
	display: inline-block;
	padding: 6px 12px;
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff !important;
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.9em;
	transition: opacity 0.2s;
}
.dokan-knack-back-to-dashboard:hover {
	opacity: 0.9;
	color: #fff !important;
}

/* My Account - subscription due/overdue notice */
.dokan-knack-my-subscriptions tr.dokan-knack-sub-due td {
	background: #fff8e5;
}
.dokan-knack-renewal-notice {
	display: block;
	margin-top: 4px;
	font-size: 0.9em;
}
.dokan-knack-renew-link {
	color: var(--dokan-knack-primary, #0272ad);
	font-weight: 600;
	text-decoration: none;
}
.dokan-knack-renew-link:hover {
	text-decoration: underline;
}
.dokan-knack-due-msg {
	color: #b45309;
	font-style: italic;
}

/* Support subscriptions - vendor dashboard */
.dokan-knack-support-widget .dokan-knack-widget-inner {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}
.dokan-knack-support-widget .dokan-knack-widget-desc {
	margin: 4px 0 12px;
	font-size: 13px;
	color: #666;
}
.dokan-knack-support-widget .dokan-knack-widget-link {
	display: inline-block;
	margin-top: 8px;
	font-size: 12px;
	color: var(--dokan-knack-primary, #0272ad);
	text-decoration: none;
}
.dokan-knack-support-widget .dokan-knack-widget-link:hover {
	text-decoration: underline;
}

/* Memberships page - card style matching store settings, layout aligned with Products/Orders */
.dokan-dashboard .dokan-dashboard-wrap .dokan-memberships-content,
.dokan-dashboard .dokan-dashboard-wrap .dokan-support-plans-content {
	flex: 1;
	width: 100%;
	min-width: 0;
}
.dokan-memberships-content,
.dokan-support-plans-content {
	padding: 24px;
	min-width: 0;
}
.dokan-dashboard .dokan-memberships-content .dokan-dashboard-header,
.dokan-dashboard .dokan-support-plans-content .dokan-dashboard-header {
	margin-bottom: 24px;
}
.dokan-dashboard .dokan-memberships-content .dokan-dashboard-header .entry-title,
.dokan-dashboard .dokan-support-plans-content .dokan-dashboard-header .entry-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #111827;
	margin: 0 0 8px;
}
.dokan-knack-memberships-intro,
.dokan-dashboard .dokan-support-plans-content .dokan-knack-support-plans-intro {
	font-size: 0.9375rem;
	color: #6b7280;
	line-height: 1.5;
	margin: 0 0 24px;
}
.dokan-knack-memberships-actions { margin-bottom: 24px; }
.dokan-dashboard-wrap .dokan-memberships-content .dokan-knack-plan-form-wrap,
.dokan-dashboard-wrap .dokan-memberships-content .dokan-knack-plans-grid,
.dokan-dashboard-wrap .dokan-support-plans-content .dokan-knack-plan-form-wrap,
.dokan-dashboard-wrap .dokan-support-plans-content .dokan-knack-plans-grid {
	max-width: 100%;
}

/* Remove number input spinners (arrows) */
.dokan-knack-no-spinner::-webkit-outer-spin-button,
.dokan-knack-no-spinner::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.dokan-knack-no-spinner {
	-moz-appearance: textfield;
}
.dokan-knack-no-spinner::-webkit-outer-spin-button,
.dokan-knack-no-spinner::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Memberships form - improved UI */
.dokan-knack-form-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 24px;
	margin-bottom: 32px;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.dokan-knack-form-card-title {
	margin: 0 0 20px;
	font-size: 1.2em;
	font-weight: 600;
}
.dokan-knack-plan-form .dokan-form-group {
	margin-bottom: 18px;
}
.dokan-knack-plan-form .dokan-knack-input {
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	max-width: 100%;
}
.dokan-knack-plan-form .dokan-knack-input:focus {
	border-color: var(--dokan-knack-primary, #0272ad);
	outline: none;
}
.dokan-knack-plan-form .dokan-knack-textarea {
	resize: vertical;
	min-height: 70px;
}
.dokan-knack-plan-fields-row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: flex-end;
}
.dokan-knack-field-price .dokan-knack-input { width: 120px; }
.dokan-knack-field-interval .dokan-knack-input { width: 70px; }
.dokan-knack-field-unit .dokan-knack-input { width: 130px; }
.dokan-knack-form-actions {
	margin-top: 24px;
	margin-bottom: 0;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
}
.dokan-knack-form-actions .dokan-btn {
	margin-right: 12px;
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: 500;
}
.dokan-knack-form-actions .dokan-btn-theme {
	background: var(--dokan-knack-primary, #0272ad) !important;
	border: none;
}
.dokan-knack-form-actions .dokan-btn-default {
	background: #fff;
	border: 1px solid #e5e7eb;
	color: #374151;
}
.dokan-knack-plan-billing-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.dokan-knack-bundle-discounts-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 6px;
}
.dokan-knack-inline-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: #334155;
}
.dokan-knack-bundle-discounts-row label {
	display: grid;
	gap: 4px;
	font-size: 12px;
	color: #475569;
}
@media (max-width: 860px) {
	.dokan-knack-plan-billing-grid,
	.dokan-knack-bundle-discounts-row {
		grid-template-columns: 1fr;
	}
}
.dokan-knack-plans-list-title {
	margin: 0 0 20px;
	font-size: 1.0625rem;
	font-weight: 600;
	color: #111827;
}

/* Tier features - add/edit form */
.dokan-knack-features-list { margin: 8px 0 12px; }
.dokan-knack-feature-row {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 8px;
}
.dokan-knack-feature-row input { flex: 1; }
.dokan-knack-remove-feature {
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid #e5e7eb;
	background: #fff;
	border-radius: 6px;
	color: #6b7280;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
}
.dokan-knack-remove-feature:hover { color: #dc2626; border-color: #fca5a5; }

/* Badge icon presets */
.dokan-knack-badge-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 8px 0 12px;
}
.dokan-knack-badge-preset {
	width: 40px;
	height: 40px;
	padding: 6px;
	border: 2px solid #e5e7eb;
	background: #fff;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.dokan-knack-badge-preset:hover,
.dokan-knack-badge-preset.active {
	border-color: var(--dokan-knack-primary, #0272ad);
	background: #f0f9ff;
}
.dokan-knack-badge-preset .dashicons,
.dokan-knack-badge-preset .fas { font-size: 24px; }
.dokan-knack-badge-preview { display: inline-block; margin-left: 8px; vertical-align: middle; }

/* Plan card features (dashboard & store) */
.dokan-knack-plan-card-features,
.dokan-knack-support-card-features {
	list-style: none;
	margin: 12px 0;
	padding: 0;
	font-size: 0.875rem;
	color: #4b5563;
}
.dokan-knack-plan-card-features li,
.dokan-knack-support-card-features li {
	padding: 4px 0;
	display: flex;
	align-items: flex-start;
	gap: 6px;
}
.dokan-knack-feature-check {
	color: #10b981;
	font-weight: 700;
}
.dokan-knack-plan-badge-preview { margin-left: 4px; }

/* Subscriber badge in comments (YouTube-style) */
.dokan-knack-membership-badge {
	display: inline-flex;
	align-items: center;
	gap: 0;
	margin-left: 2px;
	vertical-align: middle;
}
/* Membership badge in comments: icon-only (no pill background) */
.dokan-knack-membership-badge.dokan-knack-subscriber-badge {
	margin-left: 3px;
	padding: 0;
	background: transparent;
	color: inherit;
	border-radius: 0;
}
.dokan-knack-membership-badge .dokan-knack-plan-badge-emoji,
.dokan-knack-membership-badge .dashicons,
.dokan-knack-membership-badge .fas,
.dokan-knack-membership-badge [class*="fa-"] {
	vertical-align: middle;
}
.dokan-knack-membership-badge .dokan-knack-plan-badge-img,
.dokan-knack-membership-badge .dokan-knack-creator-badge-avatar {
	vertical-align: middle;
	border-radius: 50%;
	object-fit: cover;
}
.dokan-knack-creator-badge-avatar {
	width: 15px;
	height: 15px;
	margin-left: 0;
	opacity: 0.85;
}
.dokan-knack-tenure-badge {
	display: inline-flex;
	align-items: center;
	padding: 0 4px;
	border-radius: 999px;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.15;
	margin-left: 0;
	min-height: 13px;
	opacity: 0.92;
}
/* Hide tenure text pill; keep tiny icon only */
.dokan-knack-membership-badge .dokan-knack-tenure-badge {
	display: none !important;
}
.dokan-knack-tenure-new {
	background: #e2e8f0;
	color: #334155;
}
.dokan-knack-tenure-bronze {
	background: #fed7aa;
	color: #9a3412;
}
.dokan-knack-tenure-silver {
	background: #e5e7eb;
	color: #374151;
}
.dokan-knack-tenure-gold {
	background: #fef3c7;
	color: #92400e;
}
.dokan-knack-content-qa,
.dokan-knack-content-poll {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 14px;
}
.dokan-knack-poll-question {
	margin-bottom: 10px;
	color: #111827;
}
.dokan-knack-poll-box {
	display: grid;
	gap: 8px;
}
.dokan-knack-poll-vote-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	background: #fff;
	border-radius: 8px;
	text-align: left;
	cursor: pointer;
}
.dokan-knack-poll-vote-btn:hover {
	border-color: var(--dokan-knack-primary, #0272ad);
	background: #f8fafc;
}
.dokan-knack-poll-vote-btn.is-selected {
	border-color: var(--dokan-knack-primary, #0272ad);
	background: rgba(2, 114, 173, 0.08);
}
.dokan-knack-poll-vote-btn.loading {
	opacity: .65;
	cursor: wait;
}
.dokan-knack-poll-vote-meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #475569;
}
.dokan-knack-poll-vote-meta strong {
	color: #0f172a;
}
.dokan-knack-poll-total-votes {
	margin: 6px 0 0;
	font-size: 12px;
	color: #64748b;
}
.dokan-knack-plans-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}
.dokan-knack-plan-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.dokan-knack-plan-card:hover {
	border-color: #d1d5db;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.dokan-knack-plan-card-header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 10px;
}
.dokan-knack-plan-tier-badge {
	display: inline-block;
	padding: 2px 8px;
	background: rgba(0,0,0,.06);
	color: #555;
	font-size: 0.7em;
	font-weight: 600;
	border-radius: 4px;
	order: -1;
	width: 100%;
	margin-bottom: 4px;
}
.dokan-knack-plan-card-name {
	margin: 0;
	font-size: 1.1em;
	font-weight: 600;
	line-height: 1.3;
}
.dokan-knack-plan-card-price {
	color: var(--dokan-knack-primary, #0272ad);
	font-weight: 700;
	font-size: 1.05em;
}
.dokan-knack-plan-card-desc {
	margin: 0 0 10px;
	font-size: 0.9em;
	color: #666;
	line-height: 1.4;
}
.dokan-knack-plan-card-interval {
	margin: 0 0 16px;
	font-size: 0.85em;
	color: #888;
}
.dokan-knack-plan-card-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #f3f4f6;
}
.dokan-knack-plan-card-actions .dokan-btn-sm {
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 500;
}
.dokan-knack-plan-card-actions .dokan-btn-default {
	background: #fff;
	border: 1px solid #e5e7eb;
	color: #374151;
}
.dokan-knack-no-plans {
	padding: 20px;
	background: #f9fafb;
	border: 1px dashed #e5e7eb;
	border-radius: 12px;
	color: #6b7280;
	font-size: 0.9375rem;
}

/* Registration page branding */
.dokan-knack-reg-branding {
	text-align: center;
	margin-bottom: 24px;
	padding: 24px 0;
	border-bottom: 1px solid #e5e5e5;
}
.dokan-knack-reg-logo img {
	max-width: 200px;
	height: auto;
}
.dokan-knack-reg-title {
	margin: 16px 0 8px;
	font-size: 1.5em;
}
.dokan-knack-reg-subtitle {
	color: #666;
	font-size: 0.95em;
	margin: 0;
}
.dokan-knack-reg-progress {
	margin-bottom: 20px;
}
.dokan-knack-reg-steps {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}
.dokan-knack-step-dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #e5e5e5;
	color: #666;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.dokan-knack-step-dot:hover {
	background: #ddd;
}
.dokan-knack-step-dot.active {
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
}
.dokan-knack-reg-nav {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}

/* Social proof on store pages */
.dokan-knack-social-proof {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.dokan-knack-sp-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #555;
}
.dokan-knack-sp-item i {
	color: var(--dokan-knack-primary, #0272ad);
}

/* Patreon-style gated content */
.dokan-knack-gated-content {
	opacity: 0.85;
}
.dokan-knack-gated-notice {
	margin-top: 1em;
	padding: 1em;
	background: #f5f5f5;
	border-left: 4px solid var(--dokan-knack-primary, #0272ad);
	border-radius: 4px;
}
.dokan-knack-gated-notice a {
	font-weight: 600;
}

/* Patreon-style locked preview - no real content in DOM; placeholder only */
.dokan-knack-locked-preview {
	background: #f9f9f9;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 24px;
	margin: 20px 0;
}
.dokan-knack-locked-media {
	position: relative;
	background: #e8e8e8;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 16px;
}
.dokan-knack-locked-video .dokan-knack-locked-placeholder { aspect-ratio: 16/9; min-height: 180px; }
.dokan-knack-locked-audio .dokan-knack-locked-placeholder { height: 80px; }
.dokan-knack-locked-image .dokan-knack-locked-placeholder { aspect-ratio: 16/9; min-height: 200px; }
.dokan-knack-locked-badge {
	position: absolute;
	bottom: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: rgba(0,0,0,.75);
	color: #fff;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 500;
}
.dokan-knack-locked-blur {
	filter: blur(8px);
	user-select: none;
	pointer-events: none;
	opacity: 0.85;
	margin-bottom: 16px;
}
.dokan-knack-locked-teaser {
	font-size: 15px;
	line-height: 1.6;
	color: #444;
}
.dokan-knack-locked-cta {
	margin: 0 0 16px;
	color: #666;
	font-size: 14px;
}
.dokan-knack-locked-preview .dokan-knack-unlock-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	transition: background 0.2s;
}
.dokan-knack-locked-preview .dokan-knack-unlock-btn:hover {
	background: var(--dokan-knack-accent, #f05a28);
	color: #fff;
}
.dokan-knack-locked-preview + .dokan-knack-content-share {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}

/* Store page tabs - scrollable when many items */
.dokan-single-store .dokan-store-tabs {
	width: 100%;
}
.dokan-single-store .dokan-store-tabs .dokan-modules-button {
	display: none;
}
.dokan-single-store .dokan-store-tabs-scroll-wrap {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 20px;
	position: relative;
}
.dokan-single-store .dokan-store-tabs-scroll-btn {
	position: relative;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #e8e9eb;
	color: #4a4a4a;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, opacity 0.2s;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
}
.dokan-single-store .dokan-store-tabs-scroll-btn:hover {
	background: rgba(255,255,255,.8);
	color: #333;
}
.dokan-single-store .dokan-store-tabs-scroll-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.dokan-single-store .dokan-store-tabs-scroll-btn:disabled,
.dokan-single-store .dokan-store-tabs-scroll-btn.is-hidden {
	opacity: 0.35;
	pointer-events: none;
	cursor: default;
}
.dokan-single-store .dokan-store-tabs-scroll-wrap:not(.has-scroll) .dokan-store-tabs-scroll-btn {
	display: none;
}
.dokan-single-store .dokan-store-tabs-scroll-btn i {
	font-size: 0.85em;
}
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline {
	display: flex;
	flex-wrap: nowrap;
	flex: 1;
	min-width: 0;
	gap: 6px;
	background: #e8e9eb;
	border: none;
	border-radius: 999px;
	padding: 6px;
	box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline::-webkit-scrollbar {
	display: none;
}
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li {
	flex: 0 0 auto;
	border: none;
	margin: 0;
	padding: 0;
}
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 14px;
	border-radius: 999px;
	text-decoration: none;
	color: #4a4a4a;
	background: transparent;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
	font-weight: 500;
	white-space: nowrap;
	text-align: center;
	box-sizing: border-box;
}
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li a:hover {
	background: rgba(255,255,255,.6);
	color: #333;
}
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li a:focus-visible {
	outline: 2px solid var(--dokan-knack-primary, #0272ad);
	outline-offset: 2px;
}
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li a.active {
	background: #fff;
	color: var(--dokan-knack-primary, #0272ad);
	box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.dokan-single-store .dokan-store-tabs .dokan-knack-tab-icon {
	flex-shrink: 0;
	font-size: 0.95em;
	opacity: 0.9;
}

/* Shop page category tabs - same pill style */
.dokan-knack-shop-tabs {
	margin-bottom: 24px;
	display: inline-flex;
}
.dokan-knack-shop-tabs-list {
	list-style: none;
	margin: 0;
	padding: 6px;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	background: #e8e9eb;
	border-radius: 999px;
	box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}
.dokan-knack-shop-tabs-list li {
	margin: 0;
	padding: 0;
}
.dokan-knack-shop-tabs-list a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 999px;
	text-decoration: none;
	color: #4a4a4a;
	background: transparent;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
	font-weight: 500;
}
.dokan-knack-shop-tabs-list a:hover {
	background: rgba(255,255,255,.6);
	color: #333;
}
.dokan-knack-shop-tabs-list a.active {
	background: #fff;
	color: var(--dokan-knack-primary, #0272ad);
	box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

/* Store tabs settings - drag handle and row layout */
.dokan-knack-custom-tab-row {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 12px;
}
.dokan-knack-custom-tab-row .dokan-knack-tab-drag-handle {
	cursor: grab;
	color: #999;
	font-size: 14px;
	line-height: 1;
	padding: 4px 6px;
	user-select: none;
}
.dokan-knack-custom-tab-row .dokan-knack-tab-drag-handle:active {
	cursor: grabbing;
}
.dokan-knack-custom-tab-row .dokan-form-control {
	flex: 1;
	max-width: 200px;
}
.dokan-knack-tab-icon-picker-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}
.dokan-knack-tab-icon-select {
	max-width: 140px;
	min-width: 100px;
}
.dokan-knack-tab-icon-preview {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	font-size: 14px;
	color: #555;
}
.dokan-knack-tab-icon-preview i {
	font-size: inherit;
}
.dokan-knack-custom-tab-row select.dokan-form-control {
	max-width: 220px;
}
.dokan-knack-tab-cat-readonly {
	display: inline-block;
	min-width: 120px;
	padding: 8px 12px;
	font-size: 14px;
	color: #555;
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 4px;
}
.dokan-knack-custom-tabs-wrap .ui-sortable-helper {
	opacity: 0.8;
}

/* ============================================
   Settings > Store - Modern UI
   ============================================ */
.dokan-dashboard .dokan-settings-content .dokan-settings-area {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 32px;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.dokan-dashboard .dokan-settings-content #store-form .dokan-form-group {
	margin-bottom: 24px;
}
.dokan-dashboard .dokan-settings-content #store-form .dokan-control-label {
	font-size: 0.875rem;
	font-weight: 500;
	color: #374151;
}
.dokan-dashboard .dokan-settings-content #store-form .dokan-form-control {
	padding: 10px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 0.9375rem;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.dokan-dashboard .dokan-settings-content #store-form .dokan-form-control:focus {
	border-color: var(--dokan-knack-primary, #0272ad);
	outline: none;
	box-shadow: 0 0 0 3px rgba(2, 114, 173, 0.12);
}
.dokan-dashboard .dokan-settings-content #store-form .help-block,
.dokan-dashboard .dokan-settings-content #store-form .dokan-knack-settings-help {
	font-size: 0.8125rem;
	color: #6b7280;
	margin-top: 6px;
	line-height: 1.4;
}
.dokan-dashboard .dokan-settings-content #store-form input[type="submit"],
.dokan-dashboard .dokan-settings-content #store-form .dokan-btn-theme {
	padding: 10px 24px !important;
	border-radius: 8px !important;
	font-size: 0.9375rem !important;
	font-weight: 500 !important;
	background: var(--dokan-knack-primary, #0272ad) !important;
	border: none !important;
	color: #fff !important;
	cursor: pointer;
	transition: opacity 0.15s;
}
.dokan-dashboard .dokan-settings-content #store-form input[type="submit"]:hover,
.dokan-dashboard .dokan-settings-content #store-form .dokan-btn-theme:hover {
	opacity: 0.92;
}
.dokan-dashboard .dokan-settings-content #store-form .checkbox label {
	font-size: 0.9375rem;
	color: #374151;
}
.dokan-dashboard .dokan-settings-content #store-form .checkbox input {
	accent-color: var(--dokan-knack-primary, #0272ad);
}
.dokan-dashboard .dokan-settings-content #store-form > .dokan-form-group:last-child,
.dokan-dashboard .dokan-settings-content #store-form .dokan-knack-settings-submit {
	margin-top: 24px;
	margin-bottom: 0;
	padding-top: 24px;
	border-top: 1px solid #e5e7eb;
}
.dokan-dashboard .dokan-settings-content #store-form > .dokan-form-group:last-child .ajax_prev,
.dokan-dashboard .dokan-settings-content #store-form .dokan-knack-settings-submit .ajax_prev {
	margin-left: 0 !important;
}
.dokan-dashboard .dokan-settings-content .dokan-banner {
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 24px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	padding: 20px;
}
.dokan-dashboard .dokan-settings-content .dokan-banner .button-area {
	padding: 24px;
	text-align: center;
	border: 2px dashed #e5e7eb;
	border-radius: 8px;
	background: #fff;
}
.dokan-dashboard .dokan-settings-content .dokan-banner .button-area .help-block {
	margin-top: 10px;
	font-size: 0.8125rem;
	color: #6b7280;
}
.dokan-dashboard .dokan-settings-content .dokan-banner .dokan-btn-theme {
	border-radius: 8px;
	padding: 10px 18px;
}
.dokan-dashboard .dokan-settings-content .dokan-banner .image-wrap {
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

/* Store settings - tabbed navigation */
.dokan-knack-settings-tabbed .dokan-knack-settings-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e5e7eb;
}
.dokan-knack-settings-tabbed .dokan-knack-settings-tab {
	appearance: none;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 10px 18px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #6b7280;
	cursor: pointer;
	transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.dokan-knack-settings-tabbed .dokan-knack-settings-tab:hover {
	color: #374151;
	background: #f9fafb;
}
.dokan-knack-settings-tabbed .dokan-knack-settings-tab.is-active {
	color: var(--dokan-knack-primary, #0272ad);
	background: #fff;
	border-color: #e5e7eb;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.dokan-knack-settings-tabbed .dokan-knack-settings-tab-panel {
	display: none;
}
.dokan-knack-settings-tabbed .dokan-knack-settings-tab-panel.is-active {
	display: block;
}
.dokan-knack-settings-tabbed .dokan-knack-settings-tab-panel[hidden] {
	display: none !important;
}

/* Store settings sections - reorganized cards for better UX */
.dokan-knack-settings-section {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
}
.dokan-knack-settings-section:last-of-type {
	margin-bottom: 24px;
}
.dokan-knack-settings-section__title {
	margin: 0 0 4px;
	font-size: 1.0625rem;
	font-weight: 600;
	color: #111827;
	letter-spacing: -0.01em;
}
.dokan-knack-settings-section__desc {
	margin: 0 0 20px !important;
	font-size: 0.875rem !important;
	color: #6b7280 !important;
	line-height: 1.4;
}
.dokan-knack-settings-section .dokan-form-group {
	margin-bottom: 24px;
}
.dokan-knack-settings-section .dokan-form-group:last-child {
	margin-bottom: 0;
}
.dokan-knack-settings-section .dokan-banner {
	margin-bottom: 20px;
}
.dokan-knack-settings-section .dokan-gravatar .gravatar-wrap img,
.dokan-knack-settings-section .dokan-gravatar .dokan-gravatar-img {
	border-radius: 8px;
	border: 1px solid #e5e7eb;
}
.dokan-knack-settings-section .dokan-gravatar .dokan-btn-default {
	padding: 8px 16px;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	background: #fff;
	font-size: 0.875rem;
}
.dokan-knack-settings-section .dokan-gravatar .dokan-btn-default:hover {
	background: #f9fafb;
	border-color: #d1d5db;
}
.dokan-knack-settings-section .dokan-address-fields label.control-label {
	font-size: 0.875rem;
	font-weight: 500;
	color: #374151;
}
.dokan-knack-settings-section .dokan-address-fields .dokan-form-control,
.dokan-knack-settings-section .dokan-address-fields input,
.dokan-knack-settings-section .dokan-address-fields select {
	border-radius: 8px;
	border-color: #e5e7eb;
	padding: 10px 14px;
}
.dokan-knack-settings-section #dokan_tnc_text .wp-editor-container {
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	overflow: hidden;
}
.dokan-knack-settings-section .store-open-close .dokan-form-group {
	margin-bottom: 12px;
}
.dokan-knack-settings-section .dokan-store-times .dokan-form-group {
	padding: 10px 14px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 10px;
}
.dokan-knack-settings-submit {
	margin-top: 8px;
	margin-bottom: 0;
	padding-top: 24px;
	border-top: 1px solid #e5e7eb;
}
.dokan-knack-settings-submit .ajax_prev {
	margin-left: 0 !important;
}

/* Store settings card - About + Store tabs */
.dokan-knack-settings-store-card {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
	margin-top: 28px;
	margin-bottom: 24px;
}
.dokan-knack-settings-card__title {
	margin: 0 0 8px;
	font-size: 1rem;
	font-weight: 600;
	color: #111827;
}
.dokan-knack-settings-card__desc {
	margin: 0 0 16px !important;
	font-size: 0.875rem !important;
	color: #6b7280 !important;
	text-align: left !important;
}
.dokan-knack-settings-input {
	max-width: 100% !important;
}
.dokan-knack-store-about-settings textarea.dokan-knack-settings-input {
	min-height: 100px;
	resize: vertical;
}
.dokan-knack-settings-btn {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.15s;
	border: none;
}
.dokan-knack-settings-btn--secondary {
	background: #fff;
	color: #374151;
	border: 1px solid #e5e7eb;
}
.dokan-knack-settings-btn--secondary:hover {
	background: #f9fafb;
	border-color: #d1d5db;
}
.dokan-knack-settings-btn--ghost {
	background: transparent;
	color: #6b7280;
	border: 1px solid transparent;
}
.dokan-knack-settings-btn--ghost:hover {
	color: #dc2626;
}
.dokan-knack-store-tabs-settings #dokan-knack-custom-tabs-wrap {
	margin-bottom: 16px;
}
.dokan-knack-store-tabs-settings .dokan-knack-custom-tab-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 10px;
}
.dokan-knack-store-tabs-settings .dokan-knack-custom-tab-row .dokan-form-control {
	flex: 1;
	min-width: 120px;
}
.dokan-knack-store-tabs-settings .dokan-knack-add-tab {
	margin-top: 8px;
}
.dokan-knack-store-tabs-settings .dokan-knack-tab-drag-handle {
	cursor: grab;
	color: #9ca3af;
	font-size: 1rem;
}
.dokan-knack-store-tabs-settings .dokan-knack-tab-icon-picker-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}
.dokan-knack-store-tabs-settings .dokan-knack-tab-icon-preview {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: #f3f4f6;
	border-radius: 6px;
	color: #6b7280;
	font-size: 14px;
}

/* Store About - inline in header card next to details */
.dokan-store-info li.dokan-knack-store-about-inline {
	display: block !important;
	width: 100%;
	flex-basis: 100%;
	list-style: none;
	margin: 12px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid rgba(0,0,0,.08);
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .dokan-store-info .dokan-knack-store-about-inline,
.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .dokan-store-info .dokan-knack-store-about-inline {
	margin-top: 16px;
	padding-top: 16px;
	border-top-color: rgba(0,0,0,.08);
	max-width: 100%;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-default .dokan-store-info li.dokan-knack-store-about-inline {
	border-top-color: rgba(255,255,255,.25);
}
.dokan-knack-store-about-wrap {
	margin: 0;
}
.dokan-knack-store-about-text {
	margin: 0;
	color: inherit;
	font-size: 0.9em;
	line-height: 1.5;
	opacity: 0.9;
}
.dokan-knack-about-view-more {
	display: inline-block;
	margin: 4px 0 0;
	padding: 0;
	background: none;
	border: none;
	color: inherit;
	font-size: 0.9em;
	font-weight: 600;
	cursor: pointer;
	opacity: 0.95;
	text-decoration: underline;
}
.dokan-knack-about-view-more:hover {
	opacity: 1;
}

/* Store page: when viewing Exclusive Content, hide the product loop to prevent layout break */
body.dokan-knack-store-member-content .store-page-wrap .seller-items,
body.dokan-knack-store-member-content .store-page-wrap .dokan-info,
.store-page-wrap:has(#member-content) .seller-items,
.store-page-wrap:has(#member-content) .dokan-info {
	display: none !important;
}
body.dokan-knack-store-member-content .dokan-store-products-filter-area,
body.dokan-knack-store-member-content .dokan-store-products-filter-wrap,
body.dokan-knack-store-member-content .dokan-product-search-form,
body.dokan-knack-store-member-content .dokan-store-products-ordeby,
body.dokan-knack-store-member-content .woocommerce-ordering,
body.dokan-knack-store-member-content .woocommerce-result-count,
body.dokan-knack-hide-product-ui .dokan-store-products-filter-area,
body.dokan-knack-hide-product-ui .dokan-store-products-filter-wrap,
body.dokan-knack-hide-product-ui .dokan-product-search-form,
body.dokan-knack-hide-product-ui .dokan-store-products-ordeby,
body.dokan-knack-hide-product-ui .store-page-wrap .seller-items,
body.dokan-knack-hide-product-ui .store-page-wrap .dokan-info {
	display: none !important;
}

/* Single member content: hide Join Creator's Membership button when support section is skipped */
body.dokan-knack-store-member-content-single .dokan-knack-become-member-wrap {
	display: none !important;
}

/* Store member content: prevent Reports/analytics or layout overlays from breaking the header nav */
body.dokan-knack-store-member-content #dokan-analytics-app,
body.dokan-knack-store-member-content .woocommerce-layout,
body.dokan-knack-store-member-content .woocommerce-layout__header {
	display: none !important;
}
/* Hide WC Admin / React roots that may render empty overlays when scripts fail */
body.dokan-knack-store-member-content .woocommerce-layout__primary,
body.dokan-knack-store-member-content .woocommerce-admin-page__body {
	display: none !important;
}
body.dokan-knack-store-member-content .dokan-store-wrap,
body.dokan-knack-store-member-content .store-page-wrap {
	position: relative;
	z-index: 1;
}
/* Contain store content so it doesn't overlap header; isolate stacking */
body.dokan-knack-store-member-content .dokan-store-wrap {
	isolation: isolate;
}
body.dokan-knack-store-member-content .profile-frame {
	max-height: none;
}
/* Prevent profile panel from spilling into top navigation on single content pages */
body.dokan-knack-store-member-content-single .profile-frame,
body.dokan-knack-store-member-content-single .dokan-profile-frame-wrapper {
	overflow: hidden;
}
/* Ensure main content never overlaps site header/nav (sticky/fixed navs typically use 9999+) */
body.dokan-knack-store-member-content main,
body.dokan-knack-store-member-content .dokan-store-wrap {
	z-index: 1;
}

/* Store page: hide sidebar by default for full-width layout */
.dokan-store-wrap .dokan-store-sidebar,
.dokan-store-wrap #dokan-secondary {
	display: none !important;
}
.dokan-store-wrap #dokan-primary {
	width: 100% !important;
}
.dokan-store-wrap.layout-left #dokan-primary,
.dokan-store-wrap.layout-right #dokan-primary {
	float: none;
	width: 100% !important;
}

/* Vendor store on product page */
.dokan-knack-product-vendor {
	margin: 1em 0;
	padding: 0.75em 0;
	border-top: 1px solid #eee;
	font-size: 0.95em;
}
.dokan-knack-sold-by-label {
	color: #666;
	margin-right: 4px;
}
.dokan-knack-vendor-store-link {
	color: var(--dokan-knack-primary, #0272ad);
	font-weight: 600;
	text-decoration: none;
}
.dokan-knack-vendor-store-link:hover {
	text-decoration: underline;
}

/* Product unlock / Patreon-style subscriber exclusive */
.dokan-knack-product-unlock {
	padding: 1.5em 0;
	margin: 1em 0;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	background: linear-gradient( 135deg, #fafafa 0%, #f5f5f5 100% );
}
.dokan-knack-unlock-message {
	text-align: center;
	padding: 0 1em;
}
.dokan-knack-unlock-title {
	font-size: 1.1em;
	font-weight: 600;
	margin: 0 0 0.5em;
	color: #333;
}
.dokan-knack-unlock-desc {
	margin: 0 0 1em;
	color: #666;
	font-size: 0.95em;
}
.dokan-knack-unlock-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 24px;
	background: var(--dokan-knack-primary, #0272ad) !important;
	border-color: var(--dokan-knack-primary, #0272ad) !important;
	color: #fff !important;
	font-weight: 600;
	border-radius: 4px;
	text-decoration: none !important;
	line-height: 1.4;
}
.dokan-knack-unlock-btn .dokan-knack-lock-icon {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	width: 1em;
	height: 1em;
	line-height: 0;
}
.dokan-knack-unlock-btn .dokan-knack-lock-icon svg {
	width: 1em;
	height: 1em;
	display: block;
}
.dokan-knack-unlock-btn:hover {
	background: var(--dokan-knack-accent, #f05a28) !important;
	border-color: var(--dokan-knack-accent, #f05a28) !important;
	color: #fff !important;
}

/* Member Content - store page section */
.dokan-knack-member-content-section {
	margin: 24px 0;
	padding: 24px 0;
	border-top: 1px solid #e5e5e5;
}
.dokan-knack-member-content-section.dokan-knack-loading {
	position: relative;
	opacity: 0.7;
	pointer-events: none;
}
.dokan-knack-member-content-section.dokan-knack-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 32px;
	height: 32px;
	margin: -16px 0 0 -16px;
	border: 3px solid #e5e5e5;
	border-top-color: var(--dokan-knack-primary, #0272ad);
	border-radius: 50%;
	animation: dokan-knack-spin 0.8s linear infinite;
}
@keyframes dokan-knack-spin {
	to { transform: rotate(360deg); }
}
.dokan-knack-member-content-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
}
.dokan-knack-member-content-section .dokan-knack-member-content-title {
	margin: 0;
	font-size: 1.35em;
	font-weight: 600;
}
.dokan-knack-member-content-rss-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	color: #666;
	text-decoration: none;
	transition: color 0.2s;
}
.dokan-knack-member-content-rss-link:hover {
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-member-content-rss-link .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}
.dokan-knack-project-timeline-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 14px;
	padding: 10px 12px;
	margin: -6px 0 14px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #f8fafc;
}
.dokan-knack-project-timeline-stats {
	margin: 0;
	font-size: 13px;
	color: #475569;
	font-weight: 600;
}
.dokan-knack-project-follow-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 11px;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #111827;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}
.dokan-knack-project-follow-btn.is-active {
	background: #0f172a;
	color: #fff;
	border-color: #0f172a;
}
.dokan-knack-project-follow-btn.loading {
	opacity: 0.7;
	pointer-events: none;
}
.dokan-knack-project-follow-login {
	font-size: 12px;
	color: #64748b;
}
.dokan-knack-member-content-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}
.dokan-knack-member-content-filter-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	flex: 1 1 100%;
}
.dokan-knack-member-content-search-wrap {
	flex: 1 1 260px;
}
.dokan-knack-member-content-sort-wrap {
	flex: 0 0 auto;
}
.dokan-knack-member-content-project-wrap {
	flex: 0 0 auto;
}
.dokan-knack-member-content-search {
	width: 100%;
	height: 38px;
	padding: 8px 12px;
	border: 1px solid #d0d7de;
	border-radius: 10px;
	background: #fff;
	color: #0f172a;
}
.dokan-knack-member-content-search:focus {
	border-color: var(--dokan-knack-primary, #0272ad);
	box-shadow: 0 0 0 3px rgba(2, 114, 173, 0.16);
	outline: none;
}
.dokan-knack-member-content-sort {
	min-width: 150px;
	height: 38px;
	padding: 8px 12px;
	border: 1px solid #d0d7de;
	border-radius: 10px;
	background: #fff;
	color: #0f172a;
}
.dokan-knack-member-content-project {
	min-width: 170px;
	height: 38px;
	padding: 8px 12px;
	border: 1px solid #d0d7de;
	border-radius: 10px;
	background: #fff;
	color: #0f172a;
}
.dokan-knack-member-content-project:focus {
	border-color: var(--dokan-knack-primary, #0272ad);
	box-shadow: 0 0 0 3px rgba(2, 114, 173, 0.16);
	outline: none;
}
.dokan-knack-member-content-sort:focus {
	border-color: var(--dokan-knack-primary, #0272ad);
	box-shadow: 0 0 0 3px rgba(2, 114, 173, 0.16);
	outline: none;
}
.dokan-knack-member-content-clear-filters {
	height: 38px;
	padding: 8px 12px;
	border: 1px solid #d0d7de;
	border-radius: 10px;
	background: #fff;
	color: #0f172a;
	font-weight: 600;
	cursor: pointer;
}
.dokan-knack-member-content-clear-filters:hover {
	border-color: #0f172a;
}
.dokan-knack-member-content-type-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.dokan-knack-member-content-active-filters {
	margin: -4px 0 12px;
	color: #64748b;
	font-size: 12px;
}
.dokan-knack-content-filter-chip {
	border: 1px solid #d0d7de;
	background: #fff;
	color: #1f2937;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	padding: 8px 12px;
	cursor: pointer;
}
.dokan-knack-content-filter-chip:hover {
	border-color: #0f172a;
	color: #0f172a;
}
.dokan-knack-content-filter-chip.active {
	border-color: #0f172a;
	background: #0f172a;
	color: #fff;
}
.dokan-knack-member-content-view-toggle {
	display: flex;
	align-items: center;
	gap: 4px;
}
.dokan-knack-view-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #ddd;
	background: #fff;
	color: #666;
	border-radius: 6px;
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.dokan-knack-view-btn:hover {
	border-color: var(--dokan-knack-primary, #0272ad);
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-view-btn.active,
.dokan-knack-view-btn[aria-pressed="true"] {
	background: var(--dokan-knack-primary, #0272ad);
	border-color: var(--dokan-knack-primary, #0272ad);
	color: #fff;
}
.dokan-knack-member-content-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.dokan-knack-member-content-grid.dokan-knack-view-list-layout {
	grid-template-columns: 1fr;
}
.dokan-knack-member-content-grid.dokan-knack-view-list-layout .dokan-knack-member-content-card {
	display: grid;
	grid-template-columns: 200px 1fr;
	grid-template-areas: "thumb body";
}
.dokan-knack-member-content-grid.dokan-knack-view-list-layout .dokan-knack-member-content-card-link {
	display: contents;
}
.dokan-knack-member-content-grid.dokan-knack-view-list-layout .dokan-knack-member-content-card-thumb {
	grid-area: thumb;
	aspect-ratio: 1;
	min-height: 120px;
}
.dokan-knack-member-content-grid.dokan-knack-view-list-layout .dokan-knack-member-content-card-body {
	grid-area: body;
	justify-content: center;
	padding: 20px 24px;
}
.dokan-knack-member-content-grid.dokan-knack-view-list-layout .dokan-knack-member-content-card-footer {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}
@media (max-width: 1024px) {
	.dokan-knack-member-content-grid:not(.dokan-knack-view-list-layout) {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 768px) {
	.dokan-knack-member-content-grid:not(.dokan-knack-view-list-layout) {
		grid-template-columns: 1fr;
	}
	.dokan-knack-member-content-grid.dokan-knack-view-list-layout .dokan-knack-member-content-card {
		grid-template-columns: 1fr;
		grid-template-areas: "thumb" "body";
	}
	.dokan-knack-member-content-grid.dokan-knack-view-list-layout .dokan-knack-member-content-card-thumb {
		aspect-ratio: 16/9;
		min-height: 0;
	}
}
.dokan-knack-member-content-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.dokan-knack-member-content-card:hover {
	border-color: #ddd;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.dokan-knack-member-content-card a {
	display: block;
	text-decoration: none;
	color: inherit;
}
.dokan-knack-member-content-card-thumb {
	aspect-ratio: 16/9;
	background: #f5f5f5;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.dokan-knack-member-content-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.dokan-knack-member-content-card-thumb-placeholder {
	width: 48px;
	height: 48px;
	opacity: 0.4;
}
.dokan-knack-member-content-card-thumb .dokan-knack-card-icon {
	font-size: 48px;
	color: #bbb;
}
.dokan-knack-member-content-card-body {
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
/* Meta row: category tag (left) + date (right) */
.dokan-knack-member-content-card-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}
.dokan-knack-member-content-card-date {
	font-size: 0.8em;
	color: #999;
}
.dokan-knack-content-tag {
	display: inline-block;
	padding: 4px 10px;
	font-size: 0.7em;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	border-radius: 4px;
}
/* Content type tags - VIDEO uses primary, others semantic */
.dokan-knack-content-tag-type.dokan-knack-content-tag-video {
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
}
.dokan-knack-content-tag-type.dokan-knack-content-tag-blog {
	background: #5db8b8;
	color: #fff;
}
.dokan-knack-content-tag-type.dokan-knack-content-tag-audio {
	background: #e45b8a;
	color: #fff;
}
.dokan-knack-content-tag-type.dokan-knack-content-tag-image {
	background: #7eb8e8;
	color: #fff;
}
.dokan-knack-content-tag-type.dokan-knack-content-tag-poll {
	background: #f59e0b;
	color: #fff;
}
.dokan-knack-content-tag-type.dokan-knack-content-tag-qa {
	background: #8b5cf6;
	color: #fff;
}
.dokan-knack-content-tag-type.dokan-knack-content-tag-wip {
	background: #0ea5e9;
	color: #fff;
}
.dokan-knack-content-tag-type.dokan-knack-content-tag-resource_drop {
	background: #16a34a;
	color: #fff;
}
.dokan-knack-content-tag-type.dokan-knack-content-tag-collab_call {
	background: #f97316;
	color: #fff;
}
.dokan-knack-content-tag-type.dokan-knack-content-tag-challenge {
	background: #7c3aed;
	color: #fff;
}
.dokan-knack-member-content-card-title {
	margin: 0;
	font-size: 1.1em;
	font-weight: 700;
	line-height: 1.35;
	color: #111;
}
.dokan-knack-member-content-card-project {
	margin: 0;
	font-size: 0.8em;
	color: #64748b;
	font-weight: 600;
}
.dokan-knack-member-content-card-excerpt {
	margin: 0;
	font-size: 0.9em;
	line-height: 1.5;
	color: #666;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* Card footer: engagement (left) + access (right) */
.dokan-knack-member-content-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #eee;
}
.dokan-knack-member-content-card-engagement {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 0.85em;
	color: #888;
}
.dokan-knack-engagement-item i {
	color: #e53e3e;
	margin-right: 4px;
}
.dokan-knack-engagement-item:last-child i {
	color: #718096;
}
.dokan-knack-member-content-card-access {
	flex-shrink: 0;
}
.dokan-knack-access-pill {
	display: inline-block;
	padding: 5px 12px;
	font-size: 0.8em;
	font-weight: 600;
	border-radius: 20px;
}
.dokan-knack-access-pill.dokan-knack-access-premium {
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
}
.dokan-knack-access-pill.dokan-knack-access-premium i {
	margin-right: 5px;
}
.dokan-knack-access-pill.dokan-knack-access-free {
	background: transparent;
	color: #38a169;
	font-weight: 600;
}
.dokan-knack-member-content-lock {
	font-size: 0.85em;
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-member-content-single {
	max-width: 900px;
	margin: 0 auto;
}
.dokan-knack-member-content-single .dokan-knack-member-content-video,
.dokan-knack-member-content-single .dokan-knack-member-content-audio,
.dokan-knack-member-content-single .dokan-knack-member-content-image {
	margin-bottom: 20px;
}
/* YouTube/Vimeo standard 16:9 responsive video */
.dokan-knack-video-responsive {
	width: 100%;
	max-width: 100%;
}
.dokan-knack-video-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
	background: #000;
	border-radius: 8px;
}
.dokan-knack-video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}
.dokan-knack-member-content-single .dokan-knack-member-content-video video {
	width: 100%;
	max-width: 100%;
	border-radius: 8px;
}
.dokan-knack-member-content-single .dokan-knack-member-content-audio audio {
	width: 100%;
}
.dokan-knack-member-content-single .dokan-knack-member-content-image img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}
.dokan-knack-member-content-single .dokan-knack-member-content-body {
	line-height: 1.6;
}
.dokan-knack-premiere-preview {
	border: 1px solid #e5e7eb;
	background: #fafafa;
	border-radius: 12px;
	padding: 16px;
	margin: 16px 0 20px;
}
.dokan-knack-premiere-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #4c1d95;
	background: #ede9fe;
	padding: 4px 8px;
	border-radius: 999px;
}
.dokan-knack-premiere-title {
	margin: 12px 0 6px;
	font-size: 1.05rem;
}
.dokan-knack-premiere-time {
	margin: 0 0 12px;
	color: #4b5563;
}
.dokan-knack-premiere-countdown {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	font-weight: 700;
	font-size: 1.15rem;
	margin-bottom: 12px;
}
.dokan-knack-premiere-countdown-sep {
	opacity: 0.6;
}
.dokan-knack-premiere-notify-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border: 1px solid #7c3aed;
	background: #7c3aed;
	color: #fff;
	border-radius: 8px;
	cursor: pointer;
}
.dokan-knack-premiere-notify-btn.is-notified {
	background: #ede9fe;
	color: #4c1d95;
}
.dokan-knack-premiere-login-link {
	color: var(--dokan-knack-primary, #0272ad);
	text-decoration: underline;
}
.dokan-knack-mc-form__premiere-wrap {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed #e5e7eb;
}
.dokan-knack-onboarding-panel {
	position: relative;
	border: 1px solid #dbeafe;
	background: #eff6ff;
	border-radius: 10px;
	padding: 14px 16px;
	margin: 12px auto 16px;
	max-width: 900px;
}
.dokan-knack-onboarding-title {
	margin: 0 0 6px;
	font-size: 1rem;
}
.dokan-knack-onboarding-start {
	margin: 0 0 8px;
}
.dokan-knack-onboarding-list {
	margin: 0;
	padding-left: 18px;
}
.dokan-knack-onboarding-dismiss {
	position: absolute;
	top: 8px;
	right: 10px;
	border: 0;
	background: transparent;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	color: #1e3a8a;
}
.dokan-knack-member-inbox {
	max-width: 900px;
	margin: 12px auto 16px;
	padding: 14px 16px;
	border: 1px solid #e5e7eb;
	background: #fff;
	border-radius: 12px;
}
.dokan-knack-member-inbox-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}
.dokan-knack-member-inbox-title {
	margin: 0;
}
.dokan-knack-member-inbox-unread {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: #111827;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
}
.dokan-knack-member-inbox-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}
.dokan-knack-member-inbox-search {
	flex: 1 1 230px;
	max-width: 340px;
	height: 36px;
	padding: 7px 10px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
}
.dokan-knack-member-inbox-tag-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.dokan-knack-member-inbox-tag-chip {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid #d1d5db;
	background: #fff;
	color: #1f2937;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}
.dokan-knack-member-inbox-tag-chip.active {
	background: #111827;
	border-color: #111827;
	color: #fff;
}
.dokan-knack-member-inbox-item + .dokan-knack-member-inbox-item {
	border-top: 1px solid #f1f5f9;
	margin-top: 10px;
	padding-top: 10px;
}
.dokan-knack-member-inbox-item.is-unread {
	background: #f8fafc;
	border-radius: 10px;
	padding: 10px;
}
.dokan-knack-member-inbox-item.is-read {
	opacity: 0.92;
}
.dokan-knack-member-inbox-item-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 6px;
}
.dokan-knack-member-inbox-item h5 {
	margin: 0;
}
.dokan-knack-member-inbox-item-meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.dokan-knack-member-inbox-mark-read {
	border: 1px solid #d1d5db;
	background: #fff;
	color: #111827;
	border-radius: 8px;
	padding: 4px 8px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}
.dokan-knack-member-inbox-mark-read:hover {
	border-color: #111827;
}
.dokan-knack-member-inbox-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}
.dokan-knack-member-inbox-tag {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 999px;
	background: #eef2f7;
	color: #334155;
	font-size: 11px;
}
.dokan-knack-member-inbox-empty {
	margin: 12px 0 2px;
	color: #64748b;
}
/* Lyrics / poetry - preserve line breaks, lyrics-style layout */
.dokan-knack-content-lyrics {
	white-space: pre-line;
	line-height: 1.8;
	font-family: inherit;
	font-size: 1.05em;
}
.dokan-knack-locked-lyrics .dokan-knack-locked-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.08);
}
.dokan-knack-locked-lyrics .dokan-knack-locked-placeholder i,
.dokan-knack-locked-music .dokan-knack-locked-placeholder i {
	font-size: 2rem;
	opacity: 0.6;
}
.dokan-knack-locked-music .dokan-knack-locked-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.08);
}
/* Lyrics form stats */
.dokan-knack-lyrics-stats {
	display: flex;
	gap: 16px;
	margin-top: 8px;
	font-size: 0.9em;
	color: #666;
}
.dokan-knack-lyrics-stat strong {
	color: #333;
}

/* Member content - actions (like + share) */
.dokan-knack-content-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	margin: 20px 0 24px;
	padding: 12px 0;
	border-top: 1px solid #eee;
}
.dokan-knack-content-likes {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin: 0;
	padding: 0;
}
.dokan-knack-content-reactions {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}
.dokan-knack-reaction-btn {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 2px 6px;
	background: transparent !important;
	border: none !important;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	line-height: 1.2;
	transition: background 0.2s, transform 0.15s;
}
.dokan-knack-reaction-btn:hover:not(:disabled) {
	background: rgba(0, 0, 0, 0.06) !important;
	transform: scale(1.15);
}
.dokan-knack-reaction-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
.dokan-knack-reaction-btn.dokan-knack-reaction-active {
	background: rgba(2, 114, 173, 0.12) !important;
}
.dokan-knack-reaction-count {
	font-size: 11px;
	color: #666;
	font-weight: 500;
}
.dokan-knack-reaction-btn.loading {
	pointer-events: none;
	opacity: 0.7;
}
/* Member content - share */
.dokan-knack-content-share {
	display: flex;
	align-items: center;
	gap: 10px;
}
.dokan-knack-share-label {
	font-size: 0.9em;
	color: #666;
	font-weight: 500;
}
.dokan-knack-share-buttons {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	background: #e8e9eb;
	padding: 6px;
	border-radius: 999px;
}
.dokan-knack-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: #4a4a4a;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.dokan-knack-share-btn:hover {
	background: #fff;
	color: var(--dokan-knack-primary, #0272ad);
	box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.dokan-knack-share-btn.dokan-knack-share-facebook:hover { color: #1877f2; }
.dokan-knack-share-btn.dokan-knack-share-x:hover { color: #000; }
.dokan-knack-share-btn.dokan-knack-share-whatsapp:hover { color: #25d366; }
.dokan-knack-share-btn.dokan-knack-share-linkedin:hover { color: #0a66c2; }
.dokan-knack-share-btn.dokan-knack-share-copy.copied {
	background: #fff;
	color: var(--dokan-knack-primary, #0272ad);
}

/* Member content - likes (styled like reply/upvote) */
.dokan-knack-like-btn.dokan-knack-content-upvote {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 0;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	cursor: pointer;
	font-size: 14px;
	color: #666;
	transition: color 0.2s;
}
.dokan-knack-like-btn.dokan-knack-content-upvote:hover:not(:disabled) {
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-like-btn.dokan-knack-content-upvote:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
.dokan-knack-like-btn.dokan-knack-content-upvote.dokan-knack-upvoted {
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-like-btn.dokan-knack-content-upvote .dokan-knack-icon-upvote {
	flex-shrink: 0;
}
.dokan-knack-like-btn.dokan-knack-content-upvote.loading {
	pointer-events: none;
	opacity: 0.7;
}

/* Member content - comments */
.dokan-knack-content-comments {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #e5e5e5;
}
.dokan-knack-comments-title {
	margin: 0 0 20px;
	font-size: 1.2em;
	font-weight: 600;
}

/* Peerlist-style comments layout */
.dokan-knack-comments-peerlist {
	margin-top: 28px;
}
.dokan-knack-comments-peerlist .dokan-knack-comment-form-inline {
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}
.dokan-knack-comments-peerlist .dokan-knack-comment-form-inline .comment-form-comment {
	margin: 0;
	display: flex;
	align-items: flex-start;
	gap: 12px;
}
.dokan-knack-comments-peerlist .dokan-knack-comment-input-wrap {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	position: relative;
}
.dokan-knack-emoji-picker {
	display: none;
	position: absolute;
	bottom: 100%;
	right: 0;
	margin-bottom: 8px;
	padding: 8px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,.1);
	z-index: 100;
	flex-wrap: wrap;
	gap: 4px;
	max-width: 200px;
}
.dokan-knack-emoji-picker.is-open {
	display: flex;
}
.dokan-knack-emoji-btn {
	cursor: pointer;
	font-size: 1.2em;
	padding: 2px;
	line-height: 1;
}
.dokan-knack-emoji-btn:hover {
	transform: scale(1.2);
}
.dokan-knack-comments-peerlist .dokan-knack-comment-input-wrap textarea {
	flex: 1;
}
.dokan-knack-comments-peerlist .dokan-knack-form-smiley {
	background: none;
	border: none;
	color: #999;
	cursor: pointer;
	display: flex;
	align-items: center;
	flex-shrink: 0;
	padding: 4px;
}
.dokan-knack-comments-peerlist .dokan-knack-form-smiley:hover {
	color: #666;
}
.dokan-knack-comments-peerlist .dokan-knack-submit-circle {
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	padding: 0 !important;
	border-radius: 50% !important;
	background: #1a1a1a !important;
	color: #fff !important;
	border: none !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}
.dokan-knack-comments-peerlist .dokan-knack-submit-circle:hover {
	background: #333 !important;
	color: #fff !important;
}
.dokan-knack-comments-peerlist .dokan-knack-submit-circle.dokan-knack-posting {
	opacity: 0.7;
	pointer-events: none;
}
.dokan-knack-comments-peerlist .dokan-knack-submit-circle .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}
.dokan-knack-comments-peerlist .dokan-knack-comment-form-inline:not(.dokan-knack-form-logged-in) .comment-form-comment::before {
	content: "";
	display: block;
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	border-radius: 50%;
	background: #e8eef2;
	flex-shrink: 0;
}
.dokan-knack-comments-peerlist .dokan-knack-comment-form-avatar {
	display: block;
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	border-radius: 50%;
	flex-shrink: 0;
}
.dokan-knack-comments-peerlist .dokan-knack-comment-form-inline .comment-form-comment label {
	display: none;
}
.dokan-knack-comments-peerlist .dokan-knack-comment-form-inline .comment-form-comment textarea {
	flex: 1;
	min-height: 80px;
	resize: none;
	padding: 12px 16px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.5;
}
.dokan-knack-comments-peerlist .dokan-knack-comment-form-inline .comment-form-comment textarea:focus {
	border-color: var(--dokan-knack-primary, #0272ad);
	outline: none;
}
.dokan-knack-comments-peerlist .dokan-knack-comment-form-inline .comment-form-author,
.dokan-knack-comments-peerlist .dokan-knack-comment-form-inline .comment-form-email {
	margin-bottom: 10px;
}
.dokan-knack-comments-peerlist .dokan-knack-comment-form-inline .comment-form-author input,
.dokan-knack-comments-peerlist .dokan-knack-comment-form-inline .comment-form-email input {
	max-width: 200px;
	margin-right: 12px;
}
.dokan-knack-comments-peerlist .dokan-knack-comment-form-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
}
.dokan-knack-comments-peerlist .dokan-knack-comment-form-inline .comment-form-comment {
	flex: 1;
	min-width: 200px;
}
.dokan-knack-comments-peerlist .dokan-knack-comment-form-inline .form-submit {
	margin: 0 !important;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	order: 10;
}
.dokan-knack-comments-peerlist .dokan-knack-comment-form-inline input[type="submit"] {
	padding: 8px 16px;
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
}
.dokan-knack-comments-header {
	margin-bottom: 20px;
}
.dokan-knack-comments-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}
.dokan-knack-comments-dropdown,
.dokan-knack-sort-dropdown {
	position: relative;
	cursor: pointer;
	user-select: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.95em;
	color: #333;
}
.dokan-knack-comments-dropdown:hover,
.dokan-knack-sort-dropdown:hover {
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-comments-main-title {
	margin: 0;
	font-size: 1.1em;
	font-weight: 600;
}
.dokan-knack-comments-count {
	font-weight: 400;
	color: #666;
}
.dokan-knack-dropdown-arrow {
	font-size: 0.65em;
	opacity: 0.7;
}
.dokan-knack-dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	margin: 4px 0 0;
	padding: 6px 0;
	min-width: 140px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0,0,0,.1);
	list-style: none;
	z-index: 100;
}
.dokan-knack-sort-dropdown .dokan-knack-dropdown-menu {
	left: auto;
	right: 0;
}
.dokan-knack-dropdown-menu li {
	padding: 8px 14px;
	cursor: pointer;
	font-size: 0.9em;
}
.dokan-knack-dropdown-menu li:hover {
	background: #f5f5f5;
}
.dokan-knack-comments-end {
	text-align: center;
	color: #999;
	font-size: 0.9em;
	margin: 32px 0 16px;
	padding: 0;
}

.dokan-knack-comments-area .comment-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}
.dokan-knack-comments-area .comment-list .comment,
.dokan-knack-comments-area .comment-list .pingback {
	margin-bottom: 16px;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
}
/* Collapse toggle for replies (Reddit-style) */
.dokan-knack-replies-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 4px 0 0 52px;
	padding: 4px 0;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	cursor: pointer;
	font-size: 0.85em;
	color: #666;
}
.dokan-knack-replies-toggle:hover,
.dokan-knack-replies-toggle:focus {
	background: transparent !important;
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-replies-line {
	display: inline-block;
	width: 12px;
	height: 1px;
	background: #999;
}
.dokan-knack-replies-toggle.dokan-knack-collapsed .dokan-knack-replies-line {
	transform: rotate(-90deg);
	transform-origin: center;
}

/* Threaded replies - nested comments */
.dokan-knack-comments-area .comment-list .children {
	list-style: none;
	margin: 4px 0 0 0;
	padding: 0 0 0 28px;
	border-left: 2px solid #e8eef2;
}
.dokan-knack-comments-area .comment-list .children .comment,
.dokan-knack-comments-area .comment-list .children .pingback {
	margin-bottom: 14px;
}
.dokan-knack-comments-area .comment-body {
	display: flex;
	flex-wrap: wrap;
	gap: 0 12px;
}
.dokan-knack-comments-area .comment-body .comment-author {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	flex: 1 1 auto;
}
.dokan-knack-comments-area .comment-body .comment-author img:not(.dokan-knack-creator-badge-avatar) {
	border-radius: 50%;
	width: 40px;
	height: 40px;
}
.dokan-knack-comments-area .comment-body .comment-author img.dokan-knack-creator-badge-avatar {
	width: 15px;
	height: 15px;
	border-radius: 50%;
}
.dokan-knack-comments-area .comment-body .comment-author .fn {
	font-weight: 600;
	font-size: 15px;
}
.dokan-knack-comments-area .comment-metadata {
	font-size: 0.85em;
	color: #888;
	margin: 0;
}
.dokan-knack-comments-area .comment-metadata time {
	color: #888;
}
.dokan-knack-comments-area .comment-content {
	line-height: 1.55;
	word-wrap: break-word;
	font-size: 15px;
}
.dokan-knack-comments-area .comment-list .children .dokan-knack-comment-content-block {
	margin-left: 52px;
}
.dokan-knack-comments-area .dokan-knack-comment-actions {
	margin-left: 52px;
	margin-top: 4px;
	display: flex;
	align-items: center;
	gap: 16px;
}
.dokan-knack-comments-area .dokan-knack-comment-reply a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.9em;
	color: #666;
	text-decoration: none;
}
.dokan-knack-comments-area .dokan-knack-comment-reply a:hover {
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-comments-area .dokan-knack-reply-icon {
	opacity: 0.8;
}
.dokan-knack-comments-area .dokan-knack-reply-icon svg {
	stroke-width: 1.5;
}
.dokan-knack-comments-area .dokan-knack-comment-upvote {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.9em;
	color: #666;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
}
.dokan-knack-comments-area .dokan-knack-comment-upvote:hover:not(.dokan-knack-upvote-loading) {
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-comments-area .dokan-knack-comment-upvote.dokan-knack-upvoted {
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-comments-area .dokan-knack-comment-upvote.dokan-knack-upvote-loading {
	opacity: 0.6;
	cursor: wait;
}
.dokan-knack-comments-area .dokan-knack-icon-upvote {
	opacity: 0.8;
}
.dokan-knack-comments-area .dokan-knack-upvote-count {
	font-size: 0.9em;
}
.dokan-knack-comment-form .comment-form-comment textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	min-height: 100px;
	resize: vertical;
}
.dokan-knack-comment-form .comment-form-author input,
.dokan-knack-comment-form .comment-form-email input {
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	max-width: 300px;
}
.dokan-knack-comment-form p {
	margin-bottom: 16px;
}
.dokan-knack-comment-form input[type="submit"] {
	padding: 10px 20px;
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
}
.dokan-knack-comment-form input[type="submit"]:hover {
	opacity: 0.9;
}
.dokan-knack-add-comment-desc {
	margin: 0 0 16px;
	color: #666;
	font-size: 0.95em;
}
.dokan-knack-comment-type-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 6px;
	background: #e8eef2;
	color: #555;
	font-size: 0.7em;
	font-weight: 500;
	border-radius: 4px;
}
.dokan-knack-subscriber-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 6px;
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
	font-size: 0.7em;
	font-weight: 500;
	border-radius: 4px;
}
.dokan-knack-comment-content-block {
	width: 100%;
	margin: 6px 0 10px 52px;
}
.dokan-knack-comment-annotation .dokan-knack-annotation-quote {
	display: block;
	margin: 0 0 10px 0;
	padding: 10px 14px;
	border-left: 3px solid #e0e0e0;
	background: #f8f9fa;
	font-size: 0.9em;
	color: #555;
	font-style: italic;
	line-height: 1.5;
}
.dokan-knack-comment-content-block .comment-content {
	margin: 0;
}
.dokan-knack-comments-area .comment-body .comment-content + .reply,
.dokan-knack-comments-area .comment-body .dokan-knack-comment-content-block + .dokan-knack-comment-actions {
	margin-top: 12px;
}

/* Comment error toast - non-blocking */
.dokan-knack-comment-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	max-width: 90%;
	padding: 12px 20px;
	border-radius: 8px;
	background: #333;
	color: #fff;
	font-size: 14px;
	z-index: 999999;
	opacity: 0;
	transition: opacity 0.3s, transform 0.3s;
	box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.dokan-knack-comment-toast.dokan-knack-comment-toast-show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
.dokan-knack-comment-toast-error {
	background: #c33;
}

.dokan-knack-annotations-hint {
	margin: 0 0 8px;
	font-size: 0.9em;
	color: #666;
}

/* Annotation highlight - shaded text after annotation */
.dokan-annotation-highlight {
	background: rgba(2, 114, 173, 0.2);
	padding: 0 2px;
	border-radius: 2px;
}

/* Annotations - select text to annotate (blog) */
.dokan-knack-annotations-section {
	margin: 24px 0;
	padding: 20px 0;
	border-top: 1px solid #e5e5e5;
}
.dokan-knack-annotations-title {
	margin: 0 0 8px;
	font-size: 1.1em;
	font-weight: 600;
}
.dokan-knack-annotations-hint {
	margin: 0 0 16px;
	font-size: 0.9em;
	color: #666;
}
.dokan-knack-annotations-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.dokan-knack-annotation-item {
	margin-bottom: 16px;
	padding: 12px 16px;
	background: #f9f9f9;
	border-radius: 8px;
	border-left: 4px solid var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-annotation-quote {
	margin: 0 0 8px;
	padding: 0 0 8px;
	border: none;
	font-size: 0.9em;
	color: #666;
	font-style: italic;
}
.dokan-knack-annotation-content {
	font-size: 0.95em;
	line-height: 1.5;
	margin-bottom: 8px;
}
.dokan-knack-annotation-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85em;
	color: #888;
}
.dokan-knack-annotation-meta img {
	border-radius: 50%;
}
.dokan-knack-no-annotations {
	margin: 0;
	color: #888;
	font-size: 0.95em;
}

/* Annotation popover (on text selection) */
.dokan-knack-annotation-popover {
	position: fixed;
	z-index: 999999;
	padding: 6px 10px;
	background: #333;
	color: #fff;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0,0,0,.2);
	white-space: nowrap;
}
.dokan-knack-annotation-btn {
	padding: 6px 12px;
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
}
.dokan-knack-annotation-btn:hover {
	opacity: 0.9;
}
.dokan-knack-annotation-form-wrap {
	position: fixed;
	z-index: 999999;
	min-width: 280px;
	max-width: 400px;
	padding: 16px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.dokan-knack-annotation-form-inner textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	resize: vertical;
	min-height: 60px;
	margin-bottom: 12px;
}
.dokan-knack-annotation-form-actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}
.dokan-knack-annotation-form-actions button {
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 13px;
}
.dokan-knack-annotation-submit {
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
	border: none;
}
.dokan-knack-annotation-cancel {
	background: #eee;
	color: #333;
	border: 1px solid #ccc;
}
.dokan-knack-member-content-lock-icon {
	display: inline-flex;
	vertical-align: middle;
	margin-right: 4px;
}

/* Member Content - vendor dashboard */
.dokan-knack-member-content-list {
	margin-bottom: 24px;
}
.dokan-knack-member-content-list .dokan-knack-form-card {
	margin-bottom: 16px;
}

/* Member Content Form - modern minimal layout */
.dokan-knack-member-content-form--modern {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	max-width: 100%;
	overflow: visible;
}
@media (min-width: 1280px) {
	.dokan-knack-member-content-form--modern {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
		gap: 28px;
	}
}
.dokan-member-content-dashboard {
	overflow-x: visible;
}
.dokan-knack-mc-form__main {
	min-width: 0;
}
.dokan-knack-mc-form__section {
	margin-bottom: 28px;
}
.dokan-knack-mc-form__label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.875rem;
	font-weight: 500;
	color: #374151;
}
.dokan-knack-mc-form__label--block {
	margin-bottom: 12px;
}
.dokan-knack-mc-form__required {
	color: #dc2626;
}
.dokan-knack-mc-form__input {
	display: block;
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: #111827;
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.dokan-knack-mc-form__input::placeholder {
	color: #9ca3af;
}
.dokan-knack-mc-form__input:focus {
	border-color: var(--dokan-knack-primary, #0272ad);
	outline: none;
	box-shadow: 0 0 0 3px rgba(2, 114, 173, 0.12);
}
.dokan-knack-mc-form__input--title {
	padding: 12px 16px;
	font-size: 1.125rem;
	font-weight: 500;
}
.dokan-knack-mc-form__input--file {
	padding: 8px 0;
	border: none;
	background: transparent;
	font-size: 0.875rem;
}
.dokan-knack-mc-form__input--date,
.dokan-knack-mc-form__input--time {
	width: auto;
	min-width: 0;
}
.dokan-knack-mc-form__textarea {
	resize: vertical;
	min-height: 100px;
}
.dokan-knack-mc-form__select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px;
	max-width: 280px;
}
.dokan-knack-mc-form__help {
	margin: 6px 0 0;
	font-size: 0.8125rem;
	color: #6b7280;
	line-height: 1.4;
}
.dokan-knack-mc-form__editor-wrap {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}
.dokan-knack-mc-form__editor-wrap .wp-editor-container {
	border: none;
}
.dokan-knack-mc-form__editor-wrap .mce-toolbar-grp {
	border-bottom: 1px solid #e5e7eb;
	background: #f9fafb;
}
.dokan-knack-mc-form__editor-wrap .wp-editor-area {
	border: none !important;
	padding: 14px 16px !important;
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* Content type tabs */
.dokan-knack-mc-form__type-tabs {
	margin-bottom: 24px;
}
.dokan-knack-mc-form__type-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.dokan-knack-mc-form__type-option {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.15s;
}
.dokan-knack-mc-form__type-option:hover {
	border-color: #d1d5db;
	background: #f9fafb;
}
.dokan-knack-mc-form__type-option.is-active {
	border-color: var(--dokan-knack-primary, #0272ad);
	background: rgba(2, 114, 173, 0.06);
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-mc-form__type-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

/* Publish sidebar card */
.dokan-knack-mc-form__sidebar {
	order: -1;
}
@media (min-width: 900px) {
	.dokan-knack-mc-form__sidebar {
		order: 0;
		align-self: start;
		position: sticky;
		top: 24px;
		min-width: 0; /* allow shrink within grid */
		width: 100%;
		max-width: 320px;
	}
}
.dokan-knack-mc-form__card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.dokan-knack-mc-form__publish-card {
	padding: 20px;
}
.dokan-knack-mc-form__publish-segment {
	display: flex;
	background: #f3f4f6;
	border-radius: 8px;
	padding: 4px;
	margin-bottom: 16px;
}
.dokan-knack-mc-form__segment-option {
	flex: 1;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #6b7280;
	cursor: pointer;
	transition: all 0.15s;
}
.dokan-knack-mc-form__segment-option:hover {
	color: #374151;
}
.dokan-knack-mc-form__segment-option.is-active {
	background: #fff;
	color: #111827;
	box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.dokan-knack-mc-form__segment-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.dokan-knack-mc-form__schedule-wrap {
	margin-bottom: 20px;
	padding-top: 4px;
}
.dokan-knack-mc-form__schedule-row {
	display: flex;
	gap: 10px;
	margin-bottom: 8px;
}
.dokan-knack-mc-form__schedule-row .dokan-knack-mc-form__input--date {
	flex: 1;
	min-width: 0;
}
.dokan-knack-mc-form__schedule-row .dokan-knack-mc-form__input--time {
	flex: 0 0 100px;
}
.dokan-knack-mc-form__publish-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.dokan-knack-mc-form__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 8px;
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.15s;
	border: none;
	line-height: 1.4;
}
.dokan-knack-mc-form__btn--primary {
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
}
.dokan-knack-mc-form__btn--primary:hover {
	opacity: 0.92;
}
.dokan-knack-mc-form__btn--secondary {
	background: #fff;
	color: #374151;
	border: 1px solid #e5e7eb;
}
.dokan-knack-mc-form__btn--secondary:hover {
	background: #f9fafb;
	border-color: #d1d5db;
}
.dokan-knack-mc-form__btn--ghost {
	background: transparent;
	color: #6b7280;
}
.dokan-knack-mc-form__btn--ghost:hover {
	color: #dc2626;
}
.dokan-knack-mc-form__checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-size: 0.9375rem;
	color: #374151;
	line-height: 1.5;
	margin-bottom: 14px;
}
.dokan-knack-mc-form__checkbox {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex-shrink: 0;
	accent-color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-content-gating .dokan-knack-min-plan-wrap {
	margin-top: 14px;
}
.dokan-knack-content-gating .dokan-knack-mc-form__label {
	margin-bottom: 6px;
}

/* Featured image - modern */
.dokan-knack-member-content-form--modern .dokan-knack-featured-image-box {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.dokan-knack-member-content-form--modern .dokan-knack-featured-image-preview img {
	border-radius: 8px;
	border: 1px solid #e5e7eb;
}

/* Intro text - modern */
.dokan-knack-member-content-intro--modern {
	font-size: 0.9375rem;
	color: #6b7280;
	line-height: 1.6;
	margin-bottom: 24px;
	max-width: 640px;
}

/* Form wrap - modern form uses full width, generous padding */
.dokan-knack-member-content-form-wrap--modern {
	padding: 32px;
}
@media (min-width: 900px) {
	.dokan-knack-member-content-form-wrap--modern {
		padding: 40px;
	}
}

.dokan-knack-member-content-form-wrap .dokan-form-group {
	margin-bottom: 18px;
}
.dokan-knack-member-content-form-wrap .dokan-knack-input,
.dokan-knack-member-content-form-wrap .dokan-knack-textarea {
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	max-width: 100%;
}
.dokan-knack-member-content-form-wrap .dokan-knack-input:focus,
.dokan-knack-member-content-form-wrap .dokan-knack-textarea:focus {
	border-color: var(--dokan-knack-primary, #0272ad);
	outline: none;
}
.dokan-knack-member-content-type-field {
	display: none;
}
.dokan-knack-member-content-type-field.active {
	display: block;
}
.dokan-knack-featured-image-wrap .dokan-knack-featured-image-box {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	flex-wrap: wrap;
}
.dokan-knack-featured-image-preview {
	margin-bottom: 8px;
	cursor: pointer;
	display: inline-block;
}
.dokan-knack-featured-image-preview:hover img {
	opacity: 0.9;
}
.dokan-knack-featured-image-preview img {
	display: block;
	max-width: 150px;
	height: auto;
	border-radius: 6px;
	border: 1px solid #e5e5e5;
}
.dokan-knack-featured-image-set,
.dokan-knack-featured-image-remove {
	margin-right: 8px;
}
.dokan-knack-member-content-list-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	padding: 16px 20px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	margin-bottom: 12px;
	background: #fff;
}
.dokan-knack-member-content-list-info h4 {
	margin: 0 0 6px;
	font-size: 1.05em;
}
.dokan-knack-member-content-type-badge,
.dokan-knack-member-content-gated-badge,
.dokan-knack-member-content-status {
	display: inline-block;
	margin-right: 10px;
	font-size: 0.85em;
	color: #666;
}
.dokan-knack-member-content-gated-badge {
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-member-content-list-actions {
	display: flex;
	gap: 8px;
}

/* Member Content - Posts table (WordPress-style) */
.dokan-knack-posts-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
}
.dokan-knack-posts-title {
	margin: 0;
	font-size: 1.25em;
	font-weight: 600;
}
.dokan-knack-posts-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
}
.dokan-knack-posts-table th {
	text-align: left;
	padding: 12px 16px;
	background: #f9f9f9;
	font-weight: 600;
	font-size: 0.9em;
	border-bottom: 1px solid #e5e5e5;
}
.dokan-knack-posts-table td {
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
}
.dokan-knack-posts-table tbody tr:last-child td {
	border-bottom: none;
}
.dokan-knack-posts-table tbody tr:hover {
	background: #fafafa;
}
.dokan-knack-posts-table .col-thumb {
	width: 80px;
	vertical-align: middle;
}
.dokan-knack-posts-table .col-thumb img {
	display: block;
	max-width: 60px;
	height: auto;
	border-radius: 4px;
}
.dokan-knack-post-thumb-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	background: #f0f0f0;
	border-radius: 6px;
	color: #999;
	font-size: 20px;
}
.dokan-knack-posts-table .col-title {
	min-width: 160px;
}
.dokan-knack-posts-table .col-type {
	width: 90px;
}
.dokan-knack-posts-table .col-comments {
	width: 90px;
}
.dokan-knack-comments-link {
	color: inherit;
	text-decoration: none;
}
.dokan-knack-comments-link:hover {
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-comments-empty {
	color: #999;
}
.dokan-knack-posts-interest-count {
	margin-top: 5px;
	font-size: 12px;
	color: #64748b;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.dokan-knack-posts-table .col-status {
	width: 90px;
}
.dokan-knack-posts-table .col-access {
	width: 100px;
}
.dokan-knack-posts-table .col-date {
	width: 100px;
	font-size: 0.9em;
	color: #666;
}
.dokan-knack-posts-table .col-actions {
	width: 180px;
}
.dokan-knack-posts-table .col-actions .dokan-btn {
	margin-right: 4px;
	margin-bottom: 4px;
}
.dokan-knack-type-badge {
	display: inline-block;
	padding: 3px 8px;
	font-size: 0.75em;
	font-weight: 600;
	border-radius: 4px;
	text-transform: uppercase;
}
.dokan-knack-type-badge.dokan-knack-type-blog {
	background: #5db8b8;
	color: #fff;
}
.dokan-knack-type-badge.dokan-knack-type-video {
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
}
.dokan-knack-type-badge.dokan-knack-type-audio {
	background: #e45b8a;
	color: #fff;
}
.dokan-knack-type-badge.dokan-knack-type-image {
	background: #7eb8e8;
	color: #fff;
}
.dokan-knack-type-badge.dokan-knack-type-poll {
	background: #f59e0b;
	color: #fff;
}
.dokan-knack-type-badge.dokan-knack-type-qa {
	background: #8b5cf6;
	color: #fff;
}
.dokan-knack-access-badge {
	font-size: 0.85em;
}
.dokan-knack-access-badge.dokan-knack-access-gated {
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-access-badge.dokan-knack-access-free {
	color: #38a169;
}
.dokan-knack-no-content a {
	text-decoration: underline;
}

/* Success/notice messages - modern */
.dokan-knack-message {
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 0.9375rem;
	margin-bottom: 20px;
	border: 1px solid transparent;
}
.dokan-knack-message--success {
	background: rgba(34, 197, 94, 0.1);
	color: #16a34a;
	border-color: rgba(34, 197, 94, 0.2);
}

/* Member Content - Posts list modern styling */
.dokan-knack-posts-wrap--modern {
	max-width: 100%;
}
.dokan-knack-posts-header--modern {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 24px;
}
.dokan-knack-posts-header--modern .dokan-knack-posts-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: #111827;
}
.dokan-knack-posts-empty--modern {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 48px 32px;
	text-align: center;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.dokan-knack-posts-empty__text {
	margin: 0 0 20px;
	font-size: 1rem;
	color: #6b7280;
	line-height: 1.5;
}
.dokan-knack-posts-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.dokan-knack-posts-table--modern {
	width: 100%;
	border-collapse: collapse;
}
.dokan-knack-posts-table--modern th {
	text-align: left;
	padding: 14px 20px;
	background: #f9fafb;
	font-weight: 500;
	font-size: 0.8125rem;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	border-bottom: 1px solid #e5e7eb;
}
.dokan-knack-posts-table--modern td {
	padding: 16px 20px;
	border-bottom: 1px solid #f3f4f6;
	vertical-align: middle;
	font-size: 0.9375rem;
}
.dokan-knack-posts-table--modern tbody tr:last-child td {
	border-bottom: none;
}
.dokan-knack-posts-table--modern tbody tr:hover {
	background: #fafafa;
}
.dokan-knack-posts-table--modern .col-thumb img {
	border-radius: 8px;
	border: 1px solid #e5e7eb;
}
.dokan-knack-posts-table--modern .col-title a {
	color: #111827;
	text-decoration: none;
	font-weight: 500;
}
.dokan-knack-posts-table--modern .col-title a:hover {
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-posts-table--modern .col-status {
	font-size: 0.8125rem;
}
.dokan-knack-status-pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 0.75rem;
	font-weight: 500;
}
.dokan-knack-status-pill.dokan-knack-status-publish {
	background: rgba(34, 197, 94, 0.12);
	color: #16a34a;
}
.dokan-knack-status-pill.dokan-knack-status-draft {
	background: #f3f4f6;
	color: #6b7280;
}
.dokan-knack-status-pill.dokan-knack-status-future {
	background: rgba(2, 114, 173, 0.1);
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-posts-table--modern .col-date {
	color: #6b7280;
	font-size: 0.875rem;
}
.dokan-knack-posts-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.dokan-knack-posts-action-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 0.8125rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.15s;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #374151;
}
.dokan-knack-posts-action-btn:hover {
	background: #f9fafb;
	border-color: #d1d5db;
	color: #111827;
}
.dokan-knack-posts-action-btn--primary {
	background: var(--dokan-knack-primary, #0272ad);
	border-color: var(--dokan-knack-primary, #0272ad);
	color: #fff;
}
.dokan-knack-posts-action-btn--primary:hover {
	opacity: 0.92;
	color: #fff;
}
.dokan-knack-posts-action-btn--danger:hover {
	border-color: #fca5a5;
	background: #fef2f2;
	color: #dc2626;
}
.dokan-knack-post-thumb-placeholder {
	border-radius: 8px;
	background: #f3f4f6;
	color: #9ca3af;
}

/* Creator Homepage Builder */
.dokan-knack-homepage-builder-intro {
	color: #6b7280;
	margin-bottom: 24px;
	font-size: 0.95rem;
}
.dokan-knack-homepage-mode-options {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.dokan-knack-mode-option {
	display: flex;
	flex-direction: column;
	padding: 16px 20px;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
	min-width: 160px;
}
.dokan-knack-mode-option:hover {
	border-color: #d1d5db;
	background: #f9fafb;
}
.dokan-knack-mode-option.is-active {
	border-color: var(--dokan-knack-primary, #0272ad);
	background: rgba(2, 114, 173, 0.05);
}
.dokan-knack-mode-label {
	font-weight: 600;
	margin-bottom: 4px;
}
.dokan-knack-mode-desc {
	font-size: 0.85rem;
	color: #6b7280;
}
.dokan-knack-sections-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 20px;
}
.dokan-knack-homepage-section-row {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
}
.dokan-knack-section-drag-handle {
	cursor: grab;
	color: #9ca3af;
	padding: 4px;
	user-select: none;
}
.dokan-knack-section-drag-handle:active {
	cursor: grabbing;
}
.dokan-knack-section-content {
	flex: 1;
	min-width: 0;
}
.dokan-knack-section-header {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 12px;
}
.dokan-knack-section-title {
	flex: 1;
	padding: 8px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-weight: 500;
}
.dokan-knack-section-remove {
	padding: 6px 10px;
	border: none;
	background: transparent;
	color: #9ca3af;
	cursor: pointer;
	border-radius: 6px;
}
.dokan-knack-section-remove:hover {
	color: #ef4444;
	background: #fef2f2;
}
.dokan-knack-section-fields {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.dokan-knack-section-field label {
	display: block;
	font-weight: 500;
	margin-bottom: 6px;
	font-size: 0.9rem;
}
.dokan-knack-inline-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.dokan-knack-inline-fields > div label {
	display: block;
}
.dokan-knack-inline-fields input,
.dokan-knack-inline-fields select {
	width: 100%;
}
.dokan-knack-content-types-checkboxes {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
}
.dokan-knack-content-types-checkboxes label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-weight: 400;
	cursor: pointer;
}
.dokan-knack-social-links-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 12px;
}
.dokan-knack-social-link-row {
	display: flex;
	gap: 8px;
	align-items: center;
}
.dokan-knack-social-link-row select {
	width: 140px;
	flex-shrink: 0;
}
.dokan-knack-social-link-row input {
	flex: 1;
	min-width: 0;
}
.dokan-knack-add-social-link {
	padding: 8px 14px;
	border: 1px dashed #d1d5db;
	border-radius: 8px;
	background: transparent;
	color: #6b7280;
	cursor: pointer;
	font-size: 0.9rem;
}
.dokan-knack-add-social-link:hover {
	border-color: var(--dokan-knack-primary, #0272ad);
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-add-section-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
}
.dokan-knack-add-section-dropdown {
	display: flex;
	gap: 8px;
}
.dokan-knack-add-section-type {
	padding: 8px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	font-size: 0.9rem;
}
.dokan-knack-add-section-type:hover {
	background: #f9fafb;
	border-color: #d1d5db;
}
.dokan-knack-section-placeholder {
	height: 60px;
	background: #f3f4f6;
	border: 2px dashed #d1d5db;
	border-radius: 12px;
	margin-bottom: 16px;
}
.dokan-knack-homepage-builder-actions {
	margin-top: 24px;
}

/* Homepage builder redesign overrides */
.dokan-dashboard-content.dokan-knack-homepage-builder {
	max-width: 1100px;
	padding-bottom: 30px;
}
.dokan-knack-homepage-builder .dokan-dashboard-header {
	margin-bottom: 12px;
}
.dokan-knack-homepage-builder .entry-title {
	font-size: 1.4rem;
	font-weight: 700;
	color: #0f172a;
}
.dokan-knack-homepage-builder .dokan-knack-homepage-builder-intro {
	margin: 0 0 18px;
	color: #64748b;
	font-size: 0.95rem;
}
.dokan-knack-homepage-builder .dokan-knack-form-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}
.dokan-knack-homepage-builder .dokan-knack-settings-card__title {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
}
.dokan-knack-homepage-builder .dokan-knack-settings-card__desc {
	color: #64748b !important;
}
.dokan-knack-homepage-builder .dokan-knack-homepage-mode-options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.dokan-knack-homepage-builder .dokan-knack-mode-option {
	position: relative;
	gap: 4px;
	padding: 14px;
	min-width: 0;
	border: 1px solid #dbe5ef;
	border-radius: 12px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.dokan-knack-homepage-builder .dokan-knack-mode-option.is-active {
	border-color: var(--dokan-knack-primary, #0272ad);
	box-shadow: inset 0 0 0 1px rgba(2, 114, 173, 0.2);
	background: rgba(2, 114, 173, 0.06);
}
.dokan-knack-homepage-builder .dokan-knack-mode-option input[type="radio"] {
	position: absolute;
	right: 10px;
	top: 10px;
}
.dokan-knack-homepage-builder .dokan-knack-sections-list {
	gap: 12px;
}
.dokan-knack-homepage-builder .dokan-knack-homepage-section-row {
	padding: 14px;
	border: 1px solid #dbe5ef;
	border-radius: 12px;
	background: #f8fafc;
	box-shadow: none;
}
.dokan-knack-homepage-builder .dokan-knack-section-drag-handle {
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #eef2f7;
	color: #64748b;
}
.dokan-knack-homepage-builder .dokan-knack-section-header {
	gap: 10px;
	margin-bottom: 10px;
}
.dokan-knack-homepage-builder .dokan-knack-section-title,
.dokan-knack-homepage-builder .dokan-knack-section-limit,
.dokan-knack-homepage-builder .dokan-knack-section-drops-limit,
.dokan-knack-homepage-builder .dokan-knack-section-drops-source,
.dokan-knack-homepage-builder .dokan-knack-social-platform,
.dokan-knack-homepage-builder .dokan-knack-social-url,
.dokan-knack-homepage-builder .dokan-knack-section-field input[type="url"],
.dokan-knack-homepage-builder .dokan-knack-section-field input[type="text"],
.dokan-knack-homepage-builder .dokan-knack-section-field textarea,
.dokan-knack-homepage-builder .dokan-knack-section-field select {
	width: 100%;
	border: 1px solid #cfd8e3;
	border-radius: 10px;
	background: #fff;
	color: #0f172a;
	font-size: 13px;
	line-height: 1.3;
	padding: 9px 11px;
	box-shadow: none;
}
.dokan-knack-homepage-builder .dokan-knack-section-field textarea {
	min-height: 110px;
	line-height: 1.45;
	resize: vertical;
}
.dokan-knack-homepage-builder .dokan-knack-section-field textarea[rows="3"] {
	min-height: 128px;
}
.dokan-knack-homepage-builder .dokan-knack-section-field textarea[rows="4"] {
	min-height: 152px;
}
.dokan-knack-homepage-builder .dokan-knack-section-field label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.dokan-knack-homepage-builder .dokan-knack-section-field input[type="checkbox"],
.dokan-knack-homepage-builder .dokan-knack-content-types-checkboxes input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	min-width: 15px;
	min-height: 15px;
	width: 15px;
	height: 15px;
	border: 1px solid #0f172a;
	border-radius: 4px;
	background: #fff;
	position: relative;
	cursor: pointer;
	vertical-align: middle;
}
.dokan-knack-homepage-builder .dokan-knack-section-field input[type="checkbox"]:checked,
.dokan-knack-homepage-builder .dokan-knack-content-types-checkboxes input[type="checkbox"]:checked {
	background: #0f172a;
	border-color: #0f172a;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.3 11.2 3.5 8.4l-1.1 1.1 3.9 3.9L13.7 6 12.6 4.9z'/%3E%3C/svg%3E");
	background-size: 12px 12px;
	background-repeat: no-repeat;
	background-position: center;
}
.dokan-knack-homepage-builder .dokan-knack-section-title:focus,
.dokan-knack-homepage-builder .dokan-knack-section-field input:focus,
.dokan-knack-homepage-builder .dokan-knack-section-field textarea:focus,
.dokan-knack-homepage-builder .dokan-knack-section-field select:focus {
	border-color: var(--dokan-knack-primary, #0272ad);
	box-shadow: 0 0 0 3px rgba(2, 114, 173, 0.16);
	outline: none;
}
/* Normalize native select arrows and size in builder */
.dokan-knack-homepage-builder .dokan-knack-section-field select,
.dokan-knack-homepage-builder .dokan-knack-social-link-row select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%2364748b' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 10px 6px;
	padding-right: 30px;
}
.dokan-knack-homepage-builder .dokan-knack-social-link-row {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr) auto;
	gap: 8px;
}
.dokan-knack-homepage-builder .dokan-knack-section-remove,
.dokan-knack-homepage-builder .dokan-knack-social-remove {
	border: 1px solid #fecaca;
	background: #fff1f2;
	color: #e11d48;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.dokan-knack-homepage-builder .dokan-knack-section-remove:hover,
.dokan-knack-homepage-builder .dokan-knack-social-remove:hover {
	background: #ffe4e6;
	color: #be123c;
}
.dokan-knack-homepage-builder .dokan-knack-add-section-row {
	position: static;
	gap: 10px;
}
.dokan-knack-homepage-builder .dokan-knack-add-section-dropdown {
	position: static;
	width: 100%;
	padding: 0;
	margin-top: 6px;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.dokan-knack-homepage-builder .dokan-knack-add-section-dropdown[style*="display: block"] {
	display: flex !important;
}
.dokan-knack-homepage-builder .dokan-knack-add-section-type {
	display: inline-flex;
	align-items: center;
	width: auto;
	padding: 7px 11px;
	border: 1px solid #d0d7de;
	border-radius: 999px;
	background: #fff;
	color: #0f172a;
	font-weight: 500;
	text-align: left;
}
.dokan-knack-homepage-builder .dokan-knack-add-section-type:hover {
	background: #f8fafc;
	border-color: #0f172a;
	color: #0f172a;
}
/* Force visible button labels in builder */
.dokan-knack-homepage-builder .dokan-knack-settings-btn,
.dokan-knack-homepage-builder .dokan-knack-add-social-link,
.dokan-knack-homepage-builder .dokan-knack-add-section-type {
	color: #0f172a !important;
}
.dokan-knack-homepage-builder .dokan-knack-settings-btn {
	padding: 10px 16px;
	border-radius: 10px;
	font-weight: 600;
}
.dokan-knack-homepage-builder .dokan-knack-settings-btn--primary {
	background: var(--dokan-knack-primary, #0272ad) !important;
	color: #fff !important;
	border: 1px solid transparent;
}
.dokan-knack-homepage-builder .dokan-knack-settings-btn--primary:hover {
	filter: brightness(1.04);
}
.dokan-knack-homepage-builder .dokan-knack-settings-btn--secondary {
	background: #fff !important;
	color: #0f172a !important;
	border: 1px solid #cfd8e3 !important;
}
.dokan-knack-homepage-builder .dokan-knack-settings-btn--secondary:hover {
	background: #f8fafc !important;
	border-color: #94a3b8 !important;
}
.dokan-knack-homepage-builder .dokan-knack-add-social-link {
	padding: 8px 12px;
	border-radius: 9px;
	border: 1px dashed #94a3b8;
	background: #fff;
}
.dokan-knack-homepage-builder .dokan-knack-add-social-link:hover {
	background: #f8fafc;
	color: var(--dokan-knack-primary, #0272ad) !important;
	border-color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-homepage-builder-actions {
	display: flex;
	justify-content: flex-end;
}

/* Creator Homepage (frontend) */
.dokan-knack-homepage .dokan-knack-homepage-section {
	margin: 32px 0;
	padding: 24px 0;
	border-bottom: 1px solid #eee;
}
.dokan-knack-homepage .dokan-knack-section-hero {
	padding: 40px 28px;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
}
.dokan-knack-homepage .dokan-knack-section-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 15, 30, 0.55);
}
.dokan-knack-homepage .dokan-knack-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
}
.dokan-knack-homepage .dokan-knack-section-hero .dokan-knack-section-title {
	color: #fff;
	font-size: clamp(1.6rem, 2.8vw, 2.2rem);
	margin-bottom: 10px;
}
.dokan-knack-homepage .dokan-knack-hero-subtitle {
	color: #dbeafe;
	font-size: 1.05rem;
	line-height: 1.65;
	margin: 0 0 18px;
}
.dokan-knack-homepage .dokan-knack-hero-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 18px;
	border-radius: 999px;
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}
.dokan-knack-homepage .dokan-knack-hero-cta:hover {
	filter: brightness(1.08);
	color: #fff;
}
.dokan-knack-homepage .dokan-knack-section-trailer .dokan-knack-trailer-description {
	color: #64748b;
	margin: -6px 0 12px;
}
.dokan-knack-homepage .dokan-knack-trailer-embed iframe,
.dokan-knack-homepage .dokan-knack-trailer-embed video {
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	border: 0;
}
.dokan-knack-homepage .dokan-knack-social-proof-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.dokan-knack-homepage .dokan-knack-social-proof-card {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 14px;
	background: #f8fafc;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.dokan-knack-homepage .dokan-knack-social-proof-card strong {
	font-size: 1.22rem;
	color: #0f172a;
}
.dokan-knack-homepage .dokan-knack-social-proof-card span {
	color: #64748b;
	font-size: 0.9rem;
}
.dokan-knack-featured-products-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}
.dokan-knack-featured-product-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 10px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	text-decoration: none;
	color: inherit;
}
.dokan-knack-featured-product-card:hover {
	border-color: var(--dokan-knack-primary, #0272ad);
	box-shadow: 0 4px 14px rgba(2, 114, 173, 0.12);
}
.dokan-knack-featured-product-thumb {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	background: #f8fafc;
	overflow: hidden;
}
.dokan-knack-featured-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.dokan-knack-featured-product-title {
	font-weight: 600;
	font-size: 0.94rem;
	line-height: 1.4;
}
.dokan-knack-featured-product-price {
	color: #0f766e;
	font-weight: 600;
	font-size: 0.9rem;
}
.dokan-knack-homepage .dokan-knack-homepage-section:last-child {
	border-bottom: none;
}
.dokan-knack-homepage .dokan-knack-section-title {
	margin: 0 0 16px;
	font-size: 1.25em;
	font-weight: 600;
}
.dokan-knack-homepage .dokan-knack-section-body {
	line-height: 1.7;
}
.dokan-knack-content-strip-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 16px;
}
@media (max-width: 768px) {
	.dokan-knack-homepage-builder .dokan-knack-homepage-mode-options {
		grid-template-columns: 1fr;
	}
	.dokan-knack-homepage-builder .dokan-knack-social-link-row {
		grid-template-columns: 1fr;
	}
	.dokan-knack-homepage-builder-actions {
		justify-content: flex-start;
	}
	.dokan-knack-inline-fields {
		grid-template-columns: 1fr;
	}
	.dokan-knack-content-strip-cards {
		grid-template-columns: repeat(2, 1fr);
	}
	.dokan-knack-homepage .dokan-knack-social-proof-grid {
		grid-template-columns: 1fr;
	}
	.dokan-knack-featured-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 480px) {
	.dokan-knack-content-strip-cards {
		grid-template-columns: 1fr;
	}
	.dokan-knack-featured-products-grid {
		grid-template-columns: 1fr;
	}
}
.dokan-knack-content-strip-view-more {
	margin: 0;
}
.dokan-knack-content-strip-view-more a {
	font-weight: 500;
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-section-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
}
.dokan-knack-section-social-links .dokan-knack-social-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #f9fafb;
	color: #374151;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s;
}
.dokan-knack-section-social-links .dokan-knack-social-link:hover {
	background: #fff;
	border-color: var(--dokan-knack-primary, #0272ad);
	color: var(--dokan-knack-primary, #0272ad);
}

/* Analytics page - match memberships layout structure */
.dokan-dashboard .dokan-dashboard-wrap .dokan-knack-analytics-content {
	flex: 1;
	width: 100%;
	min-width: 0;
}
.dokan-knack-analytics-content .dokan-dashboard-header {
	margin-bottom: 24px;
}
.dokan-knack-analytics-content .dokan-dashboard-header .entry-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #111827;
	margin: 0 0 8px;
}
.dokan-knack-analytics {
	padding: 0;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow-x: hidden;
}
.dokan-knack-analytics-content .dokan-knack-analytics {
	padding-bottom: 32px;
}
.dokan-knack-analytics-header {
	margin-bottom: 28px;
}
.dokan-knack-analytics-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: #111827;
	margin: 0 0 6px;
}
.dokan-knack-analytics-desc {
	font-size: 0.9375rem;
	color: #6b7280;
	margin: 0;
	line-height: 1.5;
}
.dokan-knack-analytics-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
	margin-bottom: 28px;
	min-width: 0;
}
.dokan-knack-analytics-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 20px;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.dokan-knack-analytics-card-icon {
	font-size: 1.5rem;
	color: var(--dokan-knack-primary, #0272ad);
	opacity: 0.9;
	flex-shrink: 0;
}
.dokan-knack-analytics-card-content {
	flex: 1;
	min-width: 0;
}
.dokan-knack-analytics-card-value {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: #111827;
	line-height: 1.2;
}
.dokan-knack-analytics-card-label {
	display: block;
	font-size: 0.875rem;
	color: #6b7280;
	margin-top: 2px;
}
.dokan-knack-analytics-card-sub {
	display: block;
	font-size: 0.75rem;
	color: #9ca3af;
	margin-top: 4px;
}
.dokan-knack-analytics-sections {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}
.dokan-knack-analytics-section {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
	overflow-x: auto;
	max-width: 100%;
}
.dokan-knack-analytics-section-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #111827;
	margin: 0 0 20px;
}
.dokan-knack-analytics-chart-bars {
	display: flex;
	align-items: flex-end;
	gap: 2px;
	height: 120px;
	min-height: 80px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}
.dokan-knack-analytics-chart-bar-wrap {
	flex: 1 1 0;
	min-width: 0;
	max-width: 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
}
.dokan-knack-analytics-chart-bar {
	width: 100%;
	max-width: 24px;
	min-height: 2px;
	background: var(--dokan-knack-primary, #0272ad);
	border-radius: 4px 4px 0 0;
	opacity: 0.85;
	transition: opacity 0.2s;
}
.dokan-knack-analytics-chart-bar-wrap:hover .dokan-knack-analytics-chart-bar {
	opacity: 1;
}
.dokan-knack-analytics-chart-label {
	font-size: 0.6rem;
	color: #9ca3af;
	margin-top: 6px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}
.dokan-knack-analytics-table {
	width: 100%;
	min-width: 400px;
	border-collapse: collapse;
	font-size: 0.9rem;
}
.dokan-knack-analytics-table th,
.dokan-knack-analytics-table td {
	padding: 10px 14px;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
}
.dokan-knack-analytics-table th {
	font-weight: 600;
	color: #374151;
	background: #f9fafb;
}
.dokan-knack-analytics-table td {
	color: #4b5563;
}
.dokan-knack-analytics-table tbody tr:hover td {
	background: #f9fafb;
}
.dokan-knack-analytics-table small {
	color: #9ca3af;
	font-size: 0.85em;
}
.dokan-knack-analytics-empty,
.dokan-knack-analytics-more {
	color: #6b7280;
	font-size: 0.9rem;
	margin: 0;
	padding: 12px 0;
}

/* Creator analytics – light theme (structure inspired by analytics dashboards) */
.dokan-knack-analytics-yt {
	--dokan-knack-yt-accent: var(--dokan-knack-primary, #0272ad);
	--dokan-knack-yt-green: #16a34a;
	--dokan-knack-yt-red: #dc2626;
	background: transparent;
	border-radius: 12px;
	padding: 24px 32px 32px;
	margin: 0;
	min-width: 0;
}
.dokan-knack-analytics-yt-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}
.dokan-knack-analytics-yt-title {
	font-size: 1.5rem;
	font-weight: 500;
	color: #111827;
	margin: 0;
}
.dokan-knack-analytics-yt-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
}
.dokan-knack-analytics-yt-daterange {
	display: flex;
	align-items: center;
	gap: 8px;
}
.dokan-knack-analytics-yt-daterange-label {
	font-size: 0.9rem;
	color: #6b7280;
}
.dokan-knack-analytics-yt-range-select {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	color: #374151;
	padding: 8px 12px;
	font-size: 0.9rem;
	cursor: pointer;
}
.dokan-knack-analytics-yt-range-select:hover,
.dokan-knack-analytics-yt-range-select:focus {
	border-color: var(--dokan-knack-yt-accent);
	outline: none;
}
.dokan-knack-analytics-yt-tabs {
	display: flex;
	gap: 0;
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 24px;
}
.dokan-knack-analytics-yt-tab {
	position: relative;
	padding: 12px 20px;
	font-size: 0.95rem;
	color: #6b7280;
	text-decoration: none;
	transition: color 0.2s;
}
.dokan-knack-analytics-yt-tab:hover {
	color: #111827;
}
.dokan-knack-analytics-yt-tab.is-active {
	color: var(--dokan-knack-yt-accent);
	font-weight: 500;
}
.dokan-knack-analytics-yt-tab.is-active::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--dokan-knack-yt-accent);
	border-radius: 2px 2px 0 0;
}
.dokan-knack-analytics-yt-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
	margin-bottom: 28px;
}
.dokan-knack-analytics-yt-card {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.dokan-knack-analytics-yt-card-label {
	font-size: 0.85rem;
	color: #6b7280;
}
.dokan-knack-analytics-yt-card-value {
	font-size: 1.6rem;
	font-weight: 500;
	color: #111827;
	line-height: 1.2;
}
.dokan-knack-analytics-yt-card-trend {
	font-size: 0.85rem;
	font-weight: 500;
}
.dokan-knack-analytics-yt-card-trend.is-up {
	color: var(--dokan-knack-yt-green);
}
.dokan-knack-analytics-yt-card-trend.is-down {
	color: var(--dokan-knack-yt-red);
}
.dokan-knack-analytics-yt-card-sub {
	font-size: 0.8rem;
	color: #9ca3af;
}
.dokan-knack-analytics-yt-chart-section {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.dokan-knack-analytics-yt-chart-title {
	font-size: 1rem;
	font-weight: 500;
	color: #111827;
	margin: 0 0 20px;
}
.dokan-knack-analytics-yt-chart-wrap {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}
.dokan-knack-analytics-yt-chart-area {
	height: 200px;
	min-height: 120px;
	width: 100%;
	position: relative;
	overflow: hidden;
}
.dokan-knack-analytics-yt-chart-svg {
	width: 100%;
	height: 100%;
	display: block;
}
.dokan-knack-analytics-yt-chart-line {
	stroke-linecap: round;
	stroke-linejoin: round;
}
.dokan-knack-analytics-yt-chart-labels {
	display: flex;
	justify-content: space-between;
	font-size: 0.75rem;
	color: #9ca3af;
}
.dokan-knack-analytics-yt-chart-label {
	flex: 1;
	text-align: center;
	min-width: 0;
}
.dokan-knack-analytics-yt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	min-width: 0;
}
.dokan-knack-analytics-yt-panel {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.dokan-knack-analytics-yt-panel-title {
	font-size: 1rem;
	font-weight: 500;
	color: #111827;
	margin: 0 0 4px;
}
.dokan-knack-analytics-yt-panel-sub {
	font-size: 0.85rem;
	color: #6b7280;
	display: block;
	margin-bottom: 16px;
}
.dokan-knack-analytics-yt-plan-list,
.dokan-knack-analytics-yt-sub-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.dokan-knack-analytics-yt-plan-item,
.dokan-knack-analytics-yt-sub-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #e5e7eb;
	font-size: 0.9rem;
}
.dokan-knack-analytics-yt-plan-item:last-child,
.dokan-knack-analytics-yt-sub-item:last-child {
	border-bottom: none;
}
.dokan-knack-analytics-yt-plan-name,
.dokan-knack-analytics-yt-sub-name {
	color: #111827;
}
.dokan-knack-analytics-yt-plan-meta,
.dokan-knack-analytics-yt-sub-date {
	color: #6b7280;
	font-size: 0.85rem;
}
.dokan-knack-analytics-yt-see-more {
	color: var(--dokan-knack-yt-accent);
	font-size: 0.9rem;
	text-decoration: none;
	margin-top: 12px;
	display: inline-block;
}
.dokan-knack-analytics-yt-see-more:hover {
	text-decoration: underline;
}
.dokan-knack-analytics-yt-empty {
	color: #6b7280;
	font-size: 0.9rem;
	margin: 0;
	padding: 8px 0;
}
.dokan-knack-analytics-yt-tab-content {
	min-width: 0;
}
.dokan-knack-analytics-yt-section {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.dokan-knack-analytics-yt-section-title {
	font-size: 1.1rem;
	font-weight: 500;
	color: #111827;
	margin: 0 0 16px;
}
.dokan-knack-analytics-yt-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}
.dokan-knack-analytics-yt-table th,
.dokan-knack-analytics-yt-table td {
	padding: 10px 14px;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
	color: #374151;
}
.dokan-knack-analytics-yt-table th {
	font-weight: 500;
	color: #6b7280;
}
.dokan-knack-analytics-yt-table tbody tr:hover td {
	background: #f9fafb;
}
.dokan-knack-analytics-yt-table small {
	color: #9ca3af;
	font-size: 0.85em;
}
.dokan-knack-analytics-yt-more {
	color: #6b7280;
	font-size: 0.85rem;
	margin: 12px 0 0;
}

/* Product edit: quick save button at the top of the form. */
.dokan-knack-top-save-wrap {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 14px;
}
.dokan-knack-top-save-btn {
	min-width: 140px;
}

/* Member content monetization controls */
.dokan-knack-mc-form__monetization {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px dashed #d9e2ec;
}
.dokan-knack-mc-form__inline-input {
	margin: 8px 0 10px;
}
.dokan-knack-mc-form__streaming-links {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 16px;
	align-items: center;
	margin: 12px 0 20px;
	max-width: 480px;
}
.dokan-knack-mc-form__streaming-label {
	font-size: 0.875rem;
	font-weight: 500;
	color: #374151;
}
.dokan-knack-mc-form__meta-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.dokan-knack-mc-form__meta-card .dokan-knack-mc-form__meta-row {
	grid-template-columns: 1fr;
	margin-bottom: 16px;
}
.dokan-knack-mc-form__meta-card .dokan-knack-mc-form__meta-row:last-child {
	margin-bottom: 0;
}
/* Tag pills - YouTube-style: pills + input inline in one box */
.dokan-knack-tag-input-wrap .dokan-knack-mc-form__label {
	display: block;
	margin-bottom: 8px;
}
.dokan-knack-tag-input--youtube .dokan-knack-tag-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	min-height: 38px;
	padding: 6px 10px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
}
.dokan-knack-tag-input--youtube .dokan-knack-tag-pills:focus-within {
	border-color: var(--dokan-knack-primary, #6B46C1);
	box-shadow: 0 0 0 2px rgba(107,70,193,.15);
}
.dokan-knack-tag-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	min-height: 20px;
	padding: 8px 10px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
}
.dokan-knack-tag-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	background: #f3f4f6;
	border-radius: 6px;
	font-size: 0.875rem;
	color: #374151;
}
.dokan-knack-tag-pill-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	padding: 0;
	border: none;
	background: transparent;
	color: #6b7280;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	border-radius: 4px;
}
.dokan-knack-tag-pill-remove:hover {
	background: #e5e7eb;
	color: #111827;
}
.dokan-knack-tag-input--youtube .dokan-knack-tag-input {
	flex: 1;
	min-width: 120px;
	border: none;
	padding: 6px 4px;
	background: transparent;
	font-size: 0.9375rem;
}
.dokan-knack-tag-input--youtube .dokan-knack-tag-input:focus {
	outline: none;
	box-shadow: none;
}
.dokan-knack-tag-input {
	width: 100%;
}
.dokan-knack-content-collab-call .dokan-knack-collab-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin: 0 0 10px;
	padding: 8px 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
}
.dokan-knack-content-interest-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0 0 12px;
}
.dokan-knack-content-interest-count {
	font-size: 0.85em;
	color: #475569;
	font-weight: 600;
}
.dokan-knack-content-interest-btn,
.dokan-knack-content-apply-link,
.dokan-knack-content-interest-login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 11px;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #111827;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
.dokan-knack-content-interest-btn.is-active {
	background: #0f172a;
	color: #fff;
	border-color: #0f172a;
}
.dokan-knack-content-apply-link {
	background: #1d4ed8;
	border-color: #1d4ed8;
	color: #fff;
}
.dokan-knack-content-interest-btn.loading {
	opacity: 0.7;
	pointer-events: none;
}
.dokan-knack-content-response-form {
	margin: 0 0 12px;
	padding: 10px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
}
.dokan-knack-content-response-title {
	margin: 0 0 8px;
	font-weight: 600;
	color: #1f2937;
}
.dokan-knack-content-response-form label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	margin: 0 0 4px;
	color: #334155;
}
.dokan-knack-content-response-input {
	width: 100%;
	margin: 0 0 8px;
	padding: 8px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
}
.dokan-knack-content-response-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 8px;
	border: 1px solid #1d4ed8;
	background: #1d4ed8;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}
.dokan-knack-content-response-feedback {
	margin: 8px 0 0;
	font-size: 12px;
}
.dokan-knack-content-response-feedback.is-success {
	color: #166534;
}
.dokan-knack-content-response-feedback.is-error {
	color: #b91c1c;
}
.dokan-knack-response-table-wrap {
	overflow-x: auto;
}
.dokan-knack-response-table {
	width: 100%;
	border-collapse: collapse;
}
.dokan-knack-response-table th,
.dokan-knack-response-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #e5e7eb;
	text-align: left;
	vertical-align: top;
}
.dokan-knack-response-table td p {
	margin: 0 0 6px;
}
.dokan-knack-member-content-streaming {
	margin: 20px 0;
	padding: 16px;
	border-radius: 12px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
}
.dokan-knack-preview-banner {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	margin-bottom: 20px;
	border-radius: 10px;
	background: #fef3c7;
	border: 1px solid #f59e0b;
	color: #92400e;
	font-size: 0.9rem;
}
.dokan-knack-preview-banner i { opacity: 0.9; }
.dokan-knack-member-content-streaming .dokan-knack-streaming-title {
	margin: 0 0 10px;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6b7280;
}
.dokan-knack-streaming-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.dokan-knack-streaming-link {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 500;
	background: #fff;
	border: 1px solid #e5e7eb;
	color: #374151;
	text-decoration: none;
	transition: all 0.15s ease;
}
.dokan-knack-streaming-link:hover {
	border-color: var(--dokan-knack-primary, #6B46C1);
	background: rgba(107,70,193,.06);
	color: var(--dokan-knack-primary, #6B46C1);
}
.dokan-knack-resource-download-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 8px;
	background: #065f46;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}
.dokan-knack-resource-download-btn:hover {
	filter: brightness(1.05);
	color: #fff;
}
.dokan-knack-challenge-deadline {
	display: inline-block;
	margin: 0 0 10px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #ede9fe;
	color: #5b21b6;
	font-size: 0.85em;
}
.dokan-knack-mc-form__input--short {
	max-width: 180px;
}
.dokan-knack-locked-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}
.dokan-knack-unlock-once-form {
	margin: 0;
}
.dokan-knack-unlock-once-btn {
	background: #0f766e;
}
.dokan-knack-tip-box {
	margin-top: 16px;
	padding: 12px 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
}
.dokan-knack-tip-title {
	font-weight: 600;
	margin-bottom: 4px;
}
.dokan-knack-tip-help {
	margin: 0 0 10px;
	color: #475569;
}
.dokan-knack-tip-form {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}
.dokan-knack-tip-amount {
	max-width: 120px;
	padding: 8px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
}
.dokan-knack-tip-submit,
.dokan-knack-tip-login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 8px;
	background: #1d4ed8;
	color: #fff;
	text-decoration: none;
	border: 0;
	cursor: pointer;
}
.dokan-knack-tip-submit[disabled] {
	opacity: .65;
	cursor: not-allowed;
}

@media (max-width: 768px) {
	.dokan-knack-mc-form__meta-row {
		grid-template-columns: 1fr;
	}
}

/* Member content edit: lightweight studio panel (YouTube-style inspiration). */
.dokan-knack-mc-studio-card {
	margin-top: 14px;
}
.dokan-knack-mc-studio-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}
.dokan-knack-mc-studio-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border-radius: 7px;
	font-size: 12px;
	font-weight: 600;
	color: var(--dokan-knack-primary, #0272ad);
	border: 1px solid rgba(var(--dokan-knack-primary-rgb, 2, 114, 173), 0.28);
	background: rgba(var(--dokan-knack-primary-rgb, 2, 114, 173), 0.08);
	text-decoration: none;
}
.dokan-knack-mc-studio-link.is-current {
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
	border-color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-mc-studio-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 12px;
}
.dokan-knack-mc-studio-stat {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 8px;
	text-align: center;
	background: #fff;
}
.dokan-knack-mc-studio-stat strong {
	display: block;
	font-size: 14px;
	line-height: 1.2;
	color: #111827;
}
.dokan-knack-mc-studio-stat span {
	display: block;
	font-size: 11px;
	color: #6b7280;
}

/* Content Studio top tabs (Details / Analytics / Comments) */
.dokan-knack-content-studio-tabs-wrap {
	margin: 6px 0 14px;
}
.dokan-knack-content-studio-tabs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	width: 100%;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}
.dokan-knack-content-studio-tab {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	color: #64748b;
	background: #fff;
	border-right: 1px solid #e2e8f0;
	transition: background 0.15s, color 0.15s;
}
.dokan-knack-content-studio-tab:last-child {
	border-right: 0;
}
.dokan-knack-content-studio-tab:hover {
	background: #f8fafc;
	color: #334155;
}
.dokan-knack-content-studio-tab.is-active {
	color: #fff;
	background: var(--dokan-knack-primary, #0272ad);
	border-right-color: var(--dokan-knack-primary, #0272ad);
}

/* Creator Content - per-post analytics page */
.dokan-knack-content-analytics-wrap {
	padding: 24px;
}
.dokan-knack-content-analytics-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}
.dokan-knack-content-analytics-title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 600;
	color: #111827;
}
.dokan-knack-content-analytics-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.dokan-knack-content-analytics-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 10px;
	margin-bottom: 18px;
}
.dokan-knack-content-analytics-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 10px 12px;
}
.dokan-knack-content-analytics-card span {
	display: block;
	font-size: 12px;
	color: #6b7280;
}
.dokan-knack-content-analytics-card strong {
	display: block;
	font-size: 20px;
	line-height: 1.2;
	margin-top: 4px;
	color: #111827;
}
.dokan-knack-content-analytics-card small {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	color: #64748b;
}
.dokan-knack-content-analytics-section h4 {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 600;
}
.dokan-knack-content-analytics-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
}
.dokan-knack-content-analytics-table th,
.dokan-knack-content-analytics-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #f1f5f9;
	text-align: left;
	font-size: 13px;
}
.dokan-knack-content-analytics-table th {
	background: #f8fafc;
	font-weight: 600;
	color: #334155;
}
.dokan-knack-content-analytics-empty {
	color: #64748b;
	font-size: 13px;
	margin: 0;
}
.dokan-knack-comment-status {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
}
.dokan-knack-comment-status.is-approved {
	background: #dcfce7;
	color: #166534;
}
.dokan-knack-comment-status.is-pending {
	background: #fef3c7;
	color: #92400e;
}
.dokan-knack-comment-status.is-spam {
	background: #fee2e2;
	color: #991b1b;
}
.dokan-knack-comment-status.is-trash {
	background: #e2e8f0;
	color: #334155;
}
.dokan-knack-comment-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.dokan-knack-comment-actions a {
	font-size: 12px;
	text-decoration: none;
	color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-comment-actions a:hover {
	text-decoration: underline;
}
.dokan-knack-comment-filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 10px;
}
.dokan-knack-comment-chip {
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #334155;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 10px;
	border-radius: 999px;
	cursor: pointer;
}
.dokan-knack-comment-chip.is-active {
	background: var(--dokan-knack-primary, #0272ad);
	color: #fff;
	border-color: var(--dokan-knack-primary, #0272ad);
}
.dokan-knack-access-pill.dokan-knack-access-campaign {
	background: #dcfce7;
	color: #166534;
}
.dokan-knack-campaign-live-banner {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #ecfdf5;
	border: 1px solid #bbf7d0;
	color: #166534;
}
.dokan-knack-mc-form__campaign-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 10px;
}
.dokan-knack-mc-form__drip-row {
	margin-top: 10px;
	padding: 12px;
	background: rgba(0,0,0,0.03);
	border-radius: 6px;
}
.dokan-knack-mc-form__drip-options {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 10px;
}
.dokan-knack-mc-form__drip-date-wrap,
.dokan-knack-mc-form__drip-days-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}
.dokan-knack-mc-form__drip-days-wrap input {
	width: 70px;
}
@media (max-width: 860px) {
	.dokan-knack-mc-form__campaign-row {
		grid-template-columns: 1fr;
	}
}

/* Membership retention tools */
.dokan-knack-retention-card {
	margin-bottom: 20px;
}
.dokan-knack-retention-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 12px;
}
.dokan-knack-retention-stat {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 10px 12px;
}
.dokan-knack-retention-stat span {
	display: block;
	font-size: 12px;
	color: #64748b;
}
.dokan-knack-retention-stat strong {
	display: block;
	font-size: 20px;
	color: #0f172a;
	line-height: 1.2;
}
.dokan-knack-retention-stat.is-risk {
	border-color: #fecaca;
	background: #fff7f7;
}
.dokan-knack-retention-table th,
.dokan-knack-retention-table td {
	vertical-align: middle;
}
.dokan-knack-retention-risk {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
}
.dokan-knack-retention-risk.is-overdue {
	background: #fee2e2;
	color: #991b1b;
}
.dokan-knack-retention-risk.is-due {
	background: #fef3c7;
	color: #92400e;
}
.dokan-knack-retention-empty {
	margin: 0;
	color: #64748b;
}
.dokan-knack-retention-subtitle {
	margin: 18px 0 8px;
	font-size: 14px;
}
.dokan-knack-retention-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 10px;
}
.dokan-knack-retention-controls label {
	display: grid;
	gap: 4px;
	font-size: 12px;
	color: #334155;
	min-width: 180px;
}
.dokan-knack-retention-controls .dokan-form-control {
	max-width: 140px;
}
.dokan-knack-tier-icon-input-wrap {
	display: grid;
	grid-template-columns: minmax(160px, 1fr) minmax(220px, 2fr) 44px;
	gap: 8px;
	align-items: center;
}
.dokan-knack-tier-icon-browse {
	white-space: nowrap;
}
.dokan-knack-tier-icon-custom {
	font-family: inherit;
}
.dokan-knack-tier-icon-preview {
	width: 40px;
	height: 40px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f8fafc;
	font-size: 18px;
	color: #334155;
}
.dokan-knack-tier-icon-preview .dashicons,
.dokan-knack-tier-icon-preview [class*="fa-"] {
	font-size: 18px;
	line-height: 1;
}
.dokan-knack-tier-icon-preview img {
	max-width: 24px;
	max-height: 24px;
	display: block;
}
.dokan-knack-tier-icon-empty {
	font-size: 14px;
	color: #94a3b8;
}
.dokan-knack-icon-modal[hidden] {
	display: none !important;
}
.dokan-knack-icon-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	pointer-events: none;
}
.dokan-knack-icon-modal-backdrop {
	display: none;
}
.dokan-knack-icon-modal-dialog {
	position: fixed;
	top: 80px;
	left: 24px;
	width: min(860px, calc(100vw - 24px));
	max-height: min(78vh, 640px);
	overflow: hidden;
	margin: 0;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 20px 40px rgba(0,0,0,.2);
	display: flex;
	flex-direction: column;
	pointer-events: auto;
}
.dokan-knack-icon-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid #e2e8f0;
}
.dokan-knack-icon-modal-header h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}
.dokan-knack-icon-modal-close {
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #334155;
	border-radius: 8px;
	width: 32px;
	height: 32px;
	cursor: pointer;
}
.dokan-knack-icon-modal-controls {
	padding: 12px 16px;
	border-bottom: 1px solid #e2e8f0;
	display: grid;
	gap: 10px;
}
.dokan-knack-icon-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.dokan-knack-icon-category {
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #334155;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}
.dokan-knack-icon-category.is-active {
	background: var(--dokan-knack-primary, #0272ad);
	border-color: var(--dokan-knack-primary, #0272ad);
	color: #fff;
}
.dokan-knack-icon-grid {
	padding: 12px 16px 16px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 10px;
	overflow: auto;
}
.dokan-knack-icon-item {
	border: 1px solid #e2e8f0;
	background: #fff;
	border-radius: 10px;
	padding: 10px 8px;
	display: grid;
	justify-items: center;
	gap: 6px;
	cursor: pointer;
}
.dokan-knack-icon-item:hover {
	border-color: var(--dokan-knack-primary, #0272ad);
	background: #f8fafc;
}
.dokan-knack-icon-item-glyph {
	font-size: 18px;
	color: #334155;
}
.dokan-knack-icon-item-label {
	font-size: 11px;
	color: #475569;
	text-align: center;
	line-height: 1.2;
}
@media (max-width: 860px) {
	.dokan-knack-tier-icon-input-wrap {
		grid-template-columns: 1fr;
	}
	.dokan-knack-tier-icon-preview {
		width: 100%;
		height: 36px;
	}
	.dokan-knack-icon-modal-dialog {
		width: calc(100vw - 20px);
		max-height: min(86vh, 620px);
	}
}
@media (max-width: 900px) {
	.dokan-knack-retention-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.dokan-knack-referral-link-row {
		grid-template-columns: 1fr;
	}
}

/* Use backend UI colors for major CTAs across pages */
.dokan-knack-mc-form__btn--primary,
.dokan-knack-top-save-btn,
.dokan-knack-unlock-btn,
.dokan-knack-tip-submit,
.dokan-knack-posts-action-btn--primary,
.dokan-dashboard .dokan-btn-theme {
	background: var(--dokan-knack-primary, #0272ad) !important;
	border-color: var(--dokan-knack-primary, #0272ad) !important;
	color: #fff !important;
}
.dokan-knack-mc-form__btn--primary:hover,
.dokan-knack-top-save-btn:hover,
.dokan-knack-unlock-btn:hover,
.dokan-knack-tip-submit:hover,
.dokan-knack-posts-action-btn--primary:hover,
.dokan-dashboard .dokan-btn-theme:hover {
	background: var(--dokan-knack-accent, #f05a28) !important;
	border-color: var(--dokan-knack-accent, #f05a28) !important;
	color: #fff !important;
}
