/* Lead Crawler - Custom Styles */

body {
  background-color: #f0f2f5;
  font-size: 0.9rem;
}

.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.card {
  border: none;
  border-radius: 10px;
}

.card-header {
  border-radius: 10px 10px 0 0 !important;
}

.table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.table td {
  vertical-align: middle;
}

/* Status Badges */
.badge-status {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 20px;
  font-weight: 600;
}

.status-neu         { background-color: #d6e4f0; color: #1a5276; }
.status-kontaktiert { background-color: #fff3cd; color: #856404; }
.status-interessiert { background-color: #d4edda; color: #155724; }
.status-kein_interesse { background-color: #f8d7da; color: #721c24; }
.status-termin      { background-color: #cce5ff; color: #004085; }
.status-kunde       { background-color: #c3e6cb; color: #155724; }

/* Industry chips */
.chip {
  display: inline-block;
  padding: 3px 10px;
  background: #e9ecef;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  border: 1px solid #dee2e6;
  transition: all 0.15s;
}

.chip:hover {
  background: #0d6efd;
  color: white;
  border-color: #0d6efd;
}

/* Rating stars */
.rating-stars {
  color: #ffc107;
  font-size: 0.8rem;
}

/* Search loading spinner */
#searchBtn.loading {
  pointer-events: none;
  opacity: 0.8;
}

/* Stats cards */
.stat-card {
  border-radius: 12px;
  padding: 1.5rem;
  color: white;
  margin-bottom: 1rem;
}

.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 0.25rem;
}

/* Pagination */
.pagination .page-link {
  font-size: 0.8rem;
}

/* Modal */
.modal-body .detail-label {
  font-weight: 600;
  color: #6c757d;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-body .detail-value {
  font-size: 0.95rem;
}

/* Toast notification */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
}

.lead-row:hover {
  cursor: pointer;
}

@media (max-width: 768px) {
  .table-responsive { font-size: 0.8rem; }
  .navbar .d-flex { gap: 0.5rem !important; }
}
