/* Animation styles - Keyframes and transitions */

@keyframes bounce-up-card {
  0% {
    transform: translateY(180px)
  }

  45% {
    transform: translateY(-10px)
  }

  70% {
    transform: translateY(8px)
  }

  100% {
    transform: translateY(0)
  }
}

@keyframes bounce-down-card {
  0% {
    transform: translateY(0)
  }

  45% {
    transform: translateY(192px)
  }

  70% {
    transform: translateY(172px)
  }

  100% {
    transform: translateY(180px)
  }
}

@keyframes loader-ball-bounce-keyframe {
  0% {
    transform: translateY(0);
    animation-timing-function: ease-in
  }

  40% {
    transform: translateY(1rem) scaleY(1);
    animation-timing-function: ease-in
  }

  50% {
    transform: translateY(1rem) scaleY(.75);
    animation-timing-function: ease-out
  }

  60% {
    transform: translateY(1rem) scaleY(1);
    animation-timing-function: cubic-bezier(0, 0, 0, 1)
  }

  to {
    transform: translateY(0)
  }
}

@keyframes overlay-fade-in-keyframe {
  0% {
    opacity: 0
  }

  to {
    opacity: .15
  }
}

.search-box-container:has(+.search-box-overlay) .search-box-wrapper:before {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: calc(100% + 1.5rem);
  content: "";
  background-color: rgb(var(--colour-neutral-1, 255, 255, 255));
  border-radius: 0
}

@media (min-width:56.25em) {
  .search-box-container:has(+.search-box-overlay) .search-box-wrapper:before {
    inset: -.75rem;
    width: calc(100% + 1.5rem);
    border-radius: .5rem .5rem 0 0
  }
}

.search-box-form {
  display: flex;
  gap: .5rem
}

.search-box-search {
  flex-grow: 1
}

.search-box-svg-icon {
  display: inline-block;
  height: 1.5rem;
  width: 1.5rem;
  vertical-align: middle;
  fill: currentColor;
  transition-property: transform, fill;
  transition-duration: .25s;
  transition-timing-function: cubic-bezier(.4, 0, .4, 1)
}

@media (prefers-reduced-motion) {
  .search-box-svg-icon {
    transition-property: none
  }
}

@keyframes search-box-icon-rotate {
  0% {
    transform: rotate(0)
  }

  to {
    transform: rotate(359deg)
  }
}

[class*=search-box-btn--icon] .search-box-btn__inner .search-box-btn__label {
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  margin: -1px;
  white-space: nowrap
}

[class*=search-box-btn--icon].search-box-btn--xsmall .search-box-btn__inner {
  padding: 0 .25rem;
  min-height: 2rem
}

[class*=search-box-btn--icon].search-box-btn--xsmall .search-box-btn__inner:after {
  content: "";
  position: absolute;
  inset: -.375rem
}

.search-box-btn {
  position: relative;
  background: none;
  border: 0;
  padding: 0;
  text-align: center;
  display: inline-flex;
  border-radius: 64px;
  cursor: pointer;
  outline: 0;
  vertical-align: top;
  color: var(--foreground);
  text-decoration: none
}

.search-box-btn .search-box-btn__inner {
  box-shadow: var(--box-shadow);
  background: var(--background)
}

.search-box-btn:hover .search-box-btn__inner {
  background: var(--background-hover);
  box-shadow: var(--box-shadow-hover)
}

.search-box-btn:active .search-box-btn__inner {
  background: var(--background-press);
  box-shadow: var(--box-shadow-press)
}

.search-box-btn:hover,
.search-box-btn:active,
.search-box-btn:focus {
  text-decoration: none;
  color: var(--foreground)
}

.search-box-btn .search-box-svg-icon {
  flex-shrink: 0
}

.search-box-btn:disabled {
  cursor: default
}

.search-box-btn:disabled .search-box-btn__inner {
  background-color: var(--disabled-background);
  color: var(--disabled-foreground);
  box-shadow: none
}

.search-box-btn__inner {
  border-radius: 64px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  transition-property: opacity, transform;
  transition-duration: .25s;
  transition-timing-function: cubic-bezier(.4, 0, .4, 1)
}

.search-box-btn:active:not(:disabled) .search-box-btn__inner {
  transform: scale(.97)
}

@media (forced-colors:active) {
  .search-box-btn__inner {
    border: 1px solid transparent
  }

  .search-box-btn:disabled .search-box-btn__inner {
    color: GrayText;
    border-color: GrayText
  }
}

