/* WPPrime Admin & Frontend polished style sheets */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

.wpprime-admin-dashboard-wrap {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	margin: 20px 20px 0 0;
	max-width: 1200px;
}

/* BRANDING HERO BANNER */
.wpp-dashboard-banner {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: #ffffff;
	border-radius: 12px;
	padding: 30px;
	display: flex;
	align-items: center;
	gap: 25px;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.15);
	margin-bottom: 25px;
	position: relative;
	overflow: hidden;
}
.wpp-dashboard-banner::after {
	content: '';
	position: absolute;
	right: -50px;
	top: -50px;
	width: 200px;
	height: 200px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 50%;
	pointer-events: none;
}
.wpp-banner-logo {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.2);
}
.wpp-banner-logo .dashicons {
	font-size: 36px;
	width: 36px;
	height: 36px;
	color: #38bdf8;
}
.wpp-banner-text h2 {
	color: #ffffff !important;
	font-size: 24px !important;
	font-weight: 700 !important;
	margin: 0 0 6px 0 !important;
	padding: 0 !important;
	line-height: 1.2 !important;
}
.wpp-banner-text p {
	color: #94a3b8 !important;
	font-size: 14px !important;
	margin: 0 !important;
	line-height: 1.5 !important;
	max-width: 800px;
}
.wpp-badge {
	background: #38bdf8;
	color: #0f172a;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 100px;
	display: inline-block;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

/* STATS COUNTER GRID */
.wpp-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-bottom: 25px;
}
.wpp-stat-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.02), 0 1px 2px rgba(0,0,0,0.04);
	transition: all 0.2s ease-in-out;
}
.wpp-stat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}
.wpp-stat-card-title {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #64748b;
	font-weight: 600;
	margin-bottom: 6px;
}
.wpp-stat-card-value {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 4px;
}
.wpp-stat-card-value.code-font {
	font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 14px;
	background: #f1f5f9;
	padding: 2px 6px;
	border-radius: 4px;
	display: inline-block;
}
.wpp-stat-card-value.text-green {
	color: #16a34a;
	display: flex;
	align-items: center;
	gap: 8px;
}
.wpp-stat-card-footer {
	font-size: 11px;
	color: #94a3b8;
}
.wpp-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: inline-block;
}
.wpp-dot.green {
	background-color: #16a34a;
	box-shadow: 0 0 8px #16a34a;
}

/* MAIN PANEL WORKSPACE */
.wpp-workspace-panel {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.02);
	margin-bottom: 25px;
	overflow: hidden;
}
.wpp-panel-header {
	background: #f8fafc;
	padding: 18px 24px;
	border-bottom: 1px solid #e2e8f0;
}
.wpp-panel-header h3 {
	margin: 0 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #0f172a !important;
	display: flex;
	align-items: center;
	gap: 10px;
}
.wpp-panel-header h3 .dashicons {
	color: #64748b;
	margin-top: 1px;
}
.wpp-panel-body {
	padding: 24px;
}

