/**
 * Pretpot Massive Addons - Admin Dashboard CSS
 */

/* ============================================
   GENERAL ADMIN STYLES
   ============================================ */
.pretpot-admin-wrap {
	background: #f8f9fa;
	margin: 0 0 0 -20px;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
}

/* ============================================
   HEADER - Elementor Style (Black, Full Width)
   ============================================ */
.pretpot-admin-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 40px 15px 20px;
	background: #000000;
	color: #fff;
	margin: 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pretpot-header-left {
	display: flex;
	align-items: center;
	gap: 15px;
}

.pretpot-logo {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.pretpot-admin-header h1 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
}

.pretpot-header-right {
	display: flex;
	align-items: center;
	gap: 15px;
}

/* Version Badge - Latest Style */
.pretpot-version-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #6c757d;
	background: #e9ecef;
	border-radius: 20px;
	border: 2px solid #dee2e6;
}

/* News Icon */
.pretpot-news-icon {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: rgba(255,255,255,0.1);
	border-radius: 6px;
	color: #fff;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
}

.pretpot-news-icon:hover {
	background: rgba(255,255,255,0.2);
}

.pretpot-notification-dot {
	position: absolute;
	top: -2px;
	right: -2px;
	width: 8px;
	height: 8px;
	background: #ff6600;
	border-radius: 50%;
	border: 2px solid #fff;
}

/* News Popup */
.pretpot-news-wrap {
	position: relative;
}

.pretpot-news-popup {
	display: none;
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: 380px;
	background: rgba(15, 15, 25, 0.72);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	padding: 14px;
	z-index: 99999;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.pretpot-news-popup.is-open {
	display: block;
}

.pretpot-news-item {
	display: flex;
	align-items: center;
	gap: 14px;
}

.pretpot-news-icon-col {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 10px;
}

.pretpot-news-icon-col .dashicons {
	font-size: 22px;
	width: 22px;
	height: 22px;
	color: #fff;
}

.pretpot-news-content {
	flex: 1;
	min-width: 0;
}

.pretpot-news-title {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	line-height: 1.3;
	margin-bottom: 3px;
}

.pretpot-news-sub {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.4;
}

.pretpot-news-action {
	flex-shrink: 0;
}

.pretpot-news-view-btn {
	display: inline-block;
	padding: 7px 16px;
	background: #000;
	color: #fff !important;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	transition: background 0.2s ease;
	white-space: nowrap;
}

.pretpot-news-view-btn:hover {
	background: #222;
	color: #fff !important;
}

/* Upgrade Button - Latest Style */
.pretpot-upgrade-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 28px;
	background: linear-gradient(135deg, #1e3a8a 0%, #000000 100%);
	color: #fff !important;
	border: 1px solid #6c757d;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.pretpot-upgrade-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
	color: #fff !important;
	background: #2d2d2d !important;
}

.pretpot-upgrade-btn:active {
	transform: translateY(0);
}

/* ============================================
   TABS
   ============================================ */
.pretpot-tabs {
	display: flex;
	gap: 10px;
	padding: 20px 40px 0;
	background: #fff;
	border-bottom: 2px solid #e9ecef;
	margin: 0 0 0 20px;
}

.pretpot-tab {
	padding: 12px 24px;
	color: #6c757d;
	text-decoration: none;
	font-weight: 500;
	border-radius: 8px 8px 0 0;
	transition: all 0.3s ease;
	position: relative;
}

.pretpot-tab:hover {
	color: #000;
	background: #f8f9fa;
}

.pretpot-tab.active {
	color: #000;
	background: #f8f9fa;
	font-weight: 600;
}

.pretpot-tab.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 2px;
	background: #000;
}

/* Pro Tab Styling */
.pretpot-pro-tab {
	cursor: pointer;
}

