/* APC PGCC Kano 2027 Support Groups Registry — Official Theme & Component Styles */
:root {
  --apc-emerald: #064E3B;
  --apc-green: #008751;
  --apc-sky: #00AEEF;
  --apc-red: #DC2626;
  --apc-surface: #F8FAFC;
  --apc-border: #E2E8F0;
  --apc-ink: #0F172A;
}

body {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--apc-surface);
  color: var(--apc-ink);
  -webkit-font-smoothing: antialiased;
}

/* Official APC 4-Band Campaign Ribbon */
.apc-tricolor-bar {
  height: 5px;
  background: linear-gradient(
    90deg,
    #064E3B 0%,
    #008751 35%,
    #008751 55%,
    #00AEEF 55%,
    #00AEEF 78%,
    #DC2626 78%,
    #DC2626 100%
  );
}

.apc-hero-gradient {
  background: radial-gradient(circle at top right, rgba(0, 174, 239, 0.22), transparent 42%),
              linear-gradient(135deg, #064E3B 0%, #00683F 55%, #008751 100%);
}

.apc-hero-scrim {
  background: linear-gradient(
    90deg,
    rgba(6, 78, 59, 0.90) 0%,
    rgba(6, 78, 59, 0.78) 48%,
    rgba(15, 23, 42, 0.65) 100%
  );
}

.apc-hero-slide-img {
  animation: apcKenBurns 14s ease-in-out infinite alternate;
}

@keyframes apcKenBurns {
  from {
    transform: scale(1.0);
  }
  to {
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .apc-hero-slide-img {
    animation: none;
  }
}

.apc-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 0.875rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.apc-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #008751;
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 0.625rem;
  padding: 0.625rem 1.15rem;
  font-size: 0.875rem;
  transition: background-color 150ms ease, transform 120ms ease, box-shadow 150ms ease;
}

.apc-btn-primary:hover {
  background-color: #064E3B;
}

.apc-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #FFFFFF;
  color: #064E3B;
  border: 1px solid #CBD5E1;
  font-weight: 600;
  border-radius: 0.625rem;
  padding: 0.625rem 1.15rem;
  font-size: 0.875rem;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.apc-btn-secondary:hover {
  background-color: #F1F5F9;
  border-color: #94A3B8;
}

.apc-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  transition: background-color 150ms ease, color 150ms ease;
}

.apc-nav-link:hover {
  background-color: #ECFDF5;
  color: #064E3B;
}

.apc-nav-link.is-active {
  background-color: #064E3B;
  color: #FFFFFF;
  font-weight: 600;
}

/* Form helpers when Tailwind utilities are rendered offline */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="tel"],
select,
textarea {
  width: 100%;
}

/* Alpine cloak safety */
[x-cloak] {
  display: none !important;
}

@media print {
  .no-print,
  header,
  footer,
  aside {
    display: none !important;
  }
  body {
    background: #FFFFFF !important;
  }
}
