/**
 * HireU Role-Based Dashboard Styles
 * Fully styled left-sidebar layout & 3-stat cards matching Blueprint 2 Swimlanes
 *
 * @package HireU_Job_Explorer
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.hireu-dash-wrapper {
	max-width: 1280px;
	margin: 20px auto 60px;
	padding: 0 16px;
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1F2937;
	box-sizing: border-box;
}

.hireu-dash-wrapper *,
.hireu-dash-wrapper *::before,
.hireu-dash-wrapper *::after {
	box-sizing: border-box;
}

/* 2-Column Dashboard Layout */
.hireu-dash-layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 28px;
	align-items: flex-start;
}

/* ==========================================================================
   Left Navigation Sidebar
   ========================================================================== */
.hireu-dash-sidebar {
	background: #FFFFFF;
	border: 1px solid #EBE0C7;
	border-radius: 18px;
	padding: 24px 18px;
	box-shadow: 0 6px 20px rgba(37, 7, 32, 0.04);
	position: sticky;
	top: 30px;
}

.hireu-dash-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 20px;
	margin-bottom: 16px;
	border-bottom: 1px solid #F3EDE0;
}

.hireu-brand-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #250720;
	color: #D49A24;
	font-size: 15px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(37, 7, 32, 0.2);
	flex-shrink: 0;
}

.hireu-brand-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.hireu-brand-text strong {
	font-size: 15px;
	font-weight: 800;
	color: #250720;
	line-height: 1.2;
}

.hireu-brand-text span {
	font-size: 12px;
	color: #9CA3AF;
	font-weight: 600;
}

/* Navigation Links */
.hireu-dash-nav {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hireu-nav-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 600;
	color: #4B5563;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
	border: none;
	background: transparent;
	width: 100%;
	text-align: left;
}

.hireu-nav-link svg {
	flex-shrink: 0;
	color: #9CA3AF;
	transition: color 0.2s ease;
}

.hireu-nav-link:hover {
	background: #FAF7F0;
	color: #250720;
}

.hireu-nav-link:hover svg {
	color: #C58B16;
}

.hireu-nav-link.is-active {
	background: #250720;
	color: #FFFFFF;
}

.hireu-nav-link.is-active svg {
	color: #D49A24;
}

/* Special "Post a Job" link */
.hireu-nav-link.posting {
	background: #FFFDF9;
	border: 1px solid #FDE68A;
	color: #B7790E;
}

.hireu-nav-link.posting svg {
	color: #B7790E;
}

.hireu-nav-link.posting:hover {
	background: #C58B16;
	color: #FFFFFF;
	border-color: #C58B16;
}

.hireu-nav-link.posting:hover svg {
	color: #FFFFFF;
}

.hireu-nav-spacer {
	height: 16px;
	border-bottom: 1px solid #F3EDE0;
	margin-bottom: 10px;
}

.hireu-logout-link {
	color: #DC2626;
}

.hireu-logout-link svg {
	color: #DC2626;
}

.hireu-logout-link:hover {
	background: #FEF2F2;
	color: #B91C1C;
}

.hireu-logout-link:hover svg {
	color: #B91C1C;
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */
.hireu-dash-main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Top Welcome Banner */
.hireu-main-top-banner {
	background: #FFFFFF;
	border: 1px solid #EBE0C7;
	border-radius: 18px;
	padding: 24px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	box-shadow: 0 4px 18px rgba(37, 7, 32, 0.03);
	flex-wrap: wrap;
}

.hireu-top-banner-info h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	color: #250720;
}

.hireu-top-badge {
	display: inline-block;
	margin-top: 6px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 3px 10px;
	border-radius: 9999px;
	background: #FFF7ED;
	color: #C58B16;
	border: 1px solid #FED7AA;
}

.hireu-dash-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 10px;
	background: linear-gradient(135deg, #CF9005 0%, #B7790E 100%);
	color: #FFFFFF !important;
	font-size: 14px;
	font-weight: 700;
	border: none;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(197, 139, 22, 0.28);
	transition: all 0.2s ease;
}

.hireu-dash-cta-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(197, 139, 22, 0.38);
}

