/* WordPress Plugin Theme Colors */
:root {
	--wp-primary: #2271b1;
	--wp-primary-hover: #135e96;
	--wp-secondary: #1d2327;
	--background-color: #f0f0f1;
	--border-color: #c3c4c7;
	--wp-text: #1e1e1e;
	--wp-light-text: #646970;
	--wp-success: #00a32a;
	--wp-error: #d63638;
	--wp-warning: #dba617;
	--pro-badge: #ff6b6b;
	--basic-badge: #4facfe;
	--field-background: #fff;
	--hover-background: #f6f7f7;
	--primary-blue: #3b82f6;
	--primary-hover: #2563eb;
	--neutral-50: #f8fafc;
	--neutral-100: #f1f5f9;
	--neutral-200: #e2e8f0;
	--neutral-300: #cbd5e1;
	--neutral-600: #475569;
	--neutral-700: #334155;
	--success-green: #10b981;

	/* Enhanced color palette */
	--brand-primary: #4f46e5;
	--brand-primary-hover: #4338ca;
	--brand-secondary: #06b6d4;
	--brand-secondary-hover: #0891b2;
	--brand-accent: #f97316;
	--brand-accent-hover: #ea580c;
	--brand-success: #10b981;
	--brand-success-hover: #059669;
	--brand-warning: #f59e0b;
	--brand-warning-hover: #d97706;
	--brand-error: #ef4444;
	--brand-error-hover: #dc2626;
	--brand-light: #f8fafc;
	--brand-dark: #0f172a;
	--brand-gray-50: #f9fafb;
	--brand-gray-100: #f3f4f6;
	--brand-gray-200: #e5e7eb;
	--brand-gray-300: #d1d5db;
	--brand-gray-400: #9ca3af;
	--brand-gray-500: #6b7280;
	--brand-gray-600: #4b5563;
	--brand-gray-700: #374151;
	--brand-gray-800: #1f2937;
	--brand-gray-900: #111827;
}

.min-width-600 {
	width: 100%;
	max-width: 100%;
}

.bulk-post-input {
	width: 50px;
	margin-right: 20px;
}

.mt-3 {
	margin-top: 50px;
}

.mt-2 {
	margin-top: 30px;
}

/* Plugin Container */
.plugin-container {
	background: var(--field-background);
	border: 1px solid var(--border-color);
	border-radius: 4px;
	padding: 24px;
	margin: 20px 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	overflow: visible;
}


/* Setting Groups */
.setting-group label {
	display: flex;
	min-height: 31px;
	color: var(--wp-secondary);
	border-color: rgb(200, 204, 209);
	align-items: center;
}

.field-container {
	flex: 1;
	min-width: 0; /* Prevents overflow issues */
}

.label-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
}

.setting-group input[type="text"],
.setting-group input[type="number"],
.setting-group textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: #1f2937;
	background-color: white;
	transition: all 0.2s ease;
}

/* Select Wrapper Enhancement */
.select-wrapper {
	position: relative;
	width: 100%;
	font-weight: 400;
}

.select-wrapper select {
	width: 100%;
	padding: 12px 16px;
	padding-right: 140px; /* Space for badges */
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: #1f2937;
	background-color: white;
	transition: all 0.2s ease;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236B7280' d='M7 7l3 3 3-3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 20px;
}

/* Badge Container Positioning */
.badge-container {
	display: flex;
	align-items: center;
	gap: 0px;
	pointer-events: auto;

	position: relative;
	width: fit-content;
	height: fit-content;
	margin-left: 5px;
	margin-top: 0;
	margin-bottom: 0;
	place-self: flex-end;
}

/* Enhanced Badge Styling */
.feature-badge {
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 16px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.basic-badge {
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
	color: white;
	position: relative; /* Required for absolute positioning of tooltip */
	padding: 4px 8px;
	border-radius: 4px;
	cursor: default;
}

/* Tooltip Styles */
.basic-badge::after {
	content: "Available for Basic users"; /* Tooltip text */
	position: absolute;
	left: 50%;
	bottom: 130%; /* Adjust to position above the badge */
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 6px 10px;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease-in-out;
}

/* Show Tooltip on Hover */
.basic-badge:hover::after {
	opacity: 1;
	visibility: visible;
}


.pro-badge {
	background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
	color: white;
	position: relative; /* Required for absolute positioning of tooltip */
	padding: 4px 8px;
	border-radius: 4px;
	cursor: default;
}

/* Tooltip Styles */
.pro-badge::after {
	content: "Available for Pro-Ultimate users"; /* Tooltip text */
	position: absolute;
	left: 50%;
	bottom: 130%; /* Adjust to position above the badge */
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 6px 10px;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease-in-out;
}

/* Show Tooltip on Hover */
.pro-badge:hover::after {
	opacity: 1;
	visibility: visible;
}


/* Focus & Hover States */
.setting-group input:focus,
.setting-group select:focus,
.setting-group textarea:focus {
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
	outline: none;
}

.generate-actions {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--neutral-200);
	display: flex;
	gap: 12px;
}

