@import 'assets/scss/fonts.scss';
@import 'assets/scss/colors.scss';
@import 'assets/scss/z-index.scss';

.container {
  width: 260px;
  height: 100px;
  margin-bottom: 28px;
  margin-right: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--color-dark-elements-gray);
  border-radius: 10px;
  background-color: var(--color-background-blue);
  text-decoration: none;
  &:hover {
    border: 2px solid var(--color-airy-blue);
    margin-left: -1px;
    margin-top: -1px;
    width: 261px;
    height: 101px;
    cursor: pointer;
  }
}

.infoCard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 14px 0 14px 16px;
}

.externalLink {
  position: absolute;
  width: 232px;
  display: flex;
  flex-flow: row-reverse;
  a {
    @include font-base;
    font-weight: 400;
    line-height: 24px;
    font-size: 16px;
    height: 32px;
    background-color: var(--color-airy-blue);
    color: white;
    border-radius: 4px;
    text-align: center;
    border: none;
    cursor: pointer;
    padding: 4px 16px;
    margin: 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    &:hover {
      background-color: var(--color-airy-blue-hover);
    }

    &:active {
      background: var(--color-airy-blue-pressed);
    }

    &:disabled {
      cursor: not-allowed;
      color: var(--color-text-gray) !important;
      background-color: var(--color-disabled-gray) !important;
      border: none;
    }
  }
}

.channelLogoTitleContainer {
  @include font-base;
  font-weight: 600;
  margin-bottom: 13px;
  color: var(--color-text-contrast);
  display: flex;
  align-items: center;

  svg {
    height: 30px;
    width: 30px;
    margin-right: 10px;
  }
}
