/* TalentPro Job Listing - Main Styles */

.talentpro-job-listing-wrapper {
	width: 100%;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.talentpro-job-listing-wrapper[data-layout="two-column"] {
	display: flex;
	gap: 30px;
}

.talentpro-job-container {
	display: flex;
	gap: 30px;
	width: 100%;
}

/* Sidebar Styles */
.talentpro-job-sidebar {
	flex: 0 0 300px;
	background: #f8f9fa;
	padding: 25px;
	border-radius: 8px;
	height: fit-content;
	position: sticky;
	top: 20px;
	border: 1px solid #e9ecef;
}

.talentpro-search-box h3 {
	font-size: 18px;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid #007bff;
}

.search-field {
	margin-bottom: 18px;
}

.search-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #495057;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.talentpro-search-input,
.talentpro-search-select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #dee2e6;
	border-radius: 5px;
	font-size: 14px;
	color: #495057;
	transition: all 0.3s ease;
	background-color: #fff;
}

.talentpro-search-input:focus,
.talentpro-search-select:focus {
	outline: none;
	border-color: #007bff;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
	background-color: #fff;
}

.talentpro-search-input::placeholder {
	color: #adb5bd;
}

.talentpro-search-btn,
.talentpro-clear-btn {
	width: 100%;
	padding: 12px 15px;
	border: none;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 10px;
}

.talentpro-search-btn {
	background-color: #007bff;
	color: white;
}

.talentpro-search-btn:hover {
	background-color: #0056b3;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.talentpro-search-btn:active {
	transform: translateY(0);
}

.talentpro-clear-btn {
	background-color: #e9ecef;
	color: #495057;
	border: 1px solid #dee2e6;
}

.talentpro-clear-btn:hover {
	background-color: #dee2e6;
}

/* Main Job Listings Area */
.talentpro-job-listings {
	flex: 1;
	min-width: 0;
}

.talentpro-job-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 15px;
}

/* Job Card Styles */
.talentpro-job-card {
	background: white;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	padding: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	position: relative;
	overflow: hidden;
}

.talentpro-job-card::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 4px;
	background-color: #007bff;
	transform: scaleY(0);
	transition: transform 0.3s ease;
}

.talentpro-job-card:hover {
	border-color: #007bff;
	box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
	transform: translateY(-4px);
}

.talentpro-job-card:hover::before {
	transform: scaleY(1);
}

.job-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 12px;
}

.job-card-title {
	font-size: 16px;
	font-weight: 600;
	color: #2c3e50;
	margin: 0;
	flex: 1;
	line-height: 1.3;
}

.job-card-title:hover {
	color: #007bff;
}

.job-card-id {
	font-size: 12px;
	color: #adb5bd;
	background: #f8f9fa;
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
	flex-shrink: 0;
}

.job-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 14px;
	color: #6c757d;
}

.job-meta-item {
	display: flex;
	align-items: center;
	gap: 5px;
}

.job-meta-item::before {
	content: '';
	width: 4px;
	height: 4px;
	background-color: #dee2e6;
	border-radius: 50%;
}

.job-meta-item:first-child::before {
	display: none;
}

.job-meta-posted-by {
	font-style: italic;
	color: #adb5bd;
	font-size: 12px;
}

