/* Layout */
.pqcew-admin-wrap {
	display: flex;
	gap: 30px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
	padding: 20px 140px;
	font-size: 14px;
	font-weight: 700;

}

.pqcew-content-main {
	width: 100%;
}

.pqcew-sidebar {
	width: 350px;
	padding: 12px;
	border-radius: 8px;
	height: fit-content;
}

.pqcew-sidebar-dark {
	background: #fff;
	color: #111827;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.04);
}

.pqcew-logo-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	cursor: pointer;
}

.pqcew-logo-wrap img {
	width: 100%;
	height: 50px;
	object-fit: contain;
	border-radius: 6px;
	padding: 4px;
}

.pqcew-logo-text {
	font-weight: 700;
	font-size: 15px;
	color: #fff;
}

.pqcew-sidebar ul {
	list-style: none;
	margin: 25px 0 0;
	padding: 0;
}

.pqcew-sidebar li {
	margin-bottom: 15px;
	padding: 15px 12px;
	background: #fafafa;
	border-radius: 8px;
	cursor: pointer;
	transition: all .12s ease;
	text-align: left;
	color: #000000;
	border: 1px solid #eee;
	font-weight: 600;
	font-size: 16px;
}

.pqcew-sidebar li.active {
	background: #fd5a1e;
	color: #fff;
	border-color: #fd5a1e;
}

.pqcew-content .pqcew-tab-content .pqcew-main-dash {
	flex: 1;
	background: #fff;
	padding: 50px 30px;
	border-radius: 8px;
	border: 1px solid #eaeaea;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.pqcew-tab-content {
	display: none;
}

.pqcew-tab-content.active {
	display: block;
}

.pqcew-content .pqcew-tab-content h1 {
	margin: 20px 0 30px;
}

/* Red stat boxes (like screenshot) */
.pqcew-red-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 18px;
	margin-bottom: 30px;
}

.pqcew-card-red {
	border: 2px solid #000000;
	border-radius: 8px;
	background: #fafafa;
}

.pqcew-card-red-inner {
	padding: 18px;
	text-align: center;
}

.pqcew-card-red-value {
	font-size: 28px;
	font-weight: 700;
	color: #000000;
}

.pqcew-card-red-label {
	margin-top: 6px;
	color: #6b7280;
	font-size: 13px;
}

/* Widgets controls */
.pqcew-widgets-top-controls {
	margin-bottom: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.pqcew-filter-row {
	display: flex;
	gap: 12px;
	align-items: center;
	width: 100%;
}

.pqcew-filter-row select,
.pqcew-filter-row input[type="search"] {
	padding: 8px 10px;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
}

.pqcew-search-wrap {
	flex: 1;
	text-align: end;
}

.pqcew-widget-category {
	margin-bottom: 35px;
}

.pqcew-category-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 20px 0;
	font-size: 16px;
}

.pqcew-widget-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	gap: 25px;
	margin-top: 15px;

}

.pqcew-widget-card {
	border: 1px solid #000000;
	padding: 12px;
	border-radius: 8px;
	text-align: center;
	background: #fafafa;
	display: flex
	;
	justify-content: space-between;
}

.pqcew-widget-card h3 {
	margin: 0 0 6px;
	font-size: 15px;
}

.pqcew-widget-card .pqcew-widget-slug {
	font-size: 12px;
	color: #888;
	margin-bottom: 8px;
}

/* Switch */
.switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 24px;
}

.switch input {
	display: none;
}

.slider {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #ccc;
	border-radius: 24px;
	transition: .3s;
}

.slider:before {
	content: "";
	position: absolute;
	left: 3px;
	bottom: 3px;
	height: 18px;
	width: 18px;
	background: #fff;
	border-radius: 50%;
	transition: .3s;
}

input:checked+.slider {
	background: #fd5a1e;
}

input:checked+.slider:before {
	transform: translateX(26px);
}

/* Messages */
#pqcew-widgets-message.updated {
	color: #155724;
	background: #d4edda;
	padding: 8px;
	border-radius: 6px;
	margin-top: 10px;
}

#pqcew-widgets-message.error {
	color: #721c24;
	background: #f8d7da;
	padding: 8px;
	border-radius: 6px;
	margin-top: 10px;
}

.pqcew-save-widgets-holder {
	margin-top: 12px;
}

