/* Feedback Modal Styles for Rails Dashboard */
#feedback-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  justify-content: center;
  align-items: center;
}
.feedback-modal-backdrop {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.2);
}
.feedback-modal-content {
  position: relative;
  background: #fff;
  padding: 2rem;
  max-width: 52rem;
  width: 90vw;
  box-shadow: 0 6px 32px 0 rgba(0, 0, 0, 0.14);
  text-align: center;
  z-index: 1;
  font-family: inherit;
}
.feedback-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #222;
  cursor: pointer;
}
.feedback-modal-content h2 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: 2rem;
}
.feedback-modal-faces {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 0.75rem;
}
.feedback-modal-faces img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  pointer-events: none;
}
.feedback-modal-text {
  width: 100%;
  font-size: var(--font-size-md);
  padding: 0.75rem;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  margin-bottom: 2rem;
  margin-top: 0.5rem;
}
.face {
  background: none;
  border-radius: 50px;
  border: none;
  font-size: 0;
  padding: 0;
  outline: none;
  cursor: pointer;
}

.face.selected:nth-child(1) path:nth-child(1) {fill: black;}
.face.selected:nth-child(1) path:nth-child(2) {fill: black;stroke: white;}
.face.selected:nth-child(1) path:nth-child(3) {fill: white;stroke: white;}
.face.selected:nth-child(1) path:nth-child(4) {fill: white;stroke: white;}

.face.selected:nth-child(2) path:nth-child(1) {fill: black;}
.face.selected:nth-child(2) path:nth-child(2) {fill: white;stroke: white;}
.face.selected:nth-child(2) path:nth-child(3) {fill: white;stroke: white;}
.face.selected:nth-child(2) path:nth-child(4) {stroke: white;}

.face.selected:nth-child(3) path:nth-child(1) {fill: black;}
.face.selected:nth-child(3) path:nth-child(2) {stroke: white;}
.face.selected:nth-child(3) path:nth-child(3) {fill: white;stroke: white;}
.face.selected:nth-child(3) path:nth-child(4) {fill: white;stroke: white;}

.face.selected:nth-child(4) path:nth-child(1) {fill: black;}
.face.selected:nth-child(4) path:nth-child(2) {fill: white;stroke: white;}
.face.selected:nth-child(4) path:nth-child(3) {fill: white;stroke: white;}
.face.selected:nth-child(4) path:nth-child(4) {stroke: white;}

.face.selected:nth-child(5) path:nth-child(1) { fill: black;}
.face.selected:nth-child(5) path:nth-child(2) {stroke: white;}
.face.selected:nth-child(5) path:nth-child(3) {fill: white;stroke: white;}
.face.selected:nth-child(5) path:nth-child(4) {fill: white;stroke: white;}


.feedback-modal-submit {
}
@media (max-width: 480px) {
  .feedback-modal-faces img {
    width: 2rem; height: 2rem;
  }
  .feedback-modal-submit {
    width: 100%;
  }
}
