@import url('../contact-dashboard/styles.css');

.filter-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: #1a1f3a;
  border: 1px solid #2d3552;
  color: #9ca3af;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: #3b82f6;
  color: #e4e7eb;
}

.filter-btn.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
}

.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.campaign-card {
  background: #1a1f3a;
  border: 1px solid #2d3552;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.campaign-card:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
}

.campaign-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.campaign-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  flex: 1;
}

.status-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
}

.campaign-subject {
  color: #9ca3af;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.campaign-meta {
  color: #6b7280;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.campaign-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-primary {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #2563eb;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #2d3552;
  color: #9ca3af;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: #3b82f6;
  color: #e4e7eb;
}
