/* Custom styles for dark modern key auth site */

/* Animated stars background */
.star {
  position: absolute;
  background-color: #ffffff;
  border-radius: 50%;
  opacity: 0;
  animation: star-blink infinite ease-in-out;
}

@keyframes star-blink {
  0%, 100% {
    opacity: 0.1;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.2);
  }
}

/* Custom subtle glow effects */
.glow-teal {
  box-shadow: 0 0 25px rgba(20, 184, 166, 0.25);
}

.glow-emerald {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #050b14;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0f766e;
}

/* Sidebar Tab Active Styling */
.sidebar-tab-btn {
  color: #94a3b8;
  background-color: transparent;
  transition: all 0.2s ease;
}

.sidebar-tab-btn:hover {
  color: #f8fafc;
  background-color: #162335;
}

.sidebar-tab-btn.active {
  color: #00ffcc;
  background-color: #132438;
  border: 1px solid rgba(20, 184, 166, 0.3);
  box-shadow: 0 0 15px rgba(20, 184, 166, 0.15);
}

/* Table styling */
tbody tr {
  transition: background-color 0.2s ease;
}
tbody tr:hover {
  background-color: #162335;
}

/* Copy Toast animation */
.copy-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f766e;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 9999;
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
