/* azero Automatisierungs Hub – Ergänzungen zu Tailwind */

:root {
  --azero-darker: #020617;
  --azero-dark: #0a0a0a;
  --azero-card: #0f172a;
  --azero-border: rgba(255, 255, 255, 0.08);
  --azero-green: #75c193;
  --azero-blue: #15779b;
  --azero-button: #4471b5;
  --azero-text-dim: rgba(255, 255, 255, 0.7);
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--azero-darker);
  color: #e2e8f0;
}

/* Hero pattern */
.hero-pattern {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(117, 193, 147, 0.08), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(21, 119, 155, 0.1), transparent 45%),
    linear-gradient(180deg, #020617 0%, #0a1123 100%);
}

/* Grid dot pattern */
.dot-pattern {
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Provider card */
.provider-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--azero-border);
  transition: all 0.25s ease;
}
.provider-card:hover {
  border-color: rgba(117, 193, 147, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(117, 193, 147, 0.15);
}

/* Logo placeholder */
.logo-placeholder {
  background: linear-gradient(135deg, rgba(117,193,147,0.15), rgba(21,119,155,0.15));
  color: #75c193;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}

/* Badge styles */
.badge { display:inline-flex; align-items:center; gap:0.25rem; font-size:0.7rem; padding: 0.15rem 0.5rem; border-radius:9999px; font-weight:500; }
.badge-verified { background: rgba(117,193,147,0.12); color: #75c193; border: 1px solid rgba(117,193,147,0.3); }
.badge-featured { background: rgba(68,113,181,0.15); color: #93c5fd; border: 1px solid rgba(68,113,181,0.35); }
.badge-tag { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.75); border:1px solid rgba(255,255,255,0.1); }

/* Category pill */
.cat-pill {
  background: rgba(21, 119, 155, 0.12);
  color: #7dd3fc;
  border: 1px solid rgba(21, 119, 155, 0.3);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

/* Button styles */
.btn-primary {
  background-color: var(--azero-green);
  color: #0a0a0a;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  display: inline-flex; align-items:center; gap:0.5rem;
}
.btn-primary:hover { background-color: #8fd1a8; transform: translateY(-1px); }

.btn-secondary {
  background-color: transparent;
  color: #fff;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--azero-border);
  transition: all 0.2s;
  display: inline-flex; align-items:center; gap:0.5rem;
}
.btn-secondary:hover { border-color: var(--azero-green); color: var(--azero-green); }

/* Admin controls */
.admin-btn {
  padding: 2px 8px; border-radius: 6px;
  background: rgba(117,193,147,0.12); color: var(--azero-green);
  border: 1px solid rgba(117,193,147,0.3);
  font-size: 11px; cursor: pointer;
  transition: background 0.15s;
}
.admin-btn:hover { background: rgba(117,193,147,0.25); }
.admin-btn-danger {
  background: rgba(239,68,68,0.12); color: #fca5a5;
  border-color: rgba(239,68,68,0.3);
}
.admin-btn-danger:hover { background: rgba(239,68,68,0.25); }

.admin-edit-field {
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(117,193,147,0.5);
  border-radius: 6px; padding: 6px 10px;
  color: white; width: 100%; font: inherit;
}
.admin-edit-field:focus {
  outline: none; border-style: solid; border-color: var(--azero-green);
}

/* Filter input */
.filter-input {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--azero-border);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  width: 100%;
  transition: border-color 0.2s;
}
.filter-input:focus {
  outline: none;
  border-color: var(--azero-green);
}

/* Loading */
.loader {
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--azero-green);
  border-radius: 50%;
  width: 2rem; height: 2rem;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Link reset for cards */
a.card-link { color: inherit; text-decoration: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(117,193,147,0.3); }

/* Responsive tweaks */
@media (max-width: 640px) {
  .hero-title { font-size: 2.25rem !important; line-height: 1.1; }
}
