/* gates-banner.css — quota banner styles
 * Standalone (does not depend on .pro-site scope), uses _shared.css palette
 * tokens via var(--pro-*) where defined; falls back to literals otherwise.
 */
.nv-gates-banner {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  width: 100%;
  background: var(--pro-bg-soft, #f1f5f9);
  border-bottom: 1px solid var(--pro-border, #e2e8f0);
  color: var(--pro-text, #1e293b);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.nv-gates-banner__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nv-gates-banner__text {
  flex: 1 1 auto;
  min-width: 0;
}

.nv-gates-banner__cta {
  flex: 0 0 auto;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--pro-accent, #1b3a6b);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.nv-gates-banner__cta:hover,
.nv-gates-banner__cta:focus {
  background: var(--pro-accent-strong, #0f2752);
  text-decoration: none;
}

.nv-gates-banner__close {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  opacity: 0.6;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.nv-gates-banner__close:hover,
.nv-gates-banner__close:focus {
  opacity: 1;
  background: rgba(15, 23, 42, 0.06);
}

/* Urgent: 0 remaining */
.nv-gates-banner--zero {
  background: #fef2f2;
  border-bottom-color: #fecaca;
  color: #991b1b;
}

.nv-gates-banner--zero .nv-gates-banner__cta {
  background: #b91c1c;
}

.nv-gates-banner--zero .nv-gates-banner__cta:hover,
.nv-gates-banner--zero .nv-gates-banner__cta:focus {
  background: #7f1d1d;
}

@media (max-width: 640px) {
  .nv-gates-banner__inner {
    padding: 6px 10px;
    gap: 8px;
  }
  .nv-gates-banner__text {
    font-size: 12px;
  }
  .nv-gates-banner__cta {
    font-size: 11px;
    padding: 3px 8px;
  }
}
