@use '~styles/global.scss' as *;
@use '~styles/breakpoints.scss' as breakpoints;

.mainContainer {
  width: 100%;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 1.6rem;
  border-top: 1px solid $primaryGray;

  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1);

  .tagContainer {
    max-width: 100%;

    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.5rem;

    border-radius: 0.5rem;

    .placeholderText {
      color: $secondaryGray;
      text-align: left;
      font-size: 1.6rem;
      font-weight: 400;
      line-height: 2.4rem;
      letter-spacing: 0.05rem;
    }

    .tag {
      display: flex;
      gap: 1.2rem;

      align-items: center;

      font-family: $mainFont;
      color: $darkPurple;
      font-size: 1.4rem;
      font-weight: 500;
      line-height: 2rem;

      padding: 0.6rem 1rem;

      background-color: $primaryPurple;
      border-radius: 0.8rem;

      .iconContainer {
        display: flex;

        align-items: center;
        justify-content: center;
      }
    }
  }

  .addButton {
    width: 3.2rem;
    height: 3.2rem;

    color: $primaryWhite;

    margin-left: 0.5rem;
    padding: 1.5rem;
    border: 0;

    background-color: $secondaryPurple;
    border-radius: 50%;

    cursor: pointer;
  }
}

@include breakpoints.from600 {
  .mainContainer {
    display: none;
  }
}
