.auth-signin-page .auth-fade-in,
.auth-signup-page .auth-fade-in {
  animation: auth-fade-in 1s ease-out forwards;
}

.auth-signin-page .auth-signin-float {
  animation: auth-signin-float 4s ease-in-out infinite;
}

.auth-signin-page .auth-signin-stream-enter {
  animation: auth-signin-stream-enter 4s infinite;
}

.auth-signin-page .auth-signin-stream-exit {
  animation: auth-signin-stream-exit 4s infinite;
}

.auth-signup-page .auth-signup-perspective {
  perspective: 1200px;
}

.auth-signup-page .auth-signup-float-slow {
  animation: auth-signup-float-slow 8s ease-in-out infinite;
}

.auth-signup-page .auth-signup-float-main {
  animation: auth-signup-float-main 6s ease-in-out infinite;
}

.auth-signup-page .auth-signup-float-slow-delay {
  animation: auth-signup-float-slow 8s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes auth-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes auth-signin-float {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

@keyframes auth-signin-stream-enter {
  0% {
    transform: translateY(-40px);
    opacity: 0;
    scale: 0.8;
  }
  20% {
    opacity: 1;
    scale: 1;
  }
  45% {
    transform: translateY(60px);
    opacity: 0;
    scale: 0.5;
  }
  100% {
    transform: translateY(60px);
    opacity: 0;
  }
}

@keyframes auth-signin-stream-exit {
  0%,
  45% {
    transform: translateY(-60px);
    opacity: 0;
    scale: 0.5;
  }
  70% {
    transform: translateY(40px);
    opacity: 1;
    scale: 1;
  }
  100% {
    transform: translateY(60px);
    opacity: 0;
    scale: 0.8;
  }
}

@keyframes auth-signup-float-slow {
  0%,
  100% {
    transform: translate(var(--tw-translate-x), 0) rotate(var(--tw-rotate));
  }
  50% {
    transform: translate(var(--tw-translate-x), -10px)
      rotate(calc(var(--tw-rotate) + 2deg));
  }
}

@keyframes auth-signup-float-main {
  0%,
  100% {
    transform: translateY(0) scale(1) rotate(0);
  }
  50% {
    transform: translateY(-20px) scale(1.05) rotate(1deg);
  }
}

/* Clean Version Table Design - Reusable Table Styles */
.clean-version-table {
  position: relative;
  overflow: hidden;
}

.clean-version-table::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(14, 165, 233, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(59, 130, 246, 0.08),
      transparent 28%
    );
  pointer-events: none;
}

.clean-version-table .table-wrap {
  position: relative;
  z-index: 1;
}

.clean-version-table #example,
.clean-version-table #credits_transactions_table,
.clean-version-table table.dataTable {
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}

.clean-version-table #example thead th,
.clean-version-table table.dataTable thead th {
  background: transparent !important;
  border: 0 !important;
  color: #64748b !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 1rem 0.8rem !important;
  white-space: nowrap;
}

.clean-version-table #credits_transactions_table thead,
.dark .clean-version-table #credits_transactions_table thead,
.clean-version-table #credits_transactions_table thead tr,
.dark .clean-version-table #credits_transactions_table thead tr {
  background: linear-gradient(to right, #0ea5e9, #2563eb) !important;
}

.clean-version-table #credits_transactions_table thead th {
  background: transparent !important;
  border: 0 !important;
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  padding: 0.75rem 1rem !important;
  white-space: nowrap;
}

.clean-version-table #example thead th:hover,
.clean-version-table #example thead th.sorting:hover,
.clean-version-table #example thead th.sorting_asc:hover,
.clean-version-table #example thead th.sorting_desc:hover,
.clean-version-table #example thead th.sorting_asc_disabled:hover,
.clean-version-table #example thead th.sorting_desc_disabled:hover,
.clean-version-table #credits_transactions_table thead th:hover,
.clean-version-table table.dataTable thead th:hover,
.clean-version-table table.dataTable thead th.sorting:hover,
.clean-version-table table.dataTable thead th.sorting_asc:hover,
.clean-version-table table.dataTable thead th.sorting_desc:hover,
.clean-version-table table.dataTable thead th.sorting_asc_disabled:hover,
.clean-version-table table.dataTable thead th.sorting_desc_disabled:hover {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.clean-version-table #credits_transactions_table thead th:hover {
  background: transparent !important;
  color: #ffffff !important;
}

