.yh-form {
	padding: 30px;
	font-size: 14px;
}

.yh .yh-ui-admin-split__main .yh-form {
	padding: 0;
}

.yh-form__title {
	margin: 0 0 16px;
	font-size: 1.2rem;
	line-height: 1.2;
}

.yh-form__field {
	margin-bottom: 16px;
	box-sizing: border-box;
	flex: 0 0 100%;
	max-width: 100%;
	padding: 0 8px;
}

.yh-form__fields {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	margin: 0 -8px;
}

.yh-form__form {
	display: block;
}

.yh-form__field label {
	display: flex;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 0.92rem;
}

.yh-form__field input,
.yh-form__field textarea,
.yh-form__field select {
	width: 100%;
	padding: 9px 10px!important;
	border: 1px solid #b7c4ce;
	border-radius: 8px;
	background: #fff;
	font-size: 0.92rem!important;
	box-sizing: border-box;
}

.yh-form__choice input {
	width: auto;
	flex: 0 0 auto;
}

.yh-form__choice input[type="radio"],
.yh-form__choice input[type="checkbox"] {
	width: 18px;
	height: 18px;
	padding: 0 !important;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	accent-color: #2b79b9;
}

.yh-form__field textarea {
	min-height: 110px;
}

.yh-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border: 0;
	border-radius: 999px;
	background: #003b5c;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	font-size: 0.92rem;
}

.yh-form__notice {
	margin-bottom: 16px;
	padding: 12px 14px;
	border-radius: 8px;
}

.yh-form__response:empty {
	display: none;
}

.yh-form__notice--error {
	background: #fdecec;
	color: #8a1f17;
}

.yh-form__notice--success {
	background: #e7f6eb;
	color: #116329;
}

.yh-form__notice--info {
	background: #e8f2ff;
	color: #1557a0;
}

.yh-form__event-meta {
	margin: 0 0 20px;
	padding: 14px 16px;
	border-radius: 10px;
	background: #ecf5fb;
}

.yh-form__event-meta p {
	margin: 0 0 6px;
}

.yh-form__required {
	color: #a62222;
}

.yh-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.yh-form__form.is-submitting .yh-form__submit {
	opacity: 0.7;
	pointer-events: none;
}

.yh-form__submit {
	margin: 8px 8px 0;
}

.yh-form__submit-wrap {
	flex: 0 0 100%;
	max-width: 100%;
	padding: 0 8px;
	box-sizing: border-box;
}

.yh-form__field--hidden {
	display: none;
}

.yh-form--submitted .yh-form__fields {
	display: none;
}

.yh-form__field--w100 {
	flex-basis: 100%;
	max-width: 100%;
}

.yh-form__field--w75 {
	flex-basis: 75%;
	max-width: 75%;
}

.yh-form__field--w66 {
	flex-basis: 66.6667%;
	max-width: 66.6667%;
}

.yh-form__field--w50 {
	flex-basis: 50%;
	max-width: 50%;
}

.yh-form__field--w33 {
	flex-basis: 33.3333%;
	max-width: 33.3333%;
}

.yh-form__field--w25 {
	flex-basis: 25%;
	max-width: 25%;
}

.yh-form__choices {
	display: grid;
	gap: 10px;
}

.yh-form__choices--inline {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
}

.yh-form__choices--vertical {
	display: grid;
}

.yh-form__choice {
	display: flex;
	align-items: center;
	gap: 8px;
}

.yh-form__choice--vertical {
	display: flex;
}

.yh-form__choice--inline {
	display: inline-flex;
}

.yh-form__file-upload {
	display: grid;
	gap: 10px;
}