.pretpot-pro-tab:hover {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* ============================================
   TAB CONTENT
   ============================================ */
.pretpot-tab-content {
	padding: 40px;
	background: #fff;
	margin: 0 0 0 20px;
}

/* ============================================
   WIDGETS LAYOUT
   ============================================ */
.pretpot-widgets-layout {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 30px;
}

/* Left Column */
.pretpot-widgets-left {
	min-height: 600px;
}

.pretpot-welcome-box {
	padding: 30px;
	background: #000000;
	border-radius: 12px;
	text-align: center;
	margin-bottom: 30px;
	color: #fff;
}

.pretpot-3d-heading {
	font-family: Helvetica, Arial, sans-serif !important;
	font-size: 48px;
	font-weight: 800;
	margin: 0 0 20px;
	color: #ffffff !important;
	text-shadow: 
		2px 2px 0 rgba(0,0,0,0.1),
		4px 4px 0 rgba(0,0,0,0.08),
		6px 6px 0 rgba(0,0,0,0.06);
	transform: perspective(500px) rotateX(10deg);
}

.pretpot-welcome-box p {
	margin: 0;
	font-size: 16px;
	opacity: 0.9;
}

/* ============================================
   DASHBOARD CONTROLS (Search + Create Button)
   ============================================ */
.pretpot-dashboard-controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-bottom: 30px;
	padding: 0;
}

/* Create New Page Button */
.pretpot-create-page-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 28px;
	background: linear-gradient(135deg, #1e3a8a 0%, #000000 100%);
	color: #fff !important;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.pretpot-create-page-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.pretpot-create-page-btn:active {
	transform: translateY(0);
}

.pretpot-plus-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

/* Widget Search Container */
.pretpot-widget-search-container {
	position: relative;
	flex: 1;
	max-width: 400px;
}

.pretpot-widget-search {
	width: 100%;
	padding: 12px 45px 12px 20px;
	border: 2px solid #e9ecef;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s ease;
	background: #fff;
}

.pretpot-widget-search:focus {
	outline: none;
	border-color: #000;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.pretpot-widget-search::placeholder {
	color: #adb5bd;
}

/* Search Icon - Hidden */
.pretpot-search-icon {
	display: none;
}

/* Clear Search Button */
.pretpot-clear-search {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	display: none;
	align-items: center;
	justify-content: center;
	background: #e9ecef;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 14px;
	color: #6c757d;
	transition: all 0.3s ease;
}

.pretpot-clear-search:hover {
	background: #dc3545;
	color: #fff;
}

.pretpot-clear-search.active {
	display: flex;
}

/* Search Results Count */
.pretpot-search-results {
	margin-top: 10px;
	padding: 10px 15px;
	background: #f8f9fa;
	border-radius: 6px;
	font-size: 13px;
	color: #6c757d;
	display: none;
}

.pretpot-search-results.active {
	display: block;
}

.pretpot-search-results strong {
	color: #212529;
	font-weight: 600;
}

/* No Search Results */
.pretpot-no-search-results {
	grid-column: 1 / -1;
	padding: 60px 20px;
	text-align: center;
	background: #f8f9fa;
	border-radius: 12px;
	display: none;
}

.pretpot-no-search-results.active {
	display: block;
}

.pretpot-no-search-results .dashicons {
	font-size: 64px;
	color: #adb5bd;
	margin-bottom: 15px;
}

.pretpot-no-search-results h3 {
	margin: 0 0 10px;
	font-size: 20px;
	color: #212529;
}

.pretpot-no-search-results p {
	margin: 0;
	color: #6c757d;
	font-size: 14px;
}

/* Widget Card Search States */
.pretpot-widget-card.search-hidden {
	display: none;
}

.pretpot-widget-card.search-highlight {
	animation: highlightPulse 0.6s ease;
}

@keyframes highlightPulse {
	0%, 100% {
		box-shadow: 0 4px 12px rgba(0,0,0,0.08);
		transform: scale(1);
	}
	50% {
		box-shadow: 0 6px 20px rgba(138, 154, 91, 0.3);
		transform: scale(1.02);
	}
}