.button-primary {
	background: var(--primary-blue);
	color: white;
	padding: 10px 20px;
	border-radius: 8px;
	border: none;
	font-weight: 500;
	transition: all 0.2s ease;
}

.button-danger {
	background: var(--wp-error) !important;
	border: 1px solid var(--wp-error) !important;
	color: white !important;
}

.button-primary:hover {
	background: var(--primary-hover);
}

.button-secondary {
	background: var(--neutral-50);
	color: var(--neutral-700);
	border: 1px solid var(--neutral-200);
}

.button-secondary:hover {
	background: var(--hover-background);
	border-color: var(--wp-light-text);
}

/* Disabled State */
select option[disabled],
input[disabled],
select[disabled] {
	background-color: var(--background-color);
	color: var(--wp-light-text);
	cursor: not-allowed;
}

/* Error States */
.field-error {
	border-color: var(--wp-error) !important;
}

.field-error-message {
	color: var(--wp-error);
	font-size: 12px;
	margin-top: 6px;
	display: flex;
	align-items: center;
}

/* Advanced Options Section */
#advanced-options {
	margin-top: 30px;
	border-top: 1px solid var(--border-color);
	padding-top: 20px;
}

/* Tab Navigation */
.nav-tab-wrapper {
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	padding-left: 2px;
}

.nav-tab {
	background: transparent;
	border: 1px solid var(--border-color);
	border-bottom: none;
	color: var(--wp-light-text);
	padding: 10px 18px;
	margin-right: 4px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
	border-radius: 4px 4px 0 0;
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
}

.nav-tab:hover {
	background-color: #f0f0f1;
	color: var(--wp-secondary);
}

.nav-tab-active {
	background: var(--field-background);
	border-bottom: 2px solid #fff;
	background-color: #fff;
	color: var(--brand-primary);
	margin-bottom: -1px;
	font-weight: 600;
	box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}

.nav-tab-active:hover {
	background-color: #fff;
	color: var(--brand-primary);
}

.tab-icon {
	margin-right: 2px;
}

.checkbox-item {
	position: relative;
	display: flex;
	align-items: center;
	padding: 16px;
	margin-top: 8px;
	margin-left: 10px;
	margin-right: 10px;
	border: 1px solid var(--neutral-200);
	border-radius: 8px;
	transition: all 0.2s ease-in-out;
	background: var(--field-background);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	cursor: pointer;
	width: calc(100% - 20px);
	box-sizing: border-box;
}

.checkbox-item:hover {
	background: var(--neutral-50);
	border-color: var(--neutral-300);
	transform: translateY(-1px);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.checkbox-item input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-right: 16px;
	margin-top: 0;
	border: 2px solid var(--neutral-300);
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.radio-item {
	border: 0px;
	margin: 0px;
	padding: 0px;
}

.checkbox-item-top {
	border: 0px;
	margin: 0px;
	padding: 0px;
	display: contents;
}

.checkbox-item-top > #ai_feature_image {
	width: 10px;
	margin-top: 8px;
}

.checkbox-item-top > label#ai_feature_image:hover {
	background: white;
}

.radio-item > .badge-container {
	position: absolute;
	right: -70px;
	top: 50%;
	transform: translateY(-50%);
}

.checkbox-item > .badge-container {
	position: absolute;
	right: 10px;
	bottom: -15px;
}

/* Responsive Adjustments */
@media screen and (max-width: 782px) {
	.setting-group {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.tooltip-wrapper {
		margin-bottom: 8px;
	}

	.setting-group input,
	.setting-group select {
		min-height: 40px;
	}

	.select-wrapper select {
		padding-right: 100px;
	}

	.feature-badge {
		font-size: 9px;
		padding: 2px 6px;
	}

	.button-primary,
	.button-secondary {
		padding: 10px 16px;
	}
}

.credit-tracker {
	background: linear-gradient(135deg, var(--wp-primary), var(--wp-primary-hover));
	color: white;
	padding: 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 32px;
}

.credit-display {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-size: 16px;
	font-weight: 600;
}

.credit-icon {
	width: 24px;
	height: 24px;
}

.credit-amount {
	background: rgba(255, 255, 255, 0.2);
	padding: 4px 12px;
	border-radius: 16px;
	min-width: 60px;
	text-align: center;
}

/* Animation for credit changes */
@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1);
	}
}

.credit-amount.updating {
	animation: pulse 0.3s ease-in-out;
}

/* Field Header Styling */
.field-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

/* Tooltip Styling */
.tooltip-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 12px;
	cursor: help;
	transition: all 0.2s ease;
	margin-left: 4px;
	position: relative;
}

