/**
 * HR Press Lite — Upgrade CSS
 *
 * Styles for:
 *  - Upgrade notice bar
 *  - Pro Feature Spotlight cards on the dashboard
 *  - "Upgrade to Pro" gold menu item
 *  - Full upgrade page layout
 *
 * Enqueued ONLY on HR Press Lite admin pages.
 */

/* ================================================
   Menu item — "Upgrade to Pro" gold accent
   ================================================ */
#adminmenu .hrp-menu-upgrade > a,
#adminmenu .hrp-menu-upgrade > a:hover,
#adminmenu .hrp-menu-upgrade > a:focus {
	color: #854fff !important;
	font-weight: 700;
}

#adminmenu .hrp-menu-upgrade > a::before {
	content: "✦ ";
	opacity: 0.85;
}

/* ================================================
   Notice dismiss button reset
   ================================================ */
.hrp-notice-dismiss-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	border-radius: 4px;
	color: #777;
	transition: color 0.2s;
	flex-shrink: 0;
}

.hrp-notice-dismiss-btn:hover {
	color: #333;
}

/* ================================================
   Pro Feature Spotlight cards (dashboard)
   ================================================ */
.hrp-pro-spotlight-section {
	margin-top: 32px;
	margin-bottom: 32px;
}

.hrp-pro-spotlight-section .hrp-spotlight-heading {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8094ae;
	margin: 0 0 16px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid #e5e9f0;
}

.hrp-pro-spotlight-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
}

