/* YottaFlex Hiring Widget – "AI applications closed" mode.
 * Loaded only while AI applications are closed. Amber = closed (not an error). */

.yfac-wrap { display: block; }

.yfac-note {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 18px 0 22px;
	padding: 18px 20px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(23, 34, 59, .96), rgba(32, 47, 77, .96));
	border: 1px solid rgba(255, 255, 255, .14);
	border-left: 4px solid #ffb547;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
	color: #f3f7ff;
	font-family: inherit;
	text-align: left;
}
.yfac-note-cr {
	max-width: 640px;
	margin: 0 0 24px;
	background: rgba(255, 255, 255, .04);
	box-shadow: none;
}
.yfac-icon {
	flex: 0 0 auto;
	display: inline-flex;
	width: 34px;
	height: 34px;
	padding: 7px;
	border-radius: 50%;
	background: rgba(255, 181, 71, .15);
	color: #ffb547;
	box-sizing: border-box;
}
.yfac-note svg,
.yfac-btn-off > svg,
.yfac-go svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.yfac-body { min-width: 0; }
.yfac-title {
	display: block;
	margin: 3px 0 6px;
	color: #ffffff;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
}
.yfac-text {
	margin: 0 !important;
	color: #c8d5e9;
	font-size: 14.5px;
	line-height: 1.6;
}
.yfac-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	color: #00e1be !important;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none !important;
}
.yfac-link svg { width: 16px; height: 16px; }
.yfac-link:hover { text-decoration: underline !important; }

/* Apply buttons → quiet, non-clickable label. */
.yfac-btn-off {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: not-allowed !important;
	background: #3a4458 !important;
	background-image: none !important;
	border-color: #4b566c !important;
	color: #c8d5e9 !important;
	box-shadow: none !important;
	transform: none !important;
	animation: none !important;
	filter: none !important;
	text-decoration: none !important;
}
.yfac-btn-off .elementor-button-text,
.yfac-btn-off .elementor-button-icon { color: #c8d5e9 !important; fill: #c8d5e9 !important; }
.yfac-btn-off > svg { width: 16px; height: 16px; flex: 0 0 auto; }
.yfjd-card-btn.yfac-btn-off { display: flex; width: 100%; }

/* "Applications Closed" badges, labels and tags. */
.yfac-closed,
.yfac-pill {
	background: rgba(255, 181, 71, .12) !important;
	border-color: rgba(255, 181, 71, .5) !important;
	color: #ffb547 !important;
}
.yfac-closed i,
.yfac-pill i {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ffb547 !important;
	box-shadow: none !important;
	animation: none !important;
}
.yfcr-tag.yfac-closed { display: inline-flex; align-items: center; gap: 6px; }
.yfac-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	margin-top: 5px;
	padding: 3px 9px;
	border: 1px solid;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

/* Careers page. */
.yfac-go svg { width: 17px; height: 17px; }
.yfac-solo {
	max-width: var(--yfcr-max, 1280px);
	margin: 0 auto 28px;
	padding: 0 16px;
	box-sizing: border-box;
}
.yfac-solo .yfac-note { max-width: none; margin: 0; }
.yfac-role-closed { opacity: .82; }
.yfac-role-closed:hover { opacity: 1; }
.yfac-card-closed { opacity: .78; }
.yfac-card-closed:hover { opacity: 1; }

@media (max-width: 767px) {
	.yfac-note { padding: 16px; gap: 12px; }
	.yfac-title { font-size: 16px; }
}