/* Loading State */
.pretpot-widget-search.loading {
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 50 50"><circle cx="25" cy="25" r="20" fill="none" stroke="%23ddd" stroke-width="5"/><circle cx="25" cy="25" r="20" fill="none" stroke="%23000" stroke-width="5" stroke-dasharray="31.4 31.4" stroke-linecap="round"><animateTransform attributeName="transform" type="rotate" from="0 25 25" to="360 25 25" dur="1s" repeatCount="indefinite"/></circle></svg>');
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 20px 20px;
}

/* ============================================
   WIDGETS GRID
   ============================================ */
.pretpot-widgets-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}

.pretpot-widget-card {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	padding: 20px;
	transition: all 0.3s ease;
}

.pretpot-widget-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	transform: translateY(-2px);
}

.pretpot-widget-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 15px;
}

.pretpot-widget-header h3 {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #212529;
	flex: 1;
	line-height: 1.4;
}

.pretpot-widget-actions {
	display: flex;
	gap: 8px;
}

.pretpot-info-btn,
.pretpot-demo-btn {
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	color: #6c757d;
	text-decoration: none;
}

.pretpot-info-btn:hover,
.pretpot-demo-btn:hover {
	background: #000;
	border-color: #000;
	color: #fff;
	transform: rotate(45deg);
}

.pretpot-demo-btn:hover {
	transform: scale(1.1);
}

/* Toggle Switch - Moss Green */
.pretpot-toggle {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 26px;
}

.pretpot-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.pretpot-toggle-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 26px;
}

.pretpot-toggle-slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

.pretpot-toggle input:checked + .pretpot-toggle-slider {
	background-color: #8A9A5B;
}

.pretpot-toggle input:checked + .pretpot-toggle-slider:before {
	transform: translateX(24px);
}

/* ============================================
   PRO BADGE STYLES - GOLD GRADIENT (Latest)
   ============================================ */
.pretpot-pro-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 10px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #1a1a1a;
	background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
	position: relative;
	overflow: hidden;
}

/* Shimmer effect on PRO badge */
.pretpot-pro-badge::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	animation: pretpot-shimmer 3s infinite;
}

@keyframes pretpot-shimmer {
	0% { left: -100%; }
	50%, 100% { left: 100%; }
}

/* PRO locked widget card styling */
.pretpot-pro-locked {
	position: relative;
	background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
	border: 2px dashed #dee2e6;
	opacity: 0.85;
	cursor: not-allowed;
}

.pretpot-pro-locked .pretpot-widget-header h3 {
	color: #6c757d;
}

/* Disabled toggle styling */
.pretpot-toggle-disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.pretpot-toggle-disabled .pretpot-toggle-slider {
	background-color: #adb5bd;
}

/* PRO badge wrapper for lower positioning */
.pretpot-pro-badge-wrapper {
	display: flex;
	justify-content: center;
	margin: 10px 0;
}

.pretpot-pro-locked .pretpot-pro-badge {
	position: static;
	display: inline-flex;
}

/* Quick Link PRO badge */
.pretpot-quick-link .pretpot-pro-badge {
	margin-left: 8px;
	padding: 2px 6px;
	font-size: 9px;
}

/* ============================================
   RIGHT COLUMN
   ============================================ */
.pretpot-widgets-right {
	position: sticky;
	top: 32px;
	align-self: start;
}

/* Promo Banner */
.pretpot-promo-banner {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 20px;
	position: relative;
}

.pretpot-banner-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	background: rgba(0,0,0,0.5);
	color: #fff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	z-index: 10;
	transition: all 0.3s ease;
}

.pretpot-banner-close:hover {
	background: rgba(0,0,0,0.8);
}

.pretpot-banner-content img {
	width: 100%;
	height: auto;
	display: block;
}

.pretpot-banner-features {
	padding: 25px;
}

.pretpot-banner-features h3 {
	margin: 0 0 15px;
	font-size: 18px;
	color: #212529;
}

.pretpot-banner-features ul {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.pretpot-banner-features li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	color: #6c757d;
	font-size: 14px;
}

.pretpot-banner-features li .dashicons {
	color: #8A9A5B;
	font-size: 18px;
}

