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

.errorContainer {
  width: 100%;

  display: flex;
  gap: 1rem;

  align-items: center;

  margin-top: 3.2rem;
  padding-left: 1rem;
  border-left: 8px solid $secondaryRed;

  background: $secondaryRed;

  .alertIcon {
    color: $primaryWhite;
  }

  .errorMessage {
    font-family: $mainFont;

    color: $secondaryRed;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2;
  }

  .dropDownIcon {
    color: $secondaryRed;

    cursor: pointer;
  }

  .dropDownIconContainer {
    width: 2rem;

    display: flex;

    align-items: center;
  }
}

@include from600 {
  .errorContainer {
    background: inherit;

    .alertIcon {
      color: $secondaryRed;
    }

    .errorMessage {
      color: $secondaryRed;
    }
  }

  @include from600 {
    .errorContainer {
      background: inherit;

      .alertIcon {
        color: $secondaryRed;
      }

      .errorMessage {
        color: $secondaryRed;

        span {
          font-weight: bold;
        }
      }
    }

    .wrapperErrorList li {
      display: flex;

      align-items: center;

      font-family: $mainFont;

      color: $secondaryRed;
      font-size: 1.6rem;
      font-weight: 400;
      line-height: 2;

      padding-left: 1.6rem;
      border-left: 8px solid $secondaryRed;
      letter-spacing: 0.05rem;

      &::before {
        width: 0.8rem;
        height: 0.8rem;

        display: inline-block;

        margin-right: 1.8rem;

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

        content: '';
      }
    }
  }
}
