/* ==========================================================================
   Career Connect — Frontend Styles
   Design Language: Clean White Cards, Soft Borders, Red Accents, Pill Buttons
   ========================================================================== */

.cc-wrap {
	--cc-red: #cc1414;
	--cc-red-dark: #a90e0e;
	--cc-red-tint: #fdeceb;
	--cc-text: #1a1a1a;
	--cc-muted: #6b7280;
	--cc-border: #e5e7eb;
	--cc-bg: #ffffff;
	--cc-radius: 14px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: var(--cc-text);
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
}

.cc-wrap *, .cc-wrap *::before, .cc-wrap *::after { box-sizing: border-box; }

/* ---------- Buttons ---------- */
.cc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	cursor: pointer;
	border: 1.5px solid var(--cc-red);
	background: #fff;
	color: #fff !important;
	padding: 10px 22px;
	border-radius: 999px;
	transition: all .18s ease;
	line-height: 1.2;
}

.cc-single-job-page .cc-job-hero-header__title{
	font-size: 70px;
	line-height: 1em;
	font-weight: 700;
	letter-spacing: 0;
}

.cc-job-two-column-layout h2, .cc-job-two-column-layout h3{font-size:30px !important; font-weight:600 !important;}
.cc-single-job-content-area{padding:0px !important;}
.cc-single-job-page{padding:20px !important;}
@media(max-width:1024px){
	.cc-single-job-page .cc-job-hero-header__title{ 
		font-size: 50px;
	}
}

@media(max-width:767px){
	.cc-single-job-page .cc-job-hero-header__title{ 
		font-size: 40px;
	}
}

.cc-btn:hover { background: var(--cc-red-tint); }
.cc-btn--pill { background: var(--cc-red); color: #fff; }
.cc-btn--pill:hover { background: var(--cc-red-dark); border-color: var(--cc-red-dark); color: #fff; }
.cc-btn--outline { background: #fff; color: var(--cc-red); border-color: var(--cc-red); }
.cc-btn--outline:hover { background: var(--cc-red); color: #fff; }

.cc-btn--submit-pill {
	background: var(--cc-red);
	color: #ffffff !important;
	border: none;
	border-radius: 999px;
	padding: 13px 28px;
	font-size: 15px;
	font-weight: 600;
	width: 100%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
	transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
	box-shadow: 0 4px 12px rgba(204, 20, 20, 0.25);
}

.cc-single-job-content-area, .cc-wrap{max-width:1340px !important;}
.cc-btn--submit-pill:hover {
	background: var(--cc-red-dark);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(204, 20, 20, 0.35);
}

.cc-btn--submit-pill:active {
	transform: translateY(0);
}

.cc-arrow { transition: transform .18s ease; }
.cc-btn:hover .cc-arrow, .cc-btn--submit-pill:hover .cc-arrow { transform: translateX(3px); }

/* ---------- Filter Card & Search Bar ---------- */
.cc-filter-card {
	background: #ffffff;
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	padding: 20px 24px;
	margin-bottom: 24px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.cc-filter-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.cc-filter-item {
	flex: 1 1 170px;
	min-width: 140px;
}

.cc-filter-item--search {
	flex: 2 1 260px;
	min-width: 200px;
}

.cc-filter-item--action {
	flex: 0 0 auto;
	min-width: auto;
}

.cc-filter-control {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	color: #1f2937;
	background: #ffffff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cc-filter-control:focus {
	border-color: var(--cc-red);
	outline: none;
	box-shadow: 0 0 0 3px rgba(204, 20, 20, 0.12);
}

.cc-filter-clear-btn {
	padding: 10px 18px;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: #4b5563;
	cursor: pointer;
	transition: all 0.15s ease;
	white-space: nowrap;
}

.cc-filter-clear-btn:hover {
	background: #e5e7eb;
	color: #111827;
}

.cc-filter-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #f3f4f6;
}

.cc-results-count {
	font-size: 13.5px;
	color: #6b7280;
	font-weight: 600;
}

/* ---------- Job Listing Cards ---------- */
.cc-listing-wrap { padding: 20px 0; }
.cc-job-list { display: flex; flex-direction: column; gap: 14px; }
.cc-job-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: #fff;
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	padding: 24px 28px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.03);
	transition: box-shadow .18s ease, transform .18s ease;
}

.cc-job-card:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,0.07);
	transform: translateY(-2px);
}

