/* ==========================================================
   Gohar Careers — v1.0.0
   Brand: Montserrat / Open Sans · #E11B22 / black / white
   Rule: !important on everything except font-family
   ========================================================== */

.gc-root,
.gc-root *,
.gc-root *::before,
.gc-root *::after {
	box-sizing: border-box !important;
}

/* ---------- Section ---------- */
.gc-section {
	position: relative !important;
	width: 100% !important;
	padding: 90px 0 !important;
	background: #111111 !important;
	overflow: hidden !important;
	color: #FFFFFF !important;
}

.elementor-widget-shortcode .gc-section,
.elementor-shortcode .gc-section {
	width: 100vw !important;
	left: 50% !important;
	margin-left: -50vw !important;
}

.gc-bg {
	position: absolute !important;
	inset: 0 !important;
	background-size: cover !important;
	background-position: center !important;
}

.gc-section::after {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	background: #000000 !important;
	opacity: var(--gc-overlay, 0.46) !important;
	pointer-events: none !important;
}

.gc-shell {
	position: relative !important;
	z-index: 1 !important;
	width: 100% !important;
	max-width: 980px !important;
	margin: 0 auto !important;
	padding: 0 24px !important;
}

.gc-title {
	font-family: 'Montserrat', Arial, sans-serif;
	margin: 0 0 8px !important;
	font-size: clamp(30px, 3vw, 48px) !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.02em !important;
	text-align: center !important;
	color: #FFFFFF !important;
	text-transform: none !important;
}

.gc-subtitle {
	font-family: 'Montserrat', Arial, sans-serif;
	margin: 0 0 44px !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
	text-align: center !important;
	color: #FFFFFF !important;
}

/* ---------- Form ---------- */
.gc-form {
	margin: 0 !important;
	padding: 0 !important;
}

.gc-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 27px 34px !important;
	margin: 0 0 28px !important;
}

.gc-field {
	display: flex !important;
	flex-direction: column !important;
	min-width: 0 !important;
	margin: 0 !important;
}

.gc-field--full {
	grid-column: 1 / -1 !important;
}

.gc-label {
	font-family: 'Montserrat', Arial, sans-serif;
	display: block !important;
	margin: 0 0 7px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	color: #FFFDFD !important;
}

