/*
 * Shturko Sitewide Feedback Widget
 * Fixed trigger (bottom-left, mirrors the accessibility widget on bottom-right)
 * + inline form panel. Not a full-page modal — a quick aside.
 */

.shturko-fbw-widget {
	position: fixed;
	bottom: 24px;
	left: 24px;
	z-index: 999998;
}

.shturko-fbw-widget__trigger {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 52px;
	padding: 15px 28px;
	background: #2E9E85 !important;
	background-image: none !important;
	color: #FFFDF8 !important;
	border: 2px solid #FFFDF8;
	border-radius: 30px;
	font-size: 16px;
	line-height: 1;
	font-weight: 400;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(46, 158, 133, 0.35);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.shturko-fbw-widget__trigger:hover,
.shturko-fbw-widget__trigger:focus-visible {
	background: #237A69 !important;
	background-image: none !important;
	color: #FFFDF8 !important;
	transform: translateY(-2px);
	outline: 3px solid #F4A62A;
	outline-offset: 3px;
	box-shadow: 0 10px 22px rgba(35, 122, 105, 0.28);
}

.shturko-fbw-widget__icon {
	font-size: 18px;
}

.shturko-fbw-panel {
	position: absolute;
	bottom: 56px;
	left: 0;
	width: 360px;
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	background: #FFFFFF;
	border-radius: 16px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
	border: 2px solid #2E9E85;
	animation: shturkoFbwSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes shturkoFbwSlideUp {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

.shturko-fbw-panel[hidden] {
	display: none !important;
}

.shturko-fbw-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	background: #2E9E85;
	color: #FFFDF8;
	border-radius: 13px 13px 0 0;
}

.shturko-fbw-panel__title {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	color: #FFFDF8;
	display: flex;
	align-items: center;
	gap: 8px;
}

.shturko-fbw-panel__close {
	background: transparent;
	border: none;
	color: #FFFDF8;
	font-size: 18px;
	font-weight: 400;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 4px;
}

.shturko-fbw-panel__close:hover,
.shturko-fbw-panel__close:focus-visible {
	background: rgba(255, 255, 255, 0.2);
	outline: none;
}

.shturko-fbw-panel__body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.shturko-fbw-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.shturko-fbw-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.shturko-fbw-field label {
	font-size: 13px;
	font-weight: 400;
	color: #123B64;
}

.shturko-fbw-field select,
.shturko-fbw-field input[type="text"],
.shturko-fbw-field input[type="email"],
.shturko-fbw-field input[type="number"],
.shturko-fbw-field textarea {
	font-size: 15px;
	padding: 9px 11px;
	border: 1.5px solid rgba(18, 59, 100, 0.25);
	border-radius: 10px;
	color: #123B64;
	background: #FFFDF8;
}

.shturko-fbw-field select:focus-visible,
.shturko-fbw-field input:focus-visible,
.shturko-fbw-field textarea:focus-visible {
	outline: 3px solid #F4A62A;
	outline-offset: 1px;
}

.shturko-fbw-field textarea {
	min-height: 84px;
	resize: vertical;
}

.shturko-fbw-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	font-weight: 400;
	color: #123B64;
}

.shturko-fbw-checkbox input {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.shturko-fbw-rating {
	display: flex;
	gap: 6px;
}




.shturko-fbw-conditional[hidden] {
	display: none !important;
}

.shturko-fbw-captcha {
	display: flex;
	justify-content: center;
}

.shturko-fbw-submit {
	appearance: none;
}

.shturko-fbw-submit:hover,
.shturko-fbw-submit:focus-visible {
	outline-offset: 2px;
}

.shturko-fbw-submit:disabled {
	opacity: 0.6;
}

.shturko-fbw-status {
	font-size: 13px;
	font-weight: 400;
	min-height: 18px;
}

.shturko-fbw-status[data-state="ok"] {
	color: #2E9E85;
}

.shturko-fbw-status[data-state="error"] {
	color: #C0392B;
}

.shturko-fbw-status[data-state="limit"],
.shturko-fbw-status[data-state="busy"] {
	color: #123B64;
}

.shturko-fbw-thanks {
	text-align: center;
	padding: 10px 4px 4px;
	font-weight: 400;
	color: #123B64;
}

.shturko-fbw-thanks[hidden] {
	display: none !important;
}

@media (max-width: 767px) {
	.shturko-fbw-widget {
		left: 12px;
		bottom: 12px;
	}

	.shturko-fbw-panel {
		left: -6px;
	}
}
