@import 'src/styles/variables';

.wrap {
  display: flex;
  flex-direction: column;

  textarea {
    min-height: 62px !important;
  }
}

.input {
  @include row_shadow;

  position: relative;
  flex: 1;
  padding: 5px;
}

.buttons {
  position: relative;
  z-index: 1;
  display: flex;
  background: $content_bg_dark;
  border-radius: 0 0 $radius $radius;
  flex-wrap: wrap;
  padding: $gap * 0.25;
}

.button_column {
  padding: $gap * 0.25;
  display: flex;
  flex-direction: row;
}

.uploads {
  padding: ($gap * 0.5);
  display: grid;
  grid-column-gap: $gap * 0.5;
  grid-row-gap: $gap * 0.5;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}

.attaches {
  @include outer_shadow();
}

.error {
  position: absolute;
  bottom: 0;
  left: 50%;
  background: $color_danger;
  z-index: 10;
  font: $font_12_regular;
  box-sizing: border-box;
  padding: 0 $gap;
  border-radius: 4px 4px 0 0;
  transform: translate(-50%, 0);
  cursor: pointer;
}
