/* --- GLOBAL BRAND STYLES ---
   This stylesheet keeps the portal utility styles while also supporting the richer public-facing homepage sections.
   The public pages borrow their visual rhythm from the provided reference file, while the portals keep a cleaner app shell. */

:root {
  --brand-teal: #12827f;
  --brand-deep: #0a5c5a;
  --brand-orange: #f58a07;
  --brand-mist: #f4f7f8;
  --brand-cream: #fcfcfc;
  --brand-ink: #18181b;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
}

.bg-blobs {
  background-image:
    radial-gradient(circle at 15% 50%, rgba(245, 138, 7, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(10, 92, 90, 0.04) 0%, transparent 50%);
}

.carousel-slide {
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  inset: 0;
  transform: scale(0.98);
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  position: relative;
}

.image-blob {
  border-radius: 40px 100px 40px 100px;
  transition: all 0.5s ease;
}

.group:hover .image-blob {
  border-radius: 60px 40px 100px 40px;
}

.card {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.surface-muted {
  background: #f8fafc;
}

.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.25rem;
  padding: 0.8rem 1.05rem;
  font-weight: 700;
  transition: 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-deep);
  color: white;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--brand-orange);
  color: white;
}

.btn-ghost {
  background: white;
  color: var(--brand-deep);
  border: 1px solid #d1d5db;
}

.btn-text {
  padding-left: 0;
  padding-right: 0;
  color: var(--brand-deep);
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: #e5e7eb;
  color: #334155;
}

.badge-info {
  background: rgba(18, 130, 127, 0.12);
  color: var(--brand-deep);
}

.badge-warning {
  background: rgba(245, 138, 7, 0.14);
  color: #9a5c00;
}

.badge-success {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.badge-danger {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.table-wrap {
  overflow-x: auto;
}

.portal-shell {
  min-height: 100vh;
  background: #f8fafc;
}

.portal-sidebar a.active {
  background: rgba(18, 130, 127, 0.11);
  color: var(--brand-deep);
  border-color: rgba(18, 130, 127, 0.18);
}

.logo-strip img {
  max-height: 4rem;
  width: auto;
}
