@import 'variables';

.feedback-component {
  box-shadow: 0 0 24px -2px rgba(0, 0, 0, .2);
  bottom: 75px;
  position: fixed;
  right: 25px;
  z-index: 2;

  &.expanded {
    background-color: white;
    border-radius: 2px;
    border-top: 4px solid $brand-primary;
    height: auto;
    min-height: 450px;
    padding: 32px;
    width: 400px;
  }

  &.collapsed {
    align-items: center;
    background-color: $brand-primary;
    border: 2px solid white;
    border-radius: 50%; /* makes it a circle */
    cursor: pointer;
    display: flex;
    height: 48px;
    justify-content: center;
    margin: 0;
    width: 48px;

    &:hover {
      opacity: 0.5;
    }
  }

  .title {
    color: $gray-light;
    font-size: 12px;
    font-family: $font-family-sans-serif-bold;
    font-weight: $font-weight-sans-serif-bold;
    height: 24px;
    line-height: 32px;
  }

  img.icon-speech {
    background-color: $brand-primary;
    height: 36px;
    width: 24px;
  }

  .feedback-header {
    margin-bottom: 8px;
  }

  .btn-group {
    margin: 8px auto 16px;
  }
}