.search-box-btn--icon-tertiary {
  --background: transparent;
  --background-hover: rgb(var(--colour-interactive-secondary-bg-hover, 223, 223, 223));
  --background-press: rgb(var(--colour-interactive-secondary-bg-pressed, 204, 204, 204));
  --disabled-background: transparent;
  --disabled-foreground: rgb(var(--colour-interactive-disabled-1, 204, 204, 204))
}

.search-box-btn--icon-tertiary {
  --foreground: rgb(var(--colour-text-and-icon-1, 17, 17, 17))
}

@keyframes search-box-btn-loader {

  0%,
  to {
    transform: translate(-50%, -160%);
    animation-timing-function: cubic-bezier(.42, 0, 1, 1)
  }

  40% {
    transform: translate(-50%, 20%);
    animation-timing-function: cubic-bezier(0, 0, 0, 1)
  }
}

.search-box-btn--xsmall .search-box-btn__inner:after {
  content: "";
  position: absolute;
  inset: -.375rem
}

.search-box-btn .search-box-svg-icon,
.search-box-btn__label {
  transition-property: opacity, margin-right, margin-left, transform;
  transition-duration: .2s;
  transition-timing-function: cubic-bezier(.4, 0, .4, 1)
}

.search-box-btn:focus-visible,
.search-box-tabs__panel:focus-visible {
  box-shadow: 0 0 0 4px var(--skapa-focus-ring-internal, rgb(var(--colour-neutral-1, 255, 255, 255)));
  outline: 2px solid var(--skapa-focus-ring-external, rgb(var(--colour-neutral-7, 17, 17, 17)));
  outline-offset: 4px;
  transition: outline .2s ease-out, box-shadow .2s ease-out
}

.search-box-search {
  --skapa-search-filled: 0;
  transition: background-color .2s cubic-bezier(.4, 0, .4, 1), border .2s cubic-bezier(.4, 0, .4, 1);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 64px;
  background-color: rgb(var(--colour-neutral-2, 245, 245, 245));
  padding-inline-end: .75rem
}

.search-box-search:focus-within {
  background-color: rgb(var(--colour-neutral-1, 255, 255, 255));
  box-shadow: inset 0 0 0 2px rgb(var(--colour-interactive-emphasised-border-selected, 0, 88, 163))
}

.search-box-search:focus-within .search-box-search__input:-webkit-autofill {
  border: 2px solid rgb(var(--colour-interactive-emphasised-border-selected, 0, 88, 163));
  border-right: 0
}

.search-box-search__input {
  transition: padding .2s cubic-bezier(.4, 0, .4, 1);
  flex-grow: 1;
  margin: 0;
  padding: 0;
  padding-inline-start: calc(3rem - var(--skapa-search-filled)*1.5rem);
  height: 3rem;
  width: calc(100% - 2.5rem);
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  color: rgb(var(--colour-text-and-icon-1, 17, 17, 17));
  background-color: transparent;
  text-overflow: ellipsis;
  box-shadow: 0 0 0 3rem transparent inset;
  border-radius: 0
}

.search-box-search__input::placeholder {
  color: rgb(var(--colour-text-and-icon-2, 72, 72, 72))
}

.search-box-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none
}

.search-box-search__input:-webkit-autofill {
  background-color: transparent;
  font-family: inherit;
  -webkit-text-fill-color: rgb(var(--colour-text-and-icon-1, 17, 17, 17));
  -webkit-box-shadow: 0 0 0 3rem rgb(var(--colour-neutral-2, 245, 245, 245)) inset;
  transition: box-shadow .2s cubic-bezier(.4, 0, .4, 1);
  border-radius: 64px 0 0 64px;
  border: 0
}

.search-box-search__icon {
  color: rgb(var(--colour-text-and-icon-2, 72, 72, 72));
  pointer-events: none;
  position: absolute;
  margin-inline-start: 1rem;
  transition: transform .2s cubic-bezier(.4, 0, .4, 1), opacity .2s cubic-bezier(0, 0, 1, 1);
  transform: scale(calc(1 - var(--skapa-search-filled)));
  opacity: calc(1 - var(--skapa-search-filled));
  z-index: 1
}

.search-box-search__divider {
  transition-property: opacity, width, margin;
  transition-duration: .2s;
  transition-timing-function: cubic-bezier(.4, 0, .4, 1);
  height: 1.5rem;
  background-color: rgb(var(--colour-neutral-3, 223, 223, 223));
  margin-inline: .5rem
}

