.showcase-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.filter-sidebar {
  position: sticky;
  top: 100px;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Enhanced field selector styling */
.examples-field-selector {
  min-height: 120px;
}

/* Selected field badges (not yet applied) */
.selected-field-badge {
  font-size: 0.8rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.selected-field-badge.bg-info {
  background: linear-gradient(135deg, #17a2b8, #138496) !important;
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

.selected-field-badge.bg-info:hover {
  background: linear-gradient(135deg, #138496, #117a8b) !important;
  transform: translateY(-1px);
}

/* Active field badges (applied filters) */
.selected-field-badge.bg-primary {
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.selected-field-badge.bg-primary:hover {
  background: linear-gradient(135deg, #5a6fd8, #6a4190) !important;
  transform: translateY(-1px);
}

.selected-field-badge .btn-close {
  font-size: 0.6rem;
  opacity: 0.8;
}

.selected-field-badge .btn-close:hover {
  opacity: 1;
}

/* Animation for when badges change from selected to active */
.selected-field-badge.animate-activate {
  animation: activateFilter 0.5s ease-in-out;
}

@keyframes activateFilter {
  0% { 
    background: linear-gradient(135deg, #17a2b8, #138496);
    transform: scale(1);
  }
  50% { 
    transform: scale(1.1);
  }
  100% { 
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scale(1);
  }
}

/* Clickable field badges in cards */
.field-badge {
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.field-badge:hover {
  background-color: var(--primary-color) !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.field-badge:hover::after {
  content: "Click to filter";
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  white-space: nowrap;
  z-index: 1000;
}

/* Filter statistics styling */
.filter-sidebar .bg-light {
  border: 1px solid var(--border-light);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
}

/* Enhanced button styling */
.filter-sidebar .btn {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.filter-sidebar .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  .filter-sidebar {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
  }
  
  .filter-sidebar .bg-light {
    background: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
  }
} 