.pretpot-banner-btn {
	display: block;
	width: 100%;
	padding: 12px;
	background: #000000;
	color: #fff !important;
	text-align: center;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.pretpot-banner-btn:hover {
	background: #333333;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Second Promo Banner (closeable) */
.pretpot-promo-banner-2 {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 20px;
	position: relative;
}

.pretpot-promo-banner-2 .pretpot-banner-content img {
	width: 100%;
	height: auto;
	display: block;
}

/* Quick Links */
.pretpot-quick-links {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 12px;
	padding: 25px;
	margin-bottom: 20px;
}

.pretpot-quick-links h3 {
	margin: 0 0 15px;
	font-size: 16px;
	color: #212529;
}

.pretpot-quick-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 15px;
	margin-bottom: 10px;
	background: #f8f9fa;
	border-radius: 6px;
	color: #212529 !important;
	text-decoration: none;
	transition: all 0.3s ease;
}

.pretpot-quick-link:hover {
	background: #e9ecef;
	transform: translateX(5px);
}

.pretpot-quick-link .dashicons {
	color: #000;
}

.pretpot-pro-link {
	position: relative;
}

/* ============================================
   REVIEW BOX STYLES
   ============================================ */
.pretpot-review-box {
	background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
	border: 2px solid #ffd700;
	border-radius: 12px;
	padding: 20px;
	margin-top: 10px;
	transition: all 0.3s ease;
}

.pretpot-review-box:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(255, 193, 7, 0.25);
	border-color: #ffc107;
}

.pretpot-review-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.pretpot-review-content {
	text-align: center;
}

.pretpot-review-stars {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin-bottom: 12px;
}

.pretpot-review-stars .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: #ffc107;
	text-shadow: 0 1px 2px rgba(0,0,0,0.1);
	transition: transform 0.2s ease;
}

.pretpot-review-box:hover .pretpot-review-stars .dashicons {
	transform: scale(1.1);
}

.pretpot-review-stars .dashicons:nth-child(1) { animation: starPulse 1.5s ease-in-out infinite; }
.pretpot-review-stars .dashicons:nth-child(2) { animation: starPulse 1.5s ease-in-out infinite 0.1s; }
.pretpot-review-stars .dashicons:nth-child(3) { animation: starPulse 1.5s ease-in-out infinite 0.2s; }
.pretpot-review-stars .dashicons:nth-child(4) { animation: starPulse 1.5s ease-in-out infinite 0.3s; }
.pretpot-review-stars .dashicons:nth-child(5) { animation: starPulse 1.5s ease-in-out infinite 0.4s; }

@keyframes starPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.15); }
}

.pretpot-review-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #856404;
	font-weight: 500;
}

/* ============================================
   MODAL
   ============================================ */
.pretpot-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pretpot-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
}

.pretpot-modal-content {
	background: #fff;
	border-radius: 12px;
	max-width: 600px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	z-index: 10;
}

.pretpot-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 35px;
	height: 35px;
	background: #f8f9fa;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 24px;
	color: #6c757d;
	transition: all 0.3s ease;
	z-index: 10;
	border: none;
}

.pretpot-modal-close:hover {
	background: #000;
	color: #fff;
}

.pretpot-modal-preview picture,
.pretpot-modal-preview img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px 12px 0 0;
}

.pretpot-modal-title {
	margin: 25px 30px 15px;
	font-size: 24px;
	color: #212529;
}

.pretpot-modal-desc {
	margin: 0 30px 30px;
	color: #6c757d;
	line-height: 1.6;
}

/* ============================================
   PRO UPGRADE MODAL STYLES
   ============================================ */
#pretpot-pro-upgrade-modal .pretpot-modal-overlay {
	background: rgba(0, 0, 0, 0.85);
}