.search-box-search__divider--hidden {
  opacity: 0;
  width: 0;
  margin: 0
}

.search-box-search__action {
  --skapa-search-action-state: var(--skapa-search-action-override, var(--skapa-search-filled));
  transform: scale(calc(var(--skapa-search-action-state)*1));
  opacity: calc(var(--skapa-search-action-state)*1);
  transition-duration: .2s;
  transition-property: max-width, transform, opacity;
  transition-timing-function: cubic-bezier(.4, 0, .4, 1)
}

.search-box-search__actions {
  --skapa-search-action-override: calc(1 - var(--skapa-search-filled));
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  overflow: visible;
  justify-content: flex-end;
  max-width: calc(var(--skapa-search-action-override)*8rem);
  transition: max-width .2s cubic-bezier(.4, 0, .4, 1);
  transition-property: max-width, margin;
  transition-timing-function: var(--skapa-search-actions-timing-function, step-end), cubic-bezier(.4, 0, .4, 1);
  margin-inline-start: calc(1*(3rem + .0625rem)*var(--skapa-search-filled));
  margin-inline-end: calc(-1*(3rem + .0625rem)*var(--skapa-search-filled))
}

.search-box-search__actions>.search-box-search__action {
  max-width: 2rem
}

.search-box-search__actions>.search-box-search__action:not(:first-child) {
  margin-inline-start: 1rem
}

@media (forced-colors:active) {
  .search-box-search {
    border: solid 1px
  }
}

.search-box-search .search-box-search__scope:focus-visible,
.search-box-search .search-box-btn:focus-visible {
  box-shadow: 0 0 0 1px rgb(var(--colour-neutral-1, 255, 255, 255));
  outline: 2px solid rgb(var(--colour-neutral-7, 17, 17, 17));
  outline-offset: 1px
}

.search-box-search .search-box-search__input:focus-visible {
  outline: 0
}

.search-box-search .search-box-search__input:-webkit-autofill:focus-visible {
  box-shadow: 0 0 0 3rem rgb(var(--colour-neutral-1, 255, 255, 255)) inset;
  transition: box-shadow 0ms cubic-bezier(.4, 0, .4, 1);
  caret-color: rgb(var(--colour-text-and-icon-1, 17, 17, 17))
}

*[class*=search-box-typography-] {
  font-size: calc(1rem*var(--skapa-base-multiplier, 1)*var(--skapa-font-size, 14)/16);
  font-weight: clamp(400, var(--skapa-font-weight, 400), 700);
  line-height: var(--skapa-typography-line-height, 1.5);
  --skapa-letter-spacing-multiplier-for-font-weight: calc(var(--skapa-font-weight, 400)/800 - .125);
  letter-spacing: calc(var(--skapa-characterset-multiplier, 1)*var(--skapa-letter-spacing-multiplier-for-font-weight, .375)*(var(--skapa-base-multiplier, 1)*.875rem - 1em)/(.875*var(--skapa-rem, 16)))
}

.search-box-typography-label-s {
  --skapa-font-weight: 700;
  --skapa-typography-line-height: 1.25;
  --skapa-font-size: var(--skapa-label-s, 12)
}

.search-box-typography-label-l {
  --skapa-typography-line-height: 1.25;
  --skapa-font-size: var(--skapa-label-l, 16)
}

.search-box-typography-regular {
  --skapa-font-weight: 400
}

*:is(.search-box-typography-character-set-arabic, .search-box-typography-character-set-chinese_simplified, .search-box-typography-character-set-chinese_traditional, .search-box-typography-character-set-hebrew, .search-box-typography-character-set-japanese, .search-box-typography-character-set-korean) {
  --skapa-characterset-multiplier: 0
}

.search-box-container {
  position: relative
}

.search-box-container:has(+.search-box-overlay) {
  z-index: 5004;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: .5rem .75rem 0
}

@media (min-width:37.5em) {
  .search-box-container:has(+.search-box-overlay) {
    padding-right: 1.5rem;
    padding-left: 1.5rem
  }
}

@media (min-width:56.25em) {
  .search-box-container:has(+.search-box-overlay) {
    position: relative;
    padding: 0
  }
}

@keyframes slideDown {
  from {
    transform: translateY(0)
  }

  to {
    transform: translateY(100%)
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%)
  }

  to {
    transform: translateY(0)
  }
}

