/**
 * HelloFlex Public Styles
 */

/* ============================================
   Base & Container
   ============================================ */

.helloflex-jobs-archive,
.helloflex-job-single {
	padding: 60px 0;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	min-height: 60vh;
}

.helloflex-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ============================================
   Archive Page - Header
   ============================================ */

.helloflex-archive-header {
	text-align: left;
	margin-bottom: 48px;
}

.helloflex-archive-title {
	font-size: 2.75rem;
	font-weight: 800;
	margin: 0 0 16px 0;
	color: #0f172a;
	letter-spacing: -0.025em;
}

.helloflex-archive-header p {
	font-size: 1.125rem;
	color: #64748b;
	margin: 0;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* ============================================
   Archive Page - Layout
   ============================================ */

.helloflex-archive-layout {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 32px;
	align-items: start;
}

.helloflex-sidebar {
	position: sticky;
	top: 24px;
	order: 2;
}

.helloflex-main {
	min-width: 0;
	order: 1;
}

/* ============================================
   Archive Page - Filters
   ============================================ */

.helloflex-filters {
	background: #ffffff;
	border-radius: 8px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
	border: 1px solid #e2e8f0;
}

.helloflex-filter-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.helloflex-filter-group {
	display: flex;
	flex-direction: column;
}

.helloflex-filter-group > label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #374151;
	margin-bottom: 8px;
}

.helloflex-filter-group > .helloflex-dropdown,
.helloflex-filter-group > .helloflex-range-slider {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.helloflex-filter-group select,
.helloflex-filter-group input[type="text"],
.helloflex-filter-group input[type="number"] {
	width: 100%;
	padding: 12px 16px;
	font-size: 0.9375rem;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #ffffff;
	color: #0f172a;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.helloflex-filter-group select:focus,
.helloflex-filter-group input[type="text"]:focus,
.helloflex-filter-group input[type="number"]:focus {
	outline: none;
	border-color: #1e293b;
	box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.1);
}

/* Hours Range Slider */
.helloflex-filter-hours {
	width: 100%;
}

.helloflex-range-slider {
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: center;
}

.helloflex-range-inputs {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.helloflex-range-inputs input[type="number"] {
	width: 60px;
	text-align: center;
	padding: 8px 6px;
	font-size: 0.875rem;
}

.helloflex-range-inputs input[type="number"]:last-child {
	margin-left: auto;
}

.helloflex-range-separator {
	color: #64748b;
	font-weight: 500;
	flex-shrink: 0;
}

.helloflex-slider-container {
	position: relative;
	height: 20px;
	margin-top: 4px;
}

.helloflex-slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 20px;
	background: transparent;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
}

.helloflex-slider::-webkit-slider-runnable-track {
	width: 100%;
	height: 6px;
	background: #e2e8f0;
	border-radius: 3px;
	margin-top: 7px;
}

.helloflex-slider-max::-webkit-slider-runnable-track {
	background: transparent;
}

.helloflex-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	background: #1e293b;
	border-radius: 50%;
	cursor: pointer;
	pointer-events: auto;
	margin-top: -7px;
	box-shadow: 0 2px 6px rgba(30, 41, 59, 0.4);
}

.helloflex-slider::-moz-range-track {
	width: 100%;
	height: 6px;
	background: #e2e8f0;
	border-radius: 3px;
}

.helloflex-slider-max::-moz-range-track {
	background: transparent;
}

.helloflex-slider::-moz-range-thumb {
	width: 20px;
	height: 20px;
	background: #1e293b;
	border-radius: 50%;
	cursor: pointer;
	pointer-events: auto;
	border: none;
	box-shadow: 0 2px 6px rgba(30, 41, 59, 0.4);
}

/* Dropdown with Checkboxes */
.helloflex-dropdown {
	position: relative;
	flex: 1;
}

.helloflex-dropdown-toggle {
	width: 100%;
	height: 46px;
	padding: 0 16px;
	font-size: 0.9375rem;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #ffffff;
	color: #0f172a;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	text-align: left;
}

