/* Blob gradient colors — used by inline styles in application layout */
:root {
  --blob-1: rgba(37, 99, 235, 0.08);
  --blob-2: rgba(59, 130, 246, 0.06);
  --blob-3: rgba(37, 99, 235, 0.04);
}

[data-theme=dark] {
  --blob-1: rgba(20, 50, 175, 0.22);
  --blob-2: rgba(10, 28, 110, 0.2);
  --blob-3: rgba(30, 64, 175, 0.1);
}

/* ========================
   Animations
   (@keyframes cannot be expressed via @apply)
======================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes menuEnter {
  from { opacity: 0; transform: scale(0.96) translateY(-4px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.65); }
}

.animate-menu-enter { animation: menuEnter 0.18s cubic-bezier(0.16, 1, 0.3, 1) both; }

.animate-in   { animation: fadeInUp 350ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-in-1 { animation: fadeInUp 350ms cubic-bezier(0.16, 1, 0.3, 1) 0.05s both; }
.animate-in-2 { animation: fadeInUp 350ms cubic-bezier(0.16, 1, 0.3, 1) 0.10s both; }
.animate-in-3 { animation: fadeInUp 350ms cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
.animate-in-4 { animation: fadeInUp 350ms cubic-bezier(0.16, 1, 0.3, 1) 0.20s both; }

.stagger > *:nth-child(1) { animation: fadeInUp 350ms cubic-bezier(0.16, 1, 0.3, 1) 0.00s both; }
.stagger > *:nth-child(2) { animation: fadeInUp 350ms cubic-bezier(0.16, 1, 0.3, 1) 0.05s both; }
.stagger > *:nth-child(3) { animation: fadeInUp 350ms cubic-bezier(0.16, 1, 0.3, 1) 0.10s both; }
.stagger > *:nth-child(4) { animation: fadeInUp 350ms cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
.stagger > *:nth-child(5) { animation: fadeInUp 350ms cubic-bezier(0.16, 1, 0.3, 1) 0.20s both; }
.stagger > *:nth-child(6) { animation: fadeInUp 350ms cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
.stagger > *:nth-child(7) { animation: fadeInUp 350ms cubic-bezier(0.16, 1, 0.3, 1) 0.30s both; }
.stagger > *:nth-child(8) { animation: fadeInUp 350ms cubic-bezier(0.16, 1, 0.3, 1) 0.35s both; }

/* ========================
   Processing pulse (import batch status indicator)
======================== */
.badge-processing::before {
  content: '';
  display: inline-block;
  width: 0.42rem; height: 0.42rem;
  border-radius: 50%;
  background: currentColor;
  animation: pulseDot 1.4s ease-in-out infinite;
}

.processing-pulse {
  animation: pulseDot 2.2s ease-in-out infinite;
}

/* ========================
   Scrollbar
======================== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgb(148 163 184 / 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgb(148 163 184 / 0.5); }

/* ========================
   Bulk select
======================== */
[data-bulk-col] { display: table-cell; }

/* ========================
   Brand Logo Animations
======================== */
@keyframes logoIn {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-25deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.animate-logo-in {
  animation: logoIn 450ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.facet {
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: 16px 14px;
}

.nav-brand:hover .facet-a {
  transform: translate(-1.5px, -1.5px) scale(1.04);
}
.nav-brand:hover .facet-b {
  transform: translate(1.5px, -1.5px) scale(1.04);
}
.nav-brand:hover .facet-c {
  transform: translate(-1.5px, 1.5px) scale(1.04);
}
.nav-brand:hover .facet-d {
  transform: translate(1.5px, 1.5px) scale(1.04);
}

/* Real-time responsive facet translation during load */
.navbar-loading .facet {
  transition: transform 100ms linear !important;
}

.navbar-loader-container {
  transition: opacity 0.2s ease;
}

#right-half {
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: 16px 14px;
}

.navbar-loading #right-half {
  transition: transform 100ms linear !important;
}

.turbo-progress-bar {
  display: none !important;
}