.pretpot-pro-modal-content {
	background: #000000;
	color: #ffffff;
	border-radius: 12px;
	max-width: 500px;
	width: 90%;
	position: relative;
	z-index: 10;
	padding: 40px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.pretpot-pro-modal-content p {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 30px;
	color: #ffffff;
}

.pretpot-pro-modal-btn-continue {
	background: #ffffff;
	color: #000000;
	padding: 12px 28px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	display: inline-block;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.pretpot-pro-modal-btn-continue:hover {
	background: #f0f0f0;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.pretpot-pro-modal-btn-stay {
	background: #dc3545;
	color: #ffffff;
	padding: 12px 28px;
	border-radius: 6px;
	border: none;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.pretpot-pro-modal-btn-stay:hover {
	background: #a71d2a;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* ============================================
   SAVE BUTTON
   ============================================ */
.pretpot-save-btn {
	background: #000000 !important;
	border: none !important;
	text-shadow: none !important;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
	color: #fff !important;
}

.pretpot-save-btn:hover {
	background: #333333 !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.3) !important;
}

/* ============================================
   SETTINGS TAB
   ============================================ */
.pretpot-settings-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}

.pretpot-setting-card {
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	padding: 25px;
}

.pretpot-setting-card h3 {
	margin: 0 0 20px;
	font-size: 16px;
	color: #212529;
}

.pretpot-setting-card label {
	display: block;
	margin-bottom: 8px;
	color: #6c757d;
	font-size: 14px;
}

.pretpot-setting-card input[type="text"],
.pretpot-setting-card input[type="number"],
.pretpot-setting-card select {
	width: 100%;
	padding: 10px;
	border: 1px solid #ced4da;
	border-radius: 6px;
	font-size: 14px;
}

.pretpot-danger-zone {
	border-left: 4px solid #dc3232 !important;
}

.button-danger {
	background: #dc3232 !important;
	border-color: #dc3232 !important;
	color: #fff !important;
}

.button-danger:hover {
	background: #a00 !important;
	border-color: #a00 !important;
}

/* Cookie Settings */
.pretpot-cookies-form select,
.pretpot-cookies-form input[type="number"] {
	width: 100%;
	max-width: 400px;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.pretpot-cookies-form label {
	display: block;
	margin: 10px 0;
}

.pretpot-reset-consent {
	margin-top: 10px;
}

/* ============================================
   FREE VS PRO TABLE
   ============================================ */
.pretpot-comparison-table {
	max-width: 800px;
	margin: 0 auto;
}

.pretpot-comparison-table table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.pretpot-comparison-table thead {
	background: #000000;
	color: #fff;
}

.pretpot-comparison-table th {
	padding: 20px;
	text-align: left;
	font-weight: 600;
}

.pretpot-comparison-table td {
	padding: 15px 20px;
	border-bottom: 1px solid #e9ecef;
}

.pretpot-comparison-table .dashicons-yes {
	color: #8A9A5B;
}

.pretpot-comparison-table .dashicons-no {
	color: #dc3545;
}

.pretpot-comparison-table th:last-child {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

.pretpot-upgrade-cta {
	display: block;
	max-width: 300px;
	margin: 30px auto 0;
	padding: 15px 30px;
	background: #000000;
	color: #fff !important;
	text-align: center;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 16px;
	transition: all 0.3s ease;
}

.pretpot-upgrade-cta:hover {
	background: #333333;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* ============================================
   ABOUT TAB
   ============================================ */
.pretpot-about-content {
	max-width: 600px;
}

.pretpot-about-content h2 {
	margin-top: 0;
	color: #212529;
}

.pretpot-about-links {
	display: flex;
	gap: 15px;
	margin-top: 30px;
}

.pretpot-about-links a {
	padding: 10px 20px;
	background: #f8f9fa;
	color: #000 !important;
	text-decoration: none;
	border-radius: 6px;
	transition: all 0.3s ease;
	border: 1px solid #e9ecef;
}

.pretpot-about-links a:hover {
	background: #000;
	color: #fff !important;
}

/* ============================================
   HEADER & FOOTER PAGE
   ============================================ */
.pretpot-hf-locked-wrapper {
	position: relative;
	min-height: 400px;
}

.pretpot-hf-locked {
	filter: blur(5px);
	pointer-events: none;
	user-select: none;
	opacity: 0.3;
	padding: 40px;
}

.pretpot-hf-message {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	text-align: center;
	background: #fff;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 2px 20px rgba(0,0,0,0.15);
	max-width: 500px;
}

.pretpot-hf-message .dashicons {
	color: #666;
	margin-bottom: 15px;
}

.pretpot-hf-message h2 {
	margin: 0 0 10px 0;
	font-size: 24px;
}

.pretpot-hf-message p {
	margin: 0 0 20px 0;
	color: #666;
}

.pretpot-hf-builder {
	padding: 20px;
}

.pretpot-hf-section {
	margin-bottom: 40px;
	background: #fff;
	padding: 20px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
}

.pretpot-hf-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.pretpot-hf-section-header h2 {
	margin: 0;
}

.pretpot-templates-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.pretpot-template-card {
	background: #f9f9f9;
	padding: 20px;
	border-radius: 6px;
	border: 1px solid #e5e5e5;
}

.pretpot-template-card h3 {
	margin: 0 0 15px 0;
	font-size: 16px;
}

.pretpot-template-actions {
	display: flex;
	gap: 10px;
}

.pretpot-template-actions .button {
	flex: 1;
}

.pretpot-template-actions .button-danger {
	flex: 0;
	padding: 6px 10px;
}

.pretpot-no-templates {
	color: #666;
	font-style: italic;
	padding: 20px;
	text-align: center;
}

.pretpot-display-rules {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}

.pretpot-display-rules th,
.pretpot-display-rules td {
	padding: 12px;
	text-align: left;
	border: 1px solid #e5e5e5;
	vertical-align: top;
}

.pretpot-display-rules th {
	background: #f9f9f9;
	font-weight: 600;
}

.pretpot-display-rules select,
.pretpot-display-rules input[type="text"] {
	width: 100%;
	max-width: 400px;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.pretpot-display-rules .description {
	margin: 5px 0 0;
	font-size: 12px;
	color: #666;
}

#pretpot-page-list {
	margin-top: 15px;
	max-height: 300px;
	overflow-y: auto;
	border: 1px solid #ddd;
	padding: 15px;
	background: #f9f9f9;
	border-radius: 4px;
}

#pretpot-page-list h4 {
	margin-top: 0;
}

#pretpot-page-list table {
	width: 100%;
	border-collapse: collapse;
}

#pretpot-page-list th {
	text-align: left;
	padding: 8px;
	border-bottom: 1px solid #ddd;
	font-weight: 600;
}

#pretpot-page-list td {
	padding: 8px;
	border-bottom: 1px solid #eee;
}

#pretpot-page-list code {
	background: #fff;
	padding: 2px 6px;
	border-radius: 3px;
	font-family: monospace;
}

.pretpot-copy-id {
	padding: 4px 10px;
	font-size: 12px;
}

/* ============================================
   TROUBLESHOOT TAB
   ============================================ */
.pretpot-troubleshoot-form .pretpot-settings-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

/* ============================================
   SIDEBAR MENU STYLING
   ============================================ */
#adminmenu .pretpot-upgrade-link {
	color: #fff !important;
	background: #EC5800 !important;
	padding: 5px 10px;
	border-radius: 4px;
	display: inline-block;
}