.helloflex-dropdown-toggle:hover {
	border-color: #cbd5e1;
}

.helloflex-dropdown-toggle:focus {
	outline: none;
	border-color: #1e293b;
	box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.1);
}

.helloflex-dropdown.open .helloflex-dropdown-toggle {
	border-color: #1e293b;
	box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.1);
}

.helloflex-dropdown-text {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.helloflex-dropdown-arrow {
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #64748b;
	transition: transform 0.2s ease;
}

.helloflex-dropdown.open .helloflex-dropdown-arrow {
	transform: rotate(180deg);
}

.helloflex-dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin-top: 4px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	max-height: 250px;
	overflow-y: auto;
	z-index: 100;
	display: none;
}

.helloflex-dropdown.open .helloflex-dropdown-menu {
	display: block;
}

.helloflex-dropdown-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	cursor: pointer;
	font-size: 0.9375rem;
	transition: background-color 0.15s ease;
}

.helloflex-dropdown-item:hover {
	background-color: #f8fafc;
}

.helloflex-dropdown-item input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #1e293b;
	cursor: pointer;
	flex-shrink: 0;
}

.helloflex-dropdown-label {
	flex: 1;
	color: #0f172a;
}

.helloflex-dropdown-count {
	color: #64748b;
	font-size: 0.8125rem;
}

/* Filter Actions */
.helloflex-filter-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: flex-end;
	min-width: 120px;
	margin-top: 16px;
}

.helloflex-filter-actions .helloflex-button {
	height: 46px;
	padding: 0 24px;
	white-space: nowrap;
}

/* Results Info */
.helloflex-results-info {
	color: #64748b;
	font-size: 0.9375rem;
	margin-bottom: 24px;
}

/* Loading Indicator */
.helloflex-loading {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.helloflex-spinner {
	width: 48px;
	height: 48px;
	border: 4px solid #e2e8f0;
	border-top-color: #1e293b;
	border-radius: 50%;
	animation: helloflex-spin 0.8s linear infinite;
}

@keyframes helloflex-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ============================================
   Archive Page - Jobs Grid
   ============================================ */

.helloflex-jobs-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 1fr;
	gap: 24px;
}

/* ============================================
   Archive Page - Job Card
   ============================================ */

.helloflex-job-card {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	min-height: 0;
	height: 100%;
}

.helloflex-job-card-link {
	display: flex;
	flex: 1;
	text-decoration: none;
	color: inherit;
	outline: none;
}

.helloflex-job-card-link:focus {
	outline: none;
}

.helloflex-job-card-link:focus .helloflex-job-card-inner {
	box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.5);
}

.helloflex-job-card-inner {
	display: flex;
	flex-direction: column;
	flex: 1;
	width: 100%;
	padding: 28px;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid #e2e8f0;
	position: relative;
	overflow: hidden;
}

.helloflex-job-card-inner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: #1e293b;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.helloflex-job-card-link:hover .helloflex-job-card-inner {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);
	border-color: transparent;
}

.helloflex-job-card-link:hover .helloflex-job-card-inner::before {
	transform: scaleX(1);
}

