/* Shared loading / error status panel (components/status-panel/status.html).
   The metrics are the ones the Decks tab used for its own status states, so the panel
   reads the same everywhere it is mounted. The spinner is the app ring
   (.global-search-loader) — no second spinner implementation lives here. */
.gf-status-panel {
  box-sizing: border-box;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  text-align: center;
  font-family: var(--gf-font);
}

.gf-status-panel .gf-status-panel__spinner {
  margin-bottom: 8px;
}

.gf-status-panel .gf-status-panel__title {
  margin: 8px 0 0;
  color: #101828;
  font-family: var(--gf-font);
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-card);
}

.gf-status-panel .gf-status-panel__description {
  max-width: 440px;
  margin: 0;
  color: #475467;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  line-height: var(--gf-leading-body);
}

.gf-status-panel--error .gf-status-panel__description {
  color: #b42318;
}

.gf-status-panel .gf-status-panel__action {
  min-height: 44px;
  margin-top: 12px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #2966f4;
  color: #ffffff;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1), transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.gf-status-panel .gf-status-panel__action:hover {
  background: #2054cc;
  transform: translateY(-1px);
}

.gf-status-panel .gf-status-panel__action:disabled {
  background: #98a2b3;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 767px) {
  .gf-status-panel {
    min-height: 420px;
    padding: 24px 16px;
  }

  .gf-status-panel .gf-status-panel__title {
    font-size: var(--gf-text-body);
  }
}
