@import '~styles/config';

.profileDetail {
  margin-bottom: $gutter;
  width: 100%;

  font-family: $font-heading;

  &__pack {
    margin-bottom: $gutter;
    max-width: 410px;
  }

  &__packInfo {
    padding: $gutter;
    border: 1px solid $color-grey400;
  }

  &__categoryTitle {
    @include responsive-font(28, 32);

    margin-bottom: $gutter*0.5;
    font-weight: 600;
  }

  &__title {
    @include colorify();
    @include responsive-font(28, 32);

    margin-bottom: 5px;
    font-weight: 600;
  }

  &__dataInEurope {
    @include responsive-font(12, 14);

    margin-bottom: 5px;
    font-weight: 500;

    color: $color-grey400;
  }

  &__price {
    @include responsive-font(18, 20);
    font-weight: 600;
  }

  &__description {
    margin-bottom: $gutter*0.5;
    white-space: pre-line;

    font-family: $font-family;
  }

  &__extraInfoTitle,
  &__usageInfoTitle {
    margin: $gutter 0 0;

    font-weight: 600;
  }

  &__extraInfo,
  &__usageInfo {
    display: flex;

    padding: $gutter*0.5 0;
    border-bottom: 1px solid $color-grey100;

    transition: background-color 300ms ease-in-out;

    &.clickable {
      cursor: pointer;
    }
  }

  &__wrapper {
    display: flex;
    justify-content: space-between;

    width: 100%;

    &.clickableLines {
      width: calc(100% - 40px);
    }
  }

  &__extraInfoButton {
    display: flex;
    justify-content: flex-end;

    margin-top: 15px;
  }

  &__value {
    font-weight: 500;
    color: $color-grey400;
  }

  &__edit {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    height: 24px;
    width: 40px;

    &SVG {
      transform: rotate(270deg);
      fill: $color-pink;
    }
  }

  &__cancel {
    margin-top: $gutter;
  }
}
