/* Production chrome for IE Framework explorer */

#prod-bar {
  position: sticky;
  top: 0;
  z-index: 150;
  background: #0a1628;
  border-bottom: 1px solid #2a4a6a;
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.85rem;
  color: #e8eef4;
}

#prod-bar .prod-brand {
  font-weight: 750;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

#prod-bar .prod-brand span {
  color: #6eb6f5;
  font-weight: 600;
  font-size: 0.78rem;
  margin-left: 6px;
}

#prod-bar .prod-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 200px;
}

#prod-bar input,
#prod-bar select {
  background: #121c2a;
  border: 1px solid #2a4a6a;
  border-radius: 8px;
  color: #e8eef4;
  font: inherit;
  font-size: 0.8rem;
  padding: 6px 10px;
  min-width: 120px;
}

#prod-bar input:focus,
#prod-bar select:focus {
  outline: none;
  border-color: #3d9cf0;
}

#prod-bar .prod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

#prod-bar button {
  appearance: none;
  border: none;
  border-radius: 8px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 14px;
  cursor: pointer;
}

#prod-bar .btn-submit {
  background: #3d9cf0;
  color: #041018;
}

#prod-bar .btn-submit:hover {
  filter: brightness(1.08);
}

#prod-bar .btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#prod-bar .btn-link {
  background: transparent;
  color: #8b9aab;
  border: 1px solid #2a4a6a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

#prod-bar .btn-link:hover {
  color: #e8eef4;
  border-color: #5c6b7a;
}

#prod-bar .prod-status {
  font-size: 0.75rem;
  color: #8b9aab;
  max-width: 280px;
}

#prod-bar .prod-status.ok {
  color: #3ecf8e;
}

#prod-bar .prod-status.err {
  color: #f07178;
}

/* Push sticky topbar below prod bar when both present */
body.has-prod-bar .topbar {
  top: var(--prod-bar-h, 56px);
}

body.has-prod-bar {
  --prod-bar-h: 56px;
}
