@charset "UTF-8";

div.feedback {
    margin: 4em 0;
}
.feedback > .prompt {
    display: inline-block;
    margin: 0 1em 0 0;
}
.feedback > .choices {
    display: inline-flex;
    flex-flow: row wrap;
    column-gap: 16px;
}
.feedback.stars > .choices {
    column-gap: 0;
}
.feedback > .choices > button {
    flex: 1 0 0;
    position: relative;
}
.feedback > .choices > button > .choiceprompt {
    /* not visible but included in innertext */
    position: absolute;
    height: 0;
    width: 0;
    overflow: hidden;
}
.feedback > .choices > button:after {
    /* ensure button element captures all clicks */
    content: ' ';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
.feedback.stars > .choices > button {
	border: none;
	width: 24px;
	min-width: 24px;
	height: 24px;
	padding: 0;
	margin: 0;
	color: var(--color-neutral05);
	background-color: transparent;
	border-radius: 24px;
	outline-offset: 2px;
    justify-content: start;
}
.feedback.stars > .choices > button:hover,
.feedback.stars > .choices > button:focus,
.feedback.stars > .choices > button.highlight {
    color: var(--color-success);
}
.feedback.stars > .choices > button > span.material-icons-round {
    padding: 0;
    font-size: 24px;
}
.feedback > .alert {
    display: none;
}
.feedback.submitted > .alert {
    display: block;
}
.feedback.submitted > .prompt,
.feedback.submitted > .choices {
    display: none;
}
