/* fonts */
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

.easy-feedback {
  box-sizing: border-box;
  font-family: "Roboto", sans-serif, 'Arial' !important;
}

.easy-feedback * {
  box-sizing: border-box;
}

.easy-feedback__vertical-btn {
  position: fixed;
  right: 0;
  top: calc(50% + 0px - 0px);
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  background: none;
  border: none;
  background: #ef5356;
  /* color: #313131; */
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 12px 10px 12px 8px;
  border-radius: 5px 0 0 5px;
  box-shadow: 0 0 8px rgba(33, 33, 33, .3);
  cursor: pointer;

}

.easy-feedback__modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 9999;
}

.easy-feedback__click-away {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.easy-feedback__modal-body {
  position: absolute;
  top: 150px;
  width: 460px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, .5);
  border-radius: 10px;
  padding: 42px 24px 12px;
  z-index: 500;
}

.easy-feedback__btn-close {
  color: #a8a6a6;
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 3px;
  top: 10px;
  cursor: pointer;
  transition: color .15s ease-in-out;
}

.easy-feedback__btn-close:hover {
  color: #212121;
}

.easy-feedback__btn-close svg {
  width: 30px;
  height: 30px;
}

.easy-feedback__reset-btn {
  cursor: pointer;
  transition: color .15s ease-in-out;
  padding: 0;
  background: none;
  border: none;
}

.easy-feedback__header {
  font-size: 18px;
  line-height: 24px;
  color: #212121;
  margin-bottom: 16px;
  display: block;
}

.easy-feedback__smiles {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.easy-feedback__smiles-item {
  cursor: pointer;
}

.easy-feedback__smiles-item svg {
  width: 60px;
  height: 60px;
  transition: opacity .15s ease-in-out;
}

.easy-feedback__smiles-item.not-active svg {
  opacity: .7;
}

.easy-feedback__header--textarea {
  margin-top: 20px;
  margin-bottom: 8px;
}

.easy-feedback__field {
  font-size: 12px;
  color: #212121;
  display: block;
  width: 100%;
  border: 1px solid #d3d0d0;
  background-color: #f4f4f4;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif, 'Arial';
  padding: 10px 12px;
  outline: none !important;
  transition: border-color .15s ease-in-out;
}

.easy-feedback__field::placeholder {
  color: #414141;
}

.easy-feedback__field:focus {
  border-color: #52C6D6;
}

.easy-feedback__textarea {
  resize: vertical;
  min-height: 60px;
}

.easy-feedback__modal-scroll {
  max-height: 400px;
  overflow: auto;
  overflow-x: hidden;
}

.easy-feedback__bottom {
  margin-top: 24px;
  text-align: center;
}

.easy-feedback__logo {
  text-align: left;
  margin-top: 24px;
}

.easy-feedback__btn {
  display: inline-block;
  font-weight: 600;
  line-height: 1.5;
  color: #FFFFFF;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: #00B2FF;
  border: 1px solid transparent;
  padding: 8px 24px;
  font-size: 16px;
  border-radius: 5px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.easy-feedback__btn:active {
  background: #4AC9FF;
}

.easy-feedback__btn:hover {
  background: #4AC9FF;
}

.easy-feedback__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.easy-feedback__logo {}

.easy-feedback__logo a {
  opacity: 0.3;
  transition: opacity 0.15s ease-in-out;
}

.easy-feedback__logo a:hover {
  opacity: 1;
}

.easy-feedback__question {
  margin-top: 5px;
}

.easy-feedback__question:first_child {
  margin-top: 0;
}

.easy-feedback__question-item {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  cursor: pointer;
  background-color: #f9f9f9;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  transition: background .3s ease-in-out;
}

.easy-feedback__question-icon {
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: border-color .3s ease-in-out;
}

.easy-feedback__question-icon:after {
  display: block;
  content: '';
  width: 8px;
  height: 8px;
  background: transparent;
  border-radius: 50%;
  transition: background .15s ease-in-out;
}

.js-ezfb-field:checked+.easy-feedback__question-icon:after {
  background: #00B2FF;
  border-color: #00B2FF;
}

.js-ezfb-field:checked+.easy-feedback__question-icon {
  border-color: #00B2FF;
}

.easy-feedback__question-label {
  font-size: 14px;
  color: #212121;
  margin-left: 8px;
  transition: color .15s ease-in-out;
}



.easy-feedback__question:hover .easy-feedback__question-item {
  background-color: #f0f0f0;
}

.easy-feedback__question:hover .easy-feedback__question-label {
  /* color: #00B2FF; */
}

.easy-feedback__question:hover .easy-feedback__question-icon {
  border-color: #00B2FF;
}

@media screen and (max-width: 768px) {
  .easy-feedback__modal-body {
    transform: translateX(0);
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    border-radius: 0;
    bottom: 0;
    overflow-y: auto;
  }

  .easy-feedback__modal-scroll {
    overflow: hidden;
  }
}