@keyframes slideToLeft {
  from {
    transform: translateX(100%)
  }

  to {
    transform: translateX(0)
  }
}

@keyframes slideToRight {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(100%)
  }
}

@-webkit-keyframes loading-bounce {
  0% {
    transform: translateY(0);
    -webkit-animation-timing-function: cubic-bezier(0.42, 0, 1, 1);
    animation-timing-function: cubic-bezier(0.42, 0, 1, 1)
  }

  40% {
    transform: translateY(1.875rem) scaleY(1);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in
  }

  50% {
    transform: translateY(1.875rem) scaleY(0.75);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out
  }

  60% {
    transform: translateY(1.875rem) scaleY(1);
    -webkit-animation-timing-function: cubic-bezier(0, 0, 0, 1);
    animation-timing-function: cubic-bezier(0, 0, 0, 1)
  }

  100% {
    transform: translateY(0)
  }
}

@keyframes loading-bounce {
  0% {
    transform: translateY(0);
    -webkit-animation-timing-function: cubic-bezier(0.42, 0, 1, 1);
    animation-timing-function: cubic-bezier(0.42, 0, 1, 1)
  }

  40% {
    transform: translateY(1.875rem) scaleY(1);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in
  }

  50% {
    transform: translateY(1.875rem) scaleY(0.75);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out
  }

  60% {
    transform: translateY(1.875rem) scaleY(1);
    -webkit-animation-timing-function: cubic-bezier(0, 0, 0, 1);
    animation-timing-function: cubic-bezier(0, 0, 0, 1)
  }

  100% {
    transform: translateY(0)
  }
}

@keyframes icon-rotate {
  0% {
    transform: rotate(0)
  }

  to {
    transform: rotate(359deg)
  }
}

@keyframes modal-delayed-fade-in {
  0% {
    opacity: 0
  }

  50% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@keyframes rec-modalSlideToLeft {
  from {
    transform: translateX(100%)
  }

  to {
    transform: translateX(0)
  }
}

@keyframes rec-modalSlideToRight {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(100%)
  }
}

@keyframes rec-modalSlideFromLeft {
  from {
    transform: translateX(-100%)
  }

  to {
    transform: translateX(0)
  }
}

@keyframes rec-modalSlideFromRight {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-100%)
  }
}

@keyframes rec-modalSlideDown {
  from {
    transform: translateY(0)
  }

  to {
    transform: translateY(100%)
  }
}

@keyframes rec-modalSlideUp {
  from {
    transform: translateY(100%)
  }

  to {
    transform: translateY(0)
  }
}

@keyframes rec-modalEnter {
  from {
    clip-path: inset(50%)
  }

  to {
    clip-path: inset(0%)
  }
}

@keyframes rec-modalClose {
  from {
    clip-path: inset(0%)
  }

  to {
    clip-path: inset(50%)
  }
}

@keyframes rec-modalContentEnter {
  from {
    transform: scale(0.8);
    opacity: 0;
    transform-origin: center center
  }

  to {
    transform: scale(1);
    opacity: 1;
    transform-origin: center center
  }
}

@keyframes rec-modalContentClose {
  from {
    transform: scale(1);
    opacity: 1;
    transform-origin: center center
  }

  to {
    transform: scale(0.8);
    opacity: 0;
    transform-origin: center center
  }
}

@keyframes rec-modalBackdropEnter {
  0% {
    visibility: hidden
  }

  1% {
    visibility: visible
  }
}

@keyframes rec-modalBackdropClose {

  0%,
  99% {
    visibility: visible
  }

  100% {
    visibility: hidden
  }
}

.rec-modal-wrapper {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 400;
  pointer-events: none;
  transition: visibility cubic-bezier(0, 0, 1, 1) 200ms;
  color: rgb(var(--colour-text-and-icon-2, 72, 72, 72))
}

.rec-modal-wrapper__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity cubic-bezier(0, 0, 1, 1) 200ms;
  pointer-events: none;
  visibility: hidden
}

.rec-modal-wrapper__backdrop--dark {
  background: rgba(var(--colour-static-black, 17, 17, 17), 0.4)
}

.rec-modal-wrapper--close>.rec-modal-wrapper__backdrop {
  animation: rec-modalBackdropClose 200ms
}

@media (prefers-reduced-motion) {
  .rec-modal-wrapper {
    transition: none
  }

  .rec-modal-wrapper__backdrop {
    animation-duration: 0s;
    transition-duration: 0s;
    transition: none
  }
}

