/* Main Styles - Now powered by Design System
   ============================================ */

/* Import the complete design system */
@import './design-system/index.css';

/* Legacy class aliases for backward compatibility */

/* Legacy btn-pill - now inherits from design system */
.btn-pill {
  /* This class now extends .btn + .btn--primary + .btn--pill from design system */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-semibold);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-all);
  
  /* Pill specific styles */
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: white;
  border: 1px solid var(--color-primary);
  
}

.btn-pill:hover:not(:disabled) {
  background-color: var(--color-primary-hover) !important;
  border-color: var(--color-primary-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-lg) !important;
}

.btn-pill:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

/* Legacy card-hover - now uses design system */
.card-hover {
  /* This extends .card + .card--interactive from design system */
  background-color: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: var(--transition-all);
  cursor: pointer;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-200);
}

/* Project-specific customizations that extend the design system */

/* Enhanced navbar styling using design system tokens */
.navbar-brand {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  color: var(--gray-900);
  font-size: var(--text-3xl);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--color-primary);
}

/* Hero section enhancements */
.hero-title {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--gray-900);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-primary);
}

/* Enhanced flash messages using design system */
.flash-message {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid;
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-4);
  animation: fadeInUp var(--duration-base) ease-out forwards;
}

.flash-message--success {
  background-color: var(--color-success-light);
  border-color: var(--color-success);
  color: var(--color-success-dark);
}

.flash-message--error {
  background-color: var(--color-error-light);
  border-color: var(--color-error);
  color: var(--color-error-dark);
}

.flash-message--warning {
  background-color: var(--color-warning-light);
  border-color: var(--color-warning);
  color: var(--color-warning-dark);
}

.flash-message--info {
  background-color: var(--color-info-light);
  border-color: var(--color-info);
  color: var(--color-info-dark);
}
