.feedback-widget {
  position: relative;
}

/* Popup styles */
.feedback-popup {
  left: 50%;
  margin-left: -300px;
  width: 600px;
  background-color: @gray-light;
  border-radius: 3px;
  padding: 10px 0 0 0;
  position: fixed;
  transition: transform 150ms ease-in-out;
  top: 0;
  right: 340px;
  z-index: 14;
  box-shadow: 0 6px 9px rgba(0,0,0,.15);
  transform: translateY(60px);
  &.hidden {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: translateY(-650px);
  }
}

.feedback-title {
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  margin: 12px 30px;
}

.feedback-close-button {
  background-color: transparent;
  float: right;
  border-bottom: 1px dotted #000;
  font-size: 12px;
  font-weight: normal;
}
/* white block for proposals and ticket common */
.feedback-block {
  box-sizing: border-box;
  border-radius: 3px;
  border-bottom: 1px solid #ededed;
  border-right: 1px solid #ededed;
  background-color: #fff;
  margin: 0 30px;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.feedback-ticket {
  .feedback-block;
  min-height: 100px;

  .segment-block {
    height: 86px;
  }

  .flight-time {
    font-size: inherit;
    font-weight: bold;
    margin-right: 0;
  }
}

.feedback-proposals-title {
  font-weight: bold;
  text-align: left;
  font-size: 14px;
  margin: 12px 30px;
}

.feedback-proposals {
  .feedback-block;
  margin-bottom: 20px;

  ul {
    margin: 0;
    padding: 12px 0;
    list-style: none;
    text-align: center;
  }

  li {
    cursor: pointer;
    line-height: 150%;
    display: inline-block;
    width: 33.3%;
    text-align: center;
    a {
      display: block;
      color: black;
      text-decoration: none;
    }
  }

  .feedback-proposal-rating {
    margin-bottom: 5px;
    .icon-star {
      margin: 1px;
      color: #eaeaea;
    }

    &.stars-1 {
      .icon-star:nth-child(1) {
        color: @orange;
      }
    }

    &.stars-2 {
      .icon-star:nth-child(-n+2) {
        color: @orange;
      }
    }

    &.stars-3 {
      .icon-star:nth-child(-n+3) {
        color: @orange;
      }
    }

    &.stars-4 {
      .icon-star:nth-child(-n+4) {
        color: @orange;
      }
    }

    &.stars-5 {
      .icon-star:nth-child(-n+5) {
        color: @orange;
      }
    }
  }
  .feedback-proposal-price {
    font-weight: bold;
    span {
      display: inline-block;
    }
  }
  .feedback-proposal-provider {

  }
  .feedback-proposal-action {
    .feedback-proposal-buy-button {
      margin-top: 5px;
      background-color: #fff;
      border-radius: 3px;
      border: 1px solid @blue;
      color: @blue;
      padding: 3px 15px;

      &:hover {
        color: @orange;
        border: 1px solid @orange;
      }
    }
  }
}

.feedback-banner {
  background-color: @orange;
  width: 100%;
  height: 180px;
}

.feedback-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: black;
  top: 0;
  left: 0;
  opacity: 0.2;
  z-index: 13;
}