.cc-job-card--closed { opacity: .6; }
.cc-job-card__main { flex: 1; min-width: 200px; }
.cc-job-card__title { margin: 0 0 8px 0; font-size: 19px; font-weight: 700; color: #111827; }
.cc-job-card__meta { font-size: 13px; color: var(--cc-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cc-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.cc-meta-sep { color: #d1d5db; }
.cc-icon { width: 14px; height: 14px; display: inline-block; position: relative; }
.cc-job-card__desc { flex: 1; font-size: 14px; color: #4b5563; line-height: 1.55; }
.cc-job-card__action { flex-shrink: 0; }
.cc-badge { padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.cc-badge--closed { background: #f3f4f6; color: var(--cc-muted); }

.cc-pagination-wrap { text-align: center; margin-top: 30px; }
.cc-empty-state { text-align: center; padding: 60px 20px; color: var(--cc-muted); background: #fff; border-radius: var(--cc-radius); border: 1px solid var(--cc-border); }

/* ==========================================================================
   Single Job Page Layout (100% Matching User Design)
   ========================================================================== */
.cc-single-job-page {
	padding: 15px 0 40px;
}

/* Header & Breadcrumbs */
.cc-job-hero-header {
	padding: 10px 0 26px;
}

.cc-breadcrumb {
	font-size: 13.5px;
	color: #6b7280;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.cc-breadcrumb a {
	color: var(--cc-red);
	text-decoration: none;
	font-weight: 500;
	transition: opacity 0.15s ease;
}

.cc-breadcrumb a:hover {
	opacity: 0.8;
	text-decoration: underline;
}

.cc-breadcrumb-sep {
	color: #9ca3af;
}

.cc-breadcrumb-current {
	color: #4b5563;
}

.cc-job-hero-header__title {
	font-size: 38px;
	font-weight: 700;
	margin: 0 0 8px 0;
	color: #111827;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.cc-job-hero-header__subtitle {
	font-size: 15px;
	color: #4b5563;
	margin: 0 0 10px 0;
	line-height: 1.5;
	max-width: 800px;
}

.cc-job-hero-header__closed-notice {
	color: var(--cc-red);
	font-weight: 600;
	margin-top: 8px;
	font-size: 14px;
}

/* 2-Column Side-by-Side Layout */
.cc-job-two-column-layout {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 32px;
	align-items: start;
}

/* Left Card: Details & Specs */
.cc-job-details-card {
	background: #ffffff;
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	padding: 32px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.cc-section-block {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	margin-bottom: 28px;
}

.cc-section-block:last-child {
	margin-bottom: 0;
}

.cc-section-block--specs {
	padding-top: 26px;
	border-top: 1px solid #f3f4f6;
}

.cc-section-icon {
	flex-shrink: 0;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #fdeceb;
	color: #cc1414;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
}

.cc-section-content {
	flex: 1;
	min-width: 0;
}

.cc-section-title {
	font-size: 19px;
	font-weight: 700;
	color: #111827;
	margin: 2px 0 12px 0;
}

/* Rich text content in overview */
.cc-rich-text {
	color: #374151;
	font-size: 14.5px;
	line-height: 1.7;
}

.cc-rich-text p {
	margin: 0 0 16px 0;
}

.cc-rich-text h3 {
	font-size: 16.5px;
	font-weight: 700;
	color: #111827;
	margin: 22px 0 10px 0;
}

.cc-rich-text ul {
	margin: 0 0 18px 0;
	padding-left: 0;
	list-style: none;
}

.cc-rich-text ul li {
	position: relative;
	padding-left: 18px;
	margin-bottom: 8px;
	line-height: 1.55;
	color: #374151;
}

.cc-rich-text ul li::before {
	content: "•";
	color: #cc1414;
	font-size: 18px;
	position: absolute;
	left: 2px;
	top: -2px;
}

/* Specification Table */
.cc-spec-table {
	border-collapse: collapse;
	width: 100%;
	margin-top: 6px;
}

.cc-spec-table tr td {
	padding: 7px 0;
	font-size: 14.5px;
	vertical-align: top;
}

.cc-spec-lbl {
	color: #4b5563;
	font-weight: 500;
	width: 130px;
}

.cc-spec-sep {
	color: #9ca3af;
	width: 24px;
	text-align: center;
}

.cc-spec-val {
	color: #111827;
	font-weight: 500;
}

/* Right Card: Apply for this Position */
.cc-job-apply-column .cc-apply-panel {
	background: #ffffff;
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	padding: 30px 28px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.cc-apply-panel__title {
	margin: 0 0 30px 0;
	font-size: 20px;
	font-weight: 700;
	color: #111827;
}

.cc-apply-panel__subtitle {
	color: #6b7280;
	font-size: 13.5px;
	margin: 0 0 22px 0;
	line-height: 1.45;
}

.cc-apply-panel--closed {
	text-align: center;
	padding: 40px 20px;
}

/* Form Fields */
.cc-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.cc-field {
	margin: 0;
}

.cc-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 5px;
}

.cc-field input[type=text],
.cc-field input[type=email],
.cc-field input[type=tel],
.cc-field input[type=url],
.cc-field input[type=date],
.cc-field select,
.cc-field textarea {
	width: 100%;
	padding: 9px 13px;
	border: 1px solid #d1d5db;
	border-radius: 7px;
	font-size: 13.5px;
	font-family: inherit;
	color: #111827;
	background: #ffffff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.cc-field input::placeholder,
.cc-field textarea::placeholder {
	color: #9ca3af;
}

.cc-field input:focus,
.cc-field select:focus,
.cc-field textarea:focus {
	border-color: #cc1414;
	outline: none;
	box-shadow: 0 0 0 3px rgba(204, 20, 20, 0.12);
}

.cc-field textarea {
	resize: vertical;
	min-height: 70px;
}

/* File Upload */
.cc-file-input {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 7px;
	padding: 6px 8px;
	background: #f7f7f4;
}

.cc-file-input__button {
	background: #ffffff;
	border: 1px solid #d1d5db;
	border-radius: 5px;
	padding: 5px 12px;
	font-size: 12.5px;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.cc-file-input__name {
	font-size: 12.5px;
	color: #6b7280;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cc-file-input input[type=file] {
	display: none;
}

.cc-file-hint {
	font-size: 11.5px;
	color: #9ca3af;
	margin: 5px 0 0 0;
}

/* Custom Questions & Choices */
.cc-custom-questions {
	padding-top: 10px;
	border-top: 1px dashed var(--cc-border);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cc-choice-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
}

.cc-meta-item img{width:18px;}

.cc-choice {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	color: #374151;
	cursor: pointer;
}

/* Feedback Messages */
.cc-form-message {
	padding: 12px 14px;
	border-radius: 7px;
	margin-bottom: 16px;
	font-size: 13.5px;
}

.cc-form-message--error { background: #fdeceb; color: #b91c1c; border: 1px solid #fca5a5; }
.cc-form-message--success { background: #eafaf0; color: #15803d; border: 1px solid #86efac; }

.cc-success-panel {
	text-align: center;
	padding: 30px 10px;
}

.cc-success-icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #eafaf0;
	color: #15803d;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin: 0 auto 14px auto;
}

.cc-field.cc-field--invalid input,
.cc-field.cc-field--invalid select,
.cc-field.cc-field--invalid textarea {
	border-color: #cc1414;
	background: #fffcfc;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
	.cc-job-two-column-layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.cc-job-hero-header__title {
		font-size: 30px;
	}
	.cc-filter-grid {
		gap: 10px;
	}
}

@media (max-width: 640px) {
	.cc-job-card {
		flex-direction: column;
		align-items: flex-start;
		padding: 18px;
	}
	.cc-job-card__action {
		width: 100%;
	}
	.cc-job-card__action .cc-btn {
		width: 100%;
	}
	.cc-job-details-card, .cc-job-apply-column .cc-apply-panel {
		padding: 20px 16px;
	}
	.cc-section-block {
		gap: 14px;
		flex-direction: column;
		position: relative;
		padding:0px;
	}
	.cc-section-title{
	    position: absolute;
        top: 5px;
        left: 70px;
	}
	.cc-spec-lbl {
		width: 110px;
	}
	.cc-filter-item {
		flex: 1 1 100%;
	}
	.cc-filter-clear-btn {
		width: 100%;
		text-align: center;
	}
}
