/*!
Theme Name: benqu Child
Template:   benqu
Theme URI: http://itcroctheme.com/wp/demo/
Author: itcroc
Author URI: http://itcroctheme.com/wp/demo/
Description: Benqu - News & Magazine WordPress Theme
Version: 1.0.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: benqu-child
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   PLAN SELECTION - PUBLISH SPONSORED CONTENT
============================================================ */

#plan-selection-view {
	max-width: 1100px;
	margin: 0 auto;
	padding: 10px 0 40px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #111827;
	line-height: 1.5;
}

/* --- Page header */
.ps-page-header {
	text-align: center;
	margin-bottom: 28px;
	position: relative;
	padding-top: 10px;
}
.ps-back-btn {
	position: absolute;
	left: 0;
	top: 10px;
	background: none;
	border: none;
	color: #2563eb;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	padding: 6px 10px;
	border-radius: 6px;
	transition: background 0.2s;
}
.ps-back-btn:hover {
	background: #eff6ff;
}
.ps-page-title {
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 8px;
	color: #0f172a;
}
.ps-page-subtitle {
	font-size: 16px;
	color: #6b7280;
	margin: 0;
}

/* --- Step cards */
.ps-step-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	margin-bottom: 20px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.ps-step-header {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 24px;
	border-bottom: 1px solid #f3f4f6;
}
.ps-step-number {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #2563eb;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	flex-shrink: 0;
}
.ps-step-title {
	font-size: 17px;
	font-weight: 600;
	margin: 0;
	color: #111827;
}
.ps-step-body {
	padding: 22px 24px;
}

/* --- Select */
.ps-select {
	width: 100%;
	padding: 12px 16px;
	font-size: 15px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #fff;
	color: #111827;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.ps-select:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(0, 159, 216, 0.12);
}

/* --- Plans grid */
.ps-plans-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.ps-plan-card {
	border: 2px solid #e5e7eb;
	border-radius: 10px;
	padding: 22px 20px;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
	background: #fff;
	position: relative;
}
.ps-plan-card:hover {
	border-color: #bfdbfe;
	box-shadow: 0 4px 12px rgba(0, 159, 216, 0.08);
	transform: translateY(-1px);
}
.ps-plan-card.ps-plan-selected {
	border-color: #2563eb;
	background: #eff6ff;
	box-shadow: 0 0 0 3px rgba(0, 159, 216, 0.12);
}
.ps-plan-name {
	font-size: 16px;
	font-weight: 700;
	color: #111827;
	margin-bottom: 6px;
}
.ps-plan-desc {
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 14px;
	line-height: 1.45;
}
.ps-plan-price {
	display: flex;
	align-items: baseline;
	gap: 3px;
	margin-bottom: 14px;
}
.ps-plan-price-label {
	font-size: 12px;
	color: #6b7280;
	margin-right: 2px;
}
.ps-plan-currency {
	font-size: 18px;
	font-weight: 700;
	color: #2563eb;
}
.ps-plan-amount {
	font-size: 26px;
	font-weight: 800;
	color: #2563eb;
	line-height: 1;
}
.ps-plan-card[data-plan="free"] .ps-plan-currency,
.ps-plan-card[data-plan="free"] .ps-plan-amount {
	color: #059669;
}
.ps-plan-divider {
	height: 1px;
	background: #e5e7eb;
	margin: 14px 0;
}
.ps-plan-features {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ps-plan-features li {
	font-size: 13px;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	line-height: 1.4;
}
.ps-feature-on {
	color: #111827;
}
.ps-feature-off {
	color: #9ca3af;
	text-decoration: line-through;
}
.ps-check {
	color: #059669;
	font-weight: 700;
	font-size: 12px;
	flex-shrink: 0;
	margin-top: 2px;
}
.ps-cross {
	color: #ef4444;
	font-size: 11px;
	flex-shrink: 0;
	margin-top: 2px;
}

/* --- Dofollow row */
.ps-dofollow-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	flex-wrap: wrap;
}
.ps-dofollow-left {
	flex: 1;
	min-width: 260px;
}
.ps-dofollow-label {
	font-size: 14px;
	font-weight: 500;
	color: #111827;
	margin-bottom: 12px;
}
.ps-dofollow-counter {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	padding: 6px 10px;
	background: #fff;
}
.ps-counter-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #d1d5db;
	background: #fff;
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #2563eb;
	transition: background 0.2s;
}
.ps-counter-btn:hover {
	background: #eff6ff;
}
.ps-counter-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
.ps-counter-value {
	font-size: 22px;
	font-weight: 700;
	color: #111827;
	min-width: 30px;
	text-align: center;
}
.ps-dofollow-hint {
	margin-top: 10px;
	font-size: 12px;
	color: #6b7280;
}
.ps-dofollow-right {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	padding: 14px 18px;
	min-width: 260px;
}
.ps-pricing-info {
	font-size: 13px;
	color: #1e40af;
	line-height: 1.6;
}

/* --- Addons grid */
.ps-addons-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}
.ps-addon-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	cursor: pointer;
	background: #fff;
	transition: border-color 0.2s, background 0.2s;
	position: relative;
}
.ps-addon-card:hover {
	border-color: #bfdbfe;
	background: #f9fafb;
}
.ps-addon-card:has(.ps-addon-checkbox:checked) {
	border-color: #2563eb;
	background: #eff6ff;
}
.ps-addon-checkbox {
	width: 18px;
	height: 18px;
	accent-color: #2563eb;
	flex-shrink: 0;
	cursor: pointer;
}
.ps-addon-content {
	flex: 1;
}
.ps-addon-name {
	font-size: 14px;
	font-weight: 600;
	color: #111827;
	margin-bottom: 3px;
}
.ps-addon-desc {
	font-size: 12px;
	color: #6b7280;
	line-height: 1.4;
}
.ps-addon-price {
	font-size: 14px;
	font-weight: 700;
	color: #2563eb;
	flex-shrink: 0;
}

