dialog.frmwrk-survey-popup {
	background: var(--wp--preset--gradient--primary-to-secondary);
	border-radius: 10px;
	border: 0;
	bottom: 30px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
	color: #fff;
	inset-inline-start: unset;
	margin: 0;
	max-width: 480px;
	padding: 20px 0;
	padding-top: 40px;
	position: fixed;
	top: auto;
	right: 30px;
	width: calc(100% - 60px);
	z-index: 999;
}

dialog.frmwrk-survey-popup:not([open]) {
	display: none;
}

dialog.frmwrk-survey-popup::backdrop {
	background: transparent;
}

dialog.frmwrk-survey-popup,
dialog.frmwrk-survey-popup a,
dialog.frmwrk-survey-popup h1,
dialog.frmwrk-survey-popup h2,
dialog.frmwrk-survey-popup h3,
dialog.frmwrk-survey-popup h4,
dialog.frmwrk-survey-popup h5,
dialog.frmwrk-survey-popup h6,
dialog.frmwrk-survey-popup p {
	color: #fff;
}

.frmwrk-survey-popup__close {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-size: 1.5em;
	line-height: 1;
	height: 1em;
	opacity: 1;
	padding: 4px 8px;
	position: absolute;
	right: 10px;
	top: 10px;
	transition: opacity 0.15s;
}

.frmwrk-survey-popup__close:hover,
.frmwrk-survey-popup__close:focus {
	opacity: 0.7;
}

/* Editor placeholder */
.frmwrk-survey-popup-editor {
	border: 2px dashed #ccc;
	border-radius: 4px;
	padding: 12px;
	position: relative;
}

.frmwrk-survey-popup .gform_wrapper form {
	display: flex;
}

.frmwrk-survey-popup .gform_wrapper .gform-body {
	flex: 1;
}

.frmwrk-survey-popup .gform_wrapper .gform-footer {
	flex: 0 0 86px;
}

.frmwrk-survey-popup .gform_wrapper label {
	color: #fff;
	font-size: .8em;
	font-weight: normal;
	height: 1em;
	overflow: visible;
	position: relative;
	width: 100%;
}

.frmwrk-survey-popup .gform_wrapper .gfield_required,
.frmwrk-survey-popup .gform_wrapper .gfield_required_text {
	color: #FFF;
	font-weight: normal;
	font-size: inherit;
}

.frmwrk-survey-popup .gform_wrapper .gsurvey-rating label {
	font-size: inherit;
	height: 50px;
	width: 20%;
}

.frmwrk-survey-popup .gform_button {
	background-color: transparent !important;
	border: 2px solid white !important;
	font-size: .8em !important;
	height: 34px !important;
	line-height: 50px !important;
}

.frmwrk-survey-popup .gform-theme--foundation .gsurvey-rating:not(:checked) > label {
	background-image: url(../star-unselected.svg);
}

.frmwrk-survey-popup .gform-theme--foundation .gsurvey-rating:not(:checked) > label:hover,
.frmwrk-survey-popup .gform-theme--foundation .gsurvey-rating:not(:checked) > label:hover ~ label,
.frmwrk-survey-popup .gform-theme--foundation .gsurvey-rating > input:checked ~ label {
	background-image: url(../star-selected.svg);
}