.tooltip-svg-icon {
	fill: currentColor;
	width: 14px;
	height: 14px;
}

.tooltip-icon:hover {
	background: #e5e7eb;
	color: #374151;
}

.tooltip-icon:hover::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: calc(100% + 12px);
	left: 50%;
	transform: translateX(-50%);
	min-width: 200px;
	max-width: 300px;
	padding: 12px 16px;
	background: #1f2937;
	color: white;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.5;
	z-index: 9999;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	white-space: normal;
}

.tooltip-icon:hover::before {
	content: "";
	position: absolute;
	bottom: calc(100% + 4px);
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: #1f2937;
	z-index: 9999;
}

.bulk-creation-wrapper .tooltip-wrapper {
	display: inline-flex;
	width: auto;
}

.bulk-creation-wrapper .field-label {
	white-space: nowrap;
}

.credit-tracker {
	background: linear-gradient(135deg, #2271b1, #135e96);
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 30px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 32px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.credit-display {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.credit-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.credit-label {
	font-size: 16px;
	font-weight: 600;
	color: white;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.credit-amount {
	background: rgba(255, 255, 255, 0.15);
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 18px;
	font-weight: 700;
	color: white;
	min-width: 80px;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.essential-settings {
	border-radius: 20px;
	margin-bottom: 45px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	background-color: #fafafa;
	border-radius: 20px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	padding: 32px;
	border: none;
}

.essential-settings:hover {
	background-color: #f2f2f2;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.setting-group input,
.setting-group select,
.setting-group textarea {
	border: 1px solid var(--neutral-200);
	color: var(--neutral-700);
	font-size: 14px;
	transition: all 0.2s ease;
	padding: 10px 14px;
	border-radius: 6px;
}

.setting-group input:focus,
.setting-group select:focus,
.setting-group textarea:focus {
	border-color: var(--primary-blue);
	background: white;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
	outline: none;
}

.button-primary {
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 8px;
	background: linear-gradient(135deg, #2271b1, #135e96);
	border: none;
	color: white;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button-secondary {
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 8px;
	background: white;
	border: 1px solid #e5e7eb;
	color: #374151;
	cursor: pointer;
	transition: all 0.2s ease;
}

.button-secondary:hover {
	background: #f9fafb;
	border-color: #d1d5db;
}

/* Enhanced Credit Tracker */
.credit-tracker-new {
	background: linear-gradient(135deg, #2271b1, #135e96);
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 30px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	overflow: visible;
}

/* Plan Info Section */
.plan-info-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
	z-index: 1;
}

.plan-details, .available-credits {
	display: flex;
	flex-direction: column;
}

.plan-label, .available-label {
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	margin-bottom: 4px;
}

.plan-name, .available-count {
	color: white;
	font-size: 20px;
	font-weight: 600;
}

.plan-name.premium-plan {
	color: #fbbf24; /* Gold color for premium plans */
}

.available-count.low-credits {
	color: #eab308; /* Yellow for low credits */
}

.available-count.no-credits {
	color: #dc2626; /* Red for no credits */
}

/* Upgrade Plan Button */
.upgrade-plan-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 12px;
	padding: 8px 16px;
	background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-hover));
	color: white;
	border: none;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
	transition: all 0.3s ease;
}

.upgrade-plan-btn:hover {
	background: linear-gradient(135deg, var(--brand-accent-hover), var(--brand-accent));
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(249, 115, 22, 0.4);
	color: white;
}

.upgrade-plan-btn svg {
	margin-left: 8px;
	transition: transform 0.3s ease;
}

.upgrade-plan-btn:hover svg {
	transform: translateX(3px);
}

/* Add Credit Button */
.add-credit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 12px;
	padding: 8px 16px;
	background: rgba(255, 255, 255, 0.15);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.add-credit-btn:hover {
	background: rgba(255, 255, 255, 0.25);
	color: white;
}

.add-credit-btn svg {
	margin-right: 8px;
}

/* Credit Usage Section */
.credit-info-wrapper {
	display: flex;
	align-items: center;
	gap: 24px;
	position: sticky;
	top: 32px;
	z-index: 1000;
	background: linear-gradient(135deg, #2271b1, #135e96);
	border-radius: 12px;
	padding: 24px;
	margin-top: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Style for when the credit-info-wrapper is in sticky state */
.credit-info-wrapper.is-sticky {
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
	transform: translateY(2px);
}

.credit-icon {
	background: rgba(255, 255, 255, 0.1);
	padding: 12px;
	border-radius: 12px;
	color: white;
}

.credit-details {
	flex: 1;
}

.credit-title {
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	margin-bottom: 4px;
}

.credit-count {
	color: white;
	font-size: 24px;
	font-weight: 600;
}

.credit-usage {
	flex: 2;
}

.usage-bar {
	background: rgba(255, 255, 255, 0.1);
	height: 8px;
	border-radius: 4px;
	margin-bottom: 8px;
}

.usage-fill {
	background: #4CAF50;
	height: 100%;
	border-radius: 4px;
	transition: width 0.3s ease;
}

.usage-text {
	color: rgba(255, 255, 255, 0.9);
	font-size: 12px;
}

/* Scheduled Posts Table */
.scheduled-posts-container {
	margin-top: 40px;
	border-top: 2px solid #e5e7eb;
	padding-top: 30px;
	background: #fff;
	border-radius: 0;
	box-shadow: none;
	padding: 20px;
}

.scheduled-posts-container .section-title {
	font-size: 1.5rem;
	color: #1e293b;
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid #f1f5f9;
}

.bulk-creation-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 12px 16px;
	width: fit-content;
}

.bulk-creation-input {
	width: 80px;
	max-width: 100%;
	padding: 8px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 14px;
	text-align: center;
	background: white;
	box-sizing: border-box;
}

/*.bulk-creation-controls {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 8px;*/
/*}*/

.bulk-control-btn {
	background: white;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	width: 24px;
	height: 24px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
	display: inline-flex;
	flex-shrink: 0;
}

.bulk-control-btn:hover {
	background: #f1f5f9;
	border-color: #94a3b8;
}

@media screen and (max-width: 782px) {
	.bulk-control-btn {
		width: 30px;
		height: 30px;
	}

	.checkbox-item.premium-feature {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	.bulk-creation-input {
		margin: 10px 0;
	}

	.radio-group {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.radio-option.checkbox-item {
		margin-right: 0;
		margin-bottom: 8px;
		width: calc(50% - 4px);
		box-sizing: border-box;
	}
}

.category-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.category_select {
	flex: 1;
}

.category-disable-check {
	width: 180px;
	height: 35px;
	margin: 5px;
	border-radius: 5px;
	box-sizing: border-box;
	background-color: #f0f0f0;
	color: #333;
	border: 1px solid #ccc;
	align-items: center;
	justify-content: center;
	text-align: center;
}


table#selected-images-table {
	width: 100%;
	max-width: 800px;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	margin-top: 15px;
}

table#selected-images-table thead th {
	background-color: #f5f7fa;
	color: #333;
	font-weight: 600;
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid #e0e0e0;
	font-size: 14px;
}

table#selected-images-table tbody tr {
	border-bottom: 1px solid #f0f0f0;
	transition: background-color 0.2s ease;
}

table#selected-images-table tbody tr:last-child {
	border-bottom: none;
}

table#selected-images-table tbody td, table#selected-images-table tbody th {
	padding: 12px 16px;
	font-size: 14px;
	line-height: 1.5;
	vertical-align: middle;
}

table#selected-images-table tbody tr:hover {
	background-color: #f9fafb;
}

table#selected-images-table img {
	max-width: 100px;
	height: auto;
	object-fit: cover;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	display: block;
	margin: 0 auto;
}

.category-disable-check input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
}