/* --- Price row */
.ps-price-row {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 20px;
	margin-top: 6px;
}
.ps-price-breakdown {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 22px 24px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.ps-breakdown-title {
	font-size: 17px;
	font-weight: 600;
	margin: 0 0 14px;
	color: #111827;
}
.ps-one-time-badge {
	background: #eff6ff;
	border-left: 3px solid #2563eb;
	padding: 10px 14px;
	border-radius: 4px;
	font-size: 13px;
	color: #1e40af;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.ps-one-time-badge .ps-check {
	color: #2563eb;
	margin-top: 0;
}
.ps-breakdown-list {
	border-bottom: 1px dashed #e5e7eb;
	padding-bottom: 14px;
	margin-bottom: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ps-breakdown-item {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: #374151;
}
.ps-breakdown-label {
	flex: 1;
}
.ps-breakdown-value {
	font-weight: 500;
	color: #111827;
}
.ps-breakdown-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.ps-total-label {
	font-size: 16px;
	font-weight: 600;
	color: #111827;
}
.ps-total-value {
	font-size: 20px;
	font-weight: 800;
	color: #111827;
}

/* --- Submit box */
.ps-submit-box {
	background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
	border-radius: 10px;
	padding: 26px 22px;
	color: #fff;
	text-align: center;
	box-shadow: 0 4px 14px rgba(0, 159, 216, 0.25);
	display: flex;
	flex-direction: column;
}
.ps-submit-title {
	font-size: 17px;
	font-weight: 600;
	margin: 0 0 6px;
	color: #fff;
}
.ps-submit-total {
	font-size: 34px;
	font-weight: 800;
	margin: 4px 0 16px;
	color: #fff;
	letter-spacing: -0.5px;
}
.ps-category-alert-btn,
.ps-submit-btn {
	width: 100%;
	padding: 12px 18px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: opacity 0.2s, transform 0.1s;
	margin-bottom: 10px;
}
.ps-category-alert-btn {
	background: #eab308;
	color: #111827;
	cursor: not-allowed;
	opacity: 0.95;
}
.ps-submit-btn {
	background: #eab308;
	color: #111827;
}
.ps-submit-btn:hover:not(:disabled) {
	background: #facc15;
	transform: translateY(-1px);
}
.ps-submit-btn:active:not(:disabled) {
	transform: translateY(0);
}
.ps-submit-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.ps-refund-note {
	font-size: 12px;
	color: rgba(255,255,255,0.85);
	margin-top: 4px;
}

/* --- Disclaimer */
.ps-google-disclaimer {
	margin-top: 20px;
	padding: 14px 18px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 12px;
	color: #6b7280;
	line-height: 1.5;
}

/* --- Responsive */
@media (max-width: 900px) {
	.ps-plans-grid { grid-template-columns: 1fr; }
	.ps-addons-grid { grid-template-columns: 1fr; }
	.ps-price-row { grid-template-columns: 1fr; }
	.ps-back-btn { position: static; display: inline-block; margin-bottom: 14px; }
	.ps-page-header { padding-top: 0; }
}
@media (max-width: 600px) {
	.ps-step-body { padding: 18px 16px; }
	.ps-step-header { padding: 14px 18px; }
	.ps-dofollow-right { min-width: 100%; }
}

/* ============================================================
   SUBMIT POST - SELECTED PLAN INFO BANNER
============================================================ */

.sp-selected-plan-banner {
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	border: 1px solid #bfdbfe;
	border-radius: 10px;
	padding: 18px 22px;
	margin-bottom: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.sp-plan-info-left {
	flex: 1;
	min-width: 240px;
}
.sp-plan-badge {
	display: inline-block;
	background: #2563eb;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}
.sp-plan-name-large {
	font-size: 20px;
	font-weight: 700;
	color: #1e3a8a;
	margin: 0 0 4px;
}
.sp-plan-meta {
	font-size: 13px;
	color: #1e40af;
	margin: 0;
}
.sp-plan-meta span {
	margin-right: 14px;
	display: inline-block;
}
.sp-plan-info-right {
	text-align: right;
	flex-shrink: 0;
}
.sp-plan-total-label {
	font-size: 12px;
	color: #1e40af;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 2px;
}
.sp-plan-total-value {
	font-size: 28px;
	font-weight: 800;
	color: #1d4ed8;
	line-height: 1;
}
.sp-plan-change {
	margin-top: 6px;
	font-size: 12px;
}
.sp-plan-change a {
	color: #2563eb;
	text-decoration: none;
	font-weight: 500;
}
.sp-plan-change a:hover {
	text-decoration: underline;
}

@media (max-width: 600px) {
	.sp-selected-plan-banner {
		flex-direction: column;
		align-items: flex-start;
	}
	.sp-plan-info-right {
		text-align: left;
		width: 100%;
		padding-top: 10px;
		border-top: 1px solid #bfdbfe;
	}
}

/* ============================================================
   SUBMIT POST - CUSTOM PAGE LAYOUT
============================================================ */

.sp-page-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 16px 60px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #111827;
	line-height: 1.5;
}
.sp-page-inner {
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	padding: 32px 36px;
	border: 1px solid #f0f0f0;
}

/* Page title */
.sp-page-title {
	text-align: center;
	font-size: 34px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 20px;
	letter-spacing: -0.3px;
}

/* User bar */
.sp-user-bar {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	background: #f9fafb;
	border-radius: 10px;
	margin-bottom: 22px;
	border: 1px solid #eef0f3;
}
.sp-user-avatar img {
	border-radius: 50%;
	width: 48px;
	height: 48px;
	object-fit: cover;
	display: block;
}
.sp-user-avatar {
	flex-shrink: 0;
	line-height: 0;
}
.sp-user-name {
	font-size: 15px;
	font-weight: 700;
	color: #111827;
	margin-bottom: 2px;
}
.sp-user-email {
	font-size: 13px;
	color: #6b7280;
}

/* Main grid */
.sp-main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
	gap: 26px;
	margin-top: 22px;
}

/* Field cards (left column) */
.sp-field-card {
	background: #ffffff;
	border: 1px solid #eef0f3;
	border-radius: 12px;
	padding: 22px 24px;
	margin-bottom: 18px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.sp-field-label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #111827;
	margin-bottom: 10px;
}
.sp-field-hint {
	font-size: 12.5px;
	color: #6b7280;
	margin: -4px 0 10px;
}
.sp-field-input,
.sp-field-textarea {
	width: 100%;
	padding: 11px 14px;
	font-size: 14.5px;
	color: #111827;
	border: 1px solid #d6d9df;
	border-radius: 7px;
	background: #ffffff;
	font-family: inherit;
	transition: border-color 0.15s, box-shadow 0.15s;
	box-sizing: border-box;
}
.sp-field-input:focus,
.sp-field-textarea:focus {
	outline: none;
	border-color: #93c5fd;
	box-shadow: 0 0 0 3px rgba(0, 159, 216, 0.1);
}
.sp-field-textarea {
	resize: vertical;
	min-height: 100px;
}
.sp-editor-wrap {
	margin-top: 4px;
}
.sp-editor-wrap .wp-editor-container {
	border: 1px solid #d6d9df;
	border-radius: 7px;
	overflow: hidden;
}

/* Sidebar cards */
.sp-sidebar {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.sp-card {
	background: #ffffff;
	border: 1px solid #eef0f3;
	border-radius: 12px;
	padding: 20px 22px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.sp-card-title {
	font-size: 14px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f3f4f6;
}

/* Publishing card buttons */
.sp-btn {
	width: 100%;
	padding: 11px 16px;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	border: none;
	transition: background 0.15s, transform 0.1s;
	margin-bottom: 10px;
	letter-spacing: 0.2px;
}
.sp-btn:active:not(:disabled) { transform: translateY(0); }
.sp-btn:hover:not(:disabled)  { transform: translateY(-1px); }

.sp-btn-purple {
	background: #8b5cf6;
	color: #ffffff;
}
.sp-btn-purple:hover:not(:disabled) { background: #7c3aed; }

.sp-btn-gray {
	background: #6b7280;
	color: #ffffff;
}
.sp-btn-gray:hover:not(:disabled) { background: #5b6471; }

.sp-btn-blue {
	background: #2563eb;
	color: #ffffff;
}
.sp-btn-blue:hover:not(:disabled) { background: #1d4ed8; }

.sp-back-link {
	text-align: center;
	margin-top: 6px;
}
.sp-back-link a {
	color: #6b7280;
	font-size: 12.5px;
	text-decoration: none;
	font-weight: 500;
}
.sp-back-link a:hover {
	color: #2563eb;
	text-decoration: underline;
}

/* Featured image card */
.sp-featured-image-dropzone {
	border: 2px dashed #cbd5e1;
	background: #f9fafb;
	border-radius: 8px;
	padding: 30px 16px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
	min-height: 160px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
}
.sp-featured-image-dropzone:hover {
	border-color: #93c5fd;
	background: #eff6ff;
}
.sp-featured-placeholder {
	pointer-events: none;
}
.sp-featured-icon {
	font-size: 36px;
	color: #9ca3af;
	line-height: 1;
	margin-bottom: 8px;
}
.sp-featured-text {
	font-size: 13px;
	color: #6b7280;
}
.sp-featured-preview {
	max-width: 100%;
	max-height: 200px;
	display: block;
	margin: 0 auto;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.sp-remove-image {
	display: block;
	margin-top: 10px;
	background: none;
	border: none;
	color: #ef4444;
	font-size: 12.5px;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 5px;
	font-weight: 500;
}
.sp-remove-image:hover {
	background: #fef2f2;
}

/* Post template options */
.sp-template-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.sp-template-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	cursor: pointer;
	background: #ffffff;
	transition: border-color 0.15s, background 0.15s;
	position: relative;
}
.sp-template-option:hover {
	border-color: #bfdbfe;
	background: #f9fafb;
}
.sp-template-option.sp-template-selected {
	border-color: #2563eb;
	background: #eff6ff;
}
.sp-template-option input[type="radio"] {
	display: none;
}
.sp-template-thumb {
	width: 56px;
	height: 44px;
	border-radius: 4px;
	background: #e5e7eb;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

/* Thumb designs (CSS art mimicking the 4 layouts */
.sp-thumb-classic::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(#ffffff, #ffffff) 4px 4px / calc(100% - 16px) 10px no-repeat,
		linear-gradient(#e5e7eb, #e5e7eb) 4px 18px / calc(100% - 16px) 4px no-repeat,
		linear-gradient(#e5e7eb, #e5e7eb) 4px 24px / calc(100% - 16px) 4px no-repeat,
		linear-gradient(#111827, #111827) calc(100% - 8px) 4px / 8px 36px no-repeat;
}
.sp-thumb-modern::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(#334155, #334155) 4px 4px / calc(100% - 8px) 14px no-repeat,
		linear-gradient(#e5e7eb, #e5e7eb) 4px 22px / calc(100% - 8px) 4px no-repeat,
		linear-gradient(#e5e7eb, #e5e7eb) 4px 28px / 30px 10px no-repeat,
		linear-gradient(#e5e7eb, #e5e7eb) 38px 28px / 14px 10px no-repeat;
}
.sp-thumb-magazine::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(#111827, #111827) 4px 4px / 18px 26px no-repeat,
		linear-gradient(#e5e7eb, #e5e7eb) 26px 4px / 26px 8px no-repeat,
		linear-gradient(#e5e7eb, #e5e7eb) 26px 14px / 26px 8px no-repeat,
		linear-gradient(#e5e7eb, #e5e7eb) 4px 32px / 18px 8px no-repeat,
		linear-gradient(#e5e7eb, #e5e7eb) 26px 26px / 26px 8px no-repeat;
}
.sp-thumb-minimal::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(#e5e7eb, #e5e7eb) 50% 8px / 24px 4px no-repeat,
		linear-gradient(#e5e7eb, #e5e7eb) 10% 16px / 80% 3px no-repeat,
		linear-gradient(#f3f4f6, #f3f4f6) 10% 22px / 80% 3px no-repeat,
		linear-gradient(#f3f4f6, #f3f4f6) 10% 28px / 60% 3px no-repeat;
	transform: translateX(calc(50% - 28px));
}

.sp-template-info {
	flex: 1;
	min-width: 0;
}
.sp-template-name {
	font-size: 13px;
	font-weight: 700;
	color: #111827;
	margin-bottom: 2px;
}
.sp-template-desc {
	font-size: 11.5px;
	color: #6b7280;
	line-height: 1.35;
}
.sp-template-check {
	color: #2563eb;
	font-size: 13px;
	font-weight: 700;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1.5px solid #2563eb;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
}
.sp-template-option.sp-template-selected .sp-template-check {
	visibility: visible;
	background: #2563eb;
	color: #fff;
}

/* Tags card */
.sp-tag-count {
	color: #6b7280;
	font-weight: 500;
	font-size: 12.5px;
	margin-left: 2px;
}
.sp-tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
	min-height: 0;
}
.sp-tag-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #eff6ff;
	color: #1e40af;
	border: 1px solid #bfdbfe;
	border-radius: 999px;
	padding: 4px 6px 4px 10px;
	font-size: 12.5px;
	font-weight: 500;
}
.sp-tag-remove {
	background: none;
	border: none;
	padding: 0 4px;
	cursor: pointer;
	color: #1e40af;
	font-size: 16px;
	line-height: 1;
	font-weight: 700;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sp-tag-remove:hover {
	background: #dbeafe;
}

/* ============================================================
   ACCOUNT CUSTOM TABS — My Posts, Media, etc.
============================================================ */

.pil-tab-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid #e5e7eb;
}
.pil-tab-header h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	color: #0f172a;
}
.pil-btn-primary {
	display: inline-block;
	background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
	color: #fff !important;
	font-size: 13.5px;
	font-weight: 600;
	padding: 9px 18px;
	border-radius: 8px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.2s;
	box-shadow: 0 1px 3px rgba(79, 70, 229, 0.25);
}
.pil-btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

/* Business search filter */
.pil-biz-search-wrap {
	margin-bottom: 18px;
}
.pil-biz-search-input {
	width: 100%;
	max-width: 420px;
	padding: 10px 16px 10px 40px;
	font-size: 14px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.44.856a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") 14px center no-repeat;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
	transition: border-color 0.2s, box-shadow 0.2s;
	outline: none;
}
.pil-biz-search-input:focus {
	border-color: #6366f1;
	box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.pil-biz-search-input::placeholder {
	color: #9ca3af;
}

/* Business pagination */
.pil-biz-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 20px;
	padding: 12px 0;
}
.pil-biz-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	padding: 7px 12px;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.15s;
}
.pil-biz-page-btn:hover:not(:disabled) {
	background: #f9fafb;
	border-color: #6366f1;
	color: #4f46e5;
}
.pil-biz-page-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
.pil-biz-page-active {
	background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
	color: #fff !important;
	border-color: #4f46e5 !important;
}
.pil-biz-page-num {
	font-variant-numeric: tabular-nums;
}
.pil-biz-no-results {
	margin-top: 10px;
}

/* Posts table */
.pil-posts-table-wrap {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.pil-posts-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.pil-posts-table thead {
	background: #f9fafb;
	border-bottom: 1px solid #e5e7eb;
}
.pil-posts-table th {
	padding: 12px 16px;
	text-align: left;
	font-weight: 600;
	color: #374151;
	font-size: 13px;
	white-space: nowrap;
}
.pil-posts-table td {
	padding: 14px 16px;
	border-bottom: 1px solid #f3f4f6;
	color: #1f2937;
	vertical-align: middle;
}
.pil-posts-table tbody tr:last-child td {
	border-bottom: none;
}
.pil-posts-table tbody tr:hover {
	background: #f9fafb;
}
.pil-post-title-cell strong {
	color: #111827;
	font-size: 14.5px;
}

/* Status badges */
.pil-status-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}
.pil-status-publish {
	background: #dcfce7;
	color: #166534;
	border: 1px solid #86efac;
}
.pil-status-pending {
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fcd34d;
}
.pil-status-draft {
	background: #e5e7eb;
	color: #374151;
	border: 1px solid #d1d5db;
}
.pil-status-private {
	background: #ede9fe;
	color: #5b21b6;
	border: 1px solid #c4b5fd;
}

/* Action links */
.pil-post-actions {
	white-space: nowrap;
}
.pil-action-link {
	display: inline-block;
	background: none;
	border: none;
	padding: 4px 9px;
	font-size: 13px;
	font-weight: 500;
	border-radius: 6px;
	cursor: pointer;
	margin-right: 4px;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
	color: #2563eb;
}
.pil-action-link:hover {
	background: #eff6ff;
	color: #1d4ed8;
	text-decoration: none;
}
.pil-edit-link {
	color: #0ea5e9;
}
.pil-edit-link:hover {
	background: #e0f2fe;
	color: #0284c7;
}
.pil-delete-link {
	color: #dc2626;
}
.pil-delete-link:hover {
	background: #fef2f2;
	color: #b91c1c;
}

/* Empty state */
.pil-empty-state {
	background: #fff;
	border: 1px dashed #d1d5db;
	border-radius: 12px;
	text-align: center;
	padding: 50px 24px;
	color: #6b7280;
}
.pil-empty-icon {
	font-size: 44px;
	margin-bottom: 14px;
	line-height: 1;
}
.pil-empty-state h3 {
	margin: 0 0 8px;
	font-size: 19px;
	font-weight: 600;
	color: #1f2937;
}
.pil-empty-state p {
	margin: 0 0 20px;
	font-size: 14px;
	max-width: 440px;
	margin-left: auto;
	margin-right: auto;
}

/* Media grid */
.pil-media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 14px;
}
.pil-media-item {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.2s, transform 0.2s;
}
.pil-media-item:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	transform: translateY(-2px);
}
.pil-media-thumb {
	width: 100%;
	padding-top: 100%;
	background-size: cover;
	background-position: center;
	background-color: #f3f4f6;
}
.pil-media-thumb.pil-media-file {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 0;
	height: 140px;
	font-size: 36px;
}
.pil-media-name {
	padding: 8px 10px;
	font-size: 12px;
	color: #4b5563;
	border-top: 1px solid #f3f4f6;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Comments list */
.pil-comments-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.pil-comment-item {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 16px 18px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.pil-comment-on {
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 8px;
}
.pil-comment-on a {
	color: #2563eb;
	font-weight: 500;
	text-decoration: none;
}
.pil-comment-on a:hover {
	text-decoration: underline;
}
.pil-comment-date {
	color: #9ca3af;
}
.pil-comment-text {
	font-size: 14px;
	color: #1f2937;
	line-height: 1.6;
}

/* Responsive posts table */
@media (max-width: 780px) {
	.pil-posts-table thead {
		display: none;
	}
	.pil-posts-table,
	.pil-posts-table tbody,
	.pil-posts-table tr,
	.pil-posts-table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}
	.pil-posts-table tr {
		padding: 8px 0;
		border-bottom: 1px solid #f3f4f6;
	}
	.pil-posts-table td {
		border: none;
		padding: 6px 16px;
	}
	.pil-posts-table td::before {
		content: attr(data-label);
		display: inline-block;
		width: 90px;
		font-weight: 600;
		font-size: 12px;
		color: #6b7280;
	}
}

/* Hidden WPUF form */
.sp-wpuf-hidden-form {
	display: none !important;
	visibility: hidden;
	height: 0;
	width: 0;
	overflow: hidden;
	position: absolute;
	pointer-events: none;
}

/* Responsive */
@media (max-width: 900px) {
	.sp-page-inner { padding: 22px 18px; }
	.sp-main-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.sp-page-title { font-size: 26px; }
	.sp-page-inner  { padding: 18px 14px; border-radius: 10px; }
	.sp-user-bar    { padding: 12px 14px; }
	.sp-field-card,
	.sp-card       { padding: 16px; }
	.sp-field-label { font-size: 13.5px; }
}

/* =========================================================
   ACCOUNT DASHBOARD — real-data enhancements
========================================================= */

/* Quick stats row */
.pil-dash-stats {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 18px;
}
.pil-stat-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	padding: 14px 16px;
	background: #ffffff;
	border: 1px solid #e2e7f0;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(30, 41, 82, 0.05);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pil-stat-card:hover {
	transform: translateY(-2px);
	border-color: #c6cdf0;
	box-shadow: 0 6px 16px rgba(30, 41, 82, 0.09);
}
.pil-stat-icon {
	font-size: 16px;
	line-height: 1;
}
.pil-stat-num {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.1;
	color: #26364b;
}
.pil-stat-label {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .3px;
	text-transform: uppercase;
	color: #7a8797;
}

/* Completed onboarding steps */
.pil-step-done .step-number {
	background: #2e9e5b !important;
}
.pil-step-done p {
	color: #2e9e5b !important;
	font-weight: 700;
}

/* Real author avatars inside dashboard cards */
.custom-author-card .author-avatar-small img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
}

/* Real thumbnails in Editor's Choice */
.custom-editor-card .editor-image {
	background-size: cover !important;
	background-position: center !important;
}

/* Success banner dismiss */
#pil-account-success {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-right: 44px;
}
#pil-success-close {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
}

@media (max-width: 1100px) {
	.pil-dash-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.pil-dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   SUBMIT POST — SEO fields + Submission Requirements checklist
============================================================ */
.sp-field-group {
	margin-bottom: 16px;
}
.sp-field-group:last-child {
	margin-bottom: 0;
}
.sp-url-prefix {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #6b7280;
	background: #f9fafb;
	border: 1px solid #d6d9df;
	border-radius: 7px;
	padding: 0 12px;
}
.sp-url-prefix .sp-url-input {
	border: none;
	background: transparent;
	padding: 11px 0;
	box-shadow: none;
	flex: 1;
	min-width: 0;
}
.sp-content-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
}
.sp-stat-chip {
	font-size: 12.5px;
	font-weight: 600;
	color: #6b7280;
	background: #f9fafb;
	border: 1px solid #eef0f3;
	border-radius: 999px;
	padding: 5px 12px;
	transition: all .2s;
}
.sp-stat-ok {
	color: #166534;
	background: #dcfce7;
	border-color: #86efac;
}
.sp-stat-bad {
	color: #b91c1c;
	background: #fef2f2;
	border-color: #fecaca;
}
.sp-plan-limit-tag {
	display: inline-block;
	background: #eff6ff;
	color: #1e40af;
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .4px;
	padding: 2px 8px;
	border-radius: 999px;
	vertical-align: middle;
	margin-left: 4px;
}
.sp-plan-limit-line {
	font-size: 12px;
	color: #1e40af;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 7px;
	padding: 8px 12px;
	margin-bottom: 12px;
	line-height: 1.5;
}
.sp-check-intro {
	font-size: 12.5px;
	color: #6b7280;
	margin: 0 0 12px;
	line-height: 1.5;
}
.sp-req-count {
	font-weight: 700;
	color: #dc2626;
}
.sp-req-done {
	color: #059669 !important;
}
.sp-check-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.sp-check-item {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 13px;
	color: #9ca3af;
	padding: 7px 10px;
	border-radius: 7px;
	background: #f9fafb;
	border: 1px solid #f3f4f6;
	transition: all .2s;
	line-height: 1.4;
}
.sp-check-icon {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1.5px solid #d1d5db;
	color: transparent;
	font-size: 11px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 1px;
	transition: all .2s;
}
.sp-check-item.sp-check-ok {
	color: #166534;
	background: #f0fdf4;
	border-color: #bbf7d0;
}
.sp-check-item.sp-check-ok .sp-check-icon {
	background: #16a34a;
	border-color: #16a34a;
	color: #fff;
}
.sp-btn:disabled {
	opacity: .45;
	cursor: not-allowed;
	transform: none !important;
}

/* Focus keywords input */
.sp-kw-input-wrap .sp-tags-list {
	margin-bottom: 8px;
}
#sp-focus-kw-list .sp-tag-chip {
	background: #f5f3ff;
	color: #6d28d9;
	border-color: #ddd6fe;
}
#sp-focus-kw-list .sp-tag-remove {
	color: #6d28d9;
}
#sp-focus-kw-list .sp-tag-remove:hover {
	background: #ede9fe;
}

/* SEO Score card — progress ring */
.sp-score-pill {
	display: inline-block;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .4px;
	padding: 2px 9px;
	border-radius: 999px;
	vertical-align: middle;
	margin-left: 4px;
	background: #f3f4f6;
	color: #6b7280;
}
.sp-score-pill.sp-score-ok   { background: #dcfce7; color: #166534; }
.sp-score-pill.sp-score-warn { background: #fef3c7; color: #92400e; }
.sp-score-pill.sp-score-bad  { background: #fee2e2; color: #b91c1c; }
.sp-score-head {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 14px;
}
.sp-score-ring-wrap {
	position: relative;
	width: 118px;
	height: 118px;
	flex-shrink: 0;
}
.sp-score-ring {
	transform: rotate(-90deg);
	display: block;
}
.sp-ring-track {
	fill: none;
	stroke: #eef0f3;
	stroke-width: 10;
}
.sp-ring-bar {
	fill: none;
	stroke: #ef4444;
	stroke-width: 10;
	stroke-linecap: round;
	stroke-dasharray: 326.73;
	stroke-dashoffset: 326.73;
	transition: stroke-dashoffset .5s ease, stroke .3s ease;
}
.sp-score-num {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
.sp-score-num strong {
	font-size: 26px;
	font-weight: 800;
	color: #111827;
	line-height: 1;
}
.sp-score-num span {
	font-size: 11px;
	color: #9ca3af;
	font-weight: 600;
	margin-top: 2px;
}
.sp-score-info {
	flex: 1;
	min-width: 0;
}
.sp-score-status {
	font-size: 13px;
	font-weight: 700;
	color: #6b7280;
	margin: 0 0 4px;
	line-height: 1.45;
}
.sp-score-status.sp-score-ok-text {
	color: #166534;
}
.sp-score-status.sp-score-bad-text {
	color: #b91c1c;
}
.sp-score-threshold {
	font-size: 11.5px;
	color: #9ca3af;
	margin: 0;
	line-height: 1.4;
}
.sp-kw-checks {
	list-style: none;
	margin: 0 0 6px;
	padding: 12px 0 0;
	border-top: 1px solid #f3f4f6;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.sp-check-pts {
	margin-left: auto;
	flex-shrink: 0;
	font-size: 10.5px;
	font-weight: 700;
	color: #9ca3af;
	background: #f3f4f6;
	border-radius: 999px;
	padding: 2px 8px;
}
.sp-check-item.sp-check-ok .sp-check-pts {
	color: #166534;
	background: #dcfce7;
}

/* Checklist item tips — explain why it fails + how to fix it */
.sp-check-body {
	flex: 1;
	min-width: 0;
}
.sp-check-tip {
	display: block;
	margin-top: 3px;
	font-size: 11.5px;
	font-weight: 500;
	color: #b91c1c;
	line-height: 1.4;
}
.sp-check-item.sp-check-ok .sp-check-tip {
	display: none;
}

/* Submit button — turns green when everything is ready */
.sp-btn-green {
	background: #16a34a !important;
	color: #fff !important;
}
.sp-btn-green:hover:not(:disabled) {
	background: #15803d !important;
}

/* SEO stat chip — third (amber) state between red and green */
.sp-stat-warn {
	color: #92400e;
	background: #fef3c7;
	border-color: #fde68a;
}

/* SEO Score card responsiveness */
@media (max-width: 480px) {
	.sp-score-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}


/* =========================================================
   LISTING PAYMENTS — status badges
========================================================= */
.pil-status-pending-payment {
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fcd34d;
}
.pil-status-approved {
	background: #ccfbf1;
	color: #115e59;
	border: 1px solid #5eead4;
}
.pil-status-rejected {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fca5a5;
}
.pil-status-expired {
	background: #f3f4f6;
	color: #4b5563;
	border: 1px solid #d1d5db;
}

/* WhatsApp action link inside the account tables */
.pil-wa-link {
	color: #16a34a !important;
	font-weight: 600;
}
.pil-wa-link:hover {
	color: #15803d !important;
	text-decoration: underline;
}

/* =========================================================
   LISTING PAYMENTS — thank-you overlay
========================================================= */
.pil-lpm-thanks {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.pil-lpm-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(3px);
	animation: pil-lpm-fade 0.25s ease;
}
@keyframes pil-lpm-fade { from { opacity: 0; } to { opacity: 1; } }
.pil-lpm-card {
	position: relative;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
	max-width: 480px;
	width: 100%;
	padding: 34px 30px 28px;
	text-align: center;
	animation: pil-lpm-pop 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2);
	max-height: calc(100vh - 40px);
	overflow: auto;
}
@keyframes pil-lpm-pop { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
.pil-lpm-close {
	position: absolute;
	top: 12px;
	right: 14px;
	border: 0;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	color: #9ca3af;
	cursor: pointer;
	padding: 4px;
	transition: color 0.15s;
}
.pil-lpm-close:hover { color: #374151; }
.pil-lpm-check {
	width: 74px;
	height: 74px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: #dcfce7;
	color: #16a34a;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 0 0 6px rgba(22, 163, 74, 0.12);
}
.pil-lpm-card h2 {
	margin: 0 0 4px;
	font-size: 26px;
	font-weight: 800;
	color: #0f172a;
}
.pil-lpm-lead {
	margin: 0 0 16px;
	color: #64748b;
	font-size: 14.5px;
}
.pil-lpm-status-row {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	padding: 6px 14px;
	margin-bottom: 12px;
}
.pil-lpm-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #f59e0b;
	animation: pil-lpm-blink 1.4s infinite;
}
@keyframes pil-lpm-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.pil-lpm-plan {
	margin: 0 0 12px;
	font-size: 14px;
	color: #334155;
}
.pil-lpm-note {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.6;
	color: #475569;
}
.pil-lpm-howto {
	text-align: left;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 16px;
	font-size: 13.5px;
	line-height: 1.7;
	color: #0c4a6e;
}
.pil-lpm-howto-title {
	font-weight: 800;
	font-size: 14px;
	color: #075985;
	margin-bottom: 8px;
}
.pil-lpm-howto-list {
	margin: 0;
	padding-left: 20px;
}
.pil-lpm-howto-list li {
	margin-bottom: 6px;
}
.pil-lpm-howto-list li:last-child {
	margin-bottom: 0;
}
.pil-lpm-methods-empty {
	text-align: left;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
	padding: 12px 16px;
	margin-bottom: 16px;
	font-size: 13.5px;
	line-height: 1.6;
	color: #475569;
}
.pil-lpm-methods {
	text-align: left;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 12px;
	padding: 12px 16px;
	margin-bottom: 16px;
	font-size: 13.5px;
}
.pil-lpm-methods-title {
	font-weight: 700;
	color: #92400e;
	margin-bottom: 6px;
}
.pil-lpm-methods ul { margin: 0; padding-left: 16px; line-height: 1.9; color: #78350f; }
.pil-lpm-wa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #25d366;
	color: #fff !important;
	font-weight: 700;
	font-size: 15px;
	padding: 13px 24px;
	border-radius: 12px;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
	transition: transform 0.15s, box-shadow 0.15s;
	margin: 2px 0 10px;
}
.pil-lpm-wa-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
	color: #fff !important;
}
.pil-lpm-hint {
	margin: 0 0 18px;
	font-size: 13px;
	color: #94a3b8;
}
.pil-lpm-actions {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}
.pil-lpm-btn {
	display: inline-block;
	padding: 11px 18px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #334155;
	transition: background 0.15s, border-color 0.15s;
}
.pil-lpm-btn:hover { background: #f8fafc; border-color: #cbd5e1; color: #0f172a; }
.pil-lpm-btn-primary {
	background: #0f172a;
	border-color: #0f172a;
	color: #fff;
}
.pil-lpm-btn-primary:hover { background: #1e293b; border-color: #1e293b; color: #fff; }

/* =========================================================
   LISTING PAYMENTS — dashboard banner
========================================================= */
.pil-lpm-banner {
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 14px;
	padding: 16px 18px;
	margin-bottom: 18px;
}
.pil-lpm-banner-head {
	display: flex;
	align-items: center;
	gap: 12px;
}
.pil-lpm-banner-icon {
	font-size: 22px;
}
.pil-lpm-banner-head strong {
	font-size: 15px;
	color: #92400e;
}
.pil-lpm-banner-head p {
	margin: 2px 0 0;
	font-size: 13px;
	color: #a16207;
}
.pil-lpm-banner-methods {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed #fcd34d;
	font-size: 13px;
	color: #78350f;
}
.pil-lpm-banner-methods ul { margin: 4px 0 0; padding-left: 16px; line-height: 1.8; }
.pil-lpm-wa-btn-sm {
	display: inline-flex;
	margin-top: 12px;
	padding: 9px 16px;
	font-size: 13.5px;
	border-radius: 10px;
}

/* =========================================================
   LISTING PAYMENTS — UPI QR + payment reference
========================================================= */
.pil-lpm-qr-preview { margin-bottom: 8px; }
.pil-lpm-qr-li { text-align: center; }
.pil-lpm-qr-img {
	max-width: 160px;
	height: auto;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 6px;
	background: #fff;
}
.pil-lpm-ref {
	margin-top: 4px;
	margin-bottom: 16px;
	text-align: left;
	background: #f0fdfa;
	border: 1px solid #99f6e4;
	border-radius: 12px;
	padding: 12px 14px;
}
.pil-lpm-ref-title {
	font-weight: 700;
	color: #115e59;
	margin-bottom: 4px;
}
.pil-lpm-ref-hint {
	margin: 0 0 10px;
	font-size: 13px;
	color: #0f766e;
}
.pil-lpm-ref-form {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.pil-lpm-ref-input {
	flex: 1 1 180px;
	min-width: 0;
	padding: 9px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	background: #fff;
	color: #0f172a;
}
.pil-lpm-ref-input:focus {
	outline: none;
	border-color: #14b8a6;
	box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}
.pil-lpm-ref-btn {
	padding: 9px 16px;
	font-size: 13.5px;
	border-radius: 8px;
}
.pil-lpm-ref-msg {
	margin: 8px 0 0;
	font-size: 13px;
}
.pil-lpm-ref-msg.is-error {
	color: #b91c1c;
}
.pil-lpm-ref-done {
	font-size: 14px;
	font-weight: 600;
	color: #115e59;
	background: #ccfbf1;
	border: 1px solid #5eead4;
	border-radius: 10px;
	padding: 10px 12px;
}

/* ============================================================
   SITE LOGO — fit the real logo (pil-logo.png, 342x124) nicely
   in the header / footer / sidebar without stretching.
   Height-driven so the aspect ratio is always preserved.
============================================================ */
.pfy-logo .site-logo img,
.site-logo img,
.sidebar-logo a.site-logo img {
	height: 46px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}

/* Footer logo widget (media_image-2 in footer-1) */
#media_image-2.widget_media_image img,
.pfy-footer-widget-item.widget_media_image img {
	height: 52px;
	width: auto;
	max-width: 240px;
	object-fit: contain;
}

@media (max-width: 768px) {
	.pfy-logo .site-logo img,
	.site-logo img {
		height: 38px;
		max-width: 180px;
	}
	#media_image-2.widget_media_image img,
	.pfy-footer-widget-item.widget_media_image img {
		height: 44px;
		max-width: 200px;
	}
}

/* ===================== HEADER ACTION BUTTONS ===================== */
.header-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 16px;
	border-radius: 999px;
	font-size: .83rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: all .25s ease;
}

.add-business-btn {
	background: linear-gradient(135deg, #009FD8, #00B4E6);
	color: #fff;
	box-shadow: 0 4px 12px rgba(19, 96, 178, .28);
}

.add-business-btn:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(19, 96, 178, .35);
}

.add-post-btn {
	background: transparent;
	border: 1.5px solid rgba(5, 26, 68, .25);
	color: #19191A;
}

.add-post-btn:hover {
	border-color: #009FD8;
	color: #009FD8;
	background: rgba(19, 96, 178, .06);
}

@media (max-width: 1199px) {
	.header-btn {
		padding: 8px 13px;
		font-size: .78rem;
	}
}

@media (max-width: 767px) {
	.add-post-btn {
		display: none;
	}
	.add-business-btn {
		padding: 8px 13px;
		font-size: .78rem;
	}
}

/* ============================================================
   HEADER MENU — dropdown arrow + dropdown font fixes

   The theme renders the menu dropdown arrows with
   `font-family: 'Font Awesome 5 Pro'`, but UsersWP's bundled
   font-awesome loader strips the theme's Font Awesome Pro CSS
   from the page and replaces it with the free CDN version (which
   has no 'Font Awesome 5 Pro' family and no light fal icons).
   Re-declaring the Pro faces from the theme's local webfonts
   restores the arrows and the fal/far header icons.
============================================================ */

@font-face {
	font-family: 'Font Awesome 5 Pro';
	font-style: normal;
	font-weight: 300;
	font-display: block;
	src: url('../benqu/assets/fonts/fontawesome/webfonts/fa-light-300.woff2') format('woff2');
}
@font-face {
	font-family: 'Font Awesome 5 Pro';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url('../benqu/assets/fonts/fontawesome/webfonts/fa-regular-400.woff2') format('woff2');
}
@font-face {
	font-family: 'Font Awesome 5 Pro';
	font-style: normal;
	font-weight: 900;
	font-display: block;
	src: url('../benqu/assets/fonts/fontawesome/webfonts/fa-solid-900.woff2') format('woff2');
}

/* Dropdown arrow glyph — render with the Pro solid face */
.mainmenu .site-navigation .navigation li.menu-item-has-children:after,
.mainmenu .site-navigation .navigation li.menu-item-has-children .sub-menu .menu-item-has-children:after {
	font-family: 'Font Awesome 5 Pro';
	font-weight: 900;
}

/* Light (fal) icons in the header — the free CDN FA has no light face */
.fal {
	font-family: 'Font Awesome 5 Pro';
	font-weight: 300;
}

/* Dropdown items use the same font family as the top-level menu */
.mainmenu .site-navigation .navigation ul.sub-menu li a {
	font-family: 'Encode Sans Condensed', sans-serif;
}
