/* SponsorBrew brand utilities — defines the custom classes the templates
   use (btn-primary, input-brand, headline-gradient, etc.) that are NOT
   plain Tailwind utilities. Loaded alongside the Tailwind Play CDN.

   Color palette uses Tailwind's slate (for muted) and emerald (for primary)
   ramps; if you want to retheme, change the CSS custom properties at the
   :root scope below. */

:root {
  --color-primary-50:  236 253 245;
  --color-primary-100: 209 250 229;
  --color-primary-200: 167 243 208;
  --color-primary-300: 110 231 183;
  --color-primary-400:  52 211 153;
  --color-primary-500:  16 185 129;
  --color-primary-600:   5 150 105;
  --color-primary-700:   4 120  87;
  --color-primary-800:   6  95  70;
  --color-primary-900:   6  78  59;
  --color-primary-950:   2  44  34;

  --color-muted-50:  248 250 252;
  --color-muted-100: 241 245 249;
  --color-muted-200: 226 232 240;
  --color-muted-300: 203 213 225;
  --color-muted-400: 148 163 184;
  --color-muted-500: 100 116 139;
  --color-muted-600:  71  85 105;
  --color-muted-700:  51  65  85;
  --color-muted-800:  30  41  59;
  --color-muted-900:  15  23  42;
  --color-muted-1000:  8  13  25;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(var(--color-primary-500));
  color: #ffffff;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 150ms ease;
  text-decoration: none;
}
.btn-primary:hover  { background-color: rgb(var(--color-primary-600)); }
.btn-primary:active { background-color: rgb(var(--color-primary-700)); }
.btn-primary:disabled, .btn-primary[disabled] {
  opacity: 0.6; cursor: not-allowed;
}

/* Inputs */
.input-brand {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid rgb(var(--color-muted-300));
  border-radius: 0.5rem;
  background-color: #ffffff;
  color: rgb(var(--color-muted-900));
  font-size: 0.95rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.input-brand:focus {
  border-color: rgb(var(--color-primary-500));
  box-shadow: 0 0 0 3px rgba(var(--color-primary-500), 0.18);
}
.dark .input-brand {
  background-color: rgb(var(--color-muted-800));
  border-color: rgb(var(--color-muted-700));
  color: rgb(var(--color-muted-100));
}
.input-brand::placeholder { color: rgb(var(--color-muted-400)); }

/* Headlines */
.headline-xl {
  font-family: "Roboto Flex", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.headline-gradient {
  background-image: linear-gradient(
    135deg,
    rgb(var(--color-primary-400)) 0%,
    rgb(var(--color-primary-600)) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Logo + hero gradients */
.logo-gradient,
.hero-gradient,
.auth-gradient-panel {
  background-image: linear-gradient(
    135deg,
    rgb(var(--color-muted-900)) 0%,
    rgb(var(--color-muted-1000)) 60%,
    rgb(var(--color-primary-900)) 100%
  );
  color: #ffffff;
}

/* Badges */
.badge-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background-color: rgb(var(--color-primary-100));
  color: rgb(var(--color-primary-800));
}
.badge-gradient {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background-image: linear-gradient(
    135deg,
    rgb(var(--color-primary-500)),
    rgb(var(--color-primary-700))
  );
  color: #ffffff;
}

/* Cards */
.card-brand {
  background-color: #ffffff;
  border: 1px solid rgb(var(--color-muted-200));
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.dark .card-brand {
  background-color: rgb(var(--color-muted-800));
  border-color: rgb(var(--color-muted-700));
}
.card-brand-featured {
  background-image: linear-gradient(
    135deg,
    rgb(var(--color-primary-500)) 0%,
    rgb(var(--color-primary-700)) 100%
  );
  color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.18);
}

/* FAQ */
.faq-brand {
  background-color: #ffffff;
  border: 1px solid rgb(var(--color-muted-200));
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
}
.dark .faq-brand {
  background-color: rgb(var(--color-muted-800));
  border-color: rgb(var(--color-muted-700));
}
