﻿/* Shared styles for placeholder pages (coming-soon / wip) */
.placeholder-page {
  position: relative;
  z-index: 1;
}

.placeholder-shell {
  min-height: calc(100vh - 56px);
  display: grid;
  place-items: center;
  padding: 40px 0 80px;
}

.placeholder-card {
  width: min(760px, 100%);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px;
  box-shadow: 0 18px 52px var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.placeholder-kicker {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--text-subtle);
  margin-bottom: 10px;
}

.placeholder-title {
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.placeholder-desc {
  max-width: 62ch;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.placeholder-visual {
  margin-bottom: 24px;
}

.placeholder-visual[data-variant="soon"] {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vis-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  animation: dotPulse 1.5s ease-in-out infinite;
}

.vis-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.vis-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.78);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.progress-container {
  width: 100%;
  height: 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel-hover) 65%, var(--border));
  border: 1px solid var(--border-muted);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  transition: width 0.18s linear;
}

.placeholder-meta,
.status-panel {
  background: var(--bg);
  border: 1px solid var(--border-muted);
  border-radius: 10px;
  padding: 14px 16px;
}

.placeholder-meta {
  margin-bottom: 14px;
}

.status-panel {
  margin-bottom: 18px;
}

.status-title {
  font-size: 14px;
  margin-bottom: 10px;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 26px;
}

.meta-label {
  color: var(--text-subtle);
  font-size: 12px;
}

.meta-value {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}

.status-ok {
  color: var(--yellow);
}

.status-note {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.placeholder-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.placeholder-actions .github-btn {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .placeholder-shell {
    min-height: calc(100vh - 56px);
    padding: 20px 0 56px;
  }

  .placeholder-card {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .placeholder-card {
    padding: 20px;
    border-radius: 12px;
  }

  .placeholder-desc {
    font-size: 14px;
  }
}


.error-card .placeholder-title {
  margin-top: 10px;
}

.error-code-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--red) 40%, var(--border));
  background: color-mix(in srgb, var(--red) 12%, transparent);
  color: var(--red);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
}
