:root {
  color-scheme: light;
}

.bg-atmosphere {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(14, 143, 139, 0.12), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(56, 189, 248, 0.14), transparent 50%),
    linear-gradient(180deg, #f3f7f8 0%, #e8f0f2 45%, #f7fafb 100%);
}

.health-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8);
}

.health-dot.healthy { background: #0f9f6e; }
.health-dot.degraded { background: #c47f17; }
.health-dot.down { background: #d64545; }
.health-dot.unknown { background: #6b8490; }

.htmx-indicator { display: none; }
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator { display: inline-flex; }

.deploy-log {
  max-height: 28rem;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(14, 143, 139, 0.35); }
  70% { box-shadow: 0 0 0 10px rgba(14, 143, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 143, 139, 0); }
}

.deploying-ring {
  animation: pulse-ring 1.6s ease-out infinite;
}

[x-cloak] { display: none !important; }

.org-suggest-panel {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid rgba(197, 219, 224, 0.95);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 2px rgba(18, 38, 44, 0.06), 0 16px 32px rgba(18, 38, 44, 0.1);
}

.org-suggest-panel:empty {
  display: none;
}

.org-suggest-list {
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  max-height: 16rem;
  overflow: auto;
}

.org-suggest-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  padding: 0.65rem 0.75rem;
  text-align: left;
  cursor: pointer;
  color: #12262c;
}

.org-suggest-item:hover,
.org-suggest-item:focus {
  background: #d7f3f1;
  outline: none;
}

.org-suggest-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.org-suggest-code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  color: #2a4a52;
  opacity: 0.7;
}

.org-suggest-empty {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: #2a4a52;
  opacity: 0.75;
}
