/* SISTEMA BIGSAUDE - GLOBAL STYLES */

@font-face {
  font-family: "Outfit";
  src: url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;900&display=swap");
}

body {
  scroll-behavior: smooth;
  font-family: "Outfit", sans-serif;
}

/* Custom Selection */
::selection {
  background: #7c3aed;
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Glass UI Elements */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 242, 234, 0.3);
  box-shadow: 0 10px 40px -10px rgba(0, 242, 234, 0.1);
}

/* Input Focus Glow */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
}

/* Tooltip Simulation (Simple) */
[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
  z-index: 100;
}
/* Pulsar Effect */
@keyframes neon-pulse {
  0% {
    box-shadow: 0 0 5px rgba(0, 242, 234, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
  }
  100% {
    box-shadow: 0 0 5px rgba(0, 242, 234, 0.2);
  }
}

.animate-pulse-neon {
  animation: neon-pulse 2s infinite ease-in-out;
}

/* Shimmer/Scanline effect */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Scrollbar refinement */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #7c3aed, #00f2ea);
  border-radius: 10px;
}