.pqcew-user-box {
	display: flex;
	align-items: center;
	background: #fafafa;
	color: #000000;
	padding: 25px;
	border-radius: 5px;
	margin-bottom: 45px;
	line-height: 1;
	font-weight: bold;
	font-size: 24px;
}

.pqcew-user-box .pqcew-user-avatar img {
	border-radius: 50%;
	width: 70px;
	height: 70px;
	margin-right: 20px;
}

.pqcew-user-box .pqcew-username {
	color: #fd5a1e;
}

.wp-core-ui .button-primary {
	background: #fd5a1e;
	border-color: #fd5a1e;
	transition: all 0.3s ease-in-out;
}

.wp-core-ui .button-primary:hover {
	background: #000000;
	border-color: #000000;
}


.pqcew-page-banner {
	background: #fff;
	padding: 30px 20px;
	border-radius: 5px;
	margin-bottom: 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.pqcew-page-banner h2 {
	margin: 0;
	font-size: 22px;
	color: #000000;
}


/* Base button style */

.pqcew-links {
	display: flex;
	gap: 15px;
}

.pqcew-button {
	display: inline-block;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	background-color: #f1f1f1;
	color: #333;
	border: 1px solid #ccc;
	border-radius: 4px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.pqcew-button:hover {
	background-color: #e1e1e1;
	border-color: #bbb;
	color: #000;
}

/* Primary button style */
.pqcew-button-primary {
	background-color: #ff5722; /* same orange as in your image */
	color: #fff;
	border-color: #e64a19;
}

.pqcew-button-primary:hover {
	background-color: #e64a19;
	border-color: none;
	color: #ffffff;
}

a:focus {
	box-shadow: none;
	color: #fff;
}

.pqcew-page-banner {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.pqcew-category-tabs {
	margin-bottom: 15px;
}
.pqcew-category-tab {
	display: inline-block;
	padding: 10px 16px;
	margin-right: 10px;
	border-radius: 8px;
	background: #ffffff;
	cursor: pointer;
	transition: background 0.3s;
	color: #000000;
	font-size: 16px;
	font-weight: 600;
}
.pqcew-category-tab.active {
	background: #fd5a1e;
	color: #fff;
}
.pqcew-category-tab:hover {
	background: #fd5a1e;
	color: #fff;
}



/* rating */
.pqcew-rating {
	font-size: 14px;
	color: #FD5A1E;
	font-weight: bold;
}

.pqcew-rating-card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	border: 1px solid #E1E1E1;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	margin-top: 20px;
	text-align: center;
}
.pqcew-rating-card h3 {
	margin: 20px 0 20px;
	font-size: 20px;
	font-weight: 600;
	color: #000000;
}
.pqcew-rating-stars {
	display: flex
	;
	gap: 5px;
	cursor: pointer;
	font-size: 24px;
	color: #ccc;
	justify-content: center;
}
.pqcew-rating-stars .star:hover,
.pqcew-rating-stars .star.hover,
.pqcew-rating-stars .star.selected {
	color: #FD5A1E;
}
.pqcew-rating-msg {
	margin-top: 10px;
	font-size: 14px;
	color: #333;
}


/* Card */
.pqcew-links-cards {
	display: flex;
	gap: 20px;
	margin-top: 20px;
}

.pqcew-link-card {
	background: #fff;
	border-radius: 12px;
	flex: 1 1 220px;
	text-align: center;
	padding: 20px;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s, box-shadow 0.2s;
}
/* Icon + title */
.pqcew-link-icon {
	font-size: 30px;
	color: #FD5A1E;
	margin-bottom: 15px;
	display: flex;
	gap: 20px;
}
.pqcew-link-icon h3 {
	font-size: 16px;
	font-weight: 700;
	margin-top: 4px;
}
/* Card content */
.pqcew-link-content {
	margin-top: auto;
}
.pqcew-link-card-button {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 6px;
	background-color: #FD5A1E;
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
	width: 83%;
}
.pqcew-link-card-button:hover {
	background-color: #000;
	color: #fff;
}
/* Responsive */
@media (max-width: 900px) {
	.pqcew-links-cards {
		justify-content: center;
	}
	.pqcew-link-card {
		max-width: 80%;
	}
}


.pqcew-rating-plugin {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.pqcew-social-card {
	margin-top: 20px;
	background: #fff;
	border: 1px solid #E5E5E5;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
	transition: all 0.3s ease;
}
.pqcew-social-card:hover {
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
/* Title */
.pqcew-social-title {
	font-size: 20px;
	font-weight: 600;
	color: #000000;
	margin-bottom: 20px;
	margin-top: 20px;
	text-transform: capitalize;
}
/* Icons Container */
.pqcew-social-icons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
/* Each Icon */
.pqcew-social-icon {
	width: 40px;
	height: 40px;
	background: #F8F9FA;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.06);
	transition: all 0.3s ease;
}
.pqcew-social-icon img {
	width: 20px;
	height: 20px;
	display: block;
	transition: transform 0.3s ease;
}
/* Hover Effect */
.pqcew-social-icon:hover {
	background: #F0F3FF;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	transform: translateY(-3px);
}
.pqcew-social-icon:hover img {
	transform: scale(1.1);
}

.pqcew-dashboard-wrap {
	color: #3a3a3a85;
	margin-top: 20px;
	text-align: center;
}


/* === YOUR ORIGINAL CSS (UNCHANGED) === */
/* [Your full CSS exactly as provided above remains here] */



/* === RESPONSIVE ADDITIONS === */

/* For screens below 1200px */

@media (max-width: 1499px) { 
	.pqcew-admin-wrap { 
		padding: 20px 40px;
	}
}

@media (max-width: 1200px) {
	.pqcew-admin-wrap {
		flex-direction: column;
		padding: 20px 40px;
	}

	.pqcew-sidebar {
		width: 97%;
		order: 1;
	}

	.pqcew-content-main {
		order: 2;
		width: 100%;
	}

	.pqcew-widget-grid {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	}

	.pqcew-red-stats {
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	}

	.pqcew-links-cards {
		flex-wrap: wrap;
		justify-content: center;
	}

	.pqcew-link-card {
		flex: 1 1 300px;
	}
}

/* For tablets below 992px */
@media (max-width: 992px) {
	.pqcew-admin-wrap {
		padding: 20px 20px;
	}

	.pqcew-widget-grid {
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
		gap: 20px;
	}

	.pqcew-links-cards {
		flex-direction: column;
		align-items: center;
	}

	.pqcew-link-card {
		width: 100%;
		max-width: 400px;
	}

	.pqcew-rating-plugin {
		grid-template-columns: 1fr;
	}

	.pqcew-user-box {
		flex-direction: column;
		text-align: center;
		font-size: 24px;
	}

	.pqcew-user-box .pqcew-user-avatar img {
		margin-right: 0;
		margin-bottom: 15px;
	}
}

/* For mobile below 768px */
@media (max-width: 768px) {
	.pqcew-admin-wrap {
		padding: 15px;
	}

	.pqcew-sidebar {
		padding: 10px;
	}

	.pqcew-sidebar li {
		font-size: 14px;
		padding: 10px;
	}

	.pqcew-content .pqcew-tab-content .pqcew-main-dash {
		padding: 25px 15px;
	}

	.pqcew-widget-grid {
		grid-template-columns: 1fr 1fr;
		gap: 15px;
	}

	.pqcew-red-stats {
		grid-template-columns: 1fr 1fr;
		gap: 15px;
	}

	.pqcew-page-banner h2 {
		font-size: 18px;
	}

	.pqcew-button,
	.pqcew-button-primary {
		padding: 8px 14px;
		font-size: 13px;
	}

	.pqcew-link-card-button {
		width: 100%;
	}

	.pqcew-social-icons {
		gap: 10px;
	}

	.pqcew-social-icon {
		width: 36px;
		height: 36px;
	}

	.pqcew-social-icon img {
		width: 18px;
		height: 18px;
	}
}

/* For small mobile below 480px */
@media (max-width: 480px) {
	.pqcew-widget-grid {
		grid-template-columns: 1fr;
	}

	.pqcew-red-stats {
		grid-template-columns: 1fr;
	}

	.pqcew-user-box {
		font-size: 20px;
		padding: 20px;
	}

	.pqcew-link-card {
		padding: 15px;
	}

	.pqcew-page-banner {
		padding: 20px 10px;
	}

	.pqcew-category-tab {
		font-size: 14px;
		padding: 8px 12px;
		margin-right: 6px;
	}

	.pqcew-logo-wrap img {
		height: 40px;
	}

	.pqcew-link-icon {
		flex-direction: column;
		gap: 10px;
	}

	.pqcew-link-icon h3 {
		font-size: 14px;
	}

	.pqcew-link-card-button {
		font-size: 13px;
		padding: 8px 12px;
	}
}
