/**
 * Jobs Archive Page Styles
 *
 * @package Together_Theme
 */

/* Header Section */
.together-jobs-header {
	background: #447AB3;
	padding: 80px 0 60px;
	color: #fff;
}

.together-jobs-header-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

.together-jobs-title {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 20px;
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.together-jobs-title-highlight {
	display: inline-block;
	background: #FF6B9D;
	color: #fff;
	padding: 4px 16px;
	border-radius: 20px;
	font-weight: 700;
	margin-left: 8px;
}

.together-jobs-subtitle {
	font-size: 1.125rem;
	margin-bottom: 40px;
	color: rgba(255, 255, 255, 0.9);
}

.together-jobs-subtitle a {
	color: #fff;
	text-decoration: underline;
}

.together-jobs-subtitle a:hover {
	text-decoration: none;
}

/* Search Form */
.together-jobs-search-form {
	display: flex;
	gap: 16px;
	align-items: flex-end;
	flex-wrap: wrap;
}

.together-search-input-wrapper {
	flex: 1;
	min-width: 200px;
}

.together-search-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 8px;
	color: rgba(255, 255, 255, 0.9);
}

.together-search-input,
.together-search-select {
	width: 100%;
	padding: 14px 16px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	background: #fff;
	color: #333;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.together-search-input::placeholder {
	color: #999;
}

.together-search-select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}

.together-search-button {
	width: 56px;
	height: 56px;
	background: #97C354;
	border: none;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease;
	flex-shrink: 0;
}

.together-search-button:hover {
	background: #7ba043;
}

.together-search-button svg {
	width: 24px;
	height: 24px;
}

/* Main Content */
.together-jobs-main {
	background: #fff;
	padding: 40px 0;
}

.together-jobs-content-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

/* Top Bar */
.together-jobs-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	flex-wrap: wrap;
	gap: 20px;
}

.together-jobs-title-section {
	display: flex;
	align-items: center;
	gap: 20px;
}

.together-jobs-list-title {
	font-size: 2rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 12px;
}

.together-jobs-count-badge {
	background: #e8f4f8;
	color: #447AB3;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 0.875rem;
	font-weight: 600;
}

.together-filter-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #333;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.together-filter-button:hover {
	border-color: #447AB3;
	color: #447AB3;
}

.together-filter-button svg {
	width: 20px;
	height: 20px;
}

.together-jobs-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.together-sort-select {
	padding: 10px 36px 10px 16px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 0.9375rem;
	background: #fff;
	color: #333;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.together-create-alert-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: #447AB3;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.3s ease;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.together-create-alert-button:hover {
	background: #356a9a;
	color: #fff;
	text-decoration: none;
}

.together-create-alert-button svg {
	width: 20px;
	height: 20px;
}

/* Job Grid */
.together-jobs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 24px;
	margin-bottom: 40px;
}

/* Job Card */
.together-job-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 24px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
}

.together-job-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.together-job-card-header {
	margin-bottom: 16px;
}

.together-job-card-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 8px 0;
	color: #1a1a1a;
	line-height: 1.4;
}

.together-job-card-title a {
	color: #1a1a1a;
	text-decoration: none;
}

.together-job-card-title a:hover {
	color: #447AB3;
}

.together-job-card-body {
	margin-bottom: 20px;
}

.together-job-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	color: #666;
	font-size: 0.9375rem;
}

.together-job-icon {
	width: 16px;
	height: 16px;
	color: #447AB3;
	flex-shrink: 0;
}

.together-job-type {
	display: inline-block;
	padding: 4px 12px;
	background: #f0f0f0;
	border-radius: 4px;
	font-size: 0.875rem;
	color: #666;
	margin-top: 8px;
}

.together-job-card-footer {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid #e0e0e0;
}

.together-apply-button {
	padding: 10px 24px;
	background: #447AB3;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.3s ease;
	cursor: pointer;
	flex: 1;
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.together-apply-button:hover {
	background: #356a9a;
	color: #fff;
	text-decoration: none;
}

.together-job-action-button {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #666;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
}

.together-job-action-button:hover {
	border-color: #447AB3;
	color: #447AB3;
}

.together-job-action-button svg {
	width: 20px;
	height: 20px;
}

/* Pagination */
.together-jobs-pagination {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.together-jobs-pagination .page-numbers {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.together-jobs-pagination .page-numbers li {
	margin: 0;
}

.together-jobs-pagination .page-numbers a,
.together-jobs-pagination .page-numbers span {
	display: block;
	padding: 8px 16px;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #333;
	text-decoration: none;
	transition: all 0.3s ease;
}

.together-jobs-pagination .page-numbers a:hover,
.together-jobs-pagination .page-numbers .current {
	background: #447AB3;
	color: #fff;
	border-color: #447AB3;
}

/* No Jobs */
.together-no-jobs {
	text-align: center;
	padding: 60px 20px;
	color: #666;
}

/* Responsive */
@media (max-width: 768px) {
	.together-jobs-header {
		padding: 40px 0;
	}
	
	.together-jobs-header-content {
		padding: 0 20px;
	}
	
	.together-jobs-title {
		font-size: 2rem;
	}
	
	.together-jobs-search-form {
		flex-direction: column;
	}
	
	.together-search-input-wrapper {
		width: 100%;
	}
	
	.together-search-button {
		width: 100%;
		border-radius: 4px;
	}
	
	.together-jobs-content-wrapper {
		padding: 0 20px;
	}
	
	.together-jobs-topbar {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.together-jobs-grid {
		grid-template-columns: 1fr;
	}
}

