@keyframes backdropBackground {
  from {
    background-color: rgba(0, 0, 0, 0);
  }
  to {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

@keyframes slideUp {
  from {
    transform: translate(0, 100dvh);
  }
  to {
    transform: translate(0, 0);
  }
}

.omw_button {
  font-family:
    'SF Pro Rounded',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Helvetica,
    'Apple Color Emoji',
    Arial,
    sans-serif,
    'Segoe UI Emoji',
    'Segoe UI Symbol';
  display: flex;
  align-items: center;
  border: 0 none;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1em;
  font-weight: 600;
  visibility: visible !important;

  &:before {
    content: '';
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    background-image: url('https://ohmywishes.com/deeplink/logo.svg');
  }
}

.omw_button.omw_logo_compact {
  &:before {
    background-image: url('https://ohmywishes.com/deeplink/logo_compact.svg');
  }
}

.omw_button.omw_type_monochrome {
  &:before {
    background-image: url('https://ohmywishes.com/deeplink/logo_monochrome.svg');
  }
}

.omw_button.omw_type_monochrome.omw_color_black {
  &:before {
    background-image: url('https://ohmywishes.com/deeplink/logo_monochrome_invert.svg');
  }
}

.omw_button.omw_logo_compact.omw_type_monochrome {
  &:before {
    background-image: url('https://ohmywishes.com/deeplink/logo_compact_monochrome.svg');
  }
}

.omw_button.omw_color_none {
  background-color: transparent;
  color: rgba(0, 0, 0, 1);
}

.omw_button.omw_color_white {
  background-color: rgba(255, 255, 255, 1);
  color: rgba(0, 0, 0, 1);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.omw_button.omw_color_gray {
  background-color: rgba(34, 34, 34, 1);
  color: rgba(255, 255, 255, 1);
}

.omw_button.omw_color_black {
  background-color: rgba(0, 0, 0, 1);
  color: rgba(255, 255, 255, 1);
}

.omw_button.omw_size_20 {
  font-size: 11px;
  padding: 3px 8px 3px 3px;
  border-radius: 10px;
  gap: 4px;

  &::before {
    width: 14px;
    height: 14px;
  }
}

.omw_button.omw_size_20.omw_title_kind_none {
  padding: 3px;
  &::before {
    width: 14px;
    height: 14px;
  }
}

.omw_button.omw_size_30 {
  font-size: 12px;
  padding: 6px 10px 6px 6px;
  border-radius: 15px;
  gap: 4px;

  &::before {
    width: 18px;
    height: 18px;
  }
}

.omw_button.omw_size_30.omw_title_kind_none {
  padding: 4px;
  &::before {
    width: 22px;
    height: 22px;
  }
}

.omw_button.omw_size_40 {
  font-size: 16px;
  padding: 8px 12px 8px 8px;
  border-radius: 20px;
  gap: 6px;

  &::before {
    width: 24px;
    height: 24px;
  }
}

.omw_button.omw_size_40.omw_title_kind_none {
  padding: 5px;
  &::before {
    width: 30px;
    height: 30px;
  }
}

.omw_button.omw_size_50 {
  font-size: 18px;
  padding: 10px 16px 10px 10px;
  border-radius: 25px;
  gap: 6px;

  &::before {
    width: 30px;
    height: 30px;
  }
}

.omw_button.omw_size_50.omw_title_kind_none {
  padding: 5px;
  &::before {
    width: 40px;
    height: 40px;
  }
}

.omw_layout {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 32000;
  background-color: rgba(0, 0, 0, 0.5);
  animation: backdropBackground 0.2s 1 ease forwards;
}

.omw_iframe {
  width: 360px;
  height: 550px;
  border-radius: 22.4px;
  border: 0 none;
  box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.65);
  background-color: #1f1f1f;
  animation: slideUp 0.2s 1 ease forwards;
}
