.mobx-caption-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#slideshow-modal .swiper-container {
  width: 100%;
  height: 100%;
}

#slideshow-modal .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#slideshow-modal .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#slideshow-modal .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
}

#slideshow-modal .swiper-pagination-bullet-active {
  background: #fff;
}

#slideshow-modal .swiper-button-next,
#slideshow-modal .swiper-button-prev {
  color: #fff;
}

#slideshow-modal .swiper-slide .swiper-zoom-container {
  width: 100%;
  height: 100%;
}

@keyframes kenburns {
  0% {
    transform: scale(1.1) translate(0, 0);
  }

  50% {
    transform: scale(1.25) translate(10px, -5px);
  }

  100% {
    transform: scale(1.1) translate(0, 0);
  }
}

.slideshow-image-animation {
  animation: kenburns 20s ease-in-out infinite;
}

.btn-gradient {
  background-image: linear-gradient(to right, #3b82f6 0%, #6366f1 100%);
}

.btn-gradient:hover {
  filter: brightness(1.1);
}

.btn-gradient-secondary {
  background-image: linear-gradient(to right, #8b5cf6, #a855f7);
}

.btn-gradient-secondary:hover {
  filter: brightness(1.1);
}

/* Dialog box */
.swal2-popup {
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  color: #1f2937;
  /* text-gray-800 */
  font-family: 'Inter', sans-serif;
  max-width: 90%;
}

/* Title */
.swal2-title {
  font-size: 1.25rem;
  /* text-xl */
  font-weight: 600;
  /* font-semibold */
  margin-bottom: 0.2rem;
  color: #111827;
  /* text-gray-900 */
  width: 100% !important;
  max-width: none !important;
  min-width: none !important;
}

/* Text content */
.swal2-html-container {
  font-size: 1rem;
  /* text-base */
  color: #374151;
  /* text-gray-700 */
}

/* Action buttons container */
.swal2-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Shared gradient button style */
.swal2-popup .swal2-confirm,
.swal2-popup .swal2-cancel {
  background-image: linear-gradient(to right, #3b82f6 0%, #6366f1 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  /* py-2 px-6 */
  border-radius: 9999px !important;
  /* rounded-full */
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

/* Hover effect */
.swal2-popup .swal2-confirm:hover,
.swal2-popup .swal2-cancel:hover {
  filter: brightness(1.1);
}

/* If you want different color for cancel button */
.swal2-popup .swal2-cancel {
  background-image: linear-gradient(to right, #9ca3af 0%, #6b7280 100%);
  color: #ffffff !important;
}

/* Icon (success, error, warning, etc.) */
.swal2-icon {
  color: #facc15 !important;
  /* yellow-400 */
  border: none !important;
}

/* Input fields */
.swal2-input,
.swal2-textarea {
  border: 1px solid #d1d5db;
  /* gray-300 */
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  width: 100%;
  font-size: 1rem;
  margin-top: 0.75rem;
  box-sizing: border-box;
}

.swal2-input:focus,
.swal2-textarea:focus {
  outline: none;
  border-color: #2563eb;
  /* blue-600 */
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
  /* focus ring */
}

/* Validation message */
.swal2-validation-message {
  color: #dc2626;
  /* red-600 */
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.swal2-popup .swal2-actions button {
  border-radius: 1rem !important;
  /* rounded-md */
}

#aiProcessingOverlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  /* A z-index of 10 is plenty */
  overflow: hidden;
  /* Optional: A subtle background to dim the preview */
  background-color: rgba(0, 10, 20, 0.4);
}

/* --- Scanning Line --- */
.scanner-line {
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, transparent, #00aaff, transparent);
  box-shadow: 0 0 10px #00aaff;
  /* Corrected 'animation' property */
  animation: scan-vertical 3s linear infinite;
}

/* Corrected @keyframes rule */
@keyframes scan-vertical {
  from {
    top: 0;
    transform: translateY(-100%);
    /* Start just above the box */
  }

  to {
    top: 100%;
    transform: translateY(0%);
    /* End just below the box */
  }
}

/* --- Corner Borders (Static, no animation needed) --- */
.corner-border {
  position: absolute;
  width: 25px;
  height: 25px;
  border-style: solid;
  border-color: #00aaff;
}

.corner-border.top-left {
  top: 10px;
  left: 10px;
  border-width: 3px 0 0 3px;
}

.corner-border.top-right {
  top: 10px;
  right: 10px;
  border-width: 3px 3px 0 0;
}

.corner-border.bottom-left {
  bottom: 10px;
  left: 10px;
  border-width: 0 0 3px 3px;
}

.corner-border.bottom-right {
  bottom: 10px;
  right: 10px;
  border-width: 0 3px 3px 0;
}


/* --- Blinking Dots Grid --- */
.dots-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at center, rgba(0, 170, 255, 0.4) 1px, transparent 1.5px);
  background-size: 20px 20px;
  /* Corrected 'animation' property */
  animation: grid-blink 1.5s infinite alternate;
}

/* Corrected @keyframes rule */
@keyframes grid-blink {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.7;
  }
}

.loader {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-20px);
  }

  60% {
    transform: translateY(-10px);
  }
}

.animate-bounce-slow {
  animation: bounce 2s infinite;
}

.password-input-container input {
  height: 4.5rem;
  text-align: center;
  font-size: 2rem;
  border-radius: 0.5rem;
  margin: 0 0.25rem;
  transition: all 0.2s;
}

.password-input-container input[type='tel'] {
  width: 3.5rem;
}

.password-input-container input:focus {
  border-color: #4299e1;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
}

.text-sm.text-top-header {
    display: none;
}

.none {
  display: none;
}

.stacked-faces {
  display: flex;
  cursor: pointer;
}

.stacked-faces img {
  border-radius: 9999px;
  border: 2px solid white;
  object-fit: cover;
}

.stacked-faces.stacked img:not(:first-child) {
  margin-left: -12px;
}

.noUi-horizontal .noUi-tooltip {
  bottom: inherit;
  top: 300%;
}