/* 
 * VallaSys Native CSS 
 * Glassmorphism + Neon Accents (Web Native - No Build Step)
 */

:root {
  /* Colors */
  --valla-dark: #0a0f1c;
  --valla-dark-secondary: #0f172a;
  --valla-accent: #3b82f6;
  --valla-neon: #22d3ee;
  --valla-glow: rgba(37, 99, 235, 0.4);

  /* Gradients */
  --gradient-start: #1e3a8a;
  --gradient-mid: #2563eb;
  --gradient-end: #0ea5e9;

  /* Shadows */
  --shadow-valla: 0 0 20px rgba(37, 99, 235, 0.4);
  --shadow-valla-hover: 0 0 30px rgba(37, 99, 235, 0.6);
  --shadow-neon: 0 0 15px rgba(34, 211, 238, 0.5);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
  background: linear-gradient(135deg, var(--valla-dark) 0%, var(--valla-dark-secondary) 100%);
  color: white;
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Glass Card */
.glass-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(64px);
  -webkit-backdrop-filter: blur(64px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: var(--shadow-glass);
}

.glass-card-hover {
  transition: all 0.3s ease;
}

.glass-card-hover:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-valla-hover);
  transform: translateY(-2px);
}

/* Typography Gradient */
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--valla-neon) 50%, var(--valla-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn-valla {
  position: relative;
  overflow: hidden;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 500;
  color: white;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
  background-size: 200% 200%;
  box-shadow: var(--shadow-valla);
  transition: all 0.3s ease-out;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}

.btn-valla:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-valla-hover);
  animation: gradient-shift 3s ease infinite;
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes pulse-slow {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Status Badges */
.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-success {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-error {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Tables */
.valla-table {
  width: 100%;
  border-collapse: collapse;
}

.valla-table th {
  text-align: left;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.valla-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.valla-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}