@keyframes rec-icon-rotate {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(359deg)
  }
}

@keyframes rec-icon-rotate {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(359deg)
  }
}

@keyframes rec-btn-loader {

  0%,
  100% {
    transform: translate(-50%, -160%);
    animation-timing-function: cubic-bezier(0.42, 0, 1, 1)
  }

  40% {
    transform: translate(-50%, 20%);
    animation-timing-function: cubic-bezier(0, 0, 0, 1)
  }
}

@keyframes rec-shine {
  to {
    background-position: 0 100%
  }
}

@keyframes rec-icon-rotate {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(359deg)
  }
}

@keyframes rec-btn-loader {

  0%,
  100% {
    transform: translate(-50%, -160%);
    animation-timing-function: cubic-bezier(0.42, 0, 1, 1)
  }

  40% {
    transform: translate(-50%, 20%);
    animation-timing-function: cubic-bezier(0, 0, 0, 1)
  }
}

@keyframes rec-btn-loader {

  0%,
  100% {
    transform: translate(-50%, -160%);
    animation-timing-function: cubic-bezier(0.42, 0, 1, 1)
  }

  40% {
    transform: translate(-50%, 20%);
    animation-timing-function: cubic-bezier(0, 0, 0, 1)
  }
}

@keyframes rec-icon-rotate {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(359deg)
  }
}

@keyframes rec-btn-loader {

  0%,
  100% {
    transform: translate(-50%, -160%);
    animation-timing-function: cubic-bezier(0.42, 0, 1, 1)
  }

  40% {
    transform: translate(-50%, 20%);
    animation-timing-function: cubic-bezier(0, 0, 0, 1)
  }
}

:focus:not(:focus-visible) {
  outline: none
}

a[class*=rec-]:focus-visible,
button[class*=rec-]:focus-visible,
[role=button][class*=rec-]:focus-visible {
  box-shadow: 0 0 0 4px rgb(255, 255, 255);
  box-shadow: 0 0 0 4px var(--skapa-focus-ring-internal, rgb(var(--colour-neutral-1, 255, 255, 255)));
  outline: 2px solid rgb(17, 17, 17);
  outline: 2px solid var(--skapa-focus-ring-external, rgb(var(--colour-neutral-7, 17, 17, 17)));
  outline-offset: 4px;
  transition: outline 200ms ease-out, box-shadow 200ms ease-out
}

@keyframes fade-in-keyframe {
  0% {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes modal-delayed-fade-in {
  0% {
    opacity: 0
  }

  50% {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes search-box-modalSlideToLeft {
  0% {
    transform: translate(100%)
  }

  to {
    transform: translate(0)
  }
}

@keyframes search-box-modalSlideToRight {
  0% {
    transform: translate(0)
  }

  to {
    transform: translate(100%)
  }
}

@keyframes search-box-modalSlideFromLeft {
  0% {
    transform: translate(-100%)
  }

  to {
    transform: translate(0)
  }
}

@keyframes search-box-modalSlideFromRight {
  0% {
    transform: translate(0)
  }

  to {
    transform: translate(-100%)
  }
}

@keyframes search-box-modalSlideDown {
  0% {
    transform: translateY(0)
  }

  to {
    transform: translateY(100%)
  }
}

@keyframes search-box-modalSlideUp {
  0% {
    transform: translateY(100%)
  }

  to {
    transform: translateY(0)
  }
}

@keyframes search-box-modalEnter {
  0% {
    clip-path: inset(50%)
  }

  to {
    clip-path: inset(0%)
  }
}

@keyframes search-box-modalClose {
  0% {
    clip-path: inset(0%)
  }

  to {
    clip-path: inset(50%)
  }
}

@keyframes search-box-modalContentEnter {
  0% {
    transform: scale(.8);
    opacity: 0;
    transform-origin: center center
  }

  to {
    transform: scale(1);
    opacity: 1;
    transform-origin: center center
  }
}

@keyframes search-box-modalContentClose {
  0% {
    transform: scale(1);
    opacity: 1;
    transform-origin: center center
  }

  to {
    transform: scale(.8);
    opacity: 0;
    transform-origin: center center
  }
}

@keyframes search-box-modalBackdropEnter {
  0% {
    visibility: hidden
  }

  1% {
    visibility: visible
  }
}

@keyframes search-box-modalBackdropClose {

  0%,
  99% {
    visibility: visible
  }

  to {
    visibility: hidden
  }
}
