footer.group {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

@view-transition {
  navigation: auto;
}

@media screen and (width < 40rem) {
  [role="group"]:not(.nowrap) {
    display: flex;
    flex-direction: column;
  }

  [role="group"]:not(.nowrap)>* {
    border-radius: 0 !important;
  }

  [role="group"]:not(.nowrap)>*:not(:first-child) {
    border-radius: 0 !important;
  }

  [role="group"]:not(.nowrap)>*:first-child {
    border-top-left-radius: var(--pico-border-radius) !important;
    border-top-right-radius: var(--pico-border-radius) !important;
  }

  [role="group"]:not(.nowrap)>*:last-child {
    border-bottom-left-radius: var(--pico-border-radius) !important;
    border-bottom-right-radius: var(--pico-border-radius) !important;
  }

}

dialog article {
  max-width: 50%;
}

.error {
  --pico-border-color: var(--pico-color-violet-600);
  --pico-background-color: var(--pico-color-violet-600);
}

.error:hover {
  --pico-border-color: var(--pico-color-violet-500);
  --pico-background-color: var(--pico-color-violet-500);
}

.error.group {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.error.group:empty {
  display: none;
}

.error:empty {
  display: none;
}

.error.outline {
  border-color: var(--pico-color-violet-600);
  color: var(--pico-color-violet-600);
}

.error.outline:hover {
  border-color: var(--pico-color-violet-500);
  color: var(--pico-color-violet-500);
}

:is(h1, h2, h3, h4, h5, h6, p, span, small, b, i).error {
  background-color: transparent;
  color: var(--pico-color-violet-500);
}

.hero {
  padding: 3rem 0 6rem 0;
  text-align: center;
}

.chain-highlight {
  border-left: 5px solid var(--primary);
}

.grid-features {
  margin-top: 2rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-align-center {
  align-items: center;
}

.flex-align-center>* {
  margin-top: 0;
  margin-bottom: 0;
}

.flex-justify-center {
  justify-content: center;
}

.flex-justify-between {
  justify-content: space-between;
}

.flex .title {
  margin-bottom: 0;
}

.flex-gap-1 {
  gap: 1rem;
}

.flex-gap-2 {
  gap: 2rem;
}

form fieldset[role="group"] span.addon {
  width: auto;
  background-color: var(--pico-primary-background);
  color: var(--pico-primary-inverse);
  position: relative;
  flex: 1 1 auto;
  margin-bottom: 0;
  padding: var(--pico-form-element-spacing-vertical) var(--pico-form-element-spacing-horizontal);
}

form fieldset[role="group"] span.addon:first-child {
  border-radius: var(--pico-border-radius) 0 0 var(--pico-border-radius);
}

form fieldset[role="group"] span.addon:last-child {
  border-radius: 0 var(--pico-border-radius) var(--pico-border-radius) 0;
}

.feather {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.regift__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  justify-items: stretch;
  align-items: stretch;
}

@media screen and(max-width: 1280px) {
  .regift__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and(max-width: 720px) {
  .regift__grid {
    grid-template-columns: 1fr;
  }
}

.copy-success {
  transition: all 0.2s ease;
}

.copy-success.disabled {
  visibility: hidden;
  opacity: 0%;
}

article#notification {
  background: linear-gradient(to left, var(--pico-color-green-600) 50%, var(--pico-color-green-700) 50%) right;
  background-size: 200%;
  animation: myAnimation 2s ease-in-out forwards;
}

article.success {
  background-color: var(--pico-color-green-600)
}

@keyframes myAnimation {
  0% {
    background-position: right;
  }

  100% {
    background-position: left;
  }
}

.toast-container {}

.toast {}

.flex-gap-1 {
  gap: 8px;
}

.suggestion-list {
  padding-left: 1rem;
}

.suggestion-list__item {
  padding-left: 1rem;
  border-left: 1px solid var(--pico-primary-hover-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.suggestion-list__item-wrapper:not(:last-child) {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--pico-muted-border-color);
}

.empty {
  display: none;
}

.empty:only-child {
  display: block;
}

button.naked {
  background-color: unset;
  border: unset;
}

.buttons {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.5rem;
}

.header-with-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.header-with-buttons .buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.modal-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@media screen and (width < 40rem) {
  .header-with-buttons {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .header-with-buttons .buttons {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .buttons {
    flex-direction:  column;

  }
}

header.modal-header button.close {
  background-color: transparent;
  color: var(--pico-secondary-background);
  fill: var(--pico-secondary-background);
  background-image: none;
  border: none !important;
  box-shadow: none !important;
}
