/* Prism Dev Docs - Custom Styles */

/* Status colors */
.green {
  color: #4caf50 !important;
}

.yellow {
  color: #ff9800 !important;
}

.red {
  color: #f44336 !important;
}

/* Priority badges */
.priority-p0 {
  background-color: #ff6b6b;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.priority-p1 {
  background-color: #ffd93d;
  color: black;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.priority-p2 {
  background-color: #6bcb77;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.priority-p3 {
  background-color: #4d96ff;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}

/* Status badges */
.status-complete {
  background-color: #4caf50;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
}

.status-in-progress {
  background-color: #ff9800;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
}

.status-not-started {
  background-color: #9e9e9e;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Mermaid diagram sizing */
.mermaid {
  text-align: center;
  margin: 1em 0;
}

/* Card grid for home page */
.grid.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.grid.cards > * {
  padding: 1rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 8px;
}

.grid.cards > *:hover {
  border-color: var(--md-accent-fg-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Architecture diagram container */
.architecture-diagram {
  overflow-x: auto;
  padding: 1rem;
  background: var(--md-code-bg-color);
  border-radius: 8px;
}

/* Admonition customizations */
.admonition.plan {
  border-left-color: #7c4dff;
}

.admonition.plan > .admonition-title::before {
  content: "📋 ";
}

/* Table improvements */
table {
  width: 100%;
}

th {
  background-color: var(--md-default-fg-color--lightest);
}

/* Code block improvements */
.highlight {
  border-radius: 8px;
}

/* Navigation improvements for plans section */
.md-nav__item--nested > .md-nav__link {
  font-weight: 600;
}
