.modal :global(.modal-dialog) {
  overflow: hidden;
}

.checkBox {
  margin-inline: -1rem;
}

.checkBoxDescription {
  display: flex;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.upgradeIcon {
  transform: rotateX(180deg);
  margin-left: 0.25rem;
  font-size: 1.25rem;
}

.descriptionConfirm {
  padding-bottom: 0.75rem;
  color: var(--color-text-secondary);
}

.titleConfirm {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: var(--font-weight-medium);
}

.header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;

  margin-bottom: 1rem;
}

.title, .description {
  margin-bottom: 0;
}

.soldOut {
  color: var(--color-error);
}

.modalContent {
  position: relative;
  max-height: min(92vh, 48rem) !important;
}

.headerSplitButton {
  position: absolute;
  right: 0.375rem;

  display: flex;
  flex-direction: row;

  border-radius: 1rem;

  backdrop-filter: blur(0.5rem);
}

.headerButton,
.giftResalePriceContainer {
  pointer-events: auto;

  display: flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  height: 1.75rem;
  padding: 0.25rem;
  padding-inline: 0.625rem;
  border-radius: 1rem;

  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  color: white;

  background-color: rgba(0, 0, 0, 0.2);
  outline: none !important;
}

.giftResalePriceContainer {
  font-size: 0.75rem;
  backdrop-filter: blur(25px);
}

.starAmountIcon,
.giftResalePriceStar {
  margin-inline-start: 0 !important;
}

.headerButton {
  cursor: var(--custom-cursor, pointer);

  position: relative;

  overflow: hidden;
  flex-shrink: 0;

  transition: background-color 0.15s;

  &:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }
}

.left {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.right {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.description {
  color: var(--_color-description, var(--color-text));
  text-align: center;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footerDescription {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  text-align: center;
}

.unknown {
  margin-inline-start: 0.25rem;
}

.giftValue {
  display: flex;
  gap: 0.125rem;
  align-items: center;
  line-height: 1;
}

.uniqueValue,
.uniqueAttribute {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.attributeName {
  cursor: pointer;
  color: var(--color-primary);
  transition: opacity 0.15s;

  &:hover {
    opacity: 0.75;
  }
}

/* stylelint-disable-next-line plugin/stylelint-group-selectors */
.uniqueGift {
  margin-bottom: 0;
}

.modalHeader {
  position: absolute;
  z-index: 2;

  display: flex;

  width: 100%;
  padding: 0.375rem;

  .modalCloseButton {
    margin-right: auto;
  }
}

.ownerAddress {
  cursor: pointer;
  overflow: hidden;
  font-family: var(--font-family-monospace);
  font-size: 0.875rem;
}

.copyIcon {
  pointer-events: none;
  margin-inline-start: 0.25rem;
  color: var(--color-primary);
}
