/* MSCPLTD Careers CSS */

.mscpltd-careers-container, .mscpltd-single-career-container {
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Header */
.mscpltd-careers-header {
	text-align: center;
	margin-bottom: 40px;
}
.mscpltd-careers-header h1 {
	font-size: 2.5rem;
	color: #1a1a1a;
	margin-bottom: 10px;
}
.mscpltd-careers-header p {
	font-size: 1.1rem;
	color: #666;
}

/* Job Cards List */
.mscpltd-jobs-list {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.mscpltd-job-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 15px rgba(0,0,0,0.05);
	padding: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 1px solid #eee;
	transition: transform 0.2s, box-shadow 0.2s;
}

.mscpltd-job-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.job-card-main {
	flex: 1;
	padding-right: 30px;
}

.job-card-main h2 {
	margin: 0 0 15px 0;
	font-size: 1.5rem;
	color: #222;
}

.job-meta-tags {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}

.job-tag {
	font-size: 0.85rem;
	padding: 4px 10px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	gap: 5px;
	font-weight: 500;
}

.tag-vacancy { background: #e6f7ef; color: #0d8a4e; }
.tag-location { background: #fff0ed; color: #d63d21; }
.tag-type { background: #ebf4ff; color: #1e5dd6; }

.job-excerpt {
	color: #555;
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 20px;
}

.job-actions {
	display: flex;
	gap: 15px;
}

.job-btn {
	padding: 10px 20px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.2s;
	display: inline-block;
}

.btn-apply {
	background: #2575dc;
	color: #fff;
	border: 1px solid #2575dc;
}
.btn-apply:hover {
	background: #1c5bb0;
	color: #fff;
}

.btn-details {
	background: transparent;
	color: #555;
	border: 1px solid #ddd;
}
.btn-details:hover {
	border-color: #2575dc;
	color: #2575dc;
}

/* QR Code Section */
.job-card-qr {
	background: #f9f9f9;
	padding: 15px;
	border-radius: 8px;
	text-align: center;
	min-width: 130px;
	border: 1px dashed #ccc;
}
.job-card-qr img {
	width: 100px;
	height: 100px;
	margin-bottom: 10px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.job-card-qr p {
	font-size: 0.75rem;
	color: #777;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Single Job Page */
.back-link {
	display: inline-block;
	margin-bottom: 20px;
	color: #555;
	text-decoration: none;
	font-weight: 500;
}
.back-link:hover {
	color: #2575dc;
}

.job-hero-banner {
	background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
	color: #ffffff;
	padding: 50px 40px;
	border-radius: 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.mscpltd-single-career-container .job-hero-text h1 {
	color: #ffffff !important;
	margin: 0 0 20px 0;
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
	text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.job-hero-qr {
	background: #fff;
	padding: 10px;
	border-radius: 8px;
	text-align: center;
}
.job-hero-qr img {
	width: 80px;
	height: 80px;
}
.job-hero-qr p {
	margin: 5px 0 0 0;
	font-size: 0.65rem;
	color: #333;
}

.mscpltd-job-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 30px;
}
.job-main-content {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.job-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.sidebar-widget {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 25px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.sidebar-widget h3 {
	margin: 0 0 20px 0;
	color: #1a202c;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	gap: 10px;
	border-bottom: 1px solid #eee;
	padding-bottom: 15px;
}
.sidebar-widget h3 i {
	color: #2575dc;
}

.other-jobs-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}
.other-jobs-list li {
	margin-bottom: 15px;
	border-bottom: 1px solid #f5f5f5;
	padding-bottom: 15px;
}
.other-jobs-list li:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.other-jobs-list a {
	text-decoration: none;
	color: inherit;
	display: block;
	transition: all 0.2s;
}
.other-jobs-list h4 {
	margin: 0 0 5px 0;
	font-size: 0.95rem;
	color: #2575dc;
	transition: color 0.2s;
}
.other-jobs-list a:hover h4 {
	color: #1e3a8a;
}
.other-loc {
	font-size: 0.8rem;
	color: #777;
	display: flex;
	align-items: center;
	gap: 5px;
}
.other-loc i {
	font-size: 14px;
}

.view-all-jobs {
	display: block;
	text-align: center;
	background: #f8fafc;
	color: #2575dc;
	padding: 10px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: background 0.2s;
}
.view-all-jobs:hover {
	background: #e2e8f0;
}

.job-overview-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
}

.overview-card {
	background: #fcfcfc;
	border: 1px solid #eee;
	padding: 20px;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.overview-card i {
	color: #2575dc;
	font-size: 24px;
	margin-bottom: 10px;
}
.overview-card h4 {
	margin: 0 0 5px 0;
	font-size: 0.8rem;
	color: #888;
	text-transform: uppercase;
}
.overview-card p {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: #222;
}

.job-section {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 30px;
	margin-bottom: 20px;
}
.job-section h3 {
	margin: 0 0 20px 0;
	color: #2575dc;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.3rem;
}
.job-section h3 i {
	font-size: 1.5rem;
}
.section-content ul {
	padding-left: 20px;
	color: #555;
}
.section-content li {
	margin-bottom: 10px;
}

/* Application Form */
.job-application-wrapper {
	background: #f4f9ff;
	border: 2px dashed #93c5fd;
	border-radius: 12px;
	padding: 40px;
	margin-top: 20px;
}
.job-application-wrapper h3 {
	margin: 0 0 25px 0;
	color: #1a4a8c;
	font-size: 1.5rem;
}

.form-row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}
.form-group {
	flex: 1;
	margin-bottom: 20px;
}
.form-row .form-group {
	margin-bottom: 0;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
	font-size: 0.9rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 0.95rem;
	transition: border-color 0.2s;
	box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
	border-color: #2575dc;
	outline: none;
}

.file-upload-box {
	border: 1px dashed #aaa;
	padding: 20px;
	text-align: center;
	background: #fff;
	border-radius: 6px;
	position: relative;
}
.file-upload-box input[type="file"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}
.file-upload-box p {
	margin: 0;
	color: #666;
}

.btn-submit-application {
	background: #10b981;
	color: #fff;
	border: none;
	padding: 15px 30px;
	font-size: 1.1rem;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	width: 100%;
	transition: background 0.2s;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}
.btn-submit-application:hover {
	background: #059669;
}
.btn-submit-application:disabled {
	background: #9ca3af;
	cursor: not-allowed;
}

.form-message {
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 6px;
	font-weight: 500;
}
.form-message.success {
	background: #d1fae5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}
.form-message.error {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 768px) {
	.mscpltd-job-card {
		flex-direction: column;
		text-align: center;
	}
	.job-card-main {
		padding-right: 0;
		margin-bottom: 20px;
	}
	.job-meta-tags {
		justify-content: center;
	}
	.job-actions {
		justify-content: center;
	}
	.job-hero-banner {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}
	.form-row {
		flex-direction: column;
		gap: 0;
	}
	.form-row .form-group {
		margin-bottom: 20px;
	}
	.mscpltd-job-layout {
		grid-template-columns: 1fr;
	}
}