.yh-form__file-dropzone {
	display: grid;
	gap: 6px;
	justify-items: center;
	padding: 20px 18px;
	border: 1px dashed #8cb0cc;
	border-radius: 14px;
	background: linear-gradient(180deg, #f8fbfe 0%, #edf5fb 100%);
	text-align: center;
	cursor: pointer;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.yh-form__file-upload.is-drag-over .yh-form__file-dropzone,
.yh-form__file-dropzone:focus {
	border-color: #2f7db8;
	box-shadow: 0 0 0 3px rgba(47, 125, 184, 0.12);
	background: linear-gradient(180deg, #f1f8ff 0%, #e1effb 100%);
	outline: none;
}

.yh-form__file-dropzone-copy {
	display: grid;
	gap: 4px;
	color: #1f3f58;
}

.yh-form__file-dropzone-copy strong {
	font-size: 0.98rem;
}

.yh-form__file-dropzone-copy span,
.yh-form__file-meta {
	font-size: 0.84rem;
	color: #587086;
}

.yh-form__file-input {
	position: absolute;
	left: -9999px;
	width: 1px !important;
	height: 1px !important;
	opacity: 0;
}

.yh-form__file-list {
	display: grid;
	gap: 8px;
}

.yh-form__file-item {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid #d6e2ec;
	border-radius: 10px;
	background: #ffffff;
}

.yh-form__file-name {
	font-weight: 600;
	color: #223a4b;
	word-break: break-word;
}

.yh-form__file-size {
	font-size: 0.82rem;
	color: #667c90;
}

.yh-form__file-remove {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid #efc0c0;
	border-radius: 999px;
	background: #fff5f5;
	color: #b03030;
	font-weight: 700;
	font-size: 0.78rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.yh-form__file-remove span[aria-hidden="true"] {
	font-size: 0.95rem;
	line-height: 1;
}

.yh-form__file-remove:hover,
.yh-form__file-remove:focus {
	background: #ffe8e8;
	border-color: #dd9d9d;
	color: #8e1f1f;
	box-shadow: 0 0 0 3px rgba(176, 48, 48, 0.08);
	outline: none;
}

.yh-form__file-error {
	min-height: 1.2em;
	font-size: 0.82rem;
	color: #b03030;
}

.yh-form__payment-panels {
	margin-top: 12px;
}

.yh-form__payment-methods {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
}

.yh-form__payment-choice {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border: 1px solid #d6e3ee;
	border-radius: 999px;
	background: linear-gradient(180deg, #ffffff 0%, #f6fafd 100%);
	box-shadow: 0 8px 18px rgba(19, 51, 74, 0.04);
	transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.yh-form__payment-choice:hover {
	border-color: #9bc3e4;
	box-shadow: 0 10px 22px rgba(19, 51, 74, 0.07);
	transform: translateY(-1px);
}

.yh-form__payment-choice input {
	position: absolute;
	inset: 0;
	width: 1px;
	height: 1px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	clip-path: inset(50%);
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.yh-form__payment-choice-ui {
	position: relative;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #a9bfd2;
	background: #ffffff;
	box-shadow: inset 0 1px 2px rgba(11, 35, 53, 0.08);
	transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.yh-form__payment-choice-ui::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2b79b9;
	transform: translate(-50%, -50%) scale(0);
	transition: transform 0.16s ease;
}

.yh-form__payment-choice-label {
	font-size: 0.98rem;
	font-weight: 700;
	color: #263846;
	line-height: 1.2;
}

.yh-form__payment-choice input:checked + .yh-form__payment-choice-ui {
	border-color: #2b79b9;
	box-shadow: 0 0 0 4px rgba(43, 121, 185, 0.1);
}

.yh-form__payment-choice input:checked + .yh-form__payment-choice-ui::after {
	transform: translate(-50%, -50%) scale(1);
}

.yh-form__payment-choice input:checked ~ .yh-form__payment-choice-label {
	color: #103a59;
}

.yh-form__payment-choice:has(input:checked) {
	border-color: #76aee0;
	background: linear-gradient(180deg, #fbfdff 0%, #eef6fd 100%);
	box-shadow: 0 12px 24px rgba(23, 72, 110, 0.09);
}

.yh-form__payment-panel {
	display: none;
}

.yh-form__payment-panel.is-active {
	display: block;
	animation: yh-payment-panel-in 0.22s ease;
}

.yh-form__payment-card-line {
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	align-items: center;
	gap: 18px;
	padding: 20px 24px;
	border: 1px solid #9dc3e3;
	border-radius: 18px;
	background:
		radial-gradient(circle at top left, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 36%),
		linear-gradient(135deg, #f7fbff 0%, #d9ebfb 58%, #c7def3 100%);
	color: #16324a;
	font-weight: 700;
	font-size: 1.02rem;
	box-shadow: 0 18px 34px rgba(25, 70, 104, 0.12);
}

.yh-form__stripe-card-shell {
	margin-top: 6px;
	padding: 18px 20px 16px;
	border: 1px solid #d7e6f3;
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
	box-shadow: 0 14px 30px rgba(16, 53, 82, 0.08);
}

.yh-form__stripe-card-label {
	display: block;
	margin: 0 0 10px;
	font-weight: 600;
	font-size: 0.92rem;
	color: #20425d;
	letter-spacing: 0.01em;
}

.yh-form__stripe-card-element {
	padding: 16px 18px;
	border: 1px solid #9fc0de;
	border-radius: 14px;
	background: linear-gradient(180deg, #eef7ff 0%, #d9ebfb 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.yh-form__stripe-card-element.StripeElement--focus {
	border-color: #3d87c8;
	box-shadow: 0 0 0 2px rgba(61, 135, 200, 0.16);
}

.yh-form__stripe-card-element.StripeElement--invalid {
	border-color: #c25757;
}

.yh-form__stripe-card-error {
	margin-top: 8px;
	font-size: 0.82rem;
	color: #b03030;
	min-height: 1.2em;
}

.yh-form__payment-card-brand {
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #356287;
}

.yh-form__payment-card-number {
	letter-spacing: 0.08em;
	font-size: 1rem;
}

.yh-form__payment-card-expiry,
.yh-form__payment-card-cvc {
	font-size: 1rem;
}

.yh-form__payment-meta,
.yh-form__payment-guidelines {
	margin: 14px 4px 0;
	font-size: 0.88rem;
	color: #465260;
}

@keyframes yh-payment-panel-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.yh-form__help {
	margin: 6px 0 0;
	font-size: 0.82rem;
	color: #56636f;
}

@media (max-width: 700px) {
	.yh-form__field--w75,
	.yh-form__field--w66,
	.yh-form__field--w50,
	.yh-form__field--w33,
	.yh-form__field--w25 {
		flex-basis: 100%;
		max-width: 100%;
	}

	.yh-form__payment-methods {
		display: grid;
	}

	.yh-form__payment-choice {
		width: 100%;
	}

	.yh-form__payment-card-line {
		grid-template-columns: 1fr 1fr;
		gap: 10px 14px;
		padding: 18px 18px;
	}

	.yh-form__payment-card-number {
		grid-column: 1 / -1;
	}
}
