/* Board Styles */
.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  max-width: 300px;
  margin: 0 auto;
}

.board-row {
  display: contents;
}

.board-cell {
  width: 80px;
  height: 80px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: default;
  transition: all 0.2s ease;
  background-color: var(--building-empty);
  position: relative;
}

.building-symbol {
  font-size: 20px;
}

.building-level {
  font-size: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 2px 4px;
  border-radius: 4px;
  margin-top: 2px;
}


.board-cell.empty {
  background-color: var(--building-empty);
}

.board-cell.house {
  background-color: var(--building-house);
  border-color: var(--accent-green);
}

.board-cell.forester {
  background-color: var(--building-forester);
  border-color: var(--accent-blue);
}

.board-cell.market {
  background-color: var(--building-market);
  border-color: var(--accent-orange);
}

/* Building Category Indicators */
.building-category-indicator {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 10px;
  background-color: var(--bg-primary);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

/* Production Status Indicators */
.production-status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 12px;
  background-color: var(--bg-primary);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.production-status.operating {
  background-color: var(--accent-green);
  color: white;
  animation: pulse 1.5s ease-in-out infinite;
}

.production-status.idle {
  background-color: var(--accent-orange);
  color: white;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
