/* Planboo custom AdminJS show page */

.planboo-show {
  background: transparent;
}

.planboo-show-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 8px 40px;
}

.planboo-show-hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(27, 67, 50, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.06);
}

.planboo-show-hero-accent {
  height: 6px;
  background: linear-gradient(90deg, #1b4332 0%, #40916c 55%, #74c69d 100%);
}

.planboo-show-hero-body {
  padding: 24px 28px 28px;
}

.planboo-show-hero-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.planboo-show-hero-title {
  color: #0c1e29;
  margin: 0;
}

.planboo-show-status {
  text-transform: capitalize;
}

.planboo-show-meta-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f4f7f2;
  border: 1px solid rgba(27, 67, 50, 0.08);
  color: #0c1e29;
  text-decoration: none;
  font-size: 13px;
}

.planboo-show-meta-chip-link:hover {
  border-color: #52b788;
  background: #d8f3dc;
}

.planboo-show-meta-label {
  color: #898a9a;
}

.planboo-show-meta-value {
  font-weight: 600;
}

.planboo-show-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.planboo-show-kpi-card {
  background: #ffffff;
  border: 1px solid rgba(27, 67, 50, 0.08);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.06);
}

.planboo-show-kpi-label {
  display: block;
  margin-bottom: 8px;
}

.planboo-show-kpi-value {
  color: #1b4332;
}

.planboo-show-tabs-card {
  background: #ffffff;
  border: 1px solid rgba(27, 67, 50, 0.08);
  border-radius: 16px;
  padding: 8px 20px 24px;
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.06);
}

.planboo-show-section-title {
  color: #1b4332;
}

.planboo-show-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}

.planboo-show-field [data-css$='-show'] {
  margin-bottom: 12px;
}

.planboo-show-relation-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.planboo-show-relation-link-card {
  display: block;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(27, 67, 50, 0.1);
  background: #f4f7f2;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.planboo-show-relation-link-card:hover {
  border-color: #52b788;
  box-shadow: 0 8px 20px rgba(27, 67, 50, 0.1);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .planboo-show-kpi-strip,
  .planboo-show-section-grid,
  .planboo-show-relation-links {
    grid-template-columns: 1fr;
  }

  .planboo-show-hero-body,
  .planboo-show-tabs-card {
    padding-left: 16px;
    padding-right: 16px;
  }
}