.hrp-pro-spotlight-card {
	background: linear-gradient(135deg, #f8f6ff 0%, #f0ebff 100%);
	border: 1px solid #e5e0ff;
	border-left: 4px solid #854fff;
	border-radius: 3px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.hrp-pro-spotlight-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hrp-pro-spotlight-icon {
	width: 42px;
	height: 42px;
	background: rgba(133, 79, 255, 0.12);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hrp-pro-spotlight-icon .dashicons {
	color: #854fff;
	font-size: 22px;
	width: 22px;
	height: 22px;
}

.hrp-pro-spotlight-label {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hrp-pro-spotlight-label strong {
	font-size: 14px;
	color: #1c2b4a;
	line-height: 1.2;
}

.hrp-pro-pill {
	display: inline-block;
	background: #854fff;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 2px 7px;
	border-radius: 20px;
	line-height: 1.4;
	text-transform: uppercase;
	width: fit-content;
}

.hrp-pro-spotlight-desc {
	font-size: 12.5px;
	color: #526484;
	line-height: 1.5;
	margin: 0;
}

.hrp-pro-spotlight-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #854fff;
	text-decoration: none;
	margin-top: auto;
	transition: color 0.2s, gap 0.2s;
}

.hrp-pro-spotlight-link:hover,
.hrp-pro-spotlight-link:focus {
	color: #6924ff;
	gap: 6px;
	text-decoration: underline;
}

/* ================================================
   Upgrade Page — Hero
   ================================================ */
.hrp-upgrade-page {
	max-width: 1100px;
	margin: 24px auto;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hrp-upgrade-hero {
	background: linear-gradient(135deg, #1c2b4a 0%, #2d4373 50%, #1a3a5c 100%);
	border-radius: 12px;
	padding: 56px 48px;
	text-align: center;
	margin-bottom: 40px;
	position: relative;
	overflow: hidden;
}

.hrp-upgrade-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 70% 30%, rgba(133,79,255,0.2) 0%, transparent 60%);
	pointer-events: none;
}

.hrp-upgrade-hero-inner {
	position: relative;
}

.hrp-pro-badge {
	display: inline-block;
	background: linear-gradient(135deg, #854fff, #6924ff);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	padding: 4px 14px;
	border-radius: 20px;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.hrp-upgrade-title {
	color: #fff;
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 14px 0;
	line-height: 1.25;
}

.hrp-upgrade-subtitle {
	color: #a8c4e0;
	font-size: 16px;
	margin: 0 auto 32px;
	max-width: 560px;
	line-height: 1.6;
}

/* ================================================
   Upgrade Page — CTA Button
   ================================================ */
.hrp-btn-upgrade {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, #854fff 0%, #6924ff 100%);
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	padding: 14px 32px;
	border-radius: 8px;
	text-decoration: none;
	box-shadow: 0 4px 20px rgba(133, 79, 255, 0.35);
	transition: box-shadow 0.25s, transform 0.2s, background 0.2s;
}

.hrp-btn-upgrade:hover,
.hrp-btn-upgrade:focus {
	background: linear-gradient(135deg, #976bff 0%, #854fff 100%);
	box-shadow: 0 6px 28px rgba(133, 79, 255, 0.45);
	transform: translateY(-2px);
	color: #fff !important;
	text-decoration: none;
}

.hrp-btn-arrow {
	font-size: 18px;
	line-height: 1;
}

.hrp-btn-large {
	font-size: 17px;
	padding: 16px 40px;
}

/* ================================================
   Upgrade Page — Feature Cards
   ================================================ */
.hrp-upgrade-section-title {
	font-size: 22px;
	font-weight: 700;
	color: #1c2b4a;
	text-align: center;
	margin: 0 0 28px;
}

.hrp-upgrade-features {
	margin-bottom: 48px;
}

.hrp-upgrade-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.hrp-upgrade-card {
	background: #fff;
	border: 1px solid #e5e9f0;
	border-radius: 12px;
	padding: 28px 24px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.05);
	transition: box-shadow 0.25s, transform 0.2s;
}

.hrp-upgrade-card:hover {
	box-shadow: 0 8px 32px rgba(0,0,0,0.1);
	transform: translateY(-3px);
}

.hrp-upgrade-card-icon {
	width: 52px;
	height: 52px;
	background: linear-gradient(135deg, #f2efff, #e8e2ff);
	border: 1px solid #e5e0ff;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.hrp-upgrade-card-icon .dashicons {
	color: #854fff;
	font-size: 26px;
	width: 26px;
	height: 26px;
}

.hrp-upgrade-card h3 {
	font-size: 17px;
	font-weight: 700;
	color: #1c2b4a;
	margin: 0 0 10px;
}

.hrp-upgrade-card p {
	font-size: 13.5px;
	color: #526484;
	line-height: 1.6;
	margin: 0 0 14px;
}

.hrp-feature-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hrp-feature-list li {
	font-size: 13px;
	color: #1c2b4a;
	padding-left: 20px;
	position: relative;
}

.hrp-feature-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #854fff;
	font-weight: 700;
}

/* ================================================
   Upgrade Page — Comparison Table
   ================================================ */
.hrp-upgrade-compare {
	margin-bottom: 48px;
}

.hrp-compare-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.hrp-compare-table thead tr {
	background: #1c2b4a;
}

.hrp-compare-table thead th {
	color: #fff;
	font-weight: 700;
	padding: 14px 20px;
	text-align: left;
}

.hrp-compare-table thead .hrp-col-pro {
	background: rgba(133, 79, 255, 0.15);
	color: #e5e0ff;
}

.hrp-compare-table tbody tr {
	border-bottom: 1px solid #f0f4f8;
	transition: background 0.15s;
}

.hrp-compare-table tbody tr:last-child {
	border-bottom: none;
}

.hrp-compare-table tbody tr:hover {
	background: #f9fbff;
}

.hrp-compare-table tbody tr.hrp-row-pro-only {
	background: #f8f6ff;
}

.hrp-compare-table tbody tr.hrp-row-pro-only:hover {
	background: #f0ebff;
}

.hrp-compare-table tbody td {
	padding: 12px 20px;
	color: #344357;
}

.hrp-compare-table .hrp-col-lite,
.hrp-compare-table .hrp-col-pro {
	text-align: center;
	width: 140px;
}

.hrp-check {
	color: #2da44e;
	font-size: 16px;
	font-weight: 700;
}

.hrp-cross {
	color: #ccc;
	font-size: 16px;
}

.hrp-compare-table .hrp-col-pro .hrp-check {
	color: #854fff;
}

/* ================================================
   Upgrade Page — Bottom CTA
   ================================================ */
.hrp-upgrade-cta-bottom {
	background: linear-gradient(135deg, #f8f6ff, #f0ebff);
	border: 1px solid #e5e0ff;
	border-radius: 12px;
	text-align: center;
	padding: 48px 32px;
	margin-bottom: 32px;
}

.hrp-upgrade-cta-bottom h2 {
	font-size: 24px;
	color: #1c2b4a;
	margin: 0 0 12px;
}

.hrp-upgrade-cta-bottom p {
	color: #526484;
	font-size: 14px;
	margin: 0 0 28px;
}

/* ================================================
   Responsive
   ================================================ */
@media (max-width: 782px) {
	.hrp-upgrade-hero {
		padding: 36px 24px;
	}

	.hrp-upgrade-title {
		font-size: 22px;
	}

	.hrp-upgrade-cards,
	.hrp-pro-spotlight-row {
		grid-template-columns: 1fr;
	}

	.hrp-compare-table .hrp-col-lite,
	.hrp-compare-table .hrp-col-pro {
		width: 80px;
	}
}