/* Upgrade Link Hover */
.pretpot-upgrade-link {
	transition: color 0.3s ease;
}

.wp-submenu a[href*="pretpot-upgrade-pro"]:hover .pretpot-upgrade-link {
	color: #ff6600 !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
	.pretpot-widgets-layout {
		grid-template-columns: 1fr;
	}
	
	.pretpot-widgets-right {
		position: static;
	}
}

@media (max-width: 782px) {
	.pretpot-admin-wrap {
		margin: 0;
	}
	
	.pretpot-tabs,
	.pretpot-tab-content {
		margin-left: 0;
	}
	
	.pretpot-widgets-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.pretpot-admin-header {
		flex-direction: column;
		gap: 15px;
		text-align: center;
		padding: 15px;
	}
	
	.pretpot-header-left {
		flex-direction: column;
		gap: 10px;
	}
	
	.pretpot-admin-header h1 {
		font-size: 16px;
	}
	
	.pretpot-settings-grid {
		grid-template-columns: 1fr;
	}
	
	.pretpot-troubleshoot-form .pretpot-settings-grid {
		grid-template-columns: 1fr;
	}
	
	.pretpot-dashboard-controls {
		flex-direction: column;
		align-items: stretch;
	}
	
	.pretpot-widget-search-container {
		max-width: 100%;
	}
	
	.pretpot-create-page-btn {
		justify-content: center;
	}
	
	.pretpot-hf-message {
		margin: 20px;
		padding: 30px 20px;
	}
	
	.pretpot-pro-modal-content {
		margin: 20px;
		padding: 30px 20px;
	}
}

