/* Custom styles for Cash Flow Forecasting App */

.tab-btn.active {
  @apply border-blue-500 text-blue-600;
}

.tab-btn {
  @apply border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 transition-colors;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Stat card animations */
.stat-card {
  transition: transform 0.2s ease-in-out;
}

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

/* Loading spinner */
.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Alert styles */
.alert {
  border-left: 4px solid;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.375rem;
}

.alert-info {
  background-color: #dbeafe;
  border-color: #3b82f6;
  color: #1e40af;
}

.alert-success {
  background-color: #d1fae5;
  border-color: #10b981;
  color: #065f46;
}

.alert-warning {
  background-color: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
}

.alert-error {
  background-color: #fee2e2;
  border-color: #ef4444;
  color: #991b1b;
}