/* Candidate Search Bar */
.hireu-dash-search-bar {
	display: flex;
	align-items: center;
	background: #F9FAFB;
	border: 1.5px solid #E5E7EB;
	border-radius: 10px;
	padding: 4px 6px 4px 14px;
	width: 100%;
	max-width: 380px;
	transition: border-color 0.2s ease;
}

.hireu-dash-search-bar:focus-within {
	border-color: #C58B16;
	background: #FFFFFF;
}

.hireu-dash-search-bar input {
	border: none;
	background: transparent;
	outline: none;
	font-size: 13.5px;
	color: #1F2937;
	width: 100%;
	font-family: inherit;
}

.hireu-dash-search-bar button {
	background: #250720;
	color: #FFFFFF;
	border: none;
	border-radius: 8px;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease;
	flex-shrink: 0;
}

.hireu-dash-search-bar button:hover {
	background: #C58B16;
}

/* ==========================================================================
   3 High-Impact Stat Cards (Blueprint 2)
   ========================================================================== */
.hireu-3stats-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.hireu-3stat-card {
	background: #FFFFFF;
	border: 1px solid #EBE0C7;
	border-radius: 16px;
	padding: 22px 24px;
	box-shadow: 0 4px 16px rgba(37, 7, 32, 0.03);
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
}

.hireu-3stat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: #C58B16;
	border-radius: 16px 0 0 16px;
	opacity: 0.8;
}

.hireu-3stat-card:hover {
	transform: translateY(-2px);
	border-color: #C58B16;
	box-shadow: 0 8px 24px rgba(197, 139, 22, 0.12);
}

.hireu-3stat-val {
	font-size: 38px;
	font-weight: 800;
	color: #250720;
	line-height: 1;
	letter-spacing: -1px;
}

.hireu-3stat-lbl {
	font-size: 13.5px;
	font-weight: 600;
	color: #6B7280;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ==========================================================================
   Section Boxes & Tables
   ========================================================================== */
.hireu-dash-section-box {
	background: #FFFFFF;
	border: 1px solid #EBE0C7;
	border-radius: 18px;
	padding: 24px 28px;
	box-shadow: 0 4px 18px rgba(37, 7, 32, 0.03);
}

.hireu-section-head-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid #F3EDE0;
}

.hireu-section-title {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	color: #250720;
}

.hireu-view-all-link {
	font-size: 13.5px;
	font-weight: 700;
	color: #C58B16;
	text-decoration: none;
	transition: color 0.2s ease;
}

.hireu-view-all-link:hover {
	color: #250720;
}

/* Tables */
.hireu-table-wrap {
	overflow-x: auto;
}

.hireu-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-size: 14px;
}

.hireu-table th {
	padding: 12px 16px;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #6B7280;
	background: #FAF8F5;
	border-bottom: 1.5px solid #EBE0C7;
}

.hireu-table td {
	padding: 16px;
	border-bottom: 1px solid #F3F4F6;
	color: #374151;
	vertical-align: middle;
}

.hireu-table tr:last-child td {
	border-bottom: none;
}

.hireu-table a {
	color: #250720;
	text-decoration: none;
	font-weight: 700;
}

.hireu-table a:hover {
	color: #C58B16;
}

.hireu-sub-text {
	font-size: 12.5px;
	color: #6B7280;
	margin-top: 3px;
}

