.hsrApplicationForm
{
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-inline: auto;
	gap: 10px;
	font-size: 16px;
	padding: 10px;
}

.hsrApplicationForm .thankyou
{
	grid-column: 1/-1;
	margin: 0;
}

.hsrApplicationForm *
{
	box-sizing: border-box;
}

.hsrJobField.stretch
{
	grid-column: span 2;
}

.hsrJobField:has([required]) .hsrJobLabel::after
{
	content: "*";
	color: red;
}

.hsrJobField
{
	display: grid;
}

.hsrJobLabel
{
	background: #ffff;
	z-index: 1;
	position: relative;
	align-self: start;
	justify-self: start;
	transform-origin: top left;
	padding: 2px;
	margin: 10px;
	transform: scale(0.8) translate(-2px, -24px);
	transition: transform 0.2s ease-in-out, background-color 0.2s linear;
	color: #999;

}

.hsrJobField.resume .hsrJobLabel
{
	margin: 0 0 5px 0;
}

.hsrJobField textarea,
.hsrJobField input
{
	padding: 10px;
	margin: 0;
}

.hsrJobField textarea
{
	height: 80px;
	min-height: 80px;
	resize: vertical;
}

.hsrJobField:has(:placeholder-shown) .hsrJobLabel,
.hsrJobField:has([type=file]) .hsrJobLabel
{
	transform: scale(1) translate(0, 0);
	background-color: #fff0;
}

.hsrJobLabel,
.hsrJobInput
{
	grid-column: 1;
	grid-row: 1;
	max-width: 100%;
}

.hsrJobInput
{
	padding: 5px 15px;
	width: 100%;
	box-sizing: border-box;
	background: #fff0;
	border: 1px solid currentColor;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

.hsrJobInput::placeholder
{
	color: #0000;
}

.hsrApplicationForm.submitting,
.hsr-submit-resume-form
{
	position: relative;
	min-width: 50px;
	min-height: 50px;
}

.hsrApplicationForm.submitting::after,
.hsr-submit-resume-form.submitting::after
{
	content: "";
	background: rgb(255 255 255 / 0.9);
	position: absolute;
	inset: 0;
	z-index: 999;
}

.hsrApplicationForm.submitting::before,
.hsr-submit-resume-form.submitting::before
{
	content: "";
	position: absolute;
	inset: calc(50% - 24px);
	z-index: 1000;

	width: 48px;
	height: 48px;
	border: 5px solid #ffa422;
	border-bottom-color: #0000;
	border-radius: 50%;
	display: inline-block;
	box-sizing: border-box;
	animation: hsrAppRotation 2s linear infinite;
}

@keyframes hsrAppRotation
{
	0%
	{
		transform: rotate(0deg);
		border-color: #ffa422;
		border-bottom-color: #0000;
	}

	50%
	{
		transform: rotate(360deg);
		border-color: #8085ae;
		border-bottom-color: #0000;
	}

	100%
	{
		transform: rotate(720deg);
		border-color: #ffa422;
		border-bottom-color: #0000;
	}
}


.hsrJobError
{
	grid-column: 1/-1;
	background: #f002;
	padding: 10px;
}

.hsrJobError > :first-child
{
	margin-top: 0;
}
.hsrJobError > :last-child
{
	margin-bottom: 0;
}

.hsrSubmit
{
	background: #ffa422;
	border-radius: 5px;
	color: #FFF;
	border: 0;
	width: 160px;
	padding-top: 6px;
	padding-bottom: 6px;
	line-height: 1.7;
	cursor: pointer;
	width: 100%;
}
