@import '../../../../styles/core.scss';

.TutorialTile {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  font-family: inherit;
  max-width: 350px;
  min-width: 340px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  &:hover,
  &:active,
  &:focus {
    border-color: rgba(0, 0, 0, 0.1);
  }

  &::-moz-focus-inner {
    border: 0;
  }

  &:focus {
    outline: none;
  }

  &:active,
  &:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.075);
  }

  &-Body {
    display: flex;
    padding: 20px;

    &-Avatar{
      flex: 0 0 auto;
      margin-right: 15px;
    }

    &-Text {
      align-items: flex-start;
      display: flex;
      flex-direction: column;
      text-align: left;

      &-Title {
        color: get('color' slate);
        display: flex;
        font-size: 18px;
        font-weight: 600;
      }

      &-Action {
        color: get('color' shale);
        font-size: 14px;
        margin-top: 3px;

        &-Arrow {
          font-size: 11px;
          margin-left: 5px;
          opacity: 0.5;
          position: relative;
          top: -1px;
        }
    }
    }
  }

  &-Status {
    align-items: center;
    background: get(color 'blue');
    border-radius: 3px;
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    margin-left: 10px;
    padding: 0 5px;
  }

  &-Notification {
    align-items: center;
    border-top: 1px solid get(color 'ivory');
    background: get(color 'lightGray');
    display: flex;
    font-size: 13px;
    font-weight: 600;
    height: 40px;
    justify-content: center;

    &:focus {
      outline: none;
    }

    :global(.icon-eye-crossed) {
      align-items: center;
      background: get(color 'graphite');
      border-radius: 20px;
      color: #fff;
      display: inline-flex;
      font-size: 14px;
      height: 20px;
      justify-content: center;
      margin-right: 5px;
      width: 20px;
    }

    &-Dismiss {
      align-items: center;
      background: none;
      border: 0;
      color: get('color' slate);
      cursor: pointer;
      display: flex;
      font-family: inherit;
      font-size: 13px;
      font-weight: 600;
      margin-left: 10px;
      padding: 0 8px;
      position: relative;

      &:hover,
      &:active,
      &:focus {
        text-decoration: underline;
      }

      &:focus {
        outline: none;
      }

      &::before {
        background: #c4c4c4;
        border-radius: 4px;
        content: '';
        display: block;
        height: 4px;
        left: -4px;
        position: absolute;
        width: 4px;
      }
    }
  }
}