/* Badges */
.hireu-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.badge-success { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.badge-danger { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.badge-warning { background: #FFFBEB; color: #B45309; border: 1px solid #FDE68A; }
.badge-secondary { background: #F3F4F6; color: #6B7280; }

.hireu-pill-applicant-count {
	display: inline-block;
	background: #FFF7ED;
	color: #C58B16 !important;
	border: 1px solid #FED7AA;
	font-size: 12.5px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 9999px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.hireu-pill-applicant-count:hover {
	background: #C58B16;
	color: #FFFFFF !important;
	border-color: #C58B16;
}

.hireu-action-btn {
	padding: 6px 14px;
	background: #FAF8F5;
	border: 1px solid #EBE0C7;
	border-radius: 8px;
	font-size: 12.5px;
	color: #250720 !important;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.hireu-action-btn:hover {
	background: #250720;
	color: #FFFFFF !important;
	border-color: #250720;
}

.hireu-resume-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 700;
	color: #047857 !important;
	background: #ECFDF5;
	padding: 5px 12px;
	border-radius: 6px;
	border: 1px solid #A7F3D0;
	text-decoration: none;
}

.hireu-resume-link:hover {
	background: #D1FAE5;
}

/* Status Badges & Selects */
.hireu-status-select {
	padding: 6px 10px;
	border: 1px solid #D1D5DB;
	border-radius: 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: #374151;
	background: #FFFFFF;
	cursor: pointer;
	outline: none;
}

.hireu-status-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 9999px;
	font-size: 11.5px;
	font-weight: 700;
}

.status-submitted { background: #F3F4F6; color: #4B5563; }
.status-under_review { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.status-shortlisted { background: #FFFBEB; color: #B45309; border: 1px solid #FDE68A; }
.status-interview { background: #FAF5FF; color: #7E22CE; border: 1px solid #E9D5FF; }
.status-hired { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.status-rejected { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }

/* ==========================================================================
   Candidate Recommended Jobs List (Blueprint 2)
   ========================================================================== */
.hireu-rec-jobs-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.hireu-rec-job-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px;
	background: #FAF8F5;
	border: 1px solid #EFE6D6;
	border-radius: 14px;
	transition: all 0.2s ease;
}

.hireu-rec-job-row:hover {
	border-color: #C58B16;
	background: #FFFFFF;
	box-shadow: 0 4px 16px rgba(37, 7, 32, 0.04);
}

.hireu-rec-job-left {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.hireu-rec-logo {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #250720;
	color: #D49A24;
	font-size: 14px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hireu-rec-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
}

.hireu-rec-title a {
	color: #250720;
	text-decoration: none;
}

.hireu-rec-title a:hover {
	color: #C58B16;
}

.hireu-rec-sub {
	font-size: 12.5px;
	color: #6B7280;
	margin-top: 3px;
}

.hireu-rec-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.hireu-dash-apply-btn {
	padding: 8px 18px;
	border-radius: 8px;
	background: linear-gradient(135deg, #CF9005 0%, #B7790E 100%);
	color: #FFFFFF !important;
	font-size: 13px;
	font-weight: 700;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s ease;
}

.hireu-dash-apply-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(197, 139, 22, 0.3);
}

.hireu-rec-bookmark-btn {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #FFFFFF;
	border: 1px solid #EBE0C7;
	color: #C58B16;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.hireu-rec-bookmark-btn:hover {
	border-color: #C58B16;
	background: #FFFDF9;
}

.hireu-rec-bookmark-btn.is-saved svg {
	fill: #C58B16;
}

/* ==========================================================================
   Profile Form & Empty State
   ========================================================================== */
.hireu-profile-form {
	max-width: 520px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hireu-profile-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hireu-profile-row label {
	font-size: 13.5px;
	font-weight: 600;
	color: #374151;
}

.hireu-profile-row input {
	padding: 10px 14px;
	border: 1.5px solid #E5E7EB;
	border-radius: 10px;
	font-size: 14px;
	background: #FAFAFA;
	outline: none;
	font-family: inherit;
}

.hireu-profile-row input:focus {
	border-color: #C58B16;
	background: #FFFFFF;
}

.hireu-profile-row input:disabled {
	background: #F3F4F6;
	color: #9CA3AF;
	cursor: not-allowed;
}

.hireu-empty-state {
	text-align: center;
	padding: 50px 20px;
	color: #6B7280;
}

.hireu-empty-state h4 {
	margin: 0 0 6px;
	font-size: 18px;
	color: #111827;
}

/* Guest View */
.hireu-dash-guest-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 16px;
}

.hireu-guest-card {
	background: #FFFFFF;
	border: 1px solid #EBE0C7;
	border-radius: 20px;
	padding: 40px 32px;
	max-width: 480px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(37, 7, 32, 0.05);
}

.hireu-guest-icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #FFFDF9;
	border: 1.5px solid #FDE68A;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.hireu-guest-card h3 {
	margin: 0 0 10px;
	font-size: 22px;
	color: #111827;
}

.hireu-guest-card p {
	color: #6B7280;
	font-size: 14.5px;
	line-height: 1.5;
	margin: 0 0 24px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
	.hireu-dash-layout {
		grid-template-columns: 1fr;
	}
	.hireu-dash-sidebar {
		position: static;
		padding: 16px;
	}
	.hireu-dash-nav {
		flex-direction: row;
		overflow-x: auto;
		gap: 8px;
	}
	.hireu-nav-link {
		white-space: nowrap;
		width: auto;
	}
	.hireu-nav-spacer {
		display: none;
	}
}

@media (max-width: 720px) {
	.hireu-3stats-row {
		grid-template-columns: 1fr;
	}
	.hireu-main-top-banner {
		flex-direction: column;
		align-items: flex-start;
	}
	.hireu-dash-search-bar {
		max-width: 100%;
	}
	.hireu-rec-job-row {
		flex-direction: column;
		align-items: flex-start;
	}
	.hireu-rec-actions {
		width: 100%;
		justify-content: space-between;
	}
	.hireu-table th, .hireu-table td {
		padding: 10px 8px;
	}
}

/* ==========================================================================
   Candidate Gold Verified Badge & Verification Banner
   ========================================================================== */
.hireu-top-badge-gold {
	background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%) !important;
	color: #92400E !important;
	border: 1px solid #FCD34D !important;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 700 !important;
	box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15);
}

.hireu-cand-verified-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #FEF3C7;
	color: #92400E;
	border: 1px solid #FCD34D;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 12px;
	margin-left: 6px;
	vertical-align: middle;
}

.hireu-verification-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(135deg, #250720 0%, #3D1037 100%);
	border: 1.5px solid #C58B16;
	border-radius: 16px;
	padding: 18px 24px;
	margin-bottom: 24px;
	gap: 20px;
	box-shadow: 0 10px 25px rgba(37, 7, 32, 0.12);
}

.hireu-vb-content {
	display: flex;
	align-items: center;
	gap: 16px;
}

.hireu-vb-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(197, 139, 22, 0.15);
	border: 1px solid rgba(197, 139, 22, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hireu-vb-text h4 {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 800;
	color: #FFFFFF;
}

.hireu-vb-text p {
	margin: 0;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.45;
}

/* ==========================================================================
   Employer Active Quota Card
   ========================================================================== */
.hireu-active-quota-card {
	background: #FFFFFF;
	border: 1.5px solid #EBE0C7;
	border-radius: 18px;
	padding: 24px 28px;
	box-shadow: 0 6px 20px rgba(37, 7, 32, 0.04);
}

.hireu-aqc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 20px;
	border-bottom: 1px solid #F3EDE0;
	margin-bottom: 20px;
	gap: 16px;
}

.hireu-aqc-tag {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: #C58B16;
	display: block;
	margin-bottom: 4px;
}

.hireu-aqc-title-box h3 {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 800;
	color: #250720;
}

.hireu-aqc-status-pill {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 20px;
}

.hireu-aqc-status-pill.is-active {
	background: #ECFDF5;
	color: #059669;
	border: 1px solid #A7F3D0;
}

.hireu-aqc-status-pill.is-expired {
	background: #FEF2F2;
	color: #DC2626;
	border: 1px solid #FECACA;
}

.hireu-aqc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.hireu-aqc-metric {
	background: #FFFDF9;
	border: 1px solid #F5EBD7;
	border-radius: 14px;
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
}

.hireu-aqc-lbl {
	font-size: 12px;
	font-weight: 700;
	color: #6B7280;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hireu-aqc-val {
	font-size: 24px;
	font-weight: 800;
	color: #250720;
	line-height: 1.2;
}

.hireu-aqc-sub {
	font-size: 13px;
	font-weight: 600;
	color: #9CA3AF;
}

.hireu-quota-bar-wrap {
	width: 100%;
	height: 8px;
	background: #E5E7EB;
	border-radius: 4px;
	overflow: hidden;
	margin: 10px 0 6px;
}

.hireu-quota-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, #C58B16 0%, #D49A24 100%);
	border-radius: 4px;
	transition: width 0.3s ease;
}

.hireu-aqc-bar-sub {
	font-size: 12px;
	color: #6B7280;
	font-weight: 500;
	margin-top: 2px;
}

@media (max-width: 768px) {
	.hireu-aqc-grid {
		grid-template-columns: 1fr;
	}
	.hireu-aqc-header {
		flex-direction: column;
		align-items: flex-start;
	}
	.hireu-verification-banner {
		flex-direction: column;
		align-items: flex-start;
	}
}