/* Custom Stylesheet for Flash Market Admin Console — Thème clair */

body {
  font-family: 'Outfit', sans-serif;
  background-color: #f8fafc;
  background-image:
    radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.04) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(5, 150, 105, 0.04) 0px, transparent 50%);
}

/* Cartes (fond blanc, ombre légère) */
.glass-card {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
}

/* Sidebar navigation item states */
.nav-item {
  color: #4b5563;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #111827;
  padding-left: 1.25rem;
}

.nav-item.active {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
  color: #059669;
}

/* Tables scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.02);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.4);
}

/* Inputs animations */
input:focus {
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.5);
}

/* Transitions */
#auth-container, #app-container {
  will-change: opacity;
}

/* Loader animations */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

.pulse-glow {
  animation: pulseGlow 2s infinite ease-in-out;
}
