/* MoneyFlow Mirror - Emotional Finance Styles */

/* Custom animations */
@keyframes pulse-success {
  0% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(52, 168, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0); }
}

@keyframes pulse-expense {
  0% { box-shadow: 0 0 0 0 rgba(234, 67, 53, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(234, 67, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 67, 53, 0); }
}

/* Interactive elements */
.interactive {
  transition: all 200ms ease-out;
}

.interactive:hover {
  transform: translateY(-2px);
}

/* Success feedback */
.success-pulse {
  animation: pulse-success 600ms ease-out;
}

.expense-pulse {
  animation: pulse-expense 600ms ease-out;
}

/* Financial number styling */
.financial-amount {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* Form focus states */
.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #4285f4;
  border-color: #4285f4;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Utility classes for financial context */
.balance-positive {
  color: #34a853;
}

.balance-negative {
  color: #ea4335;
}

.balance-neutral {
  color: #4285f4;
}

/* Card hover effects */
.card-hover {
  transition: all 200ms ease-out;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Loading states */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}