@use "../../../styles/int.scss";
@use "./constants.scss";

.container {
  margin-bottom: calc(44px - var(--Grid-gutter));
  color: int.$warmgray-100;
    
  @include int.breakpoint-at-most("sm") {
    margin-bottom: calc(#{int.$spacing-8} - var(--Grid-gutter));
  }

  &.disableMargins {
    margin-bottom: 0;
  }
}

.center {
  display: flex;
  flex-flow: column;
  align-items: center;

  .comment {
    margin: auto;
  }

  .vertical {
    align-items: center;
    text-align: center;
  }

  .horizontal {
    justify-content: center;
  
    @include int.breakpoint-at-most("sm") {
      align-items: flex-start;
      align-content: center;
    }
  }
  
}

.comment {
  background-color: white;
  padding: int.$spacing-6;
  width: 100%;
  border-radius: int.$spacing-2;
  max-width: constants.$reporter-comment-max-width;
  align-self: flex-start;

  @include int.shadow($size: "300");
}

.timestamp {
  color: int.$warmgray-60;
  padding-bottom: int.$spacing-2;

  @include int.sans($size: "000", $role: "component");
}

.vertical {
  display: flex;
  flex-direction: column;
  gap: int.$spacing-4;
}

.horizontal {
  display: flex;
  flex-direction: row;
  gap: int.$spacing-5;

  @include int.breakpoint-at-most("sm") {
    flex-direction: column;
  }
}

.visual {
  margin-top: int.$spacing-12;
  width: 100%;
}
