/* GoIP Fleet Ops Custom Styles */

@layer utilities {
  .glass-card {
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(51, 65, 85, 0.6);
  }
  .glass-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #090d16;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Tooltip container */
.has-tooltip {
  position: relative;
}
.tooltip {
  visibility: hidden;
  position: absolute;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
  pointer-events: none;
}
.has-tooltip:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Pulse badge */
@keyframes subtle-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.96); }
}
.animate-subtle-pulse {
  animation: subtle-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Call in progress ping */
@keyframes call-ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
.animate-call-ping {
  animation: call-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
