.yatbt-application {
	padding: clamp(52px, 6vw, 92px) 0 clamp(72px, 8vw, 124px);
	color: var(--yatbt-section-text);
	background: var(--yatbt-section-background);
}

.yatbt-application__layout {
	display: grid;
	grid-template-columns: minmax(0, .88fr) minmax(560px, 1.12fr);
	align-items: stretch;
	gap: clamp(32px, 5vw, 76px);
}

.yatbt-application__visual {
	position: relative;
	min-height: 820px;
	overflow: hidden;
	border-radius: 30px 90px 30px 30px;
	background: #e9efe5;
	box-shadow: 0 28px 70px rgb(36 56 45 / 12%);
}

.yatbt-application__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yatbt-application__visual::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(180deg, transparent 48%, rgb(18 55 36 / 88%) 100%);
}

.yatbt-application__visual-copy {
	position: absolute;
	z-index: 1;
	right: clamp(24px, 4vw, 54px);
	bottom: clamp(28px, 4vw, 52px);
	left: clamp(24px, 4vw, 54px);
	color: #fff;
}

.yatbt-application__visual-copy h2 {
	max-width: 520px;
	margin: 0 0 12px;
	font-size: clamp(28px, 3vw, 44px);
}

.yatbt-application__visual-copy p { max-width: 560px; margin: 0; color: rgb(255 255 255 / 86%); }

.yatbt-application__form-card {
	padding: clamp(30px, 4vw, 58px);
	border: 1px solid rgb(36 56 45 / 9%);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 24px 70px rgb(36 56 45 / 8%);
}

