*,
*:before,
*:after{
    box-sizing: border-box;
}
.review-block {
  width: 100%;
  max-width: 500px;
  height: 550px;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
}

.view-reviews {
  display: grid;
  overflow-y: auto;
}

/* view review */
.review-block .title {
  text-align: center;
  width: 100%;
  height: fit-content;
  font-size: 28px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid grey;
}

.review-items {
  padding: 10px;

  display: grid;
  gap: 20px;

  overflow-y: auto;
}

.review-item {
  border: 1px solid grey;
  padding: 10px;
  border-radius: 8px;

  display: grid;
  gap: 10px;
}

.fa-solid {
  color: orange;
}

.btn {
  width: fit-content;
  background: none;
  border: 1px solid grey;
  font-size: 18px;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
}

.btns-reviews {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-top: 1px solid grey;
}

/* add review stars */
.form-add-review__stars {
  display: flex;
  align-items: center;
  gap: 25px;
}
.form-add-review__stars i {
  color: #e6e6e6;
  font-size: 35px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.form-add-review__stars i.active {
  color: #ff9c1a;
}

/* form adding review */
.form-add-review {
  display: grid;
  gap: 20px;
  padding: 10px;
}

.form-add-review input, .form-add-review textarea {
  font-family: Arial, Helvetica, sans-serif;
  padding: 10px;
  border: 1px solid grey;
  border-radius: 8px;
  font-size: 18px;
}

.form-add-review input {
  height: 30px;
}

.form-add-review textarea {
  resize: none;
  height: 100px;
}

.btn-send-review {
  margin: 0 auto;
}

.form-add-review-btns {
  display: flex;
  justify-content: space-between;
}

/* modal-status-send-review */
.modal-status-send-review {
  margin-top: 10px;
  width: 100%;
  display: grid;
  gap: 20px;
}

.modal-status-send-review .btn {
  margin: 0 auto;
}

.modal-status-send-review .msg {
  text-align: center;
  font-size: 20px;
  line-height: 1.8;
}

/* hide & show */
.hidden {
  display: none;
}

.show {
  display: block;
}