/* InsightRH — Component styles (complement Tailwind CDN) */
[x-cloak] { display: none !important; }

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(to right, #3366ff, #1a44f5);
  color: white;
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: 0 0 40px rgba(51, 102, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(51, 102, 255, 0.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  color: #94a3b8;
  transition: all 0.2s;
}

.btn-ghost:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.input-enterprise {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(21, 28, 50, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.input-enterprise:focus {
  outline: none;
  ring: 2px;
  border-color: rgba(51, 102, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(51, 102, 255, 0.2);
}

.kpi-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

.kpi-card:hover {
  border-color: rgba(51, 102, 255, 0.3);
  box-shadow: 0 0 40px rgba(51, 102, 255, 0.1);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  color: #94a3b8;
  transition: all 0.2s;
}

.sidebar-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-link.active {
  color: white;
  background: rgba(51, 102, 255, 0.15);
  border: 1px solid rgba(51, 102, 255, 0.2);
}

.sidebar-link.locked {
  opacity: 0.55;
  cursor: pointer;
}
.sidebar-link.locked:hover {
  opacity: 0.85;
  color: #fbbf24;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.table-premium thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.table-premium tbody tr {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s;
}

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

.table-premium tbody td {
  padding: 1rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.gradient-text {
  background: linear-gradient(to right, #5990ff, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tab-active {
  color: #5990ff;
  border-bottom: 2px solid #5990ff;
}

.animate-slide-up {
  animation: slideUp 0.4s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.scrollbar-thin::-webkit-scrollbar { width: 6px; height: 6px; }
.scrollbar-thin::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 9999px; }

.shadow-glow { box-shadow: 0 0 40px rgba(51, 102, 255, 0.15); }