/* Job Title */
.helloflex-job-card .helloflex-job-title {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 12px 0;
	color: #0f172a;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Job Description */
.helloflex-job-description {
	font-size: 0.9375rem;
	color: #475569;
	margin: 0 0 auto 0;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Job Meta */
.helloflex-job-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 20px;
	border-top: 1px solid #f1f5f9;
	font-size: 0.8125rem;
	gap: 12px;
	margin-top: 20px;
}

.helloflex-job-hours {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #64748b;
	background: #f1f5f9;
	padding: 6px 12px;
	border-radius: 20px;
	font-weight: 500;
}

.helloflex-job-hours::before {
	content: '';
	width: 18px;
	height: 18px;
	display: inline-block;
	background-color: currentColor;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

.helloflex-job-city {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #64748b;
	font-weight: 500;
}

.helloflex-job-city::before {
	content: '';
	width: 18px;
	height: 18px;
	display: inline-block;
	background-color: currentColor;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E");
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

/* ============================================
   No Jobs Message
   ============================================ */

.helloflex-no-jobs {
	text-align: center;
	padding: 80px 40px;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.helloflex-no-jobs p {
	margin: 0;
	color: #64748b;
	font-size: 1.125rem;
}

/* ============================================
   Pagination
   ============================================ */

.helloflex-jobs-archive .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 48px;
	flex-wrap: wrap;
}

.helloflex-jobs-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	text-decoration: none;
	color: #475569;
	font-size: 0.9375rem;
	font-weight: 500;
	transition: all 0.2s ease;
}

.helloflex-jobs-archive .page-numbers:hover {
	background: #f8fafc;
	border-color: #1e293b;
	color: #1e293b;
}

.helloflex-jobs-archive .page-numbers.current {
	background: #1e293b;
	border-color: transparent;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(30, 41, 59, 0.4);
}

.helloflex-jobs-archive .page-numbers.dots {
	border: none;
	background: none;
	padding: 0 8px;
	min-width: auto;
}

/* ============================================
   Single Page - Job Detail
   ============================================ */

.helloflex-job-single {
	padding: 40px 0 80px;
}

.helloflex-job-detail {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	border: 1px solid #e2e8f0;
}

/* Single - Header */
.helloflex-job-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px 32px;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-bottom: 1px solid #e2e8f0;
}

.helloflex-job-header-left {
	flex: 1;
	min-width: 0;
}

.helloflex-job-header-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 24px;
	flex-shrink: 0;
}

.helloflex-job-detail .helloflex-job-title {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0 0 12px 0;
	color: #0f172a;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

.helloflex-job-header .helloflex-job-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	border: none;
	padding: 0;
	justify-content: flex-start;
}

.helloflex-apply-btn {
	padding: 14px 28px;
	font-size: 1rem;
}

.helloflex-back-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #64748b;
	font-size: 0.8125rem;
	text-decoration: none;
	transition: color 0.2s ease;
}

.helloflex-back-link::before {
	content: '\2190';
	font-size: 0.875rem;
}

.helloflex-back-link:hover {
	color: #1e293b;
}

.helloflex-job-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #475569;
	font-size: 0.9375rem;
	background: #ffffff;
	padding: 10px 18px;
	border-radius: 30px;
	border: 1px solid #e2e8f0;
	font-weight: 500;
}

.helloflex-job-meta-item::before {
	content: '';
	width: 18px;
	height: 18px;
	background-size: contain;
	background-repeat: no-repeat;
}

.helloflex-job-location::before,
.helloflex-job-header .helloflex-job-hours::before,
.helloflex-job-category::before {
	content: '';
	width: 18px;
	height: 18px;
	display: inline-block;
	background-color: currentColor;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

.helloflex-job-location::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E");
}

.helloflex-job-header .helloflex-job-hours::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}

.helloflex-job-category::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z'/%3E%3C/svg%3E");
}

/* Single - Content */
.helloflex-job-content {
	padding: 48px;
}

.helloflex-job-content .helloflex-job-description {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: #334155;
	overflow: visible;
	display: block;
	-webkit-line-clamp: unset;
}

.helloflex-job-content .helloflex-job-description p {
	margin: 0 0 1.5em 0;
}

.helloflex-job-content .helloflex-job-description p:last-child {
	margin-bottom: 0;
}

.helloflex-job-content .helloflex-job-description ul,
.helloflex-job-content .helloflex-job-description ol {
	margin: 0 0 1.5em 0;
	padding-left: 1.5em;
}

.helloflex-job-content .helloflex-job-description ul li {
	list-style: disc;
}

.helloflex-job-content .helloflex-job-description ol li {
	list-style: decimal;
}

.helloflex-job-content .helloflex-job-description li {
	margin-bottom: 0.5em;
}

.helloflex-job-content .helloflex-job-description li::marker {
	color: #0f172a;
}

.helloflex-job-content .helloflex-job-description h2,
.helloflex-job-content .helloflex-job-description h3,
.helloflex-job-content .helloflex-job-description h4 {
	color: #0f172a;
	margin: 2em 0 1em 0;
	font-weight: 700;
}

