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

.headerRightButtons {
  position: absolute;
  z-index: 3;
  top: 0.875rem;
  right: 3rem;

  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.craftButton {
  position: relative;
}

.uniqueTitleNumber {
  &.small {
    font-size: 0.75em;
  }

  &.regular {
    font-size: 0.875em;
  }
}

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

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

.upgradeIcon {
  transform: rotateX(180deg);
  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;
}

.warningDescription {
  color: var(--color-error) !important;
}

.moreMenuButton {
  position: absolute;
  z-index: 1;
  top: 0.875rem;
  right: 0.875rem;
}

.closeButton {
  position: absolute;
  z-index: 1;
  top: 0.875rem;
  left: 0.875rem;
}

.giftResalePriceContainer {
  pointer-events: auto;

  position: relative;

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

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

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

  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  outline: none !important;
}

.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;
}

.footerHint {
  font-size: 0.75rem;
  line-height: 1.125rem;
  color: var(--color-white);
  text-align: center;
  text-transform: none;

  opacity: 0.6;
}

.buyButton {
  display: flex;
  flex-direction: column;
}

.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);
}

.messageContainer {
  position: relative;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.removeMessageButton {
  color: var(--color-primary) !important;
}

.scrollableTable {
  overflow-y: auto;
  flex-shrink: 1;
  min-height: 0;
}