.job-card-description {
	font-size: 13px;
	color: #6c757d;
	line-height: 1.5;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.job-card-actions {
	display: flex;
	gap: 10px;
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid #e9ecef;
}

.talentpro-apply-btn {
	flex: 1;
	padding: 10px 16px;
	background-color: #113163;
	color: white;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.talentpro-apply-btn:hover {
	background-color: #0d1f3f;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(17, 49, 99, 0.3);
}

.talentpro-apply-btn:active {
	transform: translateY(0);
}

.job-card-skills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.job-skill-tag {
	background-color: #e7f1ff;
	color: #0056b3;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.job-skill-tag:hover {
	background-color: #0056b3;
	color: white;
}

/* Loading Spinner */
.talentpro-loading {
	text-align: center;
	padding: 60px 20px;
	color: #6c757d;
	font-size: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.talentpro-loading p {
	margin: 0;
	font-weight: 500;
	color: #495057;
}

/* Spinner Animation */
.talentpro-spinner {
	width: 50px;
	height: 50px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #007bff;
	border-radius: 50%;
	animation: talentpro-spin 1s linear infinite;
}

@keyframes talentpro-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Alternative: Pulse Spinner */
.talentpro-spinner-pulse {
	width: 40px;
	height: 40px;
	background: linear-gradient(45deg, #007bff, #0056b3);
	border-radius: 50%;
	animation: talentpro-pulse 1.5s ease-in-out infinite;
}

@keyframes talentpro-pulse {
	0% {
		transform: scale(0.95);
		opacity: 1;
	}
	50% {
		opacity: 0.6;
	}
	100% {
		transform: scale(1.05);
		opacity: 1;
	}
}

/* Dots Spinner */
.talentpro-spinner-dots {
	display: flex;
	gap: 6px;
	align-items: center;
}

.talentpro-spinner-dots span {
	width: 8px;
	height: 8px;
	background: #007bff;
	border-radius: 50%;
	animation: talentpro-bounce 1.4s infinite ease-in-out;
}

.talentpro-spinner-dots span:nth-child(1) {
	animation-delay: -0.32s;
}

.talentpro-spinner-dots span:nth-child(2) {
	animation-delay: -0.16s;
}

.talentpro-spinner-dots span:nth-child(3) {
	animation-delay: 0s;
}

@keyframes talentpro-bounce {
	0%, 80%, 100% {
		transform: scale(0);
		opacity: 0.5;
	}
	40% {
		transform: scale(1);
		opacity: 1;
	}
}

/* Job Details View */
.talentpro-job-detail {
	display: none;
	background: white;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	animation: slideIn 0.3s ease;
}

.talentpro-job-detail.active {
	display: block;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.job-detail-content {
	padding: 30px;
	position: relative;
}

/* Close Button - Right Aligned */
.job-detail-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 32px;
	color: #6c757d;
	cursor: pointer;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 5px;
	transition: all 0.3s ease;
	padding: 0;
	line-height: 1;
}

.job-detail-close:hover {
	background-color: #f8f9fa;
	color: #2c3e50;
	transform: scale(1.1);
}

.job-detail-header {
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 2px solid #e9ecef;
	padding-right: 50px;
}

.job-detail-title {
	font-size: 28px;
	font-weight: 700;
	color: #2c3e50;
	margin: 0 0 15px 0;
}

.job-detail-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-bottom: 15px;
}

.detail-meta-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #6c757d;
}

.detail-meta-label {
	font-weight: 600;
	color: #2c3e50;
}

.job-detail-back {
	display: inline-block;
	padding: 8px 12px;
	background-color: #e9ecef;
	color: #495057;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s ease;
	margin-bottom: 15px;
}

.job-detail-back:hover {
	background-color: #dee2e6;
	color: #2c3e50;
}

.job-detail-section {
	margin-bottom: 25px;
}

.job-detail-section-title {
	font-size: 18px;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e9ecef;
}

.job-detail-section-content {
	font-size: 14px;
	color: #6c757d;
	line-height: 1.8;
}

.job-detail-section-content ul,
.job-detail-section-content ol {
	margin: 0;
	padding-left: 20px;
}

.job-detail-section-content li {
	margin-bottom: 8px;
}

.job-detail-section-content strong {
	color: #2c3e50;
	font-weight: 600;
}

.job-detail-skills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.job-detail-skill-tag {
	background-color: #007bff;
	color: white;
	padding: 8px 15px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.job-detail-skill-tag:hover {
	background-color: #0056b3;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.job-detail-actions {
	display: flex;
	gap: 12px;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #e9ecef;
}

.job-detail-action-btn {
	flex: 1;
	padding: 14px 24px;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.job-apply-btn {
	background-color: #113163;
	color: white;
	border-radius: 8px;
	padding: 14px 24px;
}

.job-apply-btn:hover {
	background-color: #0d1f3f;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(17, 49, 99, 0.3);
}

.job-share-btn {
	background-color: #e9ecef;
	color: #495057;
	flex: 0 0 auto;
	padding: 14px 24px;
	border-radius: 8px;
	border: 1px solid #dee2e6;
}

.job-share-btn:hover {
	background-color: #dee2e6;
	color: #2c3e50;
}

/* Error and Empty State */
.talentpro-error {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
	padding: 15px;
	border-radius: 5px;
	margin-bottom: 15px;
}

.talentpro-empty {
	text-align: center;
	padding: 40px 20px;
	color: #6c757d;
	background: #f8f9fa;
	border-radius: 8px;
	border: 1px dashed #dee2e6;
}

.talentpro-empty h3 {
	font-size: 18px;
	color: #495057;
	margin-bottom: 10px;
}

/* Job Count Header */
.talentpro-job-count {
	font-size: 14px;
	color: #6c757d;
	margin-bottom: 15px;
	font-weight: 600;
}

/* Pagination Controls */
.talentpro-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid #e9ecef;
}

.talentpro-page-btn {
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid #dee2e6;
	background-color: #fff;
	color: #495057;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.talentpro-page-btn:hover:not(:disabled) {
	background-color: #f1f3f5;
	border-color: #adb5bd;
}

.talentpro-page-btn.talentpro-page-active {
	background-color: #28a745;
	border-color: #28a745;
	color: #fff;
	font-weight: 700;
}

.talentpro-page-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.talentpro-page-prev,
.talentpro-page-next {
	font-weight: 600;
}

/* ===== Layout v2: horizontal filters on top, 2-column job cards ===== */
.talentpro-job-container {
	flex-direction: column;
	gap: 30px;
}

.talentpro-job-sidebar {
	flex: none;
	width: 100%;
	position: static;
	box-sizing: border-box;
	padding: 20px 25px;
	background: #fff;
}

.talentpro-search-box {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 15px;
}

.talentpro-search-box h3 {
	display: none;
}

.talentpro-search-box .search-field {
	flex: 1 1 200px;
	margin-bottom: 0;
}

.talentpro-search-box .talentpro-search-btn,
.talentpro-search-box .talentpro-clear-btn {
	width: auto;
	flex: 0 0 auto;
	margin-bottom: 0;
	padding: 11px 24px;
}

/* Align filter fields and buttons on one line, same height */
.talentpro-search-box .search-field label {
	line-height: 1.2;
	margin-bottom: 8px;
}

.talentpro-search-box .talentpro-search-input,
.talentpro-search-box .talentpro-search-select {
	box-sizing: border-box;
	height: 48px;
	margin: 0;
}

.talentpro-search-box .talentpro-search-btn,
.talentpro-search-box .talentpro-clear-btn {
	box-sizing: border-box;
	height: 48px;
	margin: 0;
	padding: 0 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	border-radius: 5px;
	white-space: nowrap;
}

.talentpro-job-list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 25px;
}

.talentpro-job-list > .talentpro-job-count,
.talentpro-job-list > .talentpro-pagination,
.talentpro-job-list > .talentpro-loading,
.talentpro-job-list > .talentpro-empty,
.talentpro-job-list > .talentpro-error {
	grid-column: 1 / -1;
}

.talentpro-job-card {
	display: flex;
	flex-direction: column;
	padding: 25px;
}

.job-card-header {
	margin-bottom: 10px;
}

.job-card-title {
	font-size: 18px;
}

.job-card-meta {
	align-items: center;
}

.job-card-meta .job-meta-item::before {
	display: none;
}

.job-meta-icon {
	flex-shrink: 0;
}

.job-type-pill {
	background: #e7f1ff;
	color: #1a5fd0;
	padding: 4px 14px;
	border-radius: 20px;
	font-size: 13px;
}

.job-card-actions {
	margin-top: auto;
}

.talentpro-job-card .talentpro-apply-btn {
	flex: 0 0 auto;
}

@media (max-width: 768px) {
	.talentpro-job-list {
		grid-template-columns: 1fr;
	}

	.talentpro-search-box .talentpro-search-btn,
	.talentpro-search-box .talentpro-clear-btn {
		flex: 1 1 100%;
	}
}

/* Job detail heading sizes */
.talentpro-job-detail h1 { font-size: 32px; }
.talentpro-job-detail h2 { font-size: 30px; }
.talentpro-job-detail h3 { font-size: 28px; }
.talentpro-job-detail h4 { font-size: 26px; }
.talentpro-job-detail h5,
.talentpro-job-detail h6 { font-size: 25px; }

/* Loading State for Individual Cards */
.talentpro-job-card.loading {
	opacity: 0.6;
	pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.talentpro-job-container {
		flex-direction: column;
		gap: 20px;
	}

	.talentpro-job-sidebar {
		flex: 1;
		position: static;
	}

	.talentpro-job-listings {
		flex: 1;
	}
}

@media (max-width: 768px) {
	.talentpro-job-sidebar {
		padding: 15px;
	}

	.talentpro-search-box h3 {
		font-size: 16px;
	}

	.job-card-meta {
		flex-direction: column;
		gap: 8px;
	}

	.job-detail-meta {
		grid-template-columns: 1fr;
	}

	.job-detail-title {
		font-size: 22px;
	}

	.job-detail-actions {
		flex-direction: column;
	}

	.job-share-btn {
		flex: 1;
	}
}

@media (max-width: 480px) {
	.talentpro-job-container {
		padding: 0 10px;
	}

	.talentpro-job-sidebar {
		padding: 12px;
	}

	.talentpro-search-box h3 {
		font-size: 14px;
	}

	.search-field {
		margin-bottom: 12px;
	}

	.talentpro-search-input,
	.talentpro-search-select,
	.talentpro-search-btn,
	.talentpro-clear-btn {
		font-size: 12px;
	}

	.job-detail-content {
		padding: 15px;
	}

	.job-detail-title {
		font-size: 18px;
	}

	.job-detail-section-title {
		font-size: 16px;
	}

	.job-card-skills {
		gap: 6px;
	}

	.job-skill-tag {
		font-size: 11px;
		padding: 3px 8px;
	}
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
	.talentpro-job-listing-wrapper {
		color: #e9ecef;
	}

	.talentpro-job-sidebar {
		background: #2c3e50;
		border-color: #495057;
	}

	.talentpro-search-box h3 {
		color: #e9ecef;
		border-bottom-color: #007bff;
	}

	.search-field label {
		color: #adb5bd;
	}

	.talentpro-search-input,
	.talentpro-search-select {
		background-color: #1a1d20;
		border-color: #495057;
		color: #e9ecef;
	}

	.talentpro-search-input::placeholder {
		color: #6c757d;
	}

	.talentpro-job-card {
		background: #1a1d20;
		border-color: #495057;
	}

	.job-card-title {
		color: #e9ecef;
	}

	.job-card-id {
		background: #2c3e50;
		color: #adb5bd;
	}

	.job-card-meta,
	.job-card-description {
		color: #adb5bd;
	}

	.talentpro-job-detail {
		background: #1a1d20;
		border-color: #495057;
	}

	.job-detail-header,
	.job-detail-section {
		border-color: #495057;
	}

	.job-detail-title {
		color: #e9ecef;
	}

	.detail-meta-label {
		color: #e9ecef;
	}

	.job-detail-section-title {
		color: #e9ecef;
		border-color: #495057;
	}

	.job-detail-section-content {
		color: #adb5bd;
	}

	.job-detail-back {
		background-color: #495057;
		color: #e9ecef;
		border-color: #495057;
	}

	.job-detail-back:hover {
		background-color: #6c757d;
	}
}

/* ===== APPLICATION MODAL STYLES ===== */

.talentpro-modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
z-index: 999999;
padding: 20px;
}

.talentpro-modal {
background: white;
border-radius: 12px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
max-width: 600px;
width: 100%;
max-height: 85vh;
display: flex;
flex-direction: column;
animation: modalSlideIn 0.3s ease-out;
}

.talentpro-modal-large {
	max-width: 900px !important;
	max-height: 90vh;
}

.talentpro-modal-header {
padding: 25px;
border-bottom: 1px solid #e9ecef;
display: flex;
justify-content: space-between;
align-items: center;
}

.talentpro-modal-header h2 {
font-size: 22px;
font-weight: 700;
color: #113163;
margin: 0;
}

.talentpro-modal-close {
background: none;
border: none;
font-size: 32px;
color: #999;
cursor: pointer;
padding: 0;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}

.talentpro-modal-close:hover {
color: #333;
transform: scale(1.1);
}

.talentpro-modal-body {
padding: 25px;
overflow-y: auto;
flex: 1;
}

.job-summary {
background: #f8f9fa;
padding: 15px;
border-radius: 8px;
margin-bottom: 25px;
border-left: 4px solid #113163;
}

.job-summary {
display: flex;
align-items: stretch;
gap: 16px;
}

.job-summary-info {
flex: 1 1 auto;
min-width: 0;
}

.job-summary-logo {
flex: 0 0 auto;
align-self: stretch;
display: flex;
align-items: center;
justify-content: center;
padding: 8px 14px;
background: #fff;
border-radius: 8px;
box-sizing: border-box;
}

.job-summary-logo img {
display: block;
width: 150px;
max-width: 100%;
height: auto;
}

.job-summary p {
margin: 8px 0;
font-size: 14px;
color: #495057;
}

.job-summary p strong {
color: #2c3e50;
display: inline-block;
min-width: 100px;
}

/* Form Styles */
.talentpro-apply-form {
display: flex;
flex-direction: column;
gap: 18px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.form-col-2 {
	grid-column: span 1;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	font-size: 14px;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="file"],
.form-group textarea,
.form-group select {
	padding: 12px 14px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.3s ease;
	background-color: white;
}

.form-group select {
	cursor: pointer;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="file"]:focus,
.form-group textarea:focus,
.form-group select:focus {
	outline: none;
	border-color: #113163;
	box-shadow: 0 0 0 3px rgba(17, 49, 99, 0.1);
}

.form-group textarea {
	resize: vertical;
	min-height: 100px;
}

/* Terms & Conditions Section */
.terms-section {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e9ecef;
}

.terms-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
}

.terms-header input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
	margin-right: 5px;
}

