/* Greeting Tooltip Styles */
.greeting-tooltip {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  background: var(--bg-accent);
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.greeting-tooltip.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.greeting-tooltip::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(255, 255, 255, 0.2);
}

.greeting-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(255, 255, 255, 0.1);
}

/* Light theme adjustments */
@media (prefers-color-scheme: light) {
  .greeting-tooltip {
    background: var(--bg-accent);
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .greeting-tooltip::before {
    border-top: 8px solid var(--bg-accent);
  }
  
  .greeting-tooltip::after {
    border-top: 6px solid var(--bg-accent);
  }
}

/* Animation keyframes */
@keyframes greetingPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.greeting-tooltip.pulse {
  animation: greetingPulse 0.3s ease-in-out;
}
