/* Custom Tailwind Styles */

/* Smooth transitions */
* {
  @apply transition-all duration-200;
}

/* Card hover effects */
.portfolio-card {
  @apply bg-white rounded-lg shadow hover:shadow-lg cursor-pointer;
}

/* Input focus styles */
input:focus,
select:focus {
  @apply ring-offset-2;
}

/* Animation for loading */
@keyframes pulse-custom {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse-custom {
  animation: pulse-custom 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Gradient background */
.bg-gradient-premium {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Stats badge */
.stat-badge {
  @apply inline-block px-3 py-1 rounded-full text-sm font-semibold;
}

.stat-positive {
  @apply bg-green-100 text-green-800;
}

.stat-negative {
  @apply bg-red-100 text-red-800;
}

.stat-neutral {
  @apply bg-slate-100 text-slate-800;
}

/* Modal animations */
#portfolioModal,
#portfolioDetailModal {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .portfolio-card {
    @apply p-4;
  }
}
