/**
 * Chefs Recruitment Front-end Styles
 * Modernised Form Design
 */

.chef-rec-form-container {
	max-width: 700px;
	margin: 40px auto;
	padding: 40px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.chef-rec-application-form {
	box-shadow: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Progress Bar */
.chef-rec-progress-bar {
	display: flex;
	justify-content: space-between;
	margin-bottom: 40px;
	position: relative;
}

.chef-rec-progress-bar::before {
	content: "";
	position: absolute;
	top: 18px;
	left: 0;
	right: 0;
	height: 2px;
	background: #eee;
	z-index: 1;
}

.chef-rec-progress-item {
	position: relative;
	z-index: 2;
	text-align: center;
	flex: 1;
}

.chef-rec-progress-number {
	width: 36px !important;
	height: 36px !important;
	background: #fff !important;
	border: 2px solid #eee !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 auto 10px !important;
	font-weight: 700 !important;
	color: #999 !important;
	transition: all 0.3s ease !important;
	font-size: 14px !important;
	line-height: 1 !important;
}

.chef-rec-progress-label {
	font-size: 12px;
	color: #999;
	font-weight: 600;
	text-transform: uppercase;
}

.chef-rec-progress-item.active .chef-rec-progress-number {
	border-color: #2271b1 !important;
	color: #2271b1 !important;
}

.chef-rec-progress-item.active .chef-rec-progress-label {
	color: #2271b1;
}

.chef-rec-progress-item.completed .chef-rec-progress-number {
	background: #2271b1 !important;
	border-color: #2271b1 !important;
	color: #fff !important;
}

/* Form Fields */
.chef-rec-form-container .form-field {
	margin-bottom: 25px !important;
	text-align: left !important;
}

.chef-rec-form-container label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333333;
	font-size: 14px;
}

.chef-rec-form-container input[type="text"],
.chef-rec-form-container input[type="email"],
.chef-rec-form-container input[type="tel"],
.chef-rec-form-container input[type="url"],
.chef-rec-form-container input[type="number"],
.chef-rec-form-container input[type="password"],
.chef-rec-form-container select,
.chef-rec-form-container textarea {
	width: 100% !important;
	height: auto !important;
	min-height: 45px !important;
	padding: 12px 15px !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 8px !important;
	background-color: #f9f9f9 !important;
	font-size: 16px !important;
	color: #333 !important;
	transition: all 0.3s ease !important;
	box-sizing: border-box !important;
	margin: 0 !important;
}

.chef-rec-form-container input:focus,
.chef-rec-form-container select:focus,
.chef-rec-form-container textarea:focus {
	outline: none !important;
	border-color: #2271b1 !important;
	background-color: #ffffff !important;
	box-shadow: 0 0 0 4px rgba(34, 113, 177, 0.1) !important;
}

/* Auth Gateway */
.chef-rec-auth-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
	border-bottom: 1px solid #eee;
	padding-bottom: 15px;
}

.auth-tab-btn {
	background: none !important;
	border: none !important;
	padding: 10px 20px !important;
	cursor: pointer;
	font-weight: 600;
	color: #999;
	font-size: 16px;
	transition: all 0.3s ease;
}

.auth-tab-btn.active {
	color: #2271b1;
	border-bottom: 2px solid #2271b1 !important;
}

.auth-panel {
	display: none;
}

.auth-panel.active {
	display: block;
}

.auth-panel h3 {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 20px;
	color: #333;
}

/* Step Transitions */
.form-step {
	display: none;
	width: 100% !important;
}

.step-navigation {
	display: flex !important;
	justify-content: space-between !important;
	margin-top: 40px !important;
	gap: 15px !important;
	align-items: stretch !important;
}

.step-navigation .button {
	flex: 1 !important;
	width: auto !important;
}

/* Radio Buttons */
.chef-rec-form-container .radio-group {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 20px !important;
	padding: 10px 0 !important;
	margin: 0 !important;
}

.chef-rec-form-container .radio-label {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #333 !important;
}

.chef-rec-form-container input[type="radio"] {
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	cursor: pointer !important;
}

/* Grid Layout */
.form-field-group {
	display: flex !important;
	gap: 10px !important;
	width: 100% !important;
}

