/* Request sheet — full-height right panel, fits viewport without scroll. Accent: #66bbf0 */

.stk-request-sheet {
	position: fixed;
	inset: 0;
	z-index: 10020;
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	pointer-events: none;
	visibility: hidden;
}

.stk-request-sheet.is-open {
	pointer-events: auto;
	visibility: visible;
}

.stk-request-sheet__overlay {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	background: rgba(15, 23, 32, 0.55);
	opacity: 0;
	cursor: pointer;
	transition: opacity 0.35s ease;
}

.stk-request-sheet.is-open .stk-request-sheet__overlay {
	opacity: 1;
}

.stk-request-sheet__panel {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(480px, 100%);
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 20px 28px 18px;
	box-sizing: border-box;
	background: #fff;
	border-radius: 0;
	box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
	font-family: "TildaSans", "SiteSans", Arial, sans-serif;
	color: #1a1a1a;
	overflow: hidden;
	transform: translateY(105%);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.stk-request-sheet.is-open .stk-request-sheet__panel {
	transform: translateY(0);
}

.stk-request-sheet__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #66bbf0;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 0 2px;
	transition: background 0.2s ease;
	z-index: 2;
}

.stk-request-sheet__close:hover {
	background: #4aa8e3;
}

.stk-request-sheet__title {
	flex: 0 0 auto;
	margin: 0 0 12px;
	padding-right: 40px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 700;
	text-align: center;
	color: #111;
}

.stk-request-sheet__form {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

.stk-request-sheet__fields {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 auto;
	min-height: 0;
}

.stk-request-sheet__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	flex: 0 0 auto;
}

.stk-request-sheet__field:has(.stk-request-sheet__textarea) {
	flex: 1 1 auto;
	min-height: 0;
}

.stk-request-sheet__label {
	font-size: 13px;
	line-height: 1.25;
	color: #333;
}

.stk-request-sheet__req {
	color: #e53935;
	font-weight: 700;
}

.stk-request-sheet__input {
	width: 100%;
	height: 40px;
	padding: 0 12px;
	box-sizing: border-box;
	border: 1px solid #cfd6dd;
	border-radius: 4px;
	background: #fff;
	color: #111;
	font: 400 14px/1.3 TildaSans, SiteSans, Arial, sans-serif;
	outline: none;
	transition: border-color 0.15s ease;
}

.stk-request-sheet__input:focus {
	border-color: #66bbf0;
}

.stk-request-sheet__textarea {
	height: auto;
	min-height: 64px;
	flex: 1 1 auto;
	padding: 10px 12px;
	resize: none;
}

.stk-request-sheet__file-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 40px;
	box-sizing: border-box;
	border: 1px solid #cfd6dd;
	border-radius: 4px;
	background: #f7f9fb;
	color: #333;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	user-select: none;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.stk-request-sheet__file-btn:hover {
	border-color: #66bbf0;
	background: #eef7fd;
}

.stk-request-sheet__file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.stk-request-sheet__file-plus {
	font-size: 18px;
	font-weight: 700;
	color: #66bbf0;
	line-height: 1;
}

.stk-request-sheet__file-hint {
	margin: 2px 0 0;
	font-size: 11px;
	line-height: 1.35;
	color: #7a8491;
}

.stk-request-sheet__file-list {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	color: #333;
	max-height: 48px;
	overflow: auto;
}

.stk-request-sheet__file-list li {
	padding: 1px 0;
	word-break: break-all;
}

.stk-request-sheet__consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 2px 0 0;
	font-size: 12px;
	line-height: 1.35;
	color: #333;
	cursor: pointer;
}

.stk-request-sheet__checkbox {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	accent-color: #66bbf0;
	cursor: pointer;
}

.stk-request-sheet__consent a {
	color: #2497dc;
	text-decoration: underline;
}

.stk-form__submit {
	flex: 0 0 auto;
}

.stk-request-sheet__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 46px;
	margin-top: 12px;
	border: 0;
	border-radius: 4px;
	background: #66bbf0;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
}

.stk-request-sheet__submit:hover {
	background: #4aa8e3;
}

.stk-request-sheet__submit:disabled {
	opacity: 0.7;
	cursor: default;
}

.stk-request-sheet .stk-input_error .stk-request-sheet__input,
.stk-request-sheet .stk-request-sheet__input.stk-input_error,
.stk-request-sheet .stk-input_error .stk-request-sheet__file-btn {
	border-color: #ff2e2e;
}

.stk-request-sheet .stk-input_error.stk-request-sheet__consent {
	outline: 1px solid #ff2e2e;
	outline-offset: 4px;
	border-radius: 2px;
}

.stk-request-sheet .stk-form__errorbox,
.stk-request-sheet .stk-form__successbox {
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.4;
	font-weight: 600;
	flex: 0 0 auto;
}

.stk-request-sheet .stk-form__errorbox {
	color: #c62828;
}

.stk-request-sheet .stk-form__successbox {
	color: #1b5e20;
	text-align: center;
	padding: 20px 8px;
}

.stk-request-sheet-lock {
	overflow: hidden;
}

@media screen and (max-height: 780px) {
	.stk-request-sheet__panel {
		padding: 14px 22px 12px;
	}

	.stk-request-sheet__title {
		font-size: 20px;
		margin-bottom: 8px;
	}

	.stk-request-sheet__fields {
		gap: 6px;
	}

	.stk-request-sheet__input,
	.stk-request-sheet__file-btn {
		height: 36px;
	}

	.stk-request-sheet__textarea {
		min-height: 48px;
	}

	.stk-request-sheet__submit {
		height: 42px;
		margin-top: 8px;
		font-size: 14px;
	}

	.stk-request-sheet__file-hint {
		font-size: 10px;
	}
}

@media screen and (max-width: 560px) {
	.stk-request-sheet__panel {
		width: 100%;
		padding: 16px 16px 14px;
		overflow: auto;
	}

	.stk-request-sheet__title {
		font-size: 22px;
	}
}