@media (max-width: 480px) {
	.pretpot-widgets-grid {
		grid-template-columns: 1fr;
	}
	
	.pretpot-tabs {
		flex-wrap: wrap;
		padding: 10px 20px 0;
	}
	
	.pretpot-tab {
		padding: 8px 16px;
		font-size: 13px;
	}
	
	.pretpot-welcome-box {
		padding: 20px;
	}
	
	.pretpot-3d-heading {
		font-size: 32px;
	}
}

/* ============================================
   VIDEO PREVIEW STYLES
   ============================================ */
.pretpot-preview-video {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px 12px 0 0;
	background: #000;
}

.pretpot-modal-preview {
	position: relative;
	overflow: hidden;
}

/* Video loading state */
.pretpot-modal-preview.loading::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	border: 3px solid #f3f3f3;
	border-top: 3px solid #000;
	border-radius: 50%;
	animation: pretpot-spin 1s linear infinite;
	z-index: 1;
}

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

/* ============================================
   WORDPRESS ADMIN NOTICES - inside plugin wrap
   ============================================ */
.pretpot-admin-wrap .notice,
.pretpot-admin-wrap .updated,
.pretpot-admin-wrap .update-nag,
.pretpot-admin-wrap .error,
.pretpot-admin-wrap div.error,
.pretpot-admin-wrap div.updated {
	background: #fff;
	border-left: 4px solid #007cba;
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.1);
	color: #1d2327;
	margin: 12px 0;
	padding: 12px 16px;
}

.pretpot-admin-wrap .notice p,
.pretpot-admin-wrap .updated p,
.pretpot-admin-wrap .error p {
	color: #1d2327;
	margin: 0;
}

.pretpot-admin-wrap .notice-success,
.pretpot-admin-wrap .updated {
	border-left-color: #00a32a;
}

.pretpot-admin-wrap .notice-error,
.pretpot-admin-wrap .error {
	border-left-color: #d63638;
}

.pretpot-admin-wrap .notice-warning {
	border-left-color: #dba617;
}

.pretpot-admin-wrap .notice-info {
	border-left-color: #007cba;
}


/* ============================================
   WORDPRESS ADMIN NOTICES - inside plugin wrap
   ============================================ */
.pretpot-admin-wrap .notice,
.pretpot-admin-wrap .updated,
.pretpot-admin-wrap .update-nag,
.pretpot-admin-wrap .error,
.pretpot-admin-wrap div.error,
.pretpot-admin-wrap div.updated {
	background: #fff;
	border-left: 4px solid #007cba;
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.1);
	color: #1d2327;
	margin: 12px 0;
	padding: 12px 16px;
}

.pretpot-admin-wrap .notice p,
.pretpot-admin-wrap .updated p,
.pretpot-admin-wrap .error p {
	color: #1d2327;
	margin: 0;
}

.pretpot-admin-wrap .notice-success,
.pretpot-admin-wrap .updated {
	border-left-color: #00a32a;
}

.pretpot-admin-wrap .notice-error,
.pretpot-admin-wrap .error {
	border-left-color: #d63638;
}

.pretpot-admin-wrap .notice-warning {
	border-left-color: #dba617;
}

.pretpot-admin-wrap .notice-info {
	border-left-color: #007cba;
}