@import 'assets/scss/fonts.scss';
@import 'assets/scss/colors.scss';

.heading {
  margin-left: 200px;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-top: 24px;

  h1 {
    @include font-l;
    font-weight: 900;
    line-height: 24px;
  }

  p {
    @include font-base;
    margin: 5px 0 0 0;
    color: var(--color-text-gray);
  }
}

.componentDescription {
  height: 100%;
  overflow-y: scroll;
  padding-left: 30px;
  padding-bottom: 30px;

  h1 {
    @include font-m;
    font-weight: 800;
    margin: 20px 0;
  }

  h2 {
    @include font-base;
    font-weight: 800;
  }

  p {
    width: 80%;
  }

  ul {
    padding-left: 30px;
  }
}

.backButton {
  text-decoration: none;

  button {
    background: transparent;
    color: var(--color-text-contrast);
  }

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

.linkButtonContainer {
  @include font-base;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text-contrast);
  font-weight: bold;

  &:hover,
  &:active,
  &:visited {
    text-decoration: none;
    color: var(--color-text-contrast);
  }
}

.backIcon {
  width: 20px;
  background: transparent;
  path {
    fill: var(--color-text-gray);
  }
  margin-right: 8px;
}

.detailsComponentLogo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
  padding-right: 16px;
}

.logoIcon {
  width: 120px;
  height: 125px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;

  svg {
    fill: var(--color-text-contrast);
  }
}

.installButton {
  width: 100%;
  height: 50px;
  margin-top: 15px;
  @include font-base;
}

.details {
  p {
    color: var(--color-text-contrast);
    @include font-s;
  }

  button {
    border: 1px solid var(--color-airy-blue);
    border-radius: 20px;
    background: transparent;
    color: var(--color-airy-blue);
    padding: 4px 12px;
    margin-right: 5px;
    margin-top: 8px;
  }

  .detailInfo {
    margin-bottom: 20px;
  }

  section a,
  section a:hover,
  section a:visited,
  section a:active {
    color: var(--color-airy-blue);
    word-break: break-word;
    hyphens: auto;
    text-decoration: none;
    display: inline-block;
    width: 80%;
  }
}

.availability {
  display: flex;
  align-items: center;
  color: var(--color-airy-blue);
  @include font-s;
  margin-top: 20px;
  svg {
    fill: var(--color-airy-blue);
    width: 14px;
    margin-right: 5px;
    display: flex;
    align-items: center;
  }
}

.bolded {
  font-weight: 800;
}

.checkmarkIcon {
  width: 15%;
  margin-bottom: 30px;
  fill: var(--color-soft-green);
}

.enableModalContainerWrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.enableModalContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  @include font-l;

  p {
    max-width: 70%;
    text-align: center;
    margin: 4px 0 20px 0;
    color: var(--color-text-contrast);
  }
}

.headerModal {
  @include font-xl;
}

.availabilitySoonContainer {
  display: flex;
  align-items: center;
}

.soonTag {
  @include font-xs-bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin-left: 4px;
  height: 22px;
  width: 50px;
  border-radius: 5px;
  background: var(--color-notify-me);
  color: var(--color-background-white);
}

//As long the backend is not ready!!!
.comingSoonTag {
  @include font-base;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  height: 50px;
  width: 180px;
  color: var(--color-background-white);
  background: var(--color-notify-me);
  margin-top: 15px;
  white-space: nowrap;
}
