/* Custom calculator aesthetics and animations */
@keyframes pulse-mic {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.35); opacity: 0.2; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.animate-slide-up {
  animation: slide-up 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pulsing-ring-1 {
  animation: pulse-mic 2s infinite ease-out;
}

.pulsing-ring-2 {
  animation: pulse-mic 2s infinite ease-out 0.6s;
}

/* Calculator Grid Buttons */
.calc-btn {
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.1s, background-color 0.15s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.calc-btn:active {
  transform: scale(0.92);
}

/* Scrollbar refinement */
#historyItemsList::-webkit-scrollbar {
  width: 5px;
}
#historyItemsList::-webkit-scrollbar-thumb {
  background-color: #CBD5E1;
  border-radius: 9999px;
}
#historyItemsList::-webkit-scrollbar-track {
  background: transparent;
}