.section-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 20px;
	color: #1e1e1e;
}

.posts-table-wrapper {
	overflow-x: auto;
}

.posts-table {
	width: 100%;
	border-collapse: collapse;
}

.posts-table th {
	background: #f9fafb;
	padding: 12px 16px;
	text-align: left;
	font-size: 14px;
	font-weight: 600;
	color: #374151;
	border-bottom: 2px solid #e5e7eb;
}

.posts-table td {
	padding: 16px;
	border-bottom: 1px solid #e5e7eb;
}

.status-badge {
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
}

.status-scheduled {
	background: #dcfce7;
	color: #166534;
}

.date-display {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #6b7280;
}

.action-btn {
	background: none;
	border: none;
	padding: 6px;
	cursor: pointer;
	border-radius: 6px;
	margin: 0 4px;
}

.view-btn {
	color: #2271b1;
}

.link-btn {
	color: #2271b1;
}

.delete-btn {
	color: #dc2626;
}

.action-btn:hover {
	background: #f3f4f6;
}

/* Modal Styles */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
}

.modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-content {
	background: white;
	border-radius: 12px;
	width: 90%;
	max-width: 600px;
	max-height: 90vh;
	overflow-y: auto;
}

.modal-header {
	padding: 20px 24px;
	border-bottom: 1px solid #e5e7eb;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.close-modal {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #6b7280;
}

.modal-body {
	padding: 24px;
}

.post-details-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.detail-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.detail-label {
	font-size: 14px;
	color: #6b7280;
}

.detail-value {
	font-size: 16px;
	font-weight: 500;
	color: #1e1e1e;
}

.hide {
	display: none !important;
}

