/* CRM Custom Styles */

/* Login-Seite Hintergrund-Gradient */
.login-bg {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
}

/* Fokus-Ring für bessere Accessibility */
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Sidebar Hover-Effekt */
.nav-link {
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-link:hover {
  background-color: rgba(37, 99, 235, 0.1);
}
.nav-link.active {
  background-color: rgba(37, 99, 235, 0.15);
  color: #2563eb;
  font-weight: 600;
}

/* Tabellen-Styles */
.table-row:hover {
  background-color: #f9fafb;
}

/* Loading-Spinner */
.spinner {
  border: 3px solid #e5e7eb;
  border-top-color: #2563eb;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Toast-Notifications */
.toast {
  animation: slide-in 0.3s ease-out;
}
@keyframes slide-in {
  from { transform: translateY(-1rem); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