.gc-req {
	color: var(--gc-accent, #E11B22) !important;
}

.gc-input {
	font-family: 'Montserrat', Arial, sans-serif;
	display: block !important;
	width: 100% !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 6px 2px 0 !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	color: #FFFFFF !important;
	background: transparent !important;
	border: none !important;
	border-bottom: 1px solid #FFFFFF !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	transition: border-color 0.2s ease !important;
}

.gc-input::placeholder {
	color: #C1C1C1 !important;
	opacity: 1 !important;
}

.gc-input:focus {
	border-bottom-color: #E11B22 !important;
}

.gc-input:-webkit-autofill,
.gc-input:-webkit-autofill:focus {
	-webkit-text-fill-color: #FFFFFF !important;
	-webkit-box-shadow: 0 0 0 1000px rgba(30, 30, 30, 0.95) inset !important;
	transition: background-color 9999s ease-out 0s !important;
}

.gc-textarea {
	height: auto !important;
	min-height: 110px !important;
	padding-top: 10px !important;
	resize: vertical !important;
}

/* ---------- Radios ---------- */
.gc-radios {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
	padding-top: 4px !important;
}

.gc-radio {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	margin: 0 !important;
	cursor: pointer !important;
}

.gc-radio input {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
}

.gc-radio span {
	font-family: 'Montserrat', Arial, sans-serif;
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	font-size: 14px !important;
	line-height: 1.3 !important;
	color: #FFFFFF !important;
}

.gc-radio span::before {
	content: "" !important;
	flex: 0 0 auto !important;
	width: 18px !important;
	height: 18px !important;
	border: 2px solid #FFFFFF !important;
	border-radius: 50% !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.gc-radio input:checked + span::before {
	border-color: #E11B22 !important;
	box-shadow: inset 0 0 0 4px #111111, inset 0 0 0 9px #E11B22 !important;
}

.gc-radio input:focus-visible + span::before {
	box-shadow: 0 0 0 3px rgba(225, 27, 34, 0.35) !important;
}

/* ---------- File ---------- */
.gc-file {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	min-height: 52px !important;
	padding: 8px 0 !important;
	margin: 0 !important;
	border-bottom: 1px solid #FFFFFF !important;
	cursor: pointer !important;
}

.gc-file input {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
}

.gc-file-btn {
	font-family: 'Montserrat', Arial, sans-serif;
	flex: 0 0 auto !important;
	padding: 9px 16px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	color: #111111 !important;
	background: #FFFFFF !important;
	border-radius: 4px !important;
	transition: background-color 0.2s ease, color 0.2s ease !important;
}

.gc-file:hover .gc-file-btn {
	color: #FFFFFF !important;
	background: #E11B22 !important;
}

.gc-file-name {
	font-family: 'Montserrat', Arial, sans-serif;
	min-width: 0 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
	font-size: 14px !important;
	color: #C1C1C1 !important;
}

.gc-file.has-file .gc-file-name {
	color: #FFFFFF !important;
}

.gc-file input:focus-visible + .gc-file-btn {
	box-shadow: 0 0 0 3px rgba(225, 27, 34, 0.45) !important;
}

/* ---------- Button ---------- */
.gc-btn {
	font-family: 'Montserrat', Arial, sans-serif;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	width: 100% !important;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 24px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	color: #FFFFFF !important;
	background: #E11B22 !important;
	border: none !important;
	border-radius: 4px !important;
	box-shadow: none !important;
	cursor: pointer !important;
	text-transform: none !important;
	transition: background-color 0.2s ease, color 0.2s ease !important;
}

.gc-btn:hover,
.gc-btn:focus-visible {
	color: #000000 !important;
	background: #FFFFFF !important;
}

.gc-btn:disabled {
	opacity: 0.8 !important;
	cursor: wait !important;
}

.gc-form.is-loading .gc-btn::after {
	content: "" !important;
	width: 16px !important;
	height: 16px !important;
	border: 2px solid rgba(255, 255, 255, 0.45) !important;
	border-top-color: #FFFFFF !important;
	border-radius: 50% !important;
	animation: gc-spin 0.7s linear infinite !important;
}

@keyframes gc-spin {
	to { transform: rotate(360deg); }
}

/* ---------- Errors / messages ---------- */
.gc-error {
	display: block !important;
	margin: 6px 0 0 !important;
	font-size: 12px !important;
	line-height: 1.4 !important;
	color: #FF8A8E !important;
}

.gc-error:empty,
.gc-msg:empty {
	display: none !important;
}

.gc-field.has-error .gc-input,
.gc-field.has-error .gc-file {
	border-bottom-color: #E11B22 !important;
}

.gc-msg {
	margin: 14px 0 0 !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	text-align: center !important;
}

.gc-msg.is-success { color: #7BE495 !important; }
.gc-msg.is-error   { color: #FF8A8E !important; }

.gc-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* ---------- Popup fallback (when Gohar Footer isn't active) ---------- */
#gohar-thankyou-popup {
	position: fixed !important;
	inset: 0 !important;
	z-index: 999999 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 20px !important;
	background: rgba(0, 0, 0, 0.6) !important;
	opacity: 0 !important;
	transition: opacity 0.25s ease !important;
}

#gohar-thankyou-popup.is-visible { opacity: 1 !important; }

.gohar-thankyou-box {
	position: relative !important;
	min-width: 280px !important;
	padding: 40px 50px !important;
	text-align: center !important;
	background: #FFFFFF !important;
	border-radius: 8px !important;
}

.gohar-thankyou-close {
	position: absolute !important;
	top: 12px !important;
	right: 12px !important;
	padding: 4px !important;
	font-size: 22px !important;
	line-height: 1 !important;
	color: #000000 !important;
	background: none !important;
	border: none !important;
	cursor: pointer !important;
}

.gohar-thankyou-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 70px !important;
	height: 70px !important;
	margin: 0 auto 16px !important;
	background: #E11B22 !important;
	border-radius: 50% !important;
}

.gohar-thankyou-icon svg { width: 34px !important; height: 34px !important; }

.gohar-thankyou-text {
	font-family: 'Montserrat', Arial, sans-serif;
	margin: 0 !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	color: #000000 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
	.gc-section {
		padding: 56px 0 !important;
	}
	.gc-shell {
		padding: 0 18px !important;
	}
	.gc-subtitle {
		margin-bottom: 30px !important;
	}
	.gc-grid {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}
	.gc-label {
		font-size: 12px !important;
	}
	.gc-input,
	.gc-radio span,
	.gc-file-name {
		font-size: 14px !important;
	}
}

/* ==========================================================
   v1.1.0 — Frosted glass card around the form
   ========================================================== */
.gc-form {
	position: relative !important;
	padding: 48px 46px 40px !important;
	background: rgba(15, 15, 15, 0.42) !important;
	border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
	border-radius: 24px !important;
	-webkit-backdrop-filter: blur(16px) saturate(120%) !important;
	backdrop-filter: blur(16px) saturate(120%) !important;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

/* Browsers without backdrop-filter: darker solid fallback so text stays readable */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.gc-form {
		background: rgba(15, 15, 15, 0.78) !important;
	}
}

/* Sharper contrast inside the card */
.gc-form .gc-input {
	color: #FFFFFF !important;
	border-bottom-color: rgba(255, 255, 255, 0.75) !important;
}

.gc-form .gc-input::placeholder,
.gc-form .gc-file-name {
	color: rgba(255, 255, 255, 0.62) !important;
}

.gc-form .gc-file {
	border-bottom-color: rgba(255, 255, 255, 0.75) !important;
}

.gc-form .gc-radio input:checked + span::before {
	box-shadow: inset 0 0 0 4px rgba(20, 20, 20, 0.9), inset 0 0 0 9px #E11B22 !important;
}

.gc-title,
.gc-subtitle {
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
}

@media (max-width: 767px) {
	.gc-form {
		padding: 30px 20px 26px !important;
		border-radius: 18px !important;
	}
}
