@import "variables";

#widget-container {
  .widget {
    position: relative;
    display: block;
    border: 1px solid $neutral-400;
    border-radius: $input-border-radius;
    margin: 40px;
    background: $white;
    min-height: 38px;
    box-shadow: $box-shadow-sm;

    blockquote {
      margin-left: 30px;
    }

    h3 {
      line-height: 18px;
    }

    .widget-title {
      height: 40px;
      padding: 0 20px;
      display: flex;
      align-items: center;
      background-color: $neutral-200;
      border-bottom: 1px solid $neutral-400;

      button {
        transition: opacity $base-transition-speed;
        opacity: 0;
      }

      &:hover button {
        opacity: 1;
      }
    }

    .widget-body {
      position: relative;
      padding: 20px;
    }

    .loader {
      background: $neutral-400;
      padding: 20px;
      opacity: 0.6;
    }
  }

  #result-left,
  #result-right {
    position: relative;
    display: block;
    width: 50%;
  }

  #result-left .widget {
    margin-right: 20px;
  }

  #result-right .widget {
    margin-left: 20px;
  }
}