.helloflex-job-content .helloflex-job-description h2:first-child,
.helloflex-job-content .helloflex-job-description h3:first-child,
.helloflex-job-content .helloflex-job-description h4:first-child {
	margin-top: 0;
}

.helloflex-job-content .helloflex-job-description strong {
	color: #0f172a;
	font-weight: 600;
}

/* Single - Footer */
.helloflex-job-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 32px 48px;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
}

/* Buttons */
.helloflex-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 10px;
	transition: all 0.2s ease;
	cursor: pointer;
	border: none;
}

.helloflex-button-primary {
	background: #1e293b;
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(30, 41, 59, 0.4);
}

.helloflex-button-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(30, 41, 59, 0.5);
	background: #0f172a;
	color: #ffffff;
}

.helloflex-button-secondary {
	background: #ffffff;
	color: #475569;
	border: 1px solid #e2e8f0;
}

.helloflex-button-secondary:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #0f172a;
}

/* ============================================
   Application Popup
   ============================================ */

.helloflex-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.7);
	backdrop-filter: blur(4px);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	padding: 20px;
	overflow-y: auto;
}

.helloflex-popup-overlay.active {
	display: flex;
	animation: helloflex-fade-in 0.2s ease;
}

@keyframes helloflex-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.helloflex-popup {
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
	max-width: 780px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	animation: helloflex-slide-up 0.3s ease;
}

@keyframes helloflex-slide-up {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.helloflex-popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 28px 32px 24px;
	border-bottom: 1px solid #f1f5f9;
	position: sticky;
	top: 0;
	background: #ffffff;
	border-radius: 10px 10px 0 0;
	z-index: 1;
}

.helloflex-popup-header h2 {
	margin: 0;
	font-size: 1.375rem;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -0.01em;
}

.helloflex-popup-close {
	background: #f1f5f9;
	border: none;
	min-width: 36px;
	min-height: 36px;
	border-radius: 50%;
	font-size: 1.25rem;
	color: #64748b;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.helloflex-popup-close:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.helloflex-popup-content {
	padding: 28px 32px 32px;
}

/* Form Styles */
.helloflex-apply-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.helloflex-apply-form *,
.helloflex-apply-form *::before,
.helloflex-apply-form *::after {
	box-sizing: border-box;
}

.helloflex-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.helloflex-form-row-name {
	grid-template-columns: 1fr 100px 1fr;
}

.helloflex-form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.helloflex-form-group > label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #475569;
}

.helloflex-form-group input[type="text"],
.helloflex-form-group input[type="email"],
.helloflex-form-group input[type="tel"],
.helloflex-form-group textarea {
	padding: 14px 16px;
	font-size: 0.9375rem;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	background: #ffffff;
	color: #0f172a;
	transition: all 0.2s ease;
	width: 100%;
}

.helloflex-form-group input[type="text"]:hover,
.helloflex-form-group input[type="email"]:hover,
.helloflex-form-group input[type="tel"]:hover,
.helloflex-form-group textarea:hover {
	border-color: #cbd5e1;
}

.helloflex-form-group input:focus,
.helloflex-form-group textarea:focus {
	outline: none;
	border-color: #1e293b;
	box-shadow: 0 0 0 4px rgba(30, 41, 59, 0.1);
}

.helloflex-form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.helloflex-form-group input[type="file"] {
	padding: 16px 20px;
	font-size: 0.875rem;
	border: 2px dashed #cbd5e1;
	border-radius: 10px;
	background: #f8fafc;
	cursor: pointer;
	transition: all 0.2s ease;
}

.helloflex-form-group input[type="file"]:hover {
	border-color: #1e293b;
	background: #f1f5f9;
}

.helloflex-form-hint {
	font-size: 0.75rem;
	color: #94a3b8;
	margin-top: -4px;
}

.helloflex-form-checkbox {
	background: #f8fafc;
	border-radius: 10px;
	padding: 16px;
	border: 1px solid #e2e8f0;
}