.admin-page-title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 1.75rem;
	padding: 16px 0 12px;
	color: var(--brand-dark);
	position: relative;
	display: inline-block;
}

.admin-page-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
	border-radius: 3px;
}

/** Subscription Dashboard **/
.subscription-dashboard {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 2rem;
	margin-bottom: 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	position: relative;
}

.subscription-dashboard::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: #3b82f6;
}

.subscription-dashboard:hover {
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	border-color: #d1d5db;
}

.subscription-status {
	display: flex;
	gap: 3.5rem;
	position: relative;
}

.subscription-item {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	position: relative;
}

.subscription-item::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -1.75rem;
	transform: translateY(-50%);
	height: 70%;
	width: 1px;
	background: var(--brand-gray-200);
	display: block;
}

.subscription-item:last-child::after {
	display: none;
}

.subscription-item .label {
	font-size: 0.875rem;
	color: var(--brand-gray-500);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* Plan Badge Styling */
.plan-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.25rem;
	background: transparent;
}

.badge-plan {
	position: relative;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	letter-spacing: 0.025em;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	transition: all 0.2s ease;
}

.badge-plan:hover {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.badge-shine {
	display: none;
}

/* Credits Display Styling */
.credits-display {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f9fafb;
	padding: 0.25rem;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease;
}

.credits-display:hover {
	border-color: #d1d5db;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.credits-display .badge {
	position: relative;
	font-size: 0.875rem;
	padding: 0.5rem 1rem;
	min-width: 60px;
	box-shadow: none;
}

.credits-glow {
	display: none;
}

.pulse-animation {
	animation: none;
	position: relative;
}

/* Subscription Progress Bar */
.subscription-progress {
	height: 3px;
	width: 100%;
	background: #e5e7eb;
	border-radius: 1px;
	overflow: hidden;
	position: relative;
	margin-top: 0.5rem;
}

.subscription-progress::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: var(--progress-width, 75%);
	background: #3b82f6;
	border-radius: 1px;
}

.animate-progress::after {
	transition: width 0.5s ease-out;
}

/** Badges **/
.badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.375rem 0.75rem;
	border-radius: 4px;
	font-size: 0.8125rem;
	font-weight: 600;
	transition: all 0.2s ease;
	position: relative;
	box-shadow: none;
	min-width: 60px;
	text-align: center;
}

.badge-primary {
	background: #3b82f6;
	color: white;
}

.badge-secondary {
	background: #f3f4f6;
	color: #1f2937;
	border: 1px solid #e5e7eb;
}

.badge-secondary:hover {
	background: #e5e7eb;
	border-color: #d1d5db;
}

.badge-warning {
	background: #f59e0b;
	color: white;
}

.badge-plan {
	color: white;
	position: relative;
}

/* Different colors for each plan type */
.badge-plan-free {
	background: #6b7280;
}

.badge-plan-basic {
	background: #3b82f6;
}

.badge-plan-pro, .badge-plan-premium {
	background: #8b5cf6;
}

.badge-plan-enterprise {
	background: #ef4444;
}

.badge-loading {
	animation: pulse 1.5s infinite;
}

.badge-loaded {
	animation: fadeIn 0.5s ease;
}

.badge-error {
	background: linear-gradient(135deg, var(--brand-error) 0%, var(--brand-error-hover) 100%);
	color: white;
	animation: shake 0.5s ease;
}

.error-text {
	color: var(--brand-error);
	margin-top: 4px;
	font-size: 0.875rem;
	font-weight: 500;
}

.badge-shine {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(
		45deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.1) 25%,
		rgba(255, 255, 255, 0.3) 50%,
		rgba(255, 255, 255, 0.1) 75%,
		rgba(255, 255, 255, 0) 100%
	);
	z-index: 0;
	transform: translateX(-100%);
	animation: shine 3s infinite;
}

@keyframes shine {
	0% {
		transform: translateX(-100%);
	}
	20%, 100% {
		transform: translateX(100%);
	}
}

/** Buttons **/
.subscription-actions {
	display: flex;
	gap: 1rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.625rem 1.25rem;
	border-radius: 4px;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
	position: relative;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	letter-spacing: 0.01em;
	min-width: 120px;
	text-align: center;
}

.btn-text {
	position: relative;
}

.btn-icon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-primary {
	background: #3b82f6;
	color: #ffffff;
	border: none;
}

.btn-primary:hover {
	background: #2563eb;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-gradient {
	background: #4f46e5;
	color: #ffffff;
	border: none;
}

.btn-gradient:hover {
	background: #4338ca;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-outline {
	background: transparent;
	color: #3b82f6;
	border: 1px solid #3b82f6;
}

.btn-outline:hover {
	background: #f0f7ff;
	color: #2563eb;
	border-color: #2563eb;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover::before {
	left: 100%;
}

.btn-hover-effect {
	position: relative;
}

