/* === Helio Finanz Portal — Custom Styles === */
/* Ergänzt Tailwind CSS CDN mit portal-spezifischen Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --hf-primary: #1e3a5f;
  --hf-primary-dark: #142841;
  --hf-primary-light: #dbeafe;
  --hf-accent: #2563eb;
  --hf-accent-light: #eff6ff;
  --hf-success: #16a34a;
  --hf-success-light: #dcfce7;
  --hf-warning: #f59e0b;
  --hf-warning-light: #fef3c7;
  --hf-danger: #ef4444;
  --hf-danger-light: #fef2f2;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Sidebar active item with blue accent */
.nav-item-active {
  background-color: rgba(30, 58, 95, 0.08);
  color: var(--hf-primary);
}
.nav-item-active svg {
  color: var(--hf-primary);
}

/* KPI Cards */
.kpi-card {
  transition: box-shadow 0.2s ease;
}
.kpi-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Kanban Board */
.kanban-board {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}
.kanban-board::-webkit-scrollbar {
  height: 6px;
}
.kanban-board::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}
.kanban-board::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.kanban-column {
  min-width: 220px;
  max-width: 260px;
  flex-shrink: 0;
}
.kanban-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.kanban-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Ampel (Traffic Light) */
.ampel {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.ampel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.ampel-green { background-color: #16a34a; }
.ampel-yellow { background-color: #f59e0b; }
.ampel-red { background-color: #ef4444; }
.ampel-red.pulse {
  animation: pulse-red 2s ease-in-out infinite;
}
@keyframes pulse-red {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Progress Bar */
.progress-bar {
  height: 6px;
  border-radius: 3px;
  background-color: #e5e7eb;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* Timeline / Contact History */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: -8px;
  width: 2px;
  background-color: #e5e7eb;
}
.timeline-item:last-child::before {
  display: none;
}

/* Checklist */
.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.checklist-item:last-child {
  border-bottom: none;
}

/* Step Indicator (Onboarding) */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
}
.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
}
.step-line {
  flex: 1;
  height: 2px;
  background-color: #e5e7eb;
}
.step-line.active {
  background-color: var(--hf-primary);
}

/* Login Page */
.login-bg {
  background: linear-gradient(135deg, var(--hf-primary-dark) 0%, var(--hf-primary) 40%, #2a4a6f 70%, #1a3050 100%);
  min-height: 100vh;
}

/* Tab navigation */
.tab-active {
  border-bottom: 2px solid var(--hf-primary);
  color: var(--hf-primary);
}

/* Print styles */
@media print {
  .no-print { display: none !important; }
}
