@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600&display=swap');

.sst-widget-shell,
.sst-widget-shell * {
	box-sizing: border-box;
}

.sst-widget-shell {
	--sst-purple: #5d0e8b;
	--sst-purple-deep: #4a0a71;
	--sst-light-purple: #a576ff;
	--sst-star: #ffc400;
	--sst-muted: #919191;
	--sst-border: #dedede;
	--sst-font: 'Poppins', Arial, sans-serif;
	color: #000;
	font-family: var(--sst-font);
	position: relative;
	z-index: 99998;
}

.sst-floating-button {
	align-items: center;
	background: linear-gradient(135deg, #6d1ab3 0%, var(--sst-purple) 60%, var(--sst-purple-deep) 100%);
	border: 0;
	border-radius: 999px;
	bottom: 28px;
	box-shadow: 0 16px 30px rgba(93, 14, 139, 0.28);
	cursor: pointer;
	display: flex;
	gap: 10px;
	height: 57px;
	justify-content: center;
	outline: none;
	padding: 0 16px;
	position: fixed;
	right: 32px;
	-webkit-tap-highlight-color: transparent;
	width: 166px;
	z-index: 99999;
}

.sst-floating-button::-moz-focus-inner {
	border: 0;
	padding: 0;
}

.sst-floating-button:focus,
.sst-floating-button:active {
	border: 0;
	box-shadow: none;
	outline: none;
}

.sst-floating-button:focus-visible,
.sst-panel-close:focus-visible,
.sst-submit:focus-visible,
.sst-star:focus-visible,
.sst-role-select:focus-visible,
.sst-role-option:focus-visible {
	outline: 3px solid rgba(165, 118, 255, 0.42);
	outline-offset: 2px;
}

.sst-floating-button:hover {
	box-shadow: 0 20px 34px rgba(93, 14, 139, 0.34);
	transform: translateY(-1px);
}

.sst-floating-button__icon {
	align-items: center;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 50%;
	color: #ffe17a;
	display: inline-flex;
	flex: 0 0 28px;
	font-size: 15px;
	height: 28px;
	justify-content: center;
	line-height: 1;
	pointer-events: none;
	text-shadow: 0 0 12px rgba(255, 225, 122, 0.55);
	width: 28px;
}

.sst-floating-button__label {
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.1;
	max-width: 92px;
	pointer-events: none;
	text-align: left;
}

.sst-panel {
	background: #fff;
	border: 1px solid var(--sst-light-purple);
	border-radius: 11px;
	bottom: 128px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
	height: min(418px, calc(100vh - 150px));
	overflow: hidden;
	position: fixed;
	right: 32px;
	width: 384px;
	z-index: 99999;
}

.sst-panel[hidden] {
	display: none;
}

.sst-panel-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.sst-panel-header {
	background: #fff;
	padding: 18px 19px 0;
}

.sst-panel-close {
	appearance: none;
	align-items: center;
	background: #fff;
	border: 0;
	border-radius: 7px;
	box-shadow: none;
	color: #000;
	cursor: pointer;
	display: flex;
	font-size: 31px;
	font-weight: 400;
	height: 34px;
	justify-content: center;
	line-height: 1;
	margin-left: auto;
	outline: none;
	padding: 0;
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
	width: 34px;
}

.sst-panel-close::-moz-focus-inner {
	border: 0;
	padding: 0;
}

.sst-panel-close:focus,
.sst-panel-close:active {
	border: 0;
	box-shadow: none;
	outline: none;
}

.sst-panel-title {
	color: var(--sst-purple);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
	margin: 4px 0 6px;
}

.sst-panel-subtitle {
	color: #5f5f72;
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 14px;
}

.sst-form,
.sst-thank-you {
	flex: 1;
	margin-right: 5px;
	overflow-y: auto;
	padding: 0 14px 20px 19px;
	scrollbar-color: #d1d1d1 transparent;
	scrollbar-width: thin;
}

.sst-form::-webkit-scrollbar,
.sst-thank-you::-webkit-scrollbar {
	width: 10px;
}

.sst-form::-webkit-scrollbar-track,
.sst-thank-you::-webkit-scrollbar-track {
	background: transparent;
}

.sst-form::-webkit-scrollbar-thumb,
.sst-thank-you::-webkit-scrollbar-thumb {
	background: #d1d1d1;
	border: 3px solid #fff;
	border-radius: 17px;
}

.sst-role-field {
	margin-bottom: 30px;
	position: relative;
	width: 100%;
}

.sst-role-field.is-open::after {
	border: 2px solid rgba(165, 118, 255, 0.48);
	border-radius: 12px;
	content: "";
	inset: -4px;
	pointer-events: none;
	position: absolute;
}

.sst-role-select {
	appearance: none;
	align-items: center;
	background: #fff;
	border: 1px solid var(--sst-light-purple);
	border-radius: 8px;
	box-shadow: none;
	color: var(--sst-muted);
	display: flex;
	font-family: var(--sst-font);
	font-size: 16px;
	height: 43px;
	justify-content: space-between;
	line-height: 0.7749;
	padding: 10px;
	position: relative;
	text-align: left;
	outline: none;
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
	width: 100%;
}

.sst-role-select.has-value {
	color: #000;
}

.sst-role-select::-moz-focus-inner {
	border: 0;
	padding: 0;
}

.sst-role-select:focus,
.sst-role-select:active {
	border: 1px solid var(--sst-light-purple);
	box-shadow: none;
	outline: none;
}

.sst-role-select__text {
	display: block;
	flex: 1;
	overflow: hidden;
	padding-right: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sst-role-select__icon {
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #9a9a9a;
	display: block;
	flex: 0 0 auto;
	height: 0;
	margin-right: 4px;
	width: 0;
}

.sst-role-field.is-open .sst-role-select__icon {
	transform: rotate(180deg);
}

.sst-role-menu {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
	max-height: 180px;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 10px;
	position: relative;
	scrollbar-color: #d1d1d1 transparent;
	scrollbar-width: thin;
	width: 100%;
	z-index: 3;
}

.sst-role-menu[hidden] {
	display: none;
}

.sst-role-menu::-webkit-scrollbar {
	width: 8px;
}

.sst-role-menu::-webkit-scrollbar-track {
	background: transparent;
}

.sst-role-menu::-webkit-scrollbar-thumb {
	background: #d1d1d1;
	border: 2px solid #fff;
	border-radius: 999px;
}

.sst-role-option {
	appearance: none;
	align-items: center;
	background: #fff;
	border: 0;
	border-radius: 7px;
	box-shadow: none;
	color: #000;
	display: flex;
	font-family: var(--sst-font);
	font-size: 14px;
	height: 40px;
	line-height: 0.7749;
	outline: none;
	padding: 10px;
	text-align: left;
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
	width: 100%;
}

.sst-role-option::-moz-focus-inner {
	border: 0;
	padding: 0;
}

.sst-role-option:focus,
.sst-role-option:active {
	box-shadow: none;
	outline: none;
}

.sst-role-option:hover,
.sst-role-option.is-selected {
	background: #f7f4fb;
}

.sst-ratings {
	display: flex;
	flex-direction: column;
	gap: 19px;
}

.sst-rating-label {
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.362;
	margin-bottom: 1px;
}

.sst-stars {
	display: flex;
	gap: 1px;
	height: 16px;
}

.sst-star {
	appearance: none;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #c0c0c0;
	cursor: pointer;
	font-size: 16px;
	height: 16px;
	line-height: 1;
	outline: none;
	padding: 0;
	text-align: center;
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
	width: 14px;
}

.sst-star.is-active {
	color: var(--sst-star);
}

.sst-star::-moz-focus-inner {
	border: 0;
	padding: 0;
}

.sst-star:focus,
.sst-star:active {
	border: 0;
	box-shadow: none;
	outline: none;
}

.sst-message-block {
	margin-top: 30px;
}

.sst-message-label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.362;
	margin-bottom: 11px;
}

.sst-comment {
	appearance: none;
	border: 1px solid var(--sst-light-purple);
	border-radius: 8px;
	box-shadow: none;
	color: #222;
	display: block;
	font-family: var(--sst-font);
	font-size: 14px;
	height: 117px;
	line-height: 1.362;
	outline: none;
	padding: 15px;
	resize: vertical;
	-webkit-appearance: none;
	width: 100%;
}

.sst-comment::placeholder {
	color: #c0c0c0;
}

.sst-comment:focus,
.sst-comment:active {
	border: 1px solid var(--sst-light-purple);
	box-shadow: none;
	outline: none;
}

.sst-submit {
	appearance: none;
	background: var(--sst-purple);
	border: 0;
	border-radius: 12px;
	box-shadow: 0 10px 22px rgba(93, 14, 139, 0.2);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--sst-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	margin-top: 16px;
	outline: none;
	padding: 12px 18px;
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.sst-submit__icon {
	align-items: center;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	flex: 0 0 20px;
	font-size: 15px;
	height: 20px;
	justify-content: center;
	line-height: 1;
	pointer-events: none;
	width: 20px;
}

.sst-submit__label {
	pointer-events: none;
}

.sst-submit[disabled] {
	cursor: wait;
	opacity: 0.72;
}

.sst-submit::-moz-focus-inner {
	border: 0;
	padding: 0;
}

.sst-submit:focus,
.sst-submit:active {
	border: 0;
	box-shadow: none;
	outline: none;
}

.sst-status {
	color: var(--sst-purple);
	font-size: 13px;
	line-height: 1.4;
	margin-top: 12px;
}

.sst-status.is-error {
	color: #b42318;
}

.sst-thank-you {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 230px;
}

.sst-thank-you[hidden] {
	display: none;
}

.sst-thank-you h3 {
	color: var(--sst-purple);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 8px;
}

.sst-thank-you p {
	color: #555;
	font-size: 14px;
	line-height: 1.55;
	margin: 0;
}

.sst-honeypot {
	height: 1px;
	left: -9999px;
	opacity: 0;
	position: absolute;
	top: auto;
	width: 1px;
}

.sst-sr-only {
	clip: rect(0, 0, 0, 0);
	border: 0;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

@media (max-width: 480px) {
	.sst-widget-shell {
		--sst-mobile-bottom-nav-clearance: calc(88px + env(safe-area-inset-bottom, 0px));
	}

	.sst-floating-button {
		bottom: var(--sst-mobile-bottom-nav-clearance);
		height: 50px;
		right: 18px;
		width: 146px;
	}

	.sst-floating-button__icon {
		flex-basis: 24px;
		font-size: 13px;
		height: 24px;
		width: 24px;
	}

	.sst-floating-button__label {
		font-size: 12px;
		max-width: 84px;
	}

	.sst-panel {
		bottom: calc(var(--sst-mobile-bottom-nav-clearance) + 68px);
		height: min(418px, calc(100vh - var(--sst-mobile-bottom-nav-clearance) - 88px));
		left: 8px;
		right: 8px;
		width: auto;
	}

	.sst-panel-title {
		font-size: 18px;
	}

	.sst-panel-subtitle {
		font-size: 13px;
	}

	.sst-role-select,
	.sst-role-option,
	.sst-rating-label,
	.sst-message-label,
	.sst-comment,
	.sst-submit {
		font-size: 13px;
	}

	.sst-stars {
		gap: 3px;
		height: 20px;
	}

	.sst-star {
		height: 20px;
		width: 17px;
	}
}