.terms-label {
	font-size: 14px;
	font-weight: 600;
	color: #2c3e50;
	margin: 0;
	cursor: pointer;
	flex: 1;
}

.terms-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px 10px;
	font-size: 16px;
	color: #113163;
	transition: all 0.3s ease;
}

.terms-toggle:hover {
	color: #0d1f3f;
	transform: scale(1.1);
}

.terms-content {
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 6px;
	padding: 20px;
	max-height: 300px;
	overflow-y: auto;
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.6;
	color: #495057;
}

.terms_and_conditions {
	margin: 0;
	padding: 0;
}

.terms_and_conditions hr {
	border: none;
	border-top: 1px solid #ddd;
	margin: 15px 0;
}

.terms_and_conditions ul {
	margin: 10px 0;
	padding-left: 20px;
}

.terms_and_conditions li {
	margin: 5px 0;
}

.make_n_by_a {
	color: #495057;
}

.talentpro-btn-submit,
/* Apply (Submit) Button */
.talentpro-btn-submit {
  background-color: #28a745;
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.talentpro-btn-submit:hover:not(:disabled) {
  background-color: #218838;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(40, 167, 69, 0.35);
}

.talentpro-btn-submit:active:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(40, 167, 69, 0.25);
}

.talentpro-btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background-color: #6c757d;
}