.form-field-group select {
	flex: 0 0 120px !important;
	width: 120px !important;
}

.form-field-group input {
	flex: 1 !important;
}

/* Buttons */
.chef-rec-form-container .button {
	display: inline-block;
	width: 100%;
	padding: 15px 25px;
	background-color: #2271b1;
	color: #ffffff !important;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: background-color 0.3s ease;
}

.chef-rec-form-container .button:hover {
	background-color: #135e96;
}

.chef-rec-form-container .button-secondary {
	background-color: #f0f0f1 !important;
	color: #3c434a !important;
	border: 1px solid #8c8f94 !important;
}

.chef-rec-form-container .button-secondary:hover {
	background-color: #dcdcde !important;
}

/* Notices */
.chef-rec-notice {
	margin-top: 20px;
	padding: 15px 20px;
	border-radius: 8px;
	font-weight: 500;
}

.chef-rec-notice.success {
	background-color: #e7f6ed;
	color: #00a32a;
	border: 1px solid #00a32a;
}

.chef-rec-notice.error {
	background-color: #fcf0f1;
	color: #d63638;
	border: 1px solid #d63638;
}

.chef-rec-notice--warning {
	background-color: #fff8e5;
	color: #7a5c00;
	border: 1px solid #f0c040;
}

.input-error {
	border-color: #d63638 !important;
	background-color: #fff8f8 !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Employer Dashboard  [chef_employer_dashboard]
   ───────────────────────────────────────────────────────────────────────────── */

.chef-rec-employer-dashboard {
	max-width: 900px;
	margin: 40px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Header bar */
.chef-rec-dashboard-header {
	display: flex;
	align-items: center;
	gap: 20px;
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 20px 24px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chef-rec-dashboard-logo {
	width: 64px;
	height: 64px;
	object-fit: contain;
	border-radius: 8px;
	border: 1px solid #eee;
	padding: 4px;
	background: #f9f9f9;
	flex-shrink: 0;
}

.chef-rec-dashboard-header__info {
	flex: 1;
	min-width: 0;
}

.chef-rec-dashboard-header__name {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 700;
	color: #1d2327;
}

.chef-rec-dashboard-header__website {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: #2271b1;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.chef-rec-dashboard-header__actions {
	flex-shrink: 0;
}

.chef-rec-logout-btn {
	font-size: 13px !important;
}

/* Stats row */
.chef-rec-dashboard-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 20px;
}

.chef-rec-stat-card {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 20px;
	text-align: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.chef-rec-stat-card__number {
	font-size: 36px;
	font-weight: 700;
	color: #2271b1;
	line-height: 1;
	margin-bottom: 6px;
}

.chef-rec-stat-card__number--green { color: #00a32a; }
.chef-rec-stat-card__number--grey  { color: #787c82; }

.chef-rec-stat-card__label {
	font-size: 13px;
	color: #787c82;
	font-weight: 500;
}

/* Tab navigation */
.chef-rec-dashboard-tabs {
	display: flex;
	gap: 0;
	border-bottom: 2px solid #e0e0e0;
	margin-bottom: 0;
}

.chef-rec-dashboard-tab {
	display: inline-block;
	padding: 12px 24px;
	font-size: 14px;
	font-weight: 600;
	color: #787c82;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.chef-rec-dashboard-tab:hover {
	color: #2271b1;
}

.chef-rec-dashboard-tab.active {
	color: #2271b1;
	border-bottom-color: #2271b1;
}

/* Content panels */
.chef-rec-dashboard-panel {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-top: none;
	border-radius: 0 0 12px 12px;
	padding: 28px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chef-rec-dashboard-panel h3 {
	margin-top: 0;
	margin-bottom: 4px;
	font-size: 16px;
	color: #1d2327;
}

.chef-rec-dashboard-panel__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	gap: 16px;
}

.chef-rec-dashboard-panel__toolbar h3 {
	margin: 0;
}

/* Jobs table */
.chef-rec-dashboard-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.chef-rec-dashboard-table th {
	text-align: left;
	padding: 10px 12px;
	background: #f6f7f7;
	border-bottom: 2px solid #e0e0e0;
	font-size: 12px;
	font-weight: 600;
	color: #50575e;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	white-space: nowrap;
}

.chef-rec-dashboard-table td {
	padding: 12px;
	border-bottom: 1px solid #f0f0f1;
	vertical-align: middle;
	color: #1d2327;
}

.chef-rec-dashboard-table tr:last-child td {
	border-bottom: none;
}

.chef-rec-dashboard-table tr:hover td {
	background: #f9f9f9;
}

.chef-rec-row--expired td {
	opacity: 0.7;
}

.chef-rec-dashboard-table__actions {
	white-space: nowrap;
}

.chef-rec-dashboard-table__actions .button {
	width: auto !important;
	padding: 4px 10px !important;
	font-size: 12px !important;
	min-height: auto !important;
	margin-right: 4px;
}

/* Empty state */
.chef-rec-dashboard-empty {
	text-align: center;
	padding: 48px 20px;
	color: #787c82;
}

.chef-rec-dashboard-empty p {
	margin-bottom: 16px;
	font-size: 15px;
}

/* Profile edit form */
.chef-rec-profile-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 24px;
}

.chef-rec-profile-col .form-field {
	margin-bottom: 20px;
}

.chef-rec-profile-col label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 14px;
	color: #333333;
}

.chef-rec-profile-col input[type="text"],
.chef-rec-profile-col input[type="url"],
.chef-rec-profile-col input[type="tel"],
.chef-rec-profile-col select,
.chef-rec-profile-col textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #f9f9f9;
	font-size: 15px;
	color: #333;
	box-sizing: border-box;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.chef-rec-profile-col input:focus,
.chef-rec-profile-col select:focus,
.chef-rec-profile-col textarea:focus {
	outline: none;
	border-color: #2271b1;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.chef-rec-profile-submit {
	border-top: 1px solid #eee;
	padding-top: 20px;
}

/* Button base — self-contained so they render correctly without WP admin CSS */
.chef-rec-btn--primary,
.chef-rec-btn--secondary {
	display: inline-block;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	border-radius: 6px;
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none !important;
	text-align: center;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	white-space: nowrap;
	box-sizing: border-box;
}

/* Primary — solid blue */
.chef-rec-btn--primary {
	background-color: #2271b1 !important;
	color: #ffffff !important;
	border-color: #2271b1 !important;
}

.chef-rec-btn--primary:hover {
	background-color: #135e96 !important;
	border-color: #135e96 !important;
	color: #ffffff !important;
}

/* Apply CTA — bold green, larger, high contrast */
.chef-rec-btn--apply {
	background-color: #1a8f4e !important;
	color: #ffffff !important;
	border-color: #1a8f4e !important;
	font-size: 16px !important;
	padding: 14px 28px !important;
	letter-spacing: 0.02em;
	box-shadow: 0 3px 10px rgba(26, 143, 78, 0.35);
}

.chef-rec-btn--apply:hover {
	background-color: #147040 !important;
	border-color: #147040 !important;
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(26, 143, 78, 0.45);
	transform: translateY(-1px);
}

/* Secondary — outlined blue */
.chef-rec-btn--secondary {
	background-color: #ffffff !important;
	color: #2271b1 !important;
	border-color: #2271b1 !important;
}

.chef-rec-btn--secondary:hover {
	background-color: #2271b1 !important;
	color: #ffffff !important;
	border-color: #2271b1 !important;
}

.chef-rec-btn--danger {
	display: inline-block;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 600;
	border-radius: 4px;
	border: 2px solid #d63638 !important;
	color: #d63638 !important;
	background: transparent !important;
	cursor: pointer;
	text-decoration: none !important;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.chef-rec-btn--danger:hover {
	background: #d63638 !important;
	color: #ffffff !important;
}

/* Logout wrap (used in [chef_employer_logout] shortcode) */
.chef-rec-logout-wrap {
	font-size: 14px;
	color: #50575e;
}

.chef-rec-logout-link {
	color: #d63638;
	text-decoration: none;
}

.chef-rec-logout-link:hover {
	text-decoration: underline;
}

/* Tab notification badge */
.chef-rec-tab-badge {
	display: inline-block;
	background: #d63638;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	padding: 2px 5px;
	border-radius: 10px;
	margin-left: 5px;
	vertical-align: middle;
}

/* Stat card highlight variant */
.chef-rec-stat-card--highlight {
	border-color: #2271b1;
	background: #f0f6fc;
}

/* Applications filter bar */
.chef-rec-apps-filter-bar {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.chef-rec-apps-filter-bar select {
	padding: 6px 10px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	font-size: 14px;
	height: 34px;
	background: #fff;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Post a Job Form  [chef_post_job]
   ───────────────────────────────────────────────────────────────────────────── */

/* Review panel — Step 5 */
.chef-rec-review-panel {
	background: #f6f7f7;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 20px 24px;
	margin-bottom: 24px;
}

.chef-rec-review-panel h3 {
	margin-top: 0;
	margin-bottom: 4px;
	font-size: 16px;
	color: #1d2327;
}

.chef-rec-review-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 16px;
	font-size: 14px;
}

.chef-rec-review-table th {
	text-align: left;
	width: 140px;
	padding: 8px 12px 8px 0;
	color: #787c82;
	font-weight: 600;
	vertical-align: top;
	white-space: nowrap;
}

.chef-rec-review-table td {
	padding: 8px 0;
	color: #1d2327;
	border-bottom: 1px solid #eee;
}

.chef-rec-review-table tr:last-child td {
	border-bottom: none;
}

/* Submit choice — dual button row */
.chef-rec-submit-choice {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.chef-rec-submit-choice .button {
	width: auto !important;
	flex: 1 1 auto;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Job Listings  [chef_job_listings]
   ───────────────────────────────────────────────────────────────────────────── */

.chef-rec-job-listings {
	max-width: 960px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Filter bar */
.chef-rec-job-filters {
	background: #f6f7f7;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 20px;
}

.chef-rec-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
}

.chef-rec-filter-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1 1 140px;
	min-width: 120px;
}

.chef-rec-filter-field label {
	font-size: 12px;
	font-weight: 600;
	color: #50575e;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.chef-rec-filter-field input,
.chef-rec-filter-field select {
	padding: 8px 10px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	color: #333;
	height: 38px;
	box-sizing: border-box;
}

.chef-rec-filter-field input:focus,
.chef-rec-filter-field select:focus {
	outline: none;
	border-color: #2271b1;
	box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.15);
}

.chef-rec-filter-actions {
	display: flex;
	gap: 8px;
	align-items: flex-end;
	flex-shrink: 0;
}

.chef-rec-filter-actions .button {
	width: auto !important;
	min-height: 38px;
	padding: 0 16px !important;
	font-size: 14px !important;
}

/* Results summary */
.chef-rec-results-summary {
	font-size: 14px;
	color: #50575e;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #eee;
}

.chef-rec-results-summary a {
	color: #2271b1;
}

/* Job cards grid */
.chef-rec-job-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 280px, 1fr ) );
	gap: 16px;
	margin-bottom: 28px;
}

/* Individual job card */
.chef-rec-job-card {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.chef-rec-job-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
	border-color: #2271b1;
}

.chef-rec-job-card__header {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.chef-rec-job-card__logo {
	width: 48px;
	height: 48px;
	object-fit: contain;
	border-radius: 6px;
	border: 1px solid #eee;
	padding: 3px;
	background: #f9f9f9;
	flex-shrink: 0;
}

.chef-rec-job-card__logo-placeholder {
	width: 48px;
	height: 48px;
	border-radius: 6px;
	background: #f0f0f1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.chef-rec-job-card__logo-placeholder .dashicons {
	color: #bbb;
	font-size: 24px;
	width: 24px;
	height: 24px;
}

.chef-rec-job-card__meta {
	flex: 1;
	min-width: 0;
}

.chef-rec-job-card__title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.chef-rec-job-card__title a {
	color: #1d2327;
	text-decoration: none;
}

.chef-rec-job-card__title a:hover {
	color: #2271b1;
}

.chef-rec-job-card__employer {
	font-size: 13px;
	color: #787c82;
}

/* Details row */
.chef-rec-job-card__details {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	align-items: center;
	font-size: 13px;
	color: #50575e;
}

.chef-rec-job-card__detail {
	display: flex;
	align-items: center;
	gap: 4px;
}

.chef-rec-job-card__detail .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	color: #787c82;
}

.chef-rec-job-card__badge {
	display: inline-block;
	padding: 2px 8px;
	background: #e8f0fb;
	color: #2271b1;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
}

.chef-rec-job-card__badge--level {
	background: #f0f6ea;
	color: #1a7e2a;
}

/* Card footer */
.chef-rec-job-card__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #f0f0f1;
	gap: 8px;
}

.chef-rec-job-card__expiry {
	font-size: 12px;
	color: #787c82;
}

.chef-rec-job-card__expiry--soon {
	color: #d63638;
	font-weight: 600;
}

.chef-rec-job-card__apply {
	width: auto !important;
	padding: 6px 14px !important;
	font-size: 13px !important;
	min-height: auto !important;
	flex-shrink: 0;
}

/* Pagination */
.chef-rec-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	padding: 20px 0;
}

.chef-rec-pagination .button {
	width: auto !important;
}

.chef-rec-pagination__info {
	font-size: 14px;
	color: #50575e;
}

/* Empty state */
.chef-rec-empty-state {
	text-align: center;
	padding: 60px 20px;
	color: #787c82;
}

.chef-rec-empty-state__icon {
	font-size: 48px !important;
	width: 48px !important;
	height: 48px !important;
	color: #dcdcde;
	display: block;
	margin: 0 auto 16px;
}

.chef-rec-empty-state__heading {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 16px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Job Detail  [chef_job_detail]
   ───────────────────────────────────────────────────────────────────────────── */

.chef-rec-job-detail {
	max-width: 960px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.chef-rec-job-detail__back {
	margin-bottom: 20px;
	font-size: 14px;
}

.chef-rec-job-detail__back a {
	color: #2271b1;
	text-decoration: none;
}

.chef-rec-job-detail__back a:hover {
	text-decoration: underline;
}

/* Header */
.chef-rec-job-detail__header {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 28px;
	margin-bottom: 20px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chef-rec-job-detail__header-info {
	flex: 1;
	min-width: 0;
}

.chef-rec-job-detail__title {
	margin: 0 0 12px;
	font-size: 24px;
	font-weight: 700;
	color: #1d2327;
	line-height: 1.3;
}

.chef-rec-job-detail__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.chef-rec-job-detail__meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	font-size: 14px;
	color: #50575e;
}

.chef-rec-job-detail__meta-row span {
	display: flex;
	align-items: center;
	gap: 4px;
}

.chef-rec-job-detail__meta-row .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* Apply wrap */
.chef-rec-job-detail__apply-wrap {
	flex-shrink: 0;
	text-align: center;
}

.chef-rec-job-detail__apply-btn {
	width: auto !important;
	white-space: nowrap;
	padding: 12px 24px !important;
	font-size: 15px !important;
}

.chef-rec-job-detail__apply-note {
	font-size: 12px;
	color: #787c82;
	margin-top: 8px;
}

/* Body layout: main + sidebar */
.chef-rec-job-detail__body {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 20px;
	align-items: start;
}

.chef-rec-job-detail__main {
	min-width: 0;
}

.chef-rec-job-detail__section {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 16px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.chef-rec-job-detail__section h2 {
	margin-top: 0;
	margin-bottom: 16px;
	font-size: 17px;
	color: #1d2327;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.chef-rec-job-detail__description {
	font-size: 15px;
	line-height: 1.7;
	color: #333;
}

.chef-rec-job-detail__description p {
	margin-bottom: 14px;
}

/* Tag list (cuisines, certs) */
.chef-rec-tag-list {
	list-style: none;
	padding: 0;
	margin: 0 0 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.chef-rec-tag-list li {
	display: inline-block;
	padding: 3px 10px;
	background: #e8f0fb;
	color: #2271b1;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
}

/* Employer card */
.chef-rec-employer-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 16px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
	text-align: center;
}

.chef-rec-employer-card__logo {
	width: 72px;
	height: 72px;
	object-fit: contain;
	border-radius: 8px;
	border: 1px solid #eee;
	padding: 4px;
	background: #f9f9f9;
	margin: 0 auto 12px;
	display: block;
}

.chef-rec-employer-card__name {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	color: #1d2327;
}

.chef-rec-employer-card__location {
	font-size: 13px;
	color: #787c82;
	margin: 0 0 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.chef-rec-employer-card__location .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
}

.chef-rec-employer-card__desc {
	font-size: 13px;
	color: #50575e;
	line-height: 1.5;
	margin-bottom: 12px;
}

.chef-rec-employer-card__website {
	display: block;
	width: 100%;
	margin-top: 12px;
}

.chef-rec-job-detail__sidebar-apply {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Similar roles sidebar card */
.chef-rec-job-detail__similar {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.chef-rec-job-detail__similar-title {
	font-size: 15px;
	font-weight: 700;
	color: #1e1e1e;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f0f0f0;
}

.chef-rec-job-detail__similar-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.chef-rec-job-detail__similar-item {
	padding: 10px 0;
	border-bottom: 1px solid #f5f5f5;
}

.chef-rec-job-detail__similar-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.chef-rec-job-detail__similar-link {
	display: flex;
	flex-direction: column;
	gap: 3px;
	text-decoration: none !important;
	color: inherit;
}

.chef-rec-job-detail__similar-link:hover .chef-rec-job-detail__similar-job-title {
	color: #2271b1;
}

.chef-rec-job-detail__similar-job-title {
	font-size: 14px;
	font-weight: 600;
	color: #1e1e1e;
	line-height: 1.3;
	transition: color 0.15s ease;
}

.chef-rec-job-detail__similar-meta {
	font-size: 12px;
	color: #787c82;
}

.chef-rec-job-detail__sidebar-apply-label {
	font-weight: 600;
	font-size: 15px;
	color: #1e1e1e;
	margin: 0 0 12px;
	text-align: center;
}

.chef-rec-job-detail__sidebar-apply-btn {
	display: block !important;
	width: 100%;
	text-align: center;
}

/* Responsive: collapse to single column below 600px */
@media ( max-width: 640px ) {
	.chef-rec-dashboard-stats {
		grid-template-columns: repeat(2, 1fr);
	}
	.chef-rec-profile-grid {
		grid-template-columns: 1fr;
	}
	.chef-rec-dashboard-header {
		flex-wrap: wrap;
	}
	.chef-rec-dashboard-table th:nth-child(3),
	.chef-rec-dashboard-table td:nth-child(3) {
		display: none;
	}
	/* Job listings */
	.chef-rec-job-grid {
		grid-template-columns: 1fr;
	}
	.chef-rec-filter-field {
		flex: 1 1 100%;
	}
	/* Job detail */
	.chef-rec-job-detail__header {
		flex-direction: column;
	}
	.chef-rec-job-detail__apply-wrap {
		width: 100%;
	}
	.chef-rec-job-detail__apply-btn {
		width: 100% !important;
	}
	.chef-rec-job-detail__body {
		grid-template-columns: 1fr;
	}
	.chef-rec-job-detail__sidebar {
		order: -1;
	}
}


/* ── Page Navigation Strip ──────────────────────────────────────────────── */
.chef-rec-page-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 32px;
	padding: 16px 20px;
	background: #f8f9fa;
	border-top: 1px solid #e5e7eb;
	border-radius: 0 0 8px 8px;
}

.chef-rec-page-nav__label {
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
	margin-right: 4px;
	white-space: nowrap;
}

.chef-rec-page-nav__link {
	font-size: 13px !important;
}

@media ( max-width: 600px ) {
	.chef-rec-page-nav {
		flex-direction: column;
		align-items: flex-start;
	}
	.chef-rec-page-nav__link {
		width: 100%;
		text-align: center;
	}
}

/* ── Job Detail Map ────────────────────────────────────────────────────────── */

.chef-rec-job-map {
	height: 320px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	margin-top: 12px;
}

.chef-rec-job-detail__address {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #4b5563;
	margin-bottom: 8px;
}

.chef-rec-job-map__note {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #6b7280;
	margin-top: 8px;
	font-style: italic;
}

.chef-rec-job-map__attribution {
	font-size: 11px;
	color: #9ca3af;
	margin-top: 6px;
	text-align: right;
}

.chef-rec-job-map__attribution a {
	color: #9ca3af;
	text-decoration: underline;
}

/* Hide Leaflet's own attribution since we render ours above the map */
.chef-rec-job-map .leaflet-control-attribution {
	display: none;
}

@media ( max-width: 640px ) {
	.chef-rec-job-map {
		height: 220px;
	}
}
