@use '../../../shared-styles/settings/variables';
@use '../../../shared-styles/objects/link';
@use '../../../shared-styles/objects/text';

.buv-c-card {
  position: relative;
  display: flex;
  margin-bottom: 20px;
}

.buv-c-card__img-wrapper {
  margin-right: 1.5vw;
  min-width: 50px;
  width: 20%;
}

.buv-c-card__img {
  max-width: 100%;
  max-height: 100%;
}

.buv-c-card__title-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.buv-c-card__download-button {
  margin-top: 10px;
}

.buv-c-card__title {
  font-size: calc(16px + 0.5vw);
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
  padding-right: 100px;
}

.buv-c-card__description {
  font-size: 12px;
  margin: 5px 0 0;
  font-weight: 400;
}

.buv-c-card__title--no-padding {
  padding: 0;
}

.buv-c-card__recipient {
  font-weight: 600;
  margin: 6px 0 12px;
}

.buv-c-card__record-link {
  position: absolute;
  top: 0;
  right: 0;
  line-height: 30px;
}

.buv-c-card__record-link::after {
  content: '';
  border: solid currentcolor;
  border-width: 0 2px 2px 0;
  width: 5px;
  height: 5px;
  transform: rotate(-45deg);
  font-weight: bold;
  display: inline-block;
  margin-left: 5px;
}

.buv-c-card__verify-button {
  float: right;
}

@media only screen and (max-width: variables.$modalMaxDimension) {
  .buv-c-card__title {
    font-size: 16px;
  }

  .buv-c-card__recipient {
    margin: 6px 0;
  }

  .buv-c-card__img-wrapper {
    margin-right: 18px;
  }
}