/* Cancel Button */
.talentpro-btn-cancel {
  background-color: #f8f9fa;
  color: #495057;
  border: 2px solid #dee2e6;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.talentpro-btn-cancel:hover {
  background-color: #e2e6ea;
  border-color: #adb5bd;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #212529;
}

.talentpro-btn-cancel:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Form Actions Container */
.form-actions {
	display: flex;
	gap: 12px;
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid #e9ecef;
	width: 100%;
}

/* Responsive Modal */
@media (max-width: 768px) {
.talentpro-modal {
max-width: 95%;
}

	.talentpro-modal-large {
		max-width: 95% !important;
	}

	.talentpro-modal-header {
		padding: 20px;
	}

	.talentpro-modal-body {
		padding: 20px;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.form-actions {
		flex-direction: column;
	}

	.talentpro-btn-submit,
	.talentpro-btn-cancel {
		flex: auto;
		width: 100%;
	}

	.terms-content {
		max-height: 250px;
		font-size: 12px;

	}
}

@media (max-width: 480px) {
.job-summary { flex-wrap: wrap; }
.job-summary-logo { flex: 1 1 100%; order: -1; }
}


/* ---- Hero banner ("U" shape) used on the listing and job detail pages ---- */
.tp-hero {
	/* full-bleed: escape the page/Elementor container and span the whole viewport */
	width: 100vw;
	max-width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
	box-sizing: border-box;
	background: linear-gradient(135deg, #113163 0%, #1c4a94 100%);
	border-radius: 0 0 50% 50% / 0 0 70px 70px;
	padding: 56px 24px 90px;
	margin-top: 0;
	margin-bottom: 2rem;
	text-align: center;
}

.tp-hero-inner {
	max-width: 1140px;
	margin: 0 auto;
}

.tp-hero .tp-hero-title,
h2.tp-hero-title {
	color: #fff !important;
}

.tp-hero-title {
	margin: 0 0 28px;
	color: #fff;
	font-size: 34px;
	line-height: 1.25;
	font-weight: 700;
}

.tp-hero .talentpro-job-sidebar {
	text-align: left;
	background: #fff;
	border: 0;
	box-shadow: 0 10px 30px rgba(8, 20, 45, 0.25);
}

@media (max-width: 768px) {
	.tp-hero {
		padding: 36px 16px 60px;
		border-radius: 0 0 50% 50% / 0 0 40px 40px;
	}
	.tp-hero-title {
		font-size: 24px;
	}
}

/* Hero + job container stack vertically */
.talentpro-job-listing-wrapper[data-layout="two-column"],
.talentpro-job-listing-wrapper {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* 100vw includes the scrollbar width - avoid a horizontal scrollbar */
body:has(.tp-hero) {
	overflow-x: hidden;
}

/* Mobile: search section moved below the job list */
.talentpro-job-sidebar.tp-search-bottom {
	margin: 2rem 16px 0;
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	box-shadow: none;
	text-align: left;
}

.tp-hero.tp-hero-compact {
	padding: 36px 16px 50px;
	margin-bottom: 1.5rem;
}

/* "View Job Details" link next to Apply Now on job cards */
.talentpro-job-card .job-card-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.talentpro-job-card .talentpro-view-btn {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	padding: 10px 18px;
	background: #fff;
	color: #113163;
	border: 1px solid #113163;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.talentpro-job-card .talentpro-view-btn:hover {
	background: #113163;
	color: #fff;
}

/* ---- Circular Std font (Book + Bold), bundled with the plugin ---- */
@font-face {
	font-family: 'CircularStd';
	src: url('../fonts/CircularStd-Book.woff') format('woff'),
	     url('../fonts/CircularStd-Book.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'CircularStd';
	src: url('../fonts/CircularStd-Bold.woff') format('woff'),
	     url('../fonts/CircularStd-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

.talentpro-job-listing-wrapper,
.talentpro-job-listing-wrapper *:not(svg):not(path):not(circle):not(rect),
.tp-hero,
.tp-hero *:not(svg):not(path):not(circle):not(rect),
.talentpro-job-detail-seo-wrapper,
.talentpro-job-detail-seo-wrapper *:not(svg):not(path):not(circle):not(rect),
.talentpro-modal-overlay,
.talentpro-modal-overlay *:not(svg):not(path):not(circle):not(rect) {
	font-family: 'CircularStd', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}
