.contact-trigger {
  position: relative;
  display: inline-flex;
  width: max-content;
}

.contact-trigger__btn {
  transition: opacity 0.2s ease;
}

.contact-trigger.is-open .contact-trigger__btn {
  opacity: 0;
  pointer-events: none;
}

.contact-popover {
  position: absolute;
  top: 0;
  left: 0;
  width: 382px;
  max-width: calc(100vw - 48px);
  box-sizing: border-box;
  background: #171717;
  padding: 16px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  transition:
    width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.15s ease;
}

.contact-trigger.is-open .contact-popover {
  opacity: 1;
  pointer-events: auto;
}

.contact-popover__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.contact-trigger.is-open .contact-popover__rows {
  opacity: 1;
  transition-delay: 0.2s;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border-radius: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.contact-row:hover {
  background: #262626;
}

.contact-row__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-row__label {
  font-size: 16px;
  font-weight: 500;
  color: #5c5c5c;
}

.contact-row__value {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #ffffff;
}

.contact-row__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}