.btn-shine {
	display: none;
}

.btn-icon {
	font-size: 1em;
	transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
	transform: translateX(2px);
}

/** Alert **/
.alert {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	padding: 1.5rem;
	border-radius: 12px;
	margin-bottom: 2rem;
	animation: slideIn 0.5s ease;
	background-color: white;
	z-index: 99999;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
	border-left: 4px solid var(--brand-primary);
	position: relative;
	overflow: hidden;
}

.alert::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
}

.alert-info {
	background: var(--brand-gray-50);
	border-left: 4px solid var(--brand-secondary);
}

.alert-info::before {
	background: linear-gradient(135deg, rgba(6, 182, 212, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.alert-success {
	background: var(--brand-gray-50);
	border-left: 4px solid var(--brand-success);
}

.alert-success::before {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.alert-error {
	background: var(--brand-gray-50);
	border-left: 4px solid var(--brand-error);
}

.alert-error::before {
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.alert-icon {
	flex-shrink: 0;
	fill: var(--brand-primary);
	width: 24px;
	height: 24px;
	margin-top: 2px;
}

.alert-info .alert-icon {
	fill: var(--brand-secondary);
}

.alert-success .alert-icon {
	fill: var(--brand-success);
}

.alert-error .alert-icon {
	fill: var(--brand-error);
}

.alert-content {
	color: var(--brand-gray-700);
	font-size: 0.9375rem;
	line-height: 1.6;
	flex: 1;
}

.alert-content strong {
	font-weight: 700;
	color: var(--brand-gray-900);
	display: block;
	margin-bottom: 0.25rem;
	font-size: 1.0625rem;
}

/** Animations **/
@keyframes pulse {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes shake {
	0%, 100% {
		transform: translateX(0);
	}
	25% {
		transform: translateX(-4px);
	}
	75% {
		transform: translateX(4px);
	}
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/** delete confirmation modal **/


/* Media queries for loading overlay removed as it's now positioned relative to the plugin container */

@media screen and (max-width: 768px) {
	.setting-group {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.label-wrapper {
		margin-bottom: 4px;
	}

	.field-container {
		width: 100%;
	}

	.select-wrapper select {
		padding-right: 120px;
	}

	.badge-container {
		position: absolute;
		right: 40px;
		top: 50%;
		transform: translateY(-50%);
	}

	.feature-badge {
		font-size: 10px;
		padding: 3px 8px;
	}

	.category-wrapper {
		flex-direction: column;
		align-items: stretch;
	}

	.category-disable-check {
		width: fit-content;
	}
}

/* This rule is no longer needed as the loading overlay is positioned absolutely */

.loading-content {
	text-align: center;
	transform: translateY(-50%);
	margin-top: -60px;
}

.loading-spinner {
	width: 50px;
	height: 50px;
	border: 5px solid #f3f3f3;
	border-top: 5px solid #3b82f6;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 12px;
}

/** loading***/
.loading-text {
	color: #1e293b;
	font-size: 1.2em;
	font-weight: 600;
	margin-top: -8px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/**delete modal**/
/* Modal Buttons */
.modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 16px;
}

.confirm-btn,
.cancel-btn {
	padding: 10px 20px;
	font-size: 16px;
	border: none;
	cursor: pointer;
	border-radius: 6px;
}

.confirm-btn {
	background-color: #e74c3c;
	color: white;
}

.confirm-btn:hover {
	background-color: #c0392b;
}

.cancel-btn {
	background-color: #bdc3c7;
	color: white;
}

.cancel-btn:hover {
	background-color: #95a5a6;
}

.btn {
	padding: 10px 20px;
	margin: 0 10px;
	border: none;
	background-color: #007bff;
	color: white;
	cursor: pointer;
	border-radius: 5px;
	font-size: 16px;
}

.btn:disabled {
	background-color: #d6d6d6;
	cursor: not-allowed;
}

.btn:hover:not(:disabled) {
	background-color: #0056b3;
	color: white;
}

#pageInfo {
	font-size: 18px;
	margin: 0 10px;
}

.setting-group {
	margin-bottom: 35px;
	position: relative;
	display: grid;
	grid-template-columns: 205px 1fr;
	gap: 16px;
	padding: 30px;
	border-radius: 12px;
	transition: all 0.2s ease-in-out;
	margin-left: 15px;
	margin-right: 15px;
	border: 1px;
	background-color: rgb(255, 255, 255);
	border: 1px solid rgb(220, 220, 220);
	box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 6px 0px;
}

.setting-group:hover {
	transform: translateY(-2px);
	box-shadow: rgba(0, 0, 0, 0.35) 0px 8px 16px 0px;
	border-color: #94a3b8;
	background: linear-gradient(to bottom right, #ffffff, #f8fafc);
}

.setting-group:not(:last-child)::after {
	content: '';
	position: absolute;
	bottom: -18px;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(to right, transparent, #e5e7eb, transparent);
	/*align-items: start;*/
}

.form-table {
	width: 100%;
	box-sizing: border-box;
}

.form-table th {
	vertical-align: top;
	width: 200px;
	max-width: 30%;
	box-sizing: border-box;
}

.form-table td {
	padding: 0px;
	width: 70%;
	box-sizing: border-box;
}

/* Div-based form layout */
.form-table-div {
	width: 100%;
	box-sizing: border-box;
}

.form-row {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.form-label-column {
	vertical-align: top;
	width: 200px;
	/*max-width: 30%;*/
	box-sizing: border-box;
}

.form-input-column {
	padding: 0px;
	width: 70%;
	box-sizing: border-box;
}

@media screen and (max-width: 782px) {
	.form-table th,
	.form-table td {
		display: block;
		width: 100%;
		max-width: 100%;
	}

	.form-table th {
		padding-bottom: 8px;
	}

	.form-table td {
		padding-bottom: 16px;
	}

	/* Responsive styles for div-based form */
	.form-row {
		flex-direction: column;
	}

	.form-label-column,
	.form-input-column {
		width: 100%;
		/*max-width: 250px;*/
	}

	.form-label-column {
		padding-bottom: 8px;
	}

	.form-input-column {
		padding-bottom: 16px;
	}
}

.setting-group .tooltip-wrapper {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	min-width: 200px;
}

.tooltip-wrapper.product-search-wrapper{
	grid-column: 1 / -1;
}

.tooltip-wrapper {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	width: 100%;
	padding: 16px 0;
}

.tooltip-wrapper:not(:last-child)::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 96%;
	height: 1px;
	background: linear-gradient(90deg,
	rgba(203, 213, 225, 0) 0%,
	rgba(203, 213, 225, 0.8) 50%,
	rgba(203, 213, 225, 0) 100%
	);
}

.field-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 300;
	color: #374151;
	margin: 0;
	padding-left: 27px;
	position: relative;
	z-index: 1;
}

.field-label > .required-icon {
	margin-left: 5px;
	color: red !important;
}

.field-label > .required-icon:after {
	font-size: 12px;
	margin-left: 5px;
	display: none;
}

.field-label > .required-icon:hover:after {
	display: inline;
}

label.field-label {
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 22.5px;
	letter-spacing: 0.01em;
	text-transform: capitalize;
	/*white-space: nowrap;*/
}

.selected-value-display {
	position: absolute;
	right: 40px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.9em;
	color: var(--wp-light-text);
	pointer-events: none;
}

.alert.show {
	transform: translateY(0);
}

.pagination {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: space-between;
	flex-direction: row;
	align-items: center;
	gap: 1rem !important;
	padding: 1rem !important;
	font-family: system-ui, -apple-system, sans-serif !important;
	background-color: #f4f6f9 !important;
	border-radius: 8px !important;
}

.pagination .info {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 0.5rem !important;
	color: #495057 !important;
}

.pagination .info span {
	font-size: 0.875rem !important;
	font-weight: 500 !important;
}

.pagination .info-count span {
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	background-color: #ffffffb8;
	padding: 8px;
	border-radius: 7px;
	margin-right: 7px;
	margin-left: 4px;
	color: gray;
}

.pagination button {
	background: #f8f9fa !important;
	border: 1px solid #dee2e6 !important;
	padding: 0.5rem 1rem !important;
	border-radius: 4px !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	font-size: 0.875rem !important;
}

.pagination button:hover:not(:disabled) {
	background: #e9ecef !important;
	border-color: #ced4da !important;
	background: #383838;
}

.pagination button:disabled {
	opacity: 0.5 !important;
	cursor: not-allowed !important;
	background: #383838;
}

@media (max-width: 640px) {
	.pagination {
		flex-wrap: wrap !important;
		padding: 0.5rem !important;
	}

	.pagination span {
		font-size: 0.75rem !important;
	}
}

#bulk_posts {
	width: 75px;
	text-align: -webkit-right;
	font-weight: 900;
}

.notice {
	z-index: 99999;
}

.settings-section {
	background: #f6f7f7 !important;
	min-height: 299px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
}

.settings-section h3 {
	padding: 16px;
	margin-top: 0px;
}


.tab-content {
	background: #f6f7f7;
}

a:focus {
	outline: none;
	box-shadow: none;
}

.regular-text {
	font-weight: 400;
}

.status-badge.completed {
	color: green;
}

.status-badge.processing {
	color: blue;
}

.status-badge.pending {
	color: orange;
}

.status-badge.canceled {
	color: red;
}

.status-badge.error {
	color: red;
}

.table {
	width: 100%;
	border-collapse: collapse;
}

.table th, .table td {
	border: 1px solid #ddd;
	padding: 8px;
}

.table th {
	background-color: #f2f2f2;
	text-align: left;
}

.image-thumbnail {
	max-width: 100px;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.remove-button {
	cursor: pointer;
	color: red;
}

.description-field {
	width: 100%;
}

/*wordpress style loading */
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
}

.loader {
	border: 4px solid #f3f3f3;
	border-top: 4px solid #3498db;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 2s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/*title selection / bulk or main*/
.radio-group {
	display: flex;
	gap: 10px;
	margin-top: 8px;
}

.radio-option {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.radio-option.checkbox-item {
	width: auto;
	margin-right: 10px;
	padding: 10px 16px;
}

.radio-option.checkbox-item input[type="radio"] {
	width: 18px;
	height: 18px;
	margin-right: 8px;
	margin-top: 0;
	border: 2px solid var(--neutral-300);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease;
}

.radio-option.checkbox-item:hover input[type="radio"] {
	border-color: var(--wp-primary);
}

.radio-option.checkbox-item input[type="radio"]:checked {
	border-color: var(--wp-primary);
	background-color: var(--wp-primary);
	box-shadow: inset 0 0 0 3px white;
}

.input-option {
	display: none;
}

.input-option.active {
	display: block;
}

/*required fields auto change color-profile*/
/* Required field validation styling */

label.required::after {
	content: " (Required)";
	color: red;
	font-weight: bold;
}

.larger-btn {
	font-size: 0.8rem !important;
	width: 148px !important;
}


.dropdown-menu {
	padding: 14px 40px 14px 16px !important;
	border: 1.5px solid #ccc !important;
	background-color: #f9f9f9 !important;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
}

#featured_image_selector {
	padding: 8px 16px;
	border: 1px solid #2271b1;
	font-family: Roboto, sans-serif;
	font-size: 14px;
	font-weight: 500;
	height: 46.1484px;

	background-color: rgb(246, 247, 247);
	color: rgb(34, 113, 177);
	border-radius: 5px;
}

#selected_image {
	align-items: center;
	margin-top: 10px;
	padding: 10px;
	background-color: #f9f9f9;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	width: fit-content;
}

.selected_image_rmv {
	display: inline-flex;
	align-items: center;
	margin-left: 10px;
}

#selected_image_rmv_btn {
	border: none;
	background-color: #f0f0f0;
	color: #333;
	border-radius: 5px;
	margin-left: 4px;
	padding: 5px 10px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
}

#selected_image_rmv_btn:hover {
	background-color: #e0e0e0;
}

#generate_post {
	background: linear-gradient(to bottom, #499bea, #2271b1);
	color: white;
	border: none;
	border-radius: 5px;
	font-size: 14px;
	padding: 8px 16px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	transition: background 0.3s ease;
}

#generate_post:hover {
	background: linear-gradient(to bottom, #2271b1, #499bea);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#focus_keyword {
	padding: 8px 12px;
	border: 2px solid rgb(204, 204, 204); /* or #ccc */
	border-radius: 8px;
	font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 16px;
	background-color: rgb(249, 249, 249); /* or #f9f9f9 */
}

#secondary_keywords {
	height: 40px;
	padding: 8px 12px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	max-width: 100%;
	width: 400px;
}

#secondary_keywords:focus {
	border-color: #4CAF50; /* Example focus color */
	box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
	outline: none;
}

select#language_select,select#category_select,select#speaker_select {
	background: ghostwhite;
}

#upload-button {
	background-color: rgb(246, 247, 247);
	color: rgb(34, 113, 177);
	border-radius: 5px;
	margin-right: 10px;
	height: 41px;
}

.wrap {
	background-color: #f9f9f9;
	border: none;
	border-radius: 5px;
	padding: 20px;
	font-size: 14px;
	line-height: 1.6;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.checkbox-item-post-title {
	padding: 0px !important;
}

#post-title {
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
	box-shadow: inset 0 1px 3px #ddd;
}

.body-image-wrapper {
	overflow: auto;
	margin-top: 10px;
	padding: 15px;
	background-color: #f9f9f9;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
}

#media_selector {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-top: 10px;
	padding: 15px;
	background-color: #f9f9f9;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	width: fit-content;
}


/* Product Search Wrapper */
.product-search-wrapper.premium-feature {
	width: 100%;
	display: block;
	grid-column: span 2;
	box-sizing: border-box;
}

.seo-budget-row{
	grid-column: 1 / -1;
}

/* Dropdown Selection Wrapper Styling */
.dropdown-selection-wrapper {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-bottom: 16px;
	position: relative;
}

.dropdown-input-wrapper {
	width: 100%;
	position: relative;
	margin-bottom: 8px;
}


.select2-selection--single{
	height: 40px !important;
}

.select2-selection__placeholder {
	vertical-align: sub;
}
