/* /Components/Gallery/PhotoSlideshow.razor.rz.scp.css */
/* Mobile carousel */
.photo-carousel-track[b-k0bggjag3o] {
  display: flex;
  height: 100%;
  width: 300%;
  will-change: transform;
}

.photo-carousel-slide[b-k0bggjag3o] {
  flex: 0 0 33.333%;
  height: 100%;
}

/* Touch-primary: pass swipes through side nav zones to the carousel underneath */
@media (hover: none) and (pointer: coarse) {
  .slideshow-nav-pass-through[b-k0bggjag3o] {
    pointer-events: none;
  }
}

/* Desktop crossfade overlays */
.photo-slide-in-next[b-k0bggjag3o] {
  animation: slideshow-slide-in-from-right-b-k0bggjag3o 300ms ease-out forwards;
}

.photo-slide-in-prev[b-k0bggjag3o] {
  animation: slideshow-slide-in-from-left-b-k0bggjag3o 300ms ease-out forwards;
}

.photo-slide-out-next[b-k0bggjag3o] {
  animation: slideshow-slide-out-to-left-b-k0bggjag3o 300ms ease-out forwards;
}

.photo-slide-out-prev[b-k0bggjag3o] {
  animation: slideshow-slide-out-to-right-b-k0bggjag3o 300ms ease-out forwards;
}

@keyframes slideshow-slide-in-from-right-b-k0bggjag3o {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes slideshow-slide-in-from-left-b-k0bggjag3o {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes slideshow-slide-out-to-left-b-k0bggjag3o {
  from {
    transform: translateX(0);
  }

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

@keyframes slideshow-slide-out-to-right-b-k0bggjag3o {
  from {
    transform: translateX(0);
  }

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

@media (min-width: 768px) {
  .photo-slide-in-next[b-k0bggjag3o],
  .photo-slide-in-prev[b-k0bggjag3o] {
    z-index: 1;
    animation: slideshow-fade-in-b-k0bggjag3o 200ms ease-out forwards;
  }

  .photo-slide-out-next[b-k0bggjag3o],
  .photo-slide-out-prev[b-k0bggjag3o] {
    animation: slideshow-fade-out-b-k0bggjag3o 200ms ease-out forwards;
  }
}

@keyframes slideshow-fade-in-b-k0bggjag3o {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideshow-fade-out-b-k0bggjag3o {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-slide-in-next[b-k0bggjag3o],
  .photo-slide-in-prev[b-k0bggjag3o],
  .photo-slide-out-next[b-k0bggjag3o],
  .photo-slide-out-prev[b-k0bggjag3o] {
    animation-duration: 1ms;
  }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-4onwbtgjg3],
.components-reconnect-repeated-attempt-visible[b-4onwbtgjg3],
.components-reconnect-failed-visible[b-4onwbtgjg3],
.components-pause-visible[b-4onwbtgjg3],
.components-resume-failed-visible[b-4onwbtgjg3],
.components-rejoining-animation[b-4onwbtgjg3],
.components-reconnect-toast[b-4onwbtgjg3],
.components-reconnect-actions[b-4onwbtgjg3] {
  display: none;
}

#components-reconnect-modal[b-4onwbtgjg3] {
  display: none;
  visibility: hidden;
  position: fixed;
  bottom: 1rem;
  left: 50%;
  z-index: 10001;
  max-width: calc(100vw - 2rem);
  transform: translateX(-50%);
  border: 1px solid var(--color-border, #3a3a36);
  border-radius: var(--radius-ui, 0.375rem);
  background-color: var(--color-surface-raised, #30302e);
  color: var(--color-text, #eceae6);
  box-shadow: var(--shadow-raised, 0 1px 5px rgb(0 0 0 / 0.25));
  pointer-events: none;
  transition: visibility 0s linear 1500ms;
}

#components-reconnect-modal.components-reconnect-retrying[b-4onwbtgjg3] {
  display: block;
  visibility: visible;
  pointer-events: none;
}

#components-reconnect-modal.components-reconnect-failed[b-4onwbtgjg3],
#components-reconnect-modal.components-reconnect-paused[b-4onwbtgjg3],
#components-reconnect-modal.components-reconnect-resume-failed[b-4onwbtgjg3] {
  display: block;
  visibility: visible;
  pointer-events: auto;
  transition: none;
}

#components-reconnect-modal.components-reconnect-retrying
  .components-reconnect-toast[b-4onwbtgjg3],
#components-reconnect-modal.components-reconnect-retrying
  .components-reconnect-repeated-attempt-visible[b-4onwbtgjg3],
#components-reconnect-modal.components-reconnect-retrying
  .components-rejoining-animation[b-4onwbtgjg3],
#components-reconnect-modal.components-reconnect-failed
  .components-reconnect-actions[b-4onwbtgjg3],
#components-reconnect-modal.components-reconnect-failed
  .components-reconnect-failed-visible[b-4onwbtgjg3],
#components-reconnect-modal.components-reconnect-paused
  .components-reconnect-actions[b-4onwbtgjg3],
#components-reconnect-modal.components-reconnect-paused
  .components-pause-visible[b-4onwbtgjg3],
#components-reconnect-modal.components-reconnect-resume-failed
  .components-reconnect-actions[b-4onwbtgjg3],
#components-reconnect-modal.components-reconnect-resume-failed
  .components-resume-failed-visible[b-4onwbtgjg3],
#components-reconnect-modal.components-reconnect-resume-failed
  .components-pause-visible.components-resume-failed-visible[b-4onwbtgjg3] {
  display: flex;
}

.components-reconnect-container[b-4onwbtgjg3] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}

.components-reconnect-toast[b-4onwbtgjg3] {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.components-reconnect-actions[b-4onwbtgjg3] {
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

#components-reconnect-modal p[b-4onwbtgjg3] {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: center;
}

.components-reconnect-countdown[b-4onwbtgjg3] {
  color: var(--color-text-muted, #adaba4);
}

#components-reconnect-modal button[b-4onwbtgjg3] {
  border: 0;
  border-radius: var(--radius-ui, 0.375rem);
  background-color: var(--color-accent, #3b82f6);
  color: var(--color-text, #eceae6);
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
  pointer-events: auto;
}

#components-reconnect-modal button:hover[b-4onwbtgjg3] {
  background-color: var(--color-accent-hover, #60a5fa);
}

.components-rejoining-animation[b-4onwbtgjg3] {
  position: relative;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

.components-rejoining-animation div[b-4onwbtgjg3] {
  position: absolute;
  inset: 0;
  border: 2px solid var(--color-accent, #3b82f6);
  border-radius: 50%;
  animation: components-rejoining-animation-b-4onwbtgjg3 1.5s cubic-bezier(0, 0.2, 0.8, 1)
    infinite;
}

.components-rejoining-animation div:nth-child(2)[b-4onwbtgjg3] {
  animation-delay: -0.5s;
}

@keyframes components-rejoining-animation-b-4onwbtgjg3 {
  0% {
    transform: scale(0);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}