/* GRID FORM ROWS */
.wpp-form-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 20px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 25px;
	gap: 20px;
}
.wpp-row-label label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 4px;
}
.wpp-row-label .wpp-sub {
	display: block;
	font-size: 12px;
	color: #64748b;
	max-width: 600px;
}
.wpp-select-styled {
	padding: 8px 12px !important;
	border-radius: 6px !important;
	border: 1px solid #cbd5e1 !important;
	color: #0f172a !important;
	background-color: #ffffff !important;
	min-width: 280px;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.wpp-section-title {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin: 30px 0 6px 0 !important;
	display: flex;
	align-items: center;
	gap: 8px;
}
.wpp-section-title .dashicons {
	color: #64748b;
}
.wpp-section-desc {
	font-size: 13px !important;
	color: #64748b !important;
	margin: 0 0 20px 0 !important;
	line-height: 1.5 !important;
}

/* REPEATER RE-BORDER TABLE */
.wpp-repeater-table-container {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
}
.wpp-repeater-table {
	border: none !important;
	box-shadow: none !important;
	margin: 0 !important;
}
.wpp-repeater-table th {
	background: #f8fafc !important;
	font-weight: 600 !important;
	color: #334155 !important;
	border-bottom: 1px solid #e2e8f0 !important;
	padding: 12px 16px !important;
	font-size: 12px !important;
}
.wpp-repeater-table td {
	padding: 12px 16px !important;
	vertical-align: middle !important;
	border-bottom: 1px solid #f1f5f9 !important;
}
.wpp-addon-row input[type="text"],
.wpp-addon-row input[type="number"],
.wpp-addon-row select {
	width: 100% !important;
	box-sizing: border-box;
	border: 1px solid #cbd5e1 !important;
	border-radius: 6px !important;
	padding: 6px 10px !important;
	color: #334155 !important;
	font-size: 13px !important;
}
.wpp-addon-row input:focus,
.wpp-addon-row select:focus {
	border-color: #38bdf8 !important;
	box-shadow: 0 0 0 1px #38bdf8 !important;
	outline: none !important;
}

/* CONTROLS FOOTER */
.wpp-control-footer {
	display: flex;
	align-items: center;
	gap: 12px;
}
.wpp-add-btn {
	background-color: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	color: #0f172a !important;
	padding: 8px 16px !important;
	font-weight: 600 !important;
	border-radius: 6px !important;
	font-size: 13px !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px;
	cursor: pointer;
	transition: all 0.1s ease-in-out !important;
	height: auto !important;
	line-height: normal !important;
}
.wpp-add-btn:hover {
	border-color: #94a3b8 !important;
	background-color: #f8fafc !important;
}
.wpp-save-btn {
	background-color: #2563eb !important;
	border: 1px solid #1d4ed8 !important;
	color: #ffffff !important;
	padding: 8px 16px !important;
	font-weight: 600 !important;
	border-radius: 6px !important;
	font-size: 13px !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px;
	cursor: pointer;
	transition: all 0.1s ease-in-out !important;
	height: auto !important;
	line-height: normal !important;
	box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}
.wpp-save-btn:hover {
	background-color: #1d4ed8 !important;
	color: white !important;
}
.wpp-action-btn-danger {
	color: #ef4444 !important;
	background: none !important;
	border: none !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	cursor: pointer;
	padding: 0 !important;
	text-decoration: none !important;
}
.wpp-action-btn-danger:hover {
	color: #dc2626 !important;
}

/* SYSTEM REPORT */
.wpp-compliance-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-top: 25px;
}
.wpp-compliance-col {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px 24px;
}
.wpp-compliance-col h4 {
	margin: 0 0 12px 0 !important;
	font-size: 14px !important;
	color: #334155 !important;
	font-weight: 750 !important;
	display: flex;
	align-items: center;
	gap: 8px;
}
.wpp-compliance-col h4 .dashicons {
	color: #475569;
}
.wpp-compliance-col ul {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.wpp-compliance-col li {
	font-size: 13px;
	color: #475569;
	margin-bottom: 8px !important;
	display: flex;
	align-items: center;
	gap: 10px;
}
.wpp-compliance-col li code {
	background: #cbd5e1;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 11px;
}
.wpp-compliance-col .green {
	color: #16a34a;
}

/* TOAST NOTIFICATION */
.wpp-toast-notification {
	background: #0f172a;
	color: #ffffff;
	border-radius: 8px;
	padding: 12px 20px;
	font-size: 13px;
	font-weight: 600;
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 99999;
	box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
	border: 1px solid rgba(255, 255, 255, 0.1);
}
.wpp-toast-notification.notice-success {
	border-left: 4px solid #10b981;
}
.wpp-toast-notification.notice-error {
	border-left: 4px solid #ef4444;
}
.wpp-toast-notification p {
	margin: 0 !important;
}
