.modal-wrapper {
  font-family: 'Open Sans';
  line-height: 21px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  height: 775px;

  .header {
    .close-icon {
      position: absolute;
      top: 25px;
      right: 25px;
    }

    .close-icon:hover {
      cursor: pointer;
    }
  }

  .title {
    margin-top: 25px;
    span {
      font-size: 20px;
      font-weight: bold;
    }
  }

  .sub-title {
    margin-top: 31px;
    span {
      font-size: 22px;
    }
  }

  .stars {
    margin-top: 19px;
  }

  .desc-1 {
    margin-top: 18px;
    span {
      font-size: 16px;
    }
  }

  .desc-2 {
    margin-top: 12px;
    span {
      font-size: 16px;
    }
  }

  .add-review {
    margin-top: 35px;
  }
}

.form-group {
  position: relative;
  width: 100%;
}

.form {
  display: flex;
  flex-direction: column;
  padding-left: 94px;
  padding-right: 94px;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
  width: calc(100% - 200px);
}

.error {
  background-color: #f70400;
}

.review-content {
  margin-top: 12px;
  textarea {
    resize: none;
    border: 3px solid #e6eff9;
    font-size: 16px;
    color: #000000;
    line-height: 21px;
    caret-color: #f70400;
    font-family: 'Open Sans';
    padding: 15px;
    width: 95%;

    @media screen and (max-width: 900px) {
      width: 94%;
    }
  }
  textarea:focus {
    outline: none;
  }

  .border-error {
    border-color: #f70400;
  }
}

.review-content-title {
  padding-left: 10px;
  padding-right: 94px;
  margin-top: 37px;
  span {
    font-size: 18px;
    font-weight: bold;
    color: #557596;
  }
}

.font-error {
  color: #f70400;
}

// input styles
.form-control-placeholder {
  position: absolute;
  top: 7px;
  padding: 7px 10px 10px;
  transition: all 200ms;
  opacity: 1;
  left: 0px;
}

.form-control:focus + .form-control-placeholder,
.form-control:valid + .form-control-placeholder {
  font-size: 95%;
  transform: translate3d(0, -100%, 0);
  opacity: 1;
  border: none;
  outline: none;
  top: 18px;
}

.input {
  width: 97%;
  padding: 15px 10px 8px 10px;
  border: none;
  font-size: 18px;
  font-weight: bold;
  color: #000000;
  text-align: left;
  line-height: 21px;
  caret-color: #f70400;
  font-family: 'Open Sans';
  opacity: 1;
}

.invalid-feedback {
  top: 280px;
  right: 20px;
  text-align: right;
  animation: shake 0.3s cubic-bezier(0.7, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  position: absolute;
  font-size: 14px;
  font-weight: bold;
  color: #f70400;
}

.invalid-heading {
  top: 15px;
  right: 0px;
  text-align: right;
  animation: shake 0.3s cubic-bezier(0.7, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  position: absolute;
  font-size: 14px;
  font-weight: bold;
  color: #f70400;
}

@keyframes shake {
  10% {
    transform: translate3d(-1px, 0, 0);
  }

  50% {
    transform: translate3d(2px, 0, 0);
  }

  70% {
    transform: translate3d(-3px, 0, 0);
  }

  90% {
    transform: translate3d(3px, 0, 0);
  }
}

input:focus {
  outline: none;
  border: none;
}

label {
  font-size: 18px;
  font-weight: bold;
  color: #557596;
  text-align: left;
  line-height: 21px;
}

.invalid-feedback-under {
  top: 54px;
}

.error-visible {
  width: 65%;
}

lib-icon {
  cursor: pointer;
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 768px) and (max-height: 1024px) {
  .form-control-placeholder {
    top: 15px;
    // top: 9px;
  }
  .invalid-feedback-under {
    top: 62px;
  }
  .error-visible {
    width: 49%;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (min-height: 1025px) {
  .form-control-placeholder {
    top: 9px;
  }
  .invalid-feedback-under {
    top: 54px;
  }
}