.clean-version-table #example tbody tr,
.clean-version-table #credits_transactions_table tbody tr,
.clean-version-table table.dataTable tbody tr {
  background: transparent;
  box-shadow: none;
  transition: background-color 0.2s ease;
}

.clean-version-table #example tbody tr:hover,
.clean-version-table #credits_transactions_table tbody tr:hover,
.clean-version-table table.dataTable tbody tr:hover {
  background: rgba(248, 250, 252, 0.85);
}

.clean-version-table #example tbody td,
.clean-version-table #credits_transactions_table tbody td,
.clean-version-table table.dataTable tbody td {
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  padding: 1.05rem 1rem !important;
  color: #0f172a;
  vertical-align: top;
}

.clean-version-table #example tbody tr:last-child td,
.clean-version-table #credits_transactions_table tbody tr:last-child td,
.clean-version-table table.dataTable tbody tr:last-child td {
  border-bottom: 0;
}

.dark .clean-version-table #example tbody tr,
.dark .clean-version-table #credits_transactions_table tbody tr,
.dark .clean-version-table table.dataTable tbody tr {
  background: transparent;
  box-shadow: none;
}

.dark .clean-version-table #example tbody tr:hover,
.dark .clean-version-table #credits_transactions_table tbody tr:hover,
.dark .clean-version-table table.dataTable tbody tr:hover {
  background: rgba(30, 41, 59, 0.45);
}

.dark .clean-version-table #example tbody td,
.dark .clean-version-table #credits_transactions_table tbody td,
.dark .clean-version-table table.dataTable tbody td {
  color: #e2e8f0;
  border-bottom-color: rgba(51, 65, 85, 0.9);
}

.clean-version-table .dataTables_wrapper .dataTables_filter,
.clean-version-table .dataTables_wrapper .dataTables_length {
  margin-bottom: 1rem;
}

.clean-version-table .dataTables_wrapper .dataTables_filter label,
.clean-version-table .dataTables_wrapper .dataTables_length label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #64748b;
  font-weight: 600;
}

.clean-version-table .dataTables_wrapper .dataTables_filter input,
.clean-version-table .dataTables_wrapper .dataTables_length select {
  min-height: 42px;
  border-radius: 0.9rem;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: rgba(248, 250, 252, 0.96);
  padding: 0.55rem 0.85rem;
  outline: none;
  transition: all 0.2s ease;
}

.clean-version-table .dataTables_wrapper .dataTables_filter input:focus,
.clean-version-table .dataTables_wrapper .dataTables_length select:focus {
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.dark .clean-version-table .dataTables_wrapper .dataTables_filter label,
.dark .clean-version-table .dataTables_wrapper .dataTables_length label {
  color: #94a3b8;
}

.dark .clean-version-table .dataTables_wrapper .dataTables_filter input,
.dark .clean-version-table .dataTables_wrapper .dataTables_length select {
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.82);
  border-color: rgba(100, 116, 139, 0.35);
}

/* Landing v2 animations */
.landing-dot-pulse {
  animation: landing-dot-pulse 1.8s ease-in-out infinite;
}

.landing-float-card {
  animation: landing-float-card 6s ease-in-out infinite;
}

.landing-float-chip {
  animation: landing-float-chip 4.5s ease-in-out infinite;
}

.landing-slide-row {
  animation: landing-slide-row 5s ease-in-out infinite;
}

.landing-slide-row.delay-1 {
  animation-delay: 0.6s;
}

.landing-slide-row.delay-2 {
  animation-delay: 1.2s;
}

@keyframes landing-dot-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

@keyframes landing-float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes landing-float-chip {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes landing-slide-row {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

/* Landing preloader */
.landing-preloader {
  animation: landing-preloader-fade 0.25s ease;
}

.landing-preloader-glow {
  animation: landing-preloader-glow 2.4s ease-in-out infinite;
}

.landing-preloader-spinner {
  animation: landing-preloader-float 2s ease-in-out infinite;
}

.landing-preloader-ring {
  animation: landing-preloader-spin 1.2s linear infinite;
}

.landing-preloader-ring-delay {
  animation: landing-preloader-spin-reverse 1.6s linear infinite;
}

@keyframes landing-preloader-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes landing-preloader-glow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes landing-preloader-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes landing-preloader-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes landing-preloader-spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}