.yatbt-application__header { margin-bottom: 30px; }
.yatbt-application__header h1 { margin: 0 0 15px; font-size: clamp(36px, 4vw, 58px); }
.yatbt-application__header p { max-width: 700px; margin: 0; color: color-mix(in srgb, var(--yatbt-section-text) 72%, #fff); }

.yatbt-application__notice { padding: 16px 18px; margin-bottom: 24px; border-radius: 14px; font-weight: 700; }
.yatbt-application__notice--success { color: #174b2e; background: #e8f5df; }
.yatbt-application__notice--error { color: #8b2f2f; background: #fff0ed; }

.yatbt-application-form { display: grid; gap: 21px; }
.yatbt-application-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.yatbt-form-field { display: grid; gap: 8px; margin: 0; }
.yatbt-form-field label { font-size: 16px; font-weight: 800; color: var(--yatbt-section-text); }
.yatbt-form-field label span { color: #b33d34; }

.yatbt-form-field :is(input, select, textarea) {
	width: 100%;
	min-height: 52px;
	padding: 12px 15px;
	border: 1px solid #d9dfd6;
	border-radius: 12px;
	color: #24382d;
	background: #fbfcfa;
	font: inherit;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.yatbt-form-field textarea { min-height: 130px; resize: vertical; }
.yatbt-form-field input[type="file"] { padding: 10px; background: #f5f8f2; }
.yatbt-form-field small { color: #6c776f; font-size: 14px; }
.yatbt-form-field :is(input, select, textarea):focus { outline: 0; border-color: var(--yatbt-section-accent); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--yatbt-section-accent) 20%, transparent); }

.yatbt-application-form__consent { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; line-height: 1.55; color: #5b685f; cursor: pointer; }
.yatbt-application-form__consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--yatbt-section-accent); }

.yatbt-application-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: fit-content;
	min-height: 54px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	color: #17171d;
	background: var(--yatbt-section-accent);
	font-weight: 900;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease;
}

.yatbt-application-form__submit:hover { transform: translateY(-2px); box-shadow: 0 12px 26px color-mix(in srgb, var(--yatbt-section-accent) 36%, transparent); }
.yatbt-application-form__submit:focus-visible { outline: 3px solid #17171d; outline-offset: 3px; }
.yatbt-application-form__privacy { margin: 0; color: #778078; font-size: 14px; }

.yatbt-career-application {
	padding: clamp(24px, 3vw, 40px);
	border: 1px solid #e3e6eb;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 24px rgb(23 23 29 / 5%);
}

.yatbt-career-application__header {
	margin-bottom: 22px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--yatbt-section-accent, #e31e25);
}

.yatbt-site .yatbt-career-application__header h2 {
	margin: 0 0 8px;
	color: var(--yatbt-section-accent, #e31e25);
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 750;
	line-height: 1.2;
}

.yatbt-career-application__header p {
	margin: 0;
	color: #686d76;
	font-size: 16px;
	line-height: 1.6;
}

.yatbt-career-application .yatbt-application-form { gap: 18px; }
.yatbt-career-application .yatbt-application-form__grid { gap: 18px 22px; }
.yatbt-career-application .yatbt-form-field { gap: 7px; }
.yatbt-career-application .yatbt-form-field label { color: #262a32; font-size: 14px; font-weight: 600; }
.yatbt-career-application .yatbt-form-field label span,
.yatbt-career-application .yatbt-application-form__consent span span { color: var(--yatbt-section-accent, #e31e25); }

.yatbt-career-application .yatbt-form-field :is(input, select, textarea) {
	min-height: 56px;
	border-color: #e0e4e9;
	border-radius: 9px;
	color: #17171d;
	background: #fff;
	font-size: 16px;
}

.yatbt-career-application .yatbt-form-field select {
	appearance: none;
	padding-right: 48px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	background-size: 16px;
	cursor: pointer;
}

.yatbt-career-application .yatbt-form-field select:hover { border-color: #c8cdd5; }
.yatbt-career-application .yatbt-form-field select option { color: #17171d; background: #fff; }
.yatbt-career-application .yatbt-form-field select option:checked { color: #fff; background: var(--yatbt-section-accent, #e31e25); }

.yatbt-career-application .yatbt-form-field select.yatbt-career-select__native {
	position: absolute;
	width: 1px;
	height: 1px;
	min-height: 1px;
	padding: 0;
	border: 0;
	opacity: 0;
	clip-path: inset(50%);
	pointer-events: none;
}

.yatbt-career-select {
	position: relative;
	width: 100%;
	z-index: 1;
}

.yatbt-career-select.is-open { z-index: 20; }

.yatbt-career-select__trigger {
	display: flex;
	width: 100%;
	min-height: 56px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 17px;
	border: 1px solid #e0e4e9;
	border-radius: 10px;
	color: #17171d;
	background: #fff;
	font: inherit;
	font-size: 16px;
	text-align: left;
	cursor: pointer;
	transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.yatbt-career-select__trigger:hover,
.yatbt-career-select.is-open .yatbt-career-select__trigger {
	border-color: color-mix(in srgb, var(--yatbt-section-accent, #e31e25) 55%, #e0e4e9);
}

.yatbt-career-select__trigger:focus-visible {
	border-color: var(--yatbt-section-accent, #e31e25);
	outline: 0;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--yatbt-section-accent, #e31e25) 13%, transparent);
}

.yatbt-career-select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.yatbt-career-select__chevron {
	width: 9px;
	height: 9px;
	flex: 0 0 auto;
	border-right: 1.5px solid #6e7580;
	border-bottom: 1.5px solid #6e7580;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 180ms ease, border-color 180ms ease;
}

.yatbt-career-select.is-open .yatbt-career-select__chevron {
	border-color: var(--yatbt-section-accent, #e31e25);
	transform: translateY(2px) rotate(225deg);
}

.yatbt-career-select__listbox {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 10;
	width: 100%;
	max-height: min(264px, 45vh);
	overflow: auto;
	padding: 6px;
	border: 1px solid #e5e8ed;
	border-radius: 11px;
	background: #fff;
	box-shadow: 0 14px 34px rgb(23 23 29 / 14%);
	opacity: 0;
	transform: translateY(-5px);
	visibility: hidden;
	transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.yatbt-career-select__listbox[hidden] { display: none; }
.yatbt-career-select.is-open .yatbt-career-select__listbox { opacity: 1; transform: translateY(0); visibility: visible; }

.yatbt-career-select__option {
	position: relative;
	min-height: 42px;
	display: flex;
	align-items: center;
	padding: 9px 40px 9px 12px;
	border-radius: 7px;
	color: #343943;
	font-size: 15px;
	line-height: 1.45;
	cursor: pointer;
	transition: color 150ms ease, background-color 150ms ease;
}

.yatbt-career-select__option:hover,
.yatbt-career-select__option.is-active {
	color: var(--yatbt-section-accent, #e31e25);
	background: #fff1f2;
}

.yatbt-career-select__option[aria-selected="true"] { font-weight: 650; }
.yatbt-career-select__option[aria-selected="true"]::after {
	position: absolute;
	right: 15px;
	width: 7px;
	height: 11px;
	border-right: 2px solid var(--yatbt-section-accent, #e31e25);
	border-bottom: 2px solid var(--yatbt-section-accent, #e31e25);
	content: "";
	transform: translateY(-2px) rotate(45deg);
}

.yatbt-career-select__option.is-disabled { color: #a0a5ad; cursor: not-allowed; }
.yatbt-career-select__listbox::-webkit-scrollbar { width: 8px; }
.yatbt-career-select__listbox::-webkit-scrollbar-thumb { border: 2px solid #fff; border-radius: 8px; background: #c9ced6; }

@media (prefers-reduced-motion: reduce) {
	.yatbt-career-select__trigger,
	.yatbt-career-select__chevron,
	.yatbt-career-select__listbox,
	.yatbt-career-select__option { transition: none; }
}

.yatbt-career-application .yatbt-form-field textarea { min-height: 130px; }
.yatbt-career-application .yatbt-form-field input[type="file"] {
	padding: 7px;
	border: 1px solid #e0e4e9;
	background: #fff;
	font-size: 14px;
}

.yatbt-career-application .yatbt-form-field input[type="file"]::file-selector-button {
	min-height: 38px;
	margin-right: 14px;
	padding: 0 16px;
	border: 1px solid #f0c7c9;
	border-radius: 7px;
	color: var(--yatbt-section-accent, #e31e25);
	background: #fff6f6;
	font: inherit;
	font-weight: 650;
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.yatbt-career-application .yatbt-form-field input[type="file"]::-webkit-file-upload-button {
	min-height: 38px;
	margin-right: 14px;
	padding: 0 16px;
	border: 1px solid #f0c7c9;
	border-radius: 7px;
	color: var(--yatbt-section-accent, #e31e25);
	background: #fff6f6;
	font: inherit;
	font-weight: 650;
	cursor: pointer;
}

.yatbt-career-application .yatbt-form-field input[type="file"]:hover::file-selector-button {
	border-color: var(--yatbt-section-accent, #e31e25);
	color: #fff;
	background: var(--yatbt-section-accent, #e31e25);
}

.yatbt-career-application .yatbt-form-field small { color: #737985; font-size: 13px; }
.yatbt-career-application .yatbt-form-field :is(input, select, textarea):focus {
	border-color: var(--yatbt-section-accent, #e31e25);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--yatbt-section-accent, #e31e25) 14%, transparent);
}

.yatbt-career-application .yatbt-application-form__consent { color: #343943; font-size: 14px; }
.yatbt-career-application .yatbt-application-form__consent input { accent-color: var(--yatbt-section-accent, #e31e25); }
.yatbt-career-application .yatbt-application-form__submit { color: #fff; background: var(--yatbt-section-accent, #e31e25); }
.yatbt-career-application .yatbt-application-form__privacy { color: #737985; font-size: 13px; }
.yatbt-career-application .yatbt-application__notice--success { color: #185538; background: #eef8f2; }
.yatbt-career-application .yatbt-application__notice--error { color: #8b2f2f; background: #fff0ed; }
.yatbt-application-form__trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 1100px) {
	.yatbt-application__layout { grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr); gap: 28px; }
	.yatbt-application__visual { min-height: 760px; }
}

@media (max-width: 820px) {
	.yatbt-application__layout { grid-template-columns: 1fr; }
	.yatbt-application__visual { min-height: 480px; border-radius: 24px 58px 24px 24px; }
	.yatbt-application__form-card { padding: 30px 24px; }
}

@media (max-width: 560px) {
	.yatbt-application { padding-top: 36px; }
	.yatbt-application__visual { min-height: 390px; }
	.yatbt-application-form__grid { grid-template-columns: 1fr; }
	.yatbt-application-form__submit { width: 100%; }
}