.helloflex-form-checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-weight: 400;
	cursor: pointer;
}

.helloflex-form-checkbox input[type="checkbox"] {
	width: 20px;
	height: 20px;
	accent-color: #1e293b;
	cursor: pointer;
	flex-shrink: 0;
	margin-top: 1px;
}

.helloflex-form-checkbox span {
	font-size: 0.875rem;
	color: #475569;
	line-height: 1.5;
}

.helloflex-form-checkbox a {
	color: #1e293b;
	text-decoration: underline;
	font-weight: 500;
	font-size: 0.875rem;
}

.helloflex-form-checkbox a:hover {
	text-decoration: underline;
}

.helloflex-form-actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	padding-top: 24px;
	border-top: 1px solid #f1f5f9;
	margin-top: 8px;
}

.helloflex-form-actions .helloflex-button {
	padding: 14px 28px;
	font-size: 0.9375rem;
}

/* Form Success Message */
.helloflex-form-success {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 250px;
	text-align: center;
	padding: 40px;
	gap: 20px;
}

.helloflex-form-success-icon {
	width: 64px;
	height: 64px;
	background: #16a34a;
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	font-weight: bold;
}

.helloflex-form-success p {
	font-size: 1.125rem;
	font-weight: 600;
	color: #0f172a;
	margin: 0;
}

.helloflex-form-success .helloflex-button {
	margin-top: 8px;
	min-width: 120px;
}

/* Form Error Message */
.helloflex-form-error {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 250px;
	text-align: center;
	padding: 40px;
	gap: 20px;
}

.helloflex-form-error-icon {
	width: 64px;
	height: 64px;
	background: #dc2626;
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	font-weight: bold;
}

.helloflex-form-error p {
	font-size: 1.125rem;
	font-weight: 600;
	color: #0f172a;
	margin: 0;
}

.helloflex-form-error .helloflex-button {
	margin-top: 8px;
	min-width: 120px;
}

/* ============================================
   Responsive Breakpoints (Tailwind-style)
   xl: 1280px, lg: 1024px, md: 768px, sm: 640px
   ============================================ */

/* xl breakpoint - 2 columns in grid */
@media (max-width: 1280px) {
	.helloflex-jobs-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* lg breakpoint - sidebar becomes top, 2 columns */
@media (max-width: 1024px) {
	.helloflex-archive-layout {
		grid-template-columns: 1fr;
	}

	.helloflex-sidebar {
		position: static;
		order: 1;
	}

	.helloflex-main {
		order: 2;
	}

	.helloflex-filters {
		margin-bottom: 24px;
	}

	.helloflex-filter-actions {
		flex-direction: row;
	}

	.helloflex-filter-actions .helloflex-button {
		flex: 1;
	}

	.helloflex-jobs-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* md breakpoint - single page adjustments */
@media (max-width: 768px) {
	.helloflex-job-header {
		flex-direction: column;
		align-items: stretch;
		padding: 24px 20px;
		gap: 16px;
	}

	.helloflex-job-header-right {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.helloflex-back-link {
		order: 2;
		justify-content: center;
	}

	.helloflex-apply-btn {
		order: 1;
		width: 100%;
	}

	.helloflex-job-detail .helloflex-job-title {
		font-size: 1.5rem;
	}

	.helloflex-job-content {
		padding: 28px 20px;
	}
}

/* sm breakpoint - 1 column, mobile layout */
@media (max-width: 640px) {
	.helloflex-jobs-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.helloflex-archive-title {
		font-size: 2rem;
	}

	/* Popup responsive */
	.helloflex-popup-overlay {
		padding: 10px;
	}

	.helloflex-popup-header {
		padding: 16px 20px;
	}

	.helloflex-popup-content {
		padding: 20px;
	}

	.helloflex-form-row,
	.helloflex-form-row-name {
		grid-template-columns: 1fr;
	}

	.helloflex-form-actions {
		flex-direction: column;
	}

	.helloflex-form-actions .helloflex-button {
		width: 100%;
	}
}
