/* --- Container --- */
.container {
	display: flex;
	flex-direction: column;
	width: 90%;
	margin: 0 auto;
	gap: 3rem;
}

/* --- Header --- */
.container .header h4 {
	color: white;
	text-align: center;
	font-size: 1.8rem;
	font-weight: 900;
	letter-spacing: 2px;
}
.container .body {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* --- Career Header --- */
.career-header {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* --- Search --- */
.search-wrapper {
	position: relative;
	width: 100%;
}
.search-wrapper input {
	width: 100%;
	font-size: 0.8rem;
	border-radius: 10px;
	padding: 0.6rem 0.8rem 0.6rem 2.4rem;
	background-color: var(--bg-secondary);
	color: white;
	border: none;
	outline: 1px solid var(--line);
}
.search-wrapper i {
	position: absolute;
	top: 50%;
	left: 0.8rem;
	transform: translateY(-60%);
	color: var(--font-secondary);
	font-size: 0.9rem;
	pointer-events: none;
}
.search-wrapper input:focus {
	outline-color: var(--primary-color);
}

/* --- Filter --- */
.career-header-filter {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	gap: 1rem;
	width: 100%;
}
.career-header-filter button {
	background-color: unset;
	color: white;
	font-size: 0.8rem;
	font-weight: bold;
	padding: 0.6rem 0.8rem;
	border-radius: 10px;
	border: 1px solid var(--line-secondary);
	cursor: pointer;
}
.career-header-filter button:hover {
	background-color: var(--bg-secondary);
}

.career-header-filter .active {
	border: 1px solid var(--bg-secondary);
	background-color: var(--bg-secondary);
}

/* --- Career Card --- */
.career-card {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	color: white;
	padding: 1rem;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	cursor: pointer;
}
.career-card:hover {
	background-color: var(--bg-secondary);
}
.career-card:not(:first-child) {
	border-top: none;
}
.career-card .content {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
.career-card .content .header {
	display: flex;
	flex-direction: row;
	place-items: center;
	gap: 1rem;
}
.career-card .content .header h2 {
	font-size: 1.2rem;
	font-weight: bold;
}
.career-card .content .description p {
	color: var(--font-secondary);
	font-size: 1rem;
	margin: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.career-card .action {
	display: flex;
	place-items: center;
	place-content: center;
	width: 150px;
}

/* --- Tag --- */
.tag {
	font-size: 0.7rem;
	font-weight: bold;
	color: black;
	padding: 0.2rem 0.4rem;
	border-radius: 6px;
}
.tag.part-time,
.tag.internship {
	background-color: #2196f3;
}
.tag.full-time {
	background-color: #f44336;
}
.tag.remote,
.tag.contract {
	background-color: #ff9800;
}

/* --- Responsive --- */
@media (min-width: 1200px) {
	.container {
		width: 80%;
	}
}
@media (min-width: 1600px) {
	.container {
		width: 60%;
	}
}
@media (min-width: 992px) {
	.career-header {
		flex-direction: row-reverse;
	}
	.search-wrapper {
		max-width: 400px;
	}
	.career-header-filter {
		width: 100%;
	}
}
@media (min-width: 568px) {
}
@media (min-width: 768px) {
}
