@import '../helpers/helpers';

// sass-lint:disable no-ids

.share-list {
  .icon {
    height: 20px;
    width: 20px;
    margin: 0 10px 0 0;
  }

  .link-title {
    vertical-align: top;
  }

  &__link {
    &-label {
      display: flex;

      h5 {
        font-weight: 700;
        margin-right: 60px;
      }
    }

    .modal-box__inner-columns {
      padding: 20px 0;

      .form-row {
        margin-bottom: 0;
      }
    }
  }

  &__email {
    .modal-box__inner-columns {
      border-top: 1px solid $gray;
      padding: 20px 0;

      .form-row {
        margin-bottom: 0;
      }
    }

    .email-notification {
      margin-top: 15px;
    }

    .btn-share-confirmation {
      margin-top: 15px;
      display: flex;

      button {
        width: 132px;

        &:first-child {
          margin-right: 20px;
        }
      }
    }

    .add-email-btn {
      display: inline-block;
      margin-top: 10px;
    }
  }

  &__social-media {
    .modal-box__inner-columns {
      border-top: 1px solid $gray;
      padding: 20px 0;
    }

    .socials {
      padding: 8px 0 10px;
      justify-content: flex-start;

      .socials__item {
        margin:  0 10px 0 0;

        .whatsapp-icon {
          vertical-align: middle;
          color: $light-green-wa;
          height: 34px;
          width: 34px;
        }
      }
    }
  }
}


@include media-breakpoint-up(md) {
  #share-list-modal {
    .modal-header .modal-box__inner-columns {
      padding: 0;
    }
  }
}

@include media-breakpoint-down(sm) {
  .share-list {
    &__link {
      &-label {
        justify-content: space-between;
        padding: 0 15px;

        h5 {
          margin-right: 0;
        }
      }
    }

    &__email {
      .modal-box__inner-columns {
        margin: 0 15px;

        .form-row {
          padding: 0;
        }
      }

      .btn-share-confirmation {
        button {
          width: 50%;
        }
      }
    }

    &__social-media {
      .modal-box__inner-columns {
        margin: 0 15px;
      }
    }
